diff --git a/asset-manifest.json b/asset-manifest.json index 182c014..9d0dd97 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,10 +1,11 @@ { "files": { - "main.css": "./static/css/main.66fcdcb5.css", - "main.js": "./static/js/main.dfe2300a.js", + "main.css": "./static/css/main.88e0c5f6.css", + "main.js": "./static/js/main.aaccaa89.js", "static/media/BOMB.png": "./static/media/BOMB.972d8c28dd9dc139ec3f.png", "static/media/GOLDWATERMELON.png": "./static/media/GOLDWATERMELON.1cf4078cde429802200d.png", "static/media/AVOCADO.png": "./static/media/AVOCADO.feb5c5c4a43ff1fb2548.png", + "static/media/pung.mp3": "./static/media/pung.8de39b1fd2365bb3b573.mp3", "static/media/MELON.png": "./static/media/MELON.49cbe7113f30dafc4625.png", "static/media/WATERMELON.png": "./static/media/WATERMELON.732a067ccfa663d2f426.png", "static/media/STRAWBERRY.png": "./static/media/STRAWBERRY.9cfeb6dd00c515996ceb.png", @@ -12,11 +13,11 @@ "static/media/pop.mp3": "./static/media/pop.aad1876107786cd34875.mp3", "static/media/pop2.mp3": "./static/media/pop2.be611a1bcb32ab485a96.mp3", "index.html": "./index.html", - "main.66fcdcb5.css.map": "./static/css/main.66fcdcb5.css.map", - "main.dfe2300a.js.map": "./static/js/main.dfe2300a.js.map" + "main.88e0c5f6.css.map": "./static/css/main.88e0c5f6.css.map", + "main.aaccaa89.js.map": "./static/js/main.aaccaa89.js.map" }, "entrypoints": [ - "static/css/main.66fcdcb5.css", - "static/js/main.dfe2300a.js" + "static/css/main.88e0c5f6.css", + "static/js/main.aaccaa89.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 0cc44a8..86a31d4 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -수박 만들기 게임
\ No newline at end of file +수박 만들기 게임
\ No newline at end of file diff --git a/static/css/main.66fcdcb5.css b/static/css/main.88e0c5f6.css similarity index 82% rename from static/css/main.66fcdcb5.css rename to static/css/main.88e0c5f6.css index 836e0e9..44f93fd 100644 --- a/static/css/main.66fcdcb5.css +++ b/static/css/main.88e0c5f6.css @@ -1,2 +1,2 @@ -.suikaGame_gameArea__2TmMa{align-items:center;background:linear-gradient(0deg,#f5f1c4,#cfa76f,#a0633b);display:flex;height:100%;justify-content:center;overflow:hidden;width:100%}.suikaGame_gameArea__2TmMa .suikaGame_gameWrap__mBnp3{gap:8px;position:relative;top:0}.suikaGame_canvasArea__-aAos,.suikaGame_gameArea__2TmMa .suikaGame_gameWrap__mBnp3{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.suikaGame_canvasArea__-aAos{gap:.2em;overflow:hidden}.suikaGame_canvasArea__-aAos .suikaGame_canvasWrap__424\+P,.suikaGame_canvasArea__-aAos canvas{-webkit-user-select:none;user-select:none}.suikaGame_canvasArea__-aAos canvas{border:2px solid hsla(0,0%,100%,.502);border-radius:16px;cursor:pointer}.gameOverModal_gameOverArea__6NREv{align-items:center;background:rgba(0,0,0,.8);display:flex;flex-direction:column;font-family:Patrick Hand,Pretendard;height:100%;justify-content:center;position:fixed;-webkit-user-select:none;user-select:none;width:100%}.gameOverModal_gameOverArea__6NREv .gameOverModal_text__wrU1W{color:#fff;font-family:Patrick Hand,Pretendard;font-size:4em;font-weight:700}.gameOverModal_gameOverArea__6NREv .gameOverModal_score__DOmE8{color:#fff;font-family:Patrick Hand,Pretendard;font-size:2em;margin-top:.3em}.gameOverModal_gameOverArea__6NREv .gameOverModal_btn__LSWKS{background:#fff;border-radius:36px;color:#000;cursor:pointer;font-family:Patrick Hand,Pretendard;font-size:2em;font-weight:700;margin-top:.6em;padding:.5em .7em}.gameOverModal_gameOverArea__6NREv .gameOverModal_linkArea__8UG\+F{bottom:32px;position:fixed}.gameOverModal_gameOverArea__6NREv .gameOverModal_linkArea__8UG\+F .gameOverModal_formsLink__-J5\+Z{color:#fff;font-size:1em}.gameOverModal_gameOverArea__6NREv .gameOverModal_linkArea__8UG\+F .gameOverModal_shareaBtn__unIcr{color:#fff;cursor:pointer;font-size:1em;margin-left:12px;position:relative}.gameOverModal_gameOverArea__6NREv .gameOverModal_linkArea__8UG\+F .gameOverModal_shareaBtn__unIcr:before{background:#fff;content:"";display:block;height:50%;left:-6px;position:absolute;top:0;-webkit-transform:translateY(50%);transform:translateY(50%);width:1px}.gameOverModal_gameOverArea__6NREv .gameOverModal_toastArea__4pwTl{background:#111;border-radius:2px;bottom:30px;color:#fff;font-size:1em;padding:1.5em;position:fixed;visibility:hidden}.gameOverModal_gameOverArea__6NREv .gameOverModal_toastArea__4pwTl.gameOverModal_show__UXYd2{-webkit-animation:gameOverModal_fadein__QbwAY .5s,gameOverModal_fadeout__3pNL\+ .5s 2.5s;animation:gameOverModal_fadein__QbwAY .5s,gameOverModal_fadeout__3pNL\+ .5s 2.5s;visibility:visible}.gameOverModal_gframe__oOzsL{margin-top:.8em;text-align:center}@-webkit-keyframes gameOverModal_fadein__QbwAY{0%{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@keyframes gameOverModal_fadein__QbwAY{0%{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@-webkit-keyframes gameOverModal_fadeout__3pNL\+{0%{bottom:30px;opacity:1}to{bottom:0;opacity:0}}@keyframes gameOverModal_fadeout__3pNL\+{0%{bottom:30px;opacity:1}to{bottom:0;opacity:0}}.intro_introArea__d2jLS{align-items:center;background:linear-gradient(0deg,#f5f1c4,#cfa76f,#a0633b);display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;-webkit-user-select:none;user-select:none;width:100%}.intro_introArea__d2jLS .intro_listWrap__ftDpu{-webkit-animation:intro_spin__hswfy 50s linear infinite;animation:intro_spin__hswfy 50s linear infinite}.intro_introArea__d2jLS .intro_listWrap__ftDpu .intro_listItem__creUy{-webkit-animation:intro_spin__hswfy 5s linear infinite;animation:intro_spin__hswfy 5s linear infinite;background-position:50%;background-repeat:no-repeat;background-size:contain;height:48px;position:absolute;transition:all .5s ease-in-out;width:48px}.intro_introArea__d2jLS .intro_titleArea__pKLGQ{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;width:100%}.intro_introArea__d2jLS .intro_titleArea__pKLGQ .intro_btn__gy7Bu{color:#fff;cursor:pointer;font-family:Patrick Hand,Pretendard;font-size:2.5em;font-weight:700;transition:-webkit-transform .4s ease-in-out;transition:transform .4s ease-in-out;transition:transform .4s ease-in-out,-webkit-transform .4s ease-in-out}.intro_introArea__d2jLS .intro_patchLink__MuUKi{bottom:1.5em;color:#fff;font-size:1em;position:fixed}.intro_introArea__d2jLS .intro_version__zrIR1{bottom:1em;color:#fff;font-size:.5em;position:fixed}@-webkit-keyframes intro_spin__hswfy{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes intro_spin__hswfy{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.header_headerArea__K4Tf1{align-items:end;display:flex;justify-content:space-between;padding:0 .2em;-webkit-user-select:none;user-select:none;width:100%}.header_headerArea__K4Tf1 .header_bestScoreArea__TFcTg{color:#fff;display:flex;flex:1 1;flex-direction:column;height:3em}.header_headerArea__K4Tf1 .header_bestScoreArea__TFcTg .header_text__aMHhN{font-family:Patrick Hand,Pretendard,serif;font-size:.8em;font-weight:700}.header_headerArea__K4Tf1 .header_bestScoreArea__TFcTg .header_number__z1y4q{font-family:Pacifico,Pretendard,serif;font-size:2em;letter-spacing:-2px;line-height:.5em;margin-top:.1em}.header_headerArea__K4Tf1 .header_scoreArea__GoX0v{align-items:center;display:flex;flex:1 1;justify-content:center}.header_headerArea__K4Tf1 .header_scoreArea__GoX0v .header_score__bsWSb{color:#fff;font-family:Pacifico,Pretendard,serif;font-size:3.5em;line-height:1.3em}.header_headerArea__K4Tf1 .header_itemArea__hX5I7{display:flex;flex:.6 1;flex-direction:column;height:3em;text-align:right}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_text__aMHhN{color:#fff;font-family:Patrick Hand,Pretendard,serif;font-size:.8em;font-weight:700;-webkit-user-select:none;user-select:none}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ{height:2em;padding:.2em 0;width:100%}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ{margin-top:.2em;position:relative!important}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ:active{-webkit-transform:scale(1.2);transform:scale(1.2)}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ .header_badge__bilYF{font-size:.6em}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ .header_img__14bEn{background-position:100%;background-repeat:no-repeat;background-size:contain;display:flex;height:2.2em}.header_headerArea__K4Tf1 .header_nextArea__5rPGh{display:flex;flex:.4 1;flex-direction:column;height:3em;text-align:right}.header_headerArea__K4Tf1 .header_nextArea__5rPGh .header_text__aMHhN{color:#fff;font-family:Patrick Hand,Pretendard,serif;font-size:.8em;font-weight:700;-webkit-user-select:none;user-select:none}.header_headerArea__K4Tf1 .header_nextArea__5rPGh .header_next__d6IlZ{height:2em;padding:.2em 0;width:100%}.header_headerArea__K4Tf1 .header_nextArea__5rPGh .header_next__d6IlZ .header_img__14bEn{background-position:100%;background-repeat:no-repeat;background-size:contain;display:flex;height:1.8em}.header_zoom-in-out__iKIjf{-webkit-animation:header_zoom-in-out__iKIjf 1s;animation:header_zoom-in-out__iKIjf 1s}@-webkit-keyframes header_zoom-in-out__iKIjf{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes header_zoom-in-out__iKIjf{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;box-sizing:border-box;font-family:Patrick Hand,Pretendard;font-size:100%;font:inherit;font-family:Pretendard,sans-serif;margin:0;padding:0;vertical-align:initial}body,html{height:100%;width:100%}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}button{background:none repeat scroll 0 0 transparent;border:none;border-spacing:0;color:#26589f;font-family:PT Sans Narrow,sans-serif;font-weight:400;line-height:1.42rem;list-style:none outside none;margin:0;padding:0;text-align:left;text-decoration:none;text-indent:0}a{outline:none}a,a:active,a:hover{color:#fff;text-decoration:none}a:active,a:hover{background-color:#f59000} -/*# sourceMappingURL=main.66fcdcb5.css.map*/ \ No newline at end of file +.suikaGame_gameArea__2TmMa{align-items:center;background:linear-gradient(0deg,#f5f1c4,#cfa76f,#a0633b);display:flex;height:100%;justify-content:center;overflow:hidden;width:100%}.suikaGame_gameArea__2TmMa .suikaGame_gameWrap__mBnp3{gap:8px;position:relative;top:0}.suikaGame_canvasArea__-aAos,.suikaGame_gameArea__2TmMa .suikaGame_gameWrap__mBnp3{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.suikaGame_canvasArea__-aAos{gap:.2em;overflow:hidden}.suikaGame_canvasArea__-aAos .suikaGame_canvasWrap__424\+P,.suikaGame_canvasArea__-aAos canvas{-webkit-user-select:none;user-select:none}.suikaGame_canvasArea__-aAos canvas{border:2px solid hsla(0,0%,100%,.502);border-radius:16px;cursor:pointer}.gameOverModal_gameOverArea__6NREv{align-items:center;background:rgba(0,0,0,.8);display:flex;flex-direction:column;font-family:Patrick Hand,Pretendard;height:100%;justify-content:center;position:fixed;-webkit-user-select:none;user-select:none;width:100%}.gameOverModal_gameOverArea__6NREv .gameOverModal_text__wrU1W{color:#fff;font-family:Patrick Hand,Pretendard;font-size:4em;font-weight:700}.gameOverModal_gameOverArea__6NREv .gameOverModal_score__DOmE8{color:#fff;font-family:Patrick Hand,Pretendard;font-size:2em;margin-top:.3em}.gameOverModal_gameOverArea__6NREv .gameOverModal_btn__LSWKS{background:#fff;border-radius:36px;color:#000;cursor:pointer;font-family:Patrick Hand,Pretendard;font-size:2em;font-weight:700;margin-top:.6em;padding:.5em .7em}.gameOverModal_gameOverArea__6NREv .gameOverModal_linkArea__8UG\+F{bottom:32px;position:fixed}.gameOverModal_gameOverArea__6NREv .gameOverModal_linkArea__8UG\+F .gameOverModal_formsLink__-J5\+Z{color:#fff;font-size:1em}.gameOverModal_gameOverArea__6NREv .gameOverModal_linkArea__8UG\+F .gameOverModal_shareaBtn__unIcr{color:#fff;cursor:pointer;font-size:1em;margin-left:12px;position:relative}.gameOverModal_gameOverArea__6NREv .gameOverModal_linkArea__8UG\+F .gameOverModal_shareaBtn__unIcr:before{background:#fff;content:"";display:block;height:50%;left:-6px;position:absolute;top:0;-webkit-transform:translateY(50%);transform:translateY(50%);width:1px}.gameOverModal_gameOverArea__6NREv .gameOverModal_toastArea__4pwTl{background:#111;border-radius:2px;bottom:30px;color:#fff;font-size:1em;padding:1.5em;position:fixed;visibility:hidden}.gameOverModal_gameOverArea__6NREv .gameOverModal_toastArea__4pwTl.gameOverModal_show__UXYd2{-webkit-animation:gameOverModal_fadein__QbwAY .5s,gameOverModal_fadeout__3pNL\+ .5s 2.5s;animation:gameOverModal_fadein__QbwAY .5s,gameOverModal_fadeout__3pNL\+ .5s 2.5s;visibility:visible}.gameOverModal_gframe__oOzsL{margin-top:.8em;text-align:center}@-webkit-keyframes gameOverModal_fadein__QbwAY{0%{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@keyframes gameOverModal_fadein__QbwAY{0%{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@-webkit-keyframes gameOverModal_fadeout__3pNL\+{0%{bottom:30px;opacity:1}to{bottom:0;opacity:0}}@keyframes gameOverModal_fadeout__3pNL\+{0%{bottom:30px;opacity:1}to{bottom:0;opacity:0}}.intro_introArea__d2jLS{align-items:center;background:linear-gradient(0deg,#f5f1c4,#cfa76f,#a0633b);display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;-webkit-user-select:none;user-select:none;width:100%}.intro_introArea__d2jLS .intro_listWrap__ftDpu{-webkit-animation:intro_spin__hswfy 50s linear infinite;animation:intro_spin__hswfy 50s linear infinite}.intro_introArea__d2jLS .intro_listWrap__ftDpu .intro_listItem__creUy{-webkit-animation:intro_spin__hswfy 5s linear infinite;animation:intro_spin__hswfy 5s linear infinite;background-position:50%;background-repeat:no-repeat;background-size:contain;height:48px;position:absolute;transition:all .5s ease-in-out;width:48px}.intro_introArea__d2jLS .intro_titleArea__pKLGQ{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;width:100%}.intro_introArea__d2jLS .intro_titleArea__pKLGQ .intro_btn__gy7Bu{color:#fff;cursor:pointer;font-family:Patrick Hand,Pretendard;font-size:2.5em;font-weight:700;transition:-webkit-transform .4s ease-in-out;transition:transform .4s ease-in-out;transition:transform .4s ease-in-out,-webkit-transform .4s ease-in-out}.intro_introArea__d2jLS .intro_patchLink__MuUKi{bottom:1.5em;color:#fff;font-size:1em;position:fixed}.intro_introArea__d2jLS .intro_version__zrIR1{bottom:1em;color:#fff;font-size:.5em;position:fixed}@-webkit-keyframes intro_spin__hswfy{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes intro_spin__hswfy{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.header_headerArea__K4Tf1{align-items:end;display:flex;justify-content:space-between;padding:0 .2em;-webkit-user-select:none;user-select:none;width:100%}.header_headerArea__K4Tf1 .header_bestScoreArea__TFcTg{color:#fff;display:flex;flex:1 1;flex-direction:column;height:3em}.header_headerArea__K4Tf1 .header_bestScoreArea__TFcTg .header_text__aMHhN{font-family:Patrick Hand,Pretendard,serif;font-size:.8em;font-weight:700}.header_headerArea__K4Tf1 .header_bestScoreArea__TFcTg .header_number__z1y4q{font-family:Pacifico,Pretendard,serif;font-size:2em;letter-spacing:-2px;line-height:.5em;margin-top:.1em}.header_headerArea__K4Tf1 .header_scoreArea__GoX0v{align-items:center;display:flex;flex:1 1;justify-content:center}.header_headerArea__K4Tf1 .header_scoreArea__GoX0v .header_score__bsWSb{color:#fff;font-family:Pacifico,Pretendard,serif;font-size:3.5em;line-height:1.3em}.header_headerArea__K4Tf1 .header_itemArea__hX5I7{display:flex;flex:.6 1;flex-direction:column;height:3em;text-align:right}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_text__aMHhN{color:#fff;font-family:Patrick Hand,Pretendard,serif;font-size:.8em;font-weight:700;-webkit-user-select:none;user-select:none}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ{height:2em;padding:.2em 0;width:100%}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ{margin-top:.2em;position:relative!important}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ:active{-webkit-transform:scale(1.2);transform:scale(1.2)}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ .header_badge__bilYF{font-size:.6em}.header_headerArea__K4Tf1 .header_itemArea__hX5I7 .header_next__d6IlZ .header_itemBtn__febOZ .header_img__14bEn{background-position:100%;background-repeat:no-repeat;background-size:contain;display:flex;height:2.2em}.header_headerArea__K4Tf1 .header_nextArea__5rPGh{display:flex;flex:.4 1;flex-direction:column;height:3em;text-align:right}.header_headerArea__K4Tf1 .header_nextArea__5rPGh .header_text__aMHhN{color:#fff;font-family:Patrick Hand,Pretendard,serif;font-size:.8em;font-weight:700;-webkit-user-select:none;user-select:none}.header_headerArea__K4Tf1 .header_nextArea__5rPGh .header_next__d6IlZ{height:2em;padding:.2em 0;width:100%}.header_headerArea__K4Tf1 .header_nextArea__5rPGh .header_next__d6IlZ .header_img__14bEn{background-position:100%;background-repeat:no-repeat;background-size:contain;display:flex;height:1.8em}.header_zoom-in-out__iKIjf{-webkit-animation:header_zoom-in-out__iKIjf 1s;animation:header_zoom-in-out__iKIjf 1s}@-webkit-keyframes header_zoom-in-out__iKIjf{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(2);transform:scale(2)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes header_zoom-in-out__iKIjf{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(2);transform:scale(2)}to{-webkit-transform:scale(1);transform:scale(1)}}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;box-sizing:border-box;font-family:Patrick Hand,Pretendard;font-size:100%;font:inherit;font-family:Pretendard,sans-serif;margin:0;padding:0;vertical-align:initial}body,html{height:100%;width:100%}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}button{background:none repeat scroll 0 0 transparent;border:none;border-spacing:0;color:#26589f;font-family:PT Sans Narrow,sans-serif;font-weight:400;line-height:1.42rem;list-style:none outside none;margin:0;padding:0;text-align:left;text-decoration:none;text-indent:0}a{outline:none}a,a:active,a:hover{color:#fff;text-decoration:none}a:active,a:hover{background-color:#f59000} +/*# sourceMappingURL=main.88e0c5f6.css.map*/ \ No newline at end of file diff --git a/static/css/main.66fcdcb5.css.map b/static/css/main.88e0c5f6.css.map similarity index 79% rename from static/css/main.66fcdcb5.css.map rename to static/css/main.88e0c5f6.css.map index 0fb239e..ab5a928 100644 --- a/static/css/main.66fcdcb5.css.map +++ b/static/css/main.88e0c5f6.css.map @@ -1 +1 @@ -{"version":3,"file":"static/css/main.66fcdcb5.css","mappings":"AAAA,2BAGE,mBAIA,yDALA,aAIA,YAFA,uBAHA,gBAIA,UAEA,CAEA,sDAOE,QANA,kBACA,KAOA,CAIJ,mFARI,mBAFA,aACA,sBAKA,YAHA,uBAEA,UAaF,CARF,6BAQE,SAPA,eAOA,CAOA,+FAHE,yCAOA,CAJF,oCACE,sCACA,mBAEA,eCzCJ,mCAIE,mBAIA,0BANA,aACA,sBAOA,oCAHA,YAFA,uBAJA,eAQA,0CAHA,UAIA,CAEA,8DAIE,WAHA,oCACA,cACA,eACA,CAGF,+DAIE,WAFA,oCACA,cAFA,eAGA,CAGF,6DAGE,gBAMA,mBADA,WAEA,eALA,oCACA,cACA,gBALA,gBADA,iBASA,CAGF,mEAEE,YADA,cACA,CAEA,oGAEE,WADA,aACA,CAGF,mGAIE,WACA,eAFA,cADA,iBADA,iBAIA,CAEA,0GASE,gBARA,WAKA,cAEA,WAJA,UAFA,kBACA,MAEA,4DAEA,SAEA,CAKN,mEAQE,gBAFA,kBAHA,YAIA,WAFA,cADA,cAFA,eADA,i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,SAMA,sBALA,oCACA,eACA,aACA,kCANA,SACA,UAMA,sBACA,CAGF,UAEE,YADA,UACA,CAIF,8EAEE,cAGF,KACE,cAGF,MACE,gBAGF,aACE,YAGF,oDAEE,WACA,aAGF,MACE,yBACA,iBAGF,OACE,8CACA,YACA,iBACA,cACA,sCACA,gBACA,oBACA,6BACA,SACA,UACA,gBACA,qBACA,cAGF,eACA,mBADA,+BACA","sources":["lib/suikaGame/index.module.scss","lib/suikaGame/gameOverModal/index.module.scss","lib/suikaGame/intro/index.module.scss","lib/suikaGame/header/index.module.scss","test/index.module.scss"],"sourcesContent":[".gameArea {\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background: linear-gradient(0deg, #f5f1c4, #cfa76f, #a0633b);\n\n .gameWrap {\n position: relative;\n top: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 8px;\n width: 100%;\n height: 100%;\n }\n}\n\n.canvasArea {\n overflow: hidden;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n gap: 0.2em;\n // max-height: 774px; // canvas:704 + header:64 + margin:8\n\n .canvasWrap {\n user-select: none;\n }\n\n canvas {\n border: 2px solid #ffffff80;\n border-radius: 16px;\n user-select: none;\n cursor: pointer;\n }\n}\n",".gameOverArea {\n position: fixed;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background: #000000cc;\n user-select: none;\n font-family: 'Patrick Hand', 'Pretendard';\n\n .text {\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 4em;\n font-weight: 700;\n color: #fff;\n }\n\n .score {\n margin-top: .3em;\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 2em;\n color: #fff;\n }\n\n .btn {\n padding: .5em .7em;\n margin-top: .6em;\n background: #fff;\n\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 2em;\n font-weight: 700;\n color: #000;\n border-radius: 36px;\n cursor: pointer;\n }\n \n .linkArea {\n position: fixed;\n bottom: 32px;\n\n .formsLink {\n font-size: 1em;\n color: #ffffff;\n }\n \n .shareaBtn {\n position: relative;\n margin-left: 12px;\n font-size: 1em;\n color: #ffffff;\n cursor: pointer;\n \n &::before {\n content: '';\n position: absolute;\n top: 0;\n left: -6px;\n transform: translate(0, 50%);\n display: block;\n width: 1px;\n height: 50%;\n background: #ffffff;\n }\n }\n }\n\n .toastArea {\n visibility: hidden;\n position: fixed;\n bottom: 30px;\n padding: 1.5em;\n font-size: 1em;\n border-radius: 2px;\n color: #ffffff;\n background: #111;\n\n &.show {\n visibility: visible;\n animation: fadein 0.5s, fadeout 0.5s 2.5s;\n }\n }\n}\n\n.gframe {\n text-align: center;\n margin-top: 0.8em;\n}\n@keyframes fadein {\n from {bottom: 0; opacity: 0;}\n to {bottom: 30px; opacity: 1;}\n}\n\n@keyframes fadeout {\n from {bottom: 30px; opacity: 1;}\n to {bottom: 0; opacity: 0;}\n}\n\n",".introArea {\n position: fixed;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background: linear-gradient(0deg, #f5f1c4, #cfa76f, #a0633b);\n user-select: none;\n\n .listWrap {\n animation: spin 50s linear infinite; /* 빙글빙글 애니메이션 추가 */\n\n .listItem {\n position: absolute;\n width: 48px;\n height: 48px;\n background-position: center;\n background-size: contain;\n background-repeat: no-repeat;\n animation: spin 5s linear infinite; /* 빙글빙글 애니메이션 추가 */\n transition: all .5s ease-in-out;\n }\n }\n\n .titleArea {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n\n .btn {\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 2.5em;\n font-weight: 700;\n color: #ffffff;\n transition: transform 0.4s ease-in-out;\n cursor: pointer;\n }\n }\n\n .patchLink {\n position: fixed;\n bottom: 1.5em;\n font-size: 1em;\n color: #ffffff;\n }\n\n .version {\n position: fixed;\n bottom: 1em;\n font-size: 0.5em;\n color: #ffffff;\n }\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n",".headerArea {\n display: flex;\n align-items: end;\n justify-content: space-between;\n width: 100%;\n padding: 0 0.2em;\n user-select: none;\n\n .bestScoreArea {\n flex: 1;\n display: flex;\n height: 3em;\n flex-direction: column;\n color: #fff;\n\n .text {\n font-family: 'Patrick Hand', 'Pretendard', serif;\n font-size: 0.8em;\n font-weight: 700;\n }\n\n .number {\n font-family: 'Pacifico', 'Pretendard', serif;\n font-size: 2em;\n line-height: .5em;\n margin-top: 0.1em;\n letter-spacing: -2px;\n }\n }\n\n .scoreArea {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n\n .score {\n font-family: 'Pacifico', 'Pretendard', serif;\n font-size: 3.5em;\n line-height: 1.3em;\n color: #fff;\n }\n }\n\n.itemArea {\n flex: 0.6;\n display: flex;\n height: 3em;\n flex-direction: column;\n text-align: right;\n\n .text {\n font-family: 'Patrick Hand', 'Pretendard', serif;\n font-size: 0.8em;\n font-weight: 700;\n color: #fff;\n user-select: none;\n }\n\n .next {\n width: 100%;\n height: 2em;\n padding: .2em 0;\n\n .itemBtn {\n position: relative !important;\n margin-top: 0.2em;\n\n &:hover {\n transform: scale(1.1);\n }\n\n &:active {\n transform: scale(1.2);\n }\n\n .badge {\n font-size: 0.6em;\n }\n\n .img {\n display: flex;\n height: 2.2em;\n background-position: right;\n background-repeat: no-repeat;\n background-size: contain;\n }\n }\n }\n}\n .nextArea {\n flex: 0.4;\n display: flex;\n height: 3em;\n flex-direction: column;\n text-align: right;\n\n .text {\n font-family: 'Patrick Hand', 'Pretendard', serif;\n font-size: 0.8em;\n font-weight: 700;\n color: #fff;\n user-select: none;\n }\n\n .next {\n width: 100%;\n height: 2em;\n padding: .2em 0;\n\n .img {\n display: flex;\n height: 1.8em;\n background-position: right;\n background-repeat: no-repeat;\n background-size: contain;\n }\n }\n }\n}\n\n.zoom-in-out {\n animation: zoom-in-out 1s;\n}\n\n@keyframes zoom-in-out {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(1.5);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n","/* http://meyerweb.com/eric/tools/css/reset/ \n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, big, cite, code,\ndel, dfn, em, img, ins, kbd, q, s, samp,\nsmall, strike, strong, sub, sup, tt, var,\nb, u, i, center,\ndl, dt, dd, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, embed,\nfigure, figcaption, footer, header, hgroup,\nmenu, nav, output, ruby, section, summary,\ntime, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 100%;\n font: inherit;\n font-family: Pretendard, sans-serif;\n vertical-align: baseline;\n box-sizing: border-box;\n}\n\nhtml, body {\n width: 100%;\n height: 100%;\n}\n\n/* HTML5 display-role reset for older browsers */\narticle, aside, details, figcaption, figure,\nfooter, header, hgroup, menu, nav, section {\n display: block;\n}\n\nbody {\n line-height: 1;\n}\n\nol, ul {\n list-style: none;\n}\n\nblockquote, q {\n quotes: none;\n}\n\nblockquote:before, blockquote:after,\nq:before, q:after {\n content: '';\n content: none;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\nbutton {\n background: none repeat scroll 0 0 transparent;\n border: medium none;\n border-spacing: 0;\n color: #26589F;\n font-family: 'PT Sans Narrow', sans-serif;\n font-weight: normal;\n line-height: 1.42rem;\n list-style: none outside none;\n margin: 0;\n padding: 0;\n text-align: left;\n text-decoration: none;\n text-indent: 0;\n}\n\na {color: #fff; text-decoration: none; outline: none}\na:hover, a:active {text-decoration: none; color:#fff; background-color:#f59000;}"],"names":[],"sourceRoot":""} \ No newline at end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EA,8BAEA,eACA,0CAFA,UAEA,CAEA,uDAKE,WAHA,aADA,SAGA,sBADA,UAEA,CAEA,2EACE,0CACA,eACA,gBAGF,6EACE,sCACA,cAGA,oBAFA,iBACA,eACA,CAIJ,mDAGE,mBADA,aADA,SAGA,uBAEA,wEAIE,WAHA,sCACA,gBACA,iBACA,CAIN,kDAEE,aADA,UAGA,sBADA,WAEA,iBAEA,sEAIE,WAHA,0CACA,eACA,gBAEA,0CAGF,sEAEE,WACA,eAFA,UAEA,CAEA,6FAEE,gBADA,2BACA,CAEA,mGACE,kDAGF,oGACE,kDAGF,kHACE,eAGF,gHAGE,yBACA,4BACA,wBAJA,aACA,YAGA,CAKN,kDAEE,aADA,UAGA,sBADA,WAEA,iBAEA,sEAIE,WAHA,0CACA,eACA,gBAEA,0CAGF,sEAEE,WACA,eAFA,UAEA,CAEA,yFAGE,yBACA,4BACA,wBAJA,aACA,YAGA,CAMR,2BACE,sFAGF,6CACE,GACE,8CAGF,IACE,8CAGF,GACE,+CAVJ,qCACE,GACE,8CAGF,IACE,8CAGF,GACE,+CClIJ,2ZAeE,SAMA,sBALA,oCACA,eACA,aACA,kCANA,SACA,UAMA,sBACA,CAGF,UAEE,YADA,UACA,CAIF,8EAEE,cAGF,KACE,cAGF,MACE,gBAGF,aACE,YAGF,oDAEE,WACA,aAGF,MACE,yBACA,iBAGF,OACE,8CACA,YACA,iBACA,cACA,sCACA,gBACA,oBACA,6BACA,SACA,UACA,gBACA,qBACA,cAGF,eACA,mBADA,+BACA","sources":["lib/suikaGame/index.module.scss","lib/suikaGame/gameOverModal/index.module.scss","lib/suikaGame/intro/index.module.scss","lib/suikaGame/header/index.module.scss","test/index.module.scss"],"sourcesContent":[".gameArea {\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background: linear-gradient(0deg, #f5f1c4, #cfa76f, #a0633b);\n\n .gameWrap {\n position: relative;\n top: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 8px;\n width: 100%;\n height: 100%;\n }\n}\n\n.canvasArea {\n overflow: hidden;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n gap: 0.2em;\n // max-height: 774px; // canvas:704 + header:64 + margin:8\n\n .canvasWrap {\n user-select: none;\n }\n\n canvas {\n border: 2px solid #ffffff80;\n border-radius: 16px;\n user-select: none;\n cursor: pointer;\n }\n}\n",".gameOverArea {\n position: fixed;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background: #000000cc;\n user-select: none;\n font-family: 'Patrick Hand', 'Pretendard';\n\n .text {\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 4em;\n font-weight: 700;\n color: #fff;\n }\n\n .score {\n margin-top: .3em;\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 2em;\n color: #fff;\n }\n\n .btn {\n padding: .5em .7em;\n margin-top: .6em;\n background: #fff;\n\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 2em;\n font-weight: 700;\n color: #000;\n border-radius: 36px;\n cursor: pointer;\n }\n \n .linkArea {\n position: fixed;\n bottom: 32px;\n\n .formsLink {\n font-size: 1em;\n color: #ffffff;\n }\n \n .shareaBtn {\n position: relative;\n margin-left: 12px;\n font-size: 1em;\n color: #ffffff;\n cursor: pointer;\n \n &::before {\n content: '';\n position: absolute;\n top: 0;\n left: -6px;\n transform: translate(0, 50%);\n display: block;\n width: 1px;\n height: 50%;\n background: #ffffff;\n }\n }\n }\n\n .toastArea {\n visibility: hidden;\n position: fixed;\n bottom: 30px;\n padding: 1.5em;\n font-size: 1em;\n border-radius: 2px;\n color: #ffffff;\n background: #111;\n\n &.show {\n visibility: visible;\n animation: fadein 0.5s, fadeout 0.5s 2.5s;\n }\n }\n}\n\n.gframe {\n text-align: center;\n margin-top: 0.8em;\n}\n@keyframes fadein {\n from {bottom: 0; opacity: 0;}\n to {bottom: 30px; opacity: 1;}\n}\n\n@keyframes fadeout {\n from {bottom: 30px; opacity: 1;}\n to {bottom: 0; opacity: 0;}\n}\n\n",".introArea {\n position: fixed;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background: linear-gradient(0deg, #f5f1c4, #cfa76f, #a0633b);\n user-select: none;\n\n .listWrap {\n animation: spin 50s linear infinite; /* 빙글빙글 애니메이션 추가 */\n\n .listItem {\n position: absolute;\n width: 48px;\n height: 48px;\n background-position: center;\n background-size: contain;\n background-repeat: no-repeat;\n animation: spin 5s linear infinite; /* 빙글빙글 애니메이션 추가 */\n transition: all .5s ease-in-out;\n }\n }\n\n .titleArea {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n\n .btn {\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 2.5em;\n font-weight: 700;\n color: #ffffff;\n transition: transform 0.4s ease-in-out;\n cursor: pointer;\n }\n }\n\n .patchLink {\n position: fixed;\n bottom: 1.5em;\n font-size: 1em;\n color: #ffffff;\n }\n\n .version {\n position: fixed;\n bottom: 1em;\n font-size: 0.5em;\n color: #ffffff;\n }\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n",".headerArea {\n display: flex;\n align-items: end;\n justify-content: space-between;\n width: 100%;\n padding: 0 0.2em;\n user-select: none;\n\n .bestScoreArea {\n flex: 1;\n display: flex;\n height: 3em;\n flex-direction: column;\n color: #fff;\n\n .text {\n font-family: 'Patrick Hand', 'Pretendard', serif;\n font-size: 0.8em;\n font-weight: 700;\n }\n\n .number {\n font-family: 'Pacifico', 'Pretendard', serif;\n font-size: 2em;\n line-height: .5em;\n margin-top: 0.1em;\n letter-spacing: -2px;\n }\n }\n\n .scoreArea {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n\n .score {\n font-family: 'Pacifico', 'Pretendard', serif;\n font-size: 3.5em;\n line-height: 1.3em;\n color: #fff;\n }\n }\n\n.itemArea {\n flex: 0.6;\n display: flex;\n height: 3em;\n flex-direction: column;\n text-align: right;\n\n .text {\n font-family: 'Patrick Hand', 'Pretendard', serif;\n font-size: 0.8em;\n font-weight: 700;\n color: #fff;\n user-select: none;\n }\n\n .next {\n width: 100%;\n height: 2em;\n padding: .2em 0;\n\n .itemBtn {\n position: relative !important;\n margin-top: 0.2em;\n\n &:hover {\n transform: scale(1.1);\n }\n\n &:active {\n transform: scale(1.2);\n }\n\n .badge {\n font-size: 0.6em;\n }\n\n .img {\n display: flex;\n height: 2.2em;\n background-position: right;\n background-repeat: no-repeat;\n background-size: contain;\n }\n }\n }\n}\n .nextArea {\n flex: 0.4;\n display: flex;\n height: 3em;\n flex-direction: column;\n text-align: right;\n\n .text {\n font-family: 'Patrick Hand', 'Pretendard', serif;\n font-size: 0.8em;\n font-weight: 700;\n color: #fff;\n user-select: none;\n }\n\n .next {\n width: 100%;\n height: 2em;\n padding: .2em 0;\n\n .img {\n display: flex;\n height: 1.8em;\n background-position: right;\n background-repeat: no-repeat;\n background-size: contain;\n }\n }\n }\n}\n\n.zoom-in-out {\n animation: zoom-in-out 1s;\n}\n\n@keyframes zoom-in-out {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(2);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n","/* http://meyerweb.com/eric/tools/css/reset/ \n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, big, cite, code,\ndel, dfn, em, img, ins, kbd, q, s, samp,\nsmall, strike, strong, sub, sup, tt, var,\nb, u, i, center,\ndl, dt, dd, ol, ul, li,\nfieldset, form, label, legend,\ntable, caption, tbody, tfoot, thead, tr, th, td,\narticle, aside, canvas, details, embed,\nfigure, figcaption, footer, header, hgroup,\nmenu, nav, output, ruby, section, summary,\ntime, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-family: 'Patrick Hand', 'Pretendard';\n font-size: 100%;\n font: inherit;\n font-family: Pretendard, sans-serif;\n vertical-align: baseline;\n box-sizing: border-box;\n}\n\nhtml, body {\n width: 100%;\n height: 100%;\n}\n\n/* HTML5 display-role reset for older browsers */\narticle, aside, details, figcaption, figure,\nfooter, header, hgroup, menu, nav, section {\n display: block;\n}\n\nbody {\n line-height: 1;\n}\n\nol, ul {\n list-style: none;\n}\n\nblockquote, q {\n quotes: none;\n}\n\nblockquote:before, blockquote:after,\nq:before, q:after {\n content: '';\n content: none;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\nbutton {\n background: none repeat scroll 0 0 transparent;\n border: medium none;\n border-spacing: 0;\n color: #26589F;\n font-family: 'PT Sans Narrow', sans-serif;\n font-weight: normal;\n line-height: 1.42rem;\n list-style: none outside none;\n margin: 0;\n padding: 0;\n text-align: left;\n text-decoration: none;\n text-indent: 0;\n}\n\na {color: #fff; text-decoration: none; outline: none}\na:hover, a:active {text-decoration: none; color:#fff; background-color:#f59000;}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.dfe2300a.js b/static/js/main.aaccaa89.js similarity index 80% rename from static/js/main.dfe2300a.js rename to static/js/main.aaccaa89.js index 863dc31..05d9366 100644 --- a/static/js/main.dfe2300a.js +++ b/static/js/main.aaccaa89.js @@ -1,3 +1,3 @@ -/*! For license information please see main.dfe2300a.js.LICENSE.txt */ -!function(){var A={448:function(A,e){var t;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var A=[],e=0;e0&&r[r.length-1])&&(6===o[0]||2===o[0])){i=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=55296&&r<=56319&&t>10),i%1024+56320)),(r+1===t||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f>4,u[s++]=(15&n)<<4|r>>2,u[s++]=(3&r)<<6|63&o;return l},w=function(A){for(var e=A.length,t=[],n=0;n>y,F=(1<>y)+32,b=65536>>m,x=(1<=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>y])<>y)])<>m),e=this.index[e],e+=A>>y&x,e=((e=this.index[e])<K?(r.push(!0),i-=K):r.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(o),t.push(q);if(i===M||i===J){if(0===o)return n.push(o),t.push(uA);var a=t[o-1];return-1===kA.indexOf(a)?(n.push(n[o-1]),t.push(a)):(n.push(o),t.push(uA))}return n.push(o),i===cA?t.push("strict"===e?eA:hA):i===CA||i===lA?t.push(uA):i===vA?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(hA):t.push(uA):void t.push(i)})),[n,t,r]},TA=function(A,e,t,n){var r=n[t];if(Array.isArray(A)?-1!==A.indexOf(r):A===r)for(var o=t;o<=n.length;){if((s=n[++o])===e)return!0;if(s!==G)break}if(r===G)for(o=t;o>0;){var i=n[--o];if(Array.isArray(A)?-1!==A.indexOf(i):A===i)for(var a=t;a<=n.length;){var s;if((s=n[++a])===e)return!0;if(s!==G)break}if(i!==G)break}return!1},OA=function(A,e){for(var t=A;t>=0;){var n=e[t];if(n!==G)return n;t--}return 0},MA=function(A,e,t,n,r){if(0===t[n])return bA;var o=n-1;if(Array.isArray(r)&&!0===r[o])return bA;var i=o-1,a=o+1,s=e[o],l=i>=0?e[i]:0,u=e[a];if(s===T&&u===O)return bA;if(-1!==IA.indexOf(s))return UA;if(-1!==IA.indexOf(u))return bA;if(-1!==SA.indexOf(u))return bA;if(OA(o,e)===V)return xA;if(HA.get(A[o])===J)return bA;if((s===dA||s===fA)&&HA.get(A[a])===J)return bA;if(s===R||u===R)return bA;if(s===X)return bA;if(-1===[G,z,Y].indexOf(s)&&u===X)return bA;if(-1!==[Z,_,$,rA,sA].indexOf(u))return bA;if(OA(o,e)===tA)return bA;if(TA(nA,tA,o,e))return bA;if(TA([Z,_],eA,o,e))return bA;if(TA(W,W,o,e))return bA;if(s===G)return xA;if(s===nA||u===nA)return bA;if(u===q||s===q)return xA;if(-1!==[z,Y,eA].indexOf(u)||s===j)return bA;if(l===pA&&-1!==KA.indexOf(s))return bA;if(s===sA&&u===pA)return bA;if(u===AA)return bA;if(-1!==EA.indexOf(u)&&s===oA||-1!==EA.indexOf(s)&&u===oA)return bA;if(s===aA&&-1!==[hA,dA,fA].indexOf(u)||-1!==[hA,dA,fA].indexOf(s)&&u===iA)return bA;if(-1!==EA.indexOf(s)&&-1!==LA.indexOf(u)||-1!==LA.indexOf(s)&&-1!==EA.indexOf(u))return bA;if(-1!==[aA,iA].indexOf(s)&&(u===oA||-1!==[tA,Y].indexOf(u)&&e[a+1]===oA)||-1!==[tA,Y].indexOf(s)&&u===oA||s===oA&&-1!==[oA,sA,rA].indexOf(u))return bA;if(-1!==[oA,sA,rA,Z,_].indexOf(u))for(var c=o;c>=0;){if((d=e[c])===oA)return bA;if(-1===[sA,rA].indexOf(d))break;c--}if(-1!==[aA,iA].indexOf(u))for(c=-1!==[Z,_].indexOf(s)?i:o;c>=0;){var d;if((d=e[c])===oA)return bA;if(-1===[sA,rA].indexOf(d))break;c--}if(wA===s&&-1!==[wA,QA,BA,gA].indexOf(u)||-1!==[QA,BA].indexOf(s)&&-1!==[QA,yA].indexOf(u)||-1!==[yA,gA].indexOf(s)&&u===yA)return bA;if(-1!==PA.indexOf(s)&&-1!==[AA,iA].indexOf(u)||-1!==PA.indexOf(u)&&s===aA)return bA;if(-1!==EA.indexOf(s)&&-1!==EA.indexOf(u))return bA;if(s===rA&&-1!==EA.indexOf(u))return bA;if(-1!==EA.concat(oA).indexOf(s)&&u===tA&&-1===FA.indexOf(A[a])||-1!==EA.concat(oA).indexOf(u)&&s===_)return bA;if(s===mA&&u===mA){for(var f=t[o],B=1;f>0&&e[--f]===mA;)B++;if(B%2!==0)return bA}return s===dA&&u===fA?bA:xA},NA=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=DA(A,e.lineBreak),n=t[0],r=t[1],o=t[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(r=r.map((function(A){return-1!==[oA,uA,CA].indexOf(A)?hA:A})));var i="keep-all"===e.wordBreak?o.map((function(e,t){return e&&A[t]>=19968&&A[t]<=40959})):void 0;return[n,r,i]},RA=function(){function A(A,e,t,n){this.codePoints=A,this.required=e===UA,this.start=t,this.end=n}return A.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),VA=function(A,e){var t=l(A),n=NA(t,e),r=n[0],o=n[1],i=n[2],a=t.length,s=0,u=0;return{next:function(){if(u>=a)return{done:!0,value:null};for(var A=bA;u=Ke&&A<=57},ze=function(A){return A>=55296&&A<=57343},je=function(A){return We(A)||A>=Re&&A<=Xe||A>=De&&A<=Oe},Ye=function(A){return A>=De&&A<=Ne},qe=function(A){return A>=Re&&A<=Je},Ze=function(A){return Ye(A)||qe(A)},_e=function(A){return A>=ye},$e=function(A){return A===zA||A===qA||A===ZA},At=function(A){return Ze(A)||_e(A)||A===ie},et=function(A){return At(A)||We(A)||A===ae},tt=function(A){return A>=He&&A<=Ee||A===Ie||A>=Se&&A<=Le||A===ke},nt=function(A,e){return A===YA&&e!==zA},rt=function(A,e,t){return A===ae?At(e)||nt(e,t):!!At(A)||!(A!==YA||!nt(A,e))},ot=function(A,e,t){return A===ve||A===ae?!!We(e)||e===xe&&We(t):We(A===xe?e:A)},it=function(A){var e=0,t=1;A[e]!==ve&&A[e]!==ae||(A[e]===ae&&(t=-1),e++);for(var n=[];We(A[e]);)n.push(A[e++]);var r=n.length?parseInt(u.apply(void 0,n),10):0;A[e]===xe&&e++;for(var o=[];We(A[e]);)o.push(A[e++]);var i=o.length,a=i?parseInt(u.apply(void 0,o),10):0;A[e]!==Ve&&A[e]!==Te||e++;var s=1;A[e]!==ve&&A[e]!==ae||(A[e]===ae&&(s=-1),e++);for(var l=[];We(A[e]);)l.push(A[e++]);var c=l.length?parseInt(u.apply(void 0,l),10):0;return t*(r+a*Math.pow(10,-i))*Math.pow(10,s*c)},at={type:2},st={type:3},lt={type:4},ut={type:13},ct={type:8},dt={type:21},ft={type:9},Bt={type:10},gt={type:11},pt={type:12},ht={type:14},wt={type:23},Qt={type:1},yt={type:25},mt={type:24},Ct={type:26},vt={type:27},Ft={type:28},Ut={type:29},bt={type:31},xt={type:32},Ht=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(l(A))},A.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==xt;)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case _A:return this.consumeStringToken(_A);case Ae:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(et(e)||nt(t,n)){var r=rt(e,t,n)?GA:XA;return{type:5,value:this.consumeName(),flags:r}}break;case ee:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),ut;break;case ne:return this.consumeStringToken(ne);case re:return at;case oe:return st;case Ce:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),ht;break;case ve:if(ot(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Fe:return lt;case ae:var o=A,i=this.peekCodePoint(0),a=this.peekCodePoint(1);if(ot(o,i,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(rt(o,i,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(i===ae&&a===ue)return this.consumeCodePoint(),this.consumeCodePoint(),mt;break;case xe:if(ot(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case jA:if(this.peekCodePoint(0)===Ce)for(this.consumeCodePoint();;){var s=this.consumeCodePoint();if(s===Ce&&(s=this.consumeCodePoint())===jA)return this.consumeToken();if(s===Pe)return this.consumeToken()}break;case Ue:return Ct;case be:return vt;case le:if(this.peekCodePoint(0)===se&&this.peekCodePoint(1)===ae&&this.peekCodePoint(2)===ae)return this.consumeCodePoint(),this.consumeCodePoint(),yt;break;case ce:var l=this.peekCodePoint(0),c=this.peekCodePoint(1),d=this.peekCodePoint(2);if(rt(l,c,d))return{type:7,value:this.consumeName()};break;case de:return Ft;case YA:if(nt(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case fe:return Ut;case Be:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),ct;break;case ge:return gt;case he:return pt;case Me:case Ge:var f=this.peekCodePoint(0),B=this.peekCodePoint(1);return f!==ve||!je(B)&&B!==pe||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case we:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),ft;if(this.peekCodePoint(0)===we)return this.consumeCodePoint(),dt;break;case Qe:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),Bt;break;case Pe:return xt}return $e(A)?(this.consumeWhiteSpace(),bt):We(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):At(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:u(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();je(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;e===pe&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(u.apply(void 0,A.map((function(A){return A===pe?Ke:A}))),16),end:parseInt(u.apply(void 0,A.map((function(A){return A===pe?Xe:A}))),16)};var n=parseInt(u.apply(void 0,A),16);if(this.peekCodePoint(0)===ae&&je(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var r=[];je(e)&&r.length<6;)r.push(e),e=this.consumeCodePoint();return{type:30,start:n,end:parseInt(u.apply(void 0,r),16)}}return{type:30,start:n,end:n}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===re?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===re?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Pe)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===ne||e===_A){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Pe||this.peekCodePoint(0)===oe)?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),wt)}for(;;){var n=this.consumeCodePoint();if(n===Pe||n===oe)return{type:22,value:u.apply(void 0,A)};if($e(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Pe||this.peekCodePoint(0)===oe?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,A)}):(this.consumeBadUrlRemnants(),wt);if(n===_A||n===ne||n===re||tt(n))return this.consumeBadUrlRemnants(),wt;if(n===YA){if(!nt(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),wt;A.push(this.consumeEscapedCodePoint())}else A.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;$e(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===oe||A===Pe)return;nt(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var e=5e4,t="";A>0;){var n=Math.min(e,A);t+=u.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),t},A.prototype.consumeStringToken=function(A){for(var e="",t=0;;){var n=this._value[t];if(n===Pe||void 0===n||n===A)return{type:0,value:e+=this.consumeStringSlice(t)};if(n===zA)return this._value.splice(0,t),Qt;if(n===YA){var r=this._value[t+1];r!==Pe&&void 0!==r&&(r===zA?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):nt(n,r)&&(e+=this.consumeStringSlice(t),e+=u(this.consumeEscapedCodePoint()),t=-1))}t++}},A.prototype.consumeNumber=function(){var A=[],e=JA,t=this.peekCodePoint(0);for(t!==ve&&t!==ae||A.push(this.consumeCodePoint());We(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(t===xe&&We(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=WA;We(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var r=this.peekCodePoint(2);if((t===Ve||t===Te)&&((n===ve||n===ae)&&We(r)||We(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=WA;We(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[it(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],n=this.peekCodePoint(0),r=this.peekCodePoint(1),o=this.peekCodePoint(2);return rt(n,r,o)?{type:15,number:e,flags:t,unit:this.consumeName()}:n===te?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(je(A)){for(var e=u(A);je(this.peekCodePoint(0))&&e.length<6;)e+=u(this.consumeCodePoint());$e(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||ze(t)||t>1114111?me:t}return A===Pe?me:A},A.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(et(e))A+=u(e);else{if(!nt(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=u(this.consumeEscapedCodePoint())}}},A}(),Et=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new Ht;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(32===e.type)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},t=this.consumeToken();;){if(32===t.type||Ot(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(32===t.type||3===t.type)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?xt:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),It=function(A){return 15===A.type},St=function(A){return 17===A.type},Lt=function(A){return 20===A.type},kt=function(A){return 0===A.type},Pt=function(A,e){return Lt(A)&&A.value===e},Kt=function(A){return 31!==A.type},Dt=function(A){return 31!==A.type&&4!==A.type},Tt=function(A){var e=[],t=[];return A.forEach((function(A){if(4===A.type){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}31!==A.type&&t.push(A)})),t.length&&e.push(t),e},Ot=function(A,e){return 11===e&&12===A.type||28===e&&29===A.type||2===e&&3===A.type},Mt=function(A){return 17===A.type||15===A.type},Nt=function(A){return 16===A.type||Mt(A)},Rt=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Vt={type:17,number:0,flags:JA},Xt={type:16,number:50,flags:JA},Gt={type:16,number:100,flags:JA},Jt=function(A,e,t){var n=A[0],r=A[1];return[Wt(n,e),Wt("undefined"!==typeof r?r:n,t)]},Wt=function(A,e){if(16===A.type)return A.number/100*e;if(It(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},zt="deg",jt="grad",Yt="rad",qt="turn",Zt={name:"angle",parse:function(A,e){if(15===e.type)switch(e.unit){case zt:return Math.PI*e.number/180;case jt:return Math.PI/200*e.number;case Yt:return e.number;case qt:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}},_t=function(A){return 15===A.type&&(A.unit===zt||A.unit===jt||A.unit===Yt||A.unit===qt)},$t=function(A){switch(A.filter(Lt).map((function(A){return A.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Vt,Vt];case"to top":case"bottom":return An(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Vt,Gt];case"to right":case"left":return An(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Gt,Gt];case"to bottom":case"top":return An(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Gt,Vt];case"to left":case"right":return An(270)}return 0},An=function(A){return Math.PI*A/180},en={name:"color",parse:function(A,e){if(18===e.type){var t=un[e.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(5===e.type){if(3===e.value.length){var n=e.value.substring(0,1),r=e.value.substring(1,2),o=e.value.substring(2,3);return rn(parseInt(n+n,16),parseInt(r+r,16),parseInt(o+o,16),1)}if(4===e.value.length){n=e.value.substring(0,1),r=e.value.substring(1,2),o=e.value.substring(2,3);var i=e.value.substring(3,4);return rn(parseInt(n+n,16),parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16)/255)}if(6===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),o=e.value.substring(4,6),rn(parseInt(n,16),parseInt(r,16),parseInt(o,16),1);if(8===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),o=e.value.substring(4,6),i=e.value.substring(6,8),rn(parseInt(n,16),parseInt(r,16),parseInt(o,16),parseInt(i,16)/255)}if(20===e.type){var a=dn[e.value.toUpperCase()];if("undefined"!==typeof a)return a}return dn.TRANSPARENT}},tn=function(A){return 0===(255&A)},nn=function(A){var e=255&A,t=255&A>>8,n=255&A>>16,r=255&A>>24;return e<255?"rgba("+r+","+n+","+t+","+e/255+")":"rgb("+r+","+n+","+t+")"},rn=function(A,e,t,n){return(A<<24|e<<16|t<<8|Math.round(255*n)<<0)>>>0},on=function(A,e){if(17===A.type)return A.number;if(16===A.type){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},an=function(A,e){var t=e.filter(Dt);if(3===t.length){var n=t.map(on),r=n[0],o=n[1],i=n[2];return rn(r,o,i,1)}if(4===t.length){var a=t.map(on),s=(r=a[0],o=a[1],i=a[2],a[3]);return rn(r,o,i,s)}return 0};function sn(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A}var ln=function(A,e){var t=e.filter(Dt),n=t[0],r=t[1],o=t[2],i=t[3],a=(17===n.type?An(n.number):Zt.parse(A,n))/(2*Math.PI),s=Nt(r)?r.number/100:0,l=Nt(o)?o.number/100:0,u="undefined"!==typeof i&&Nt(i)?Wt(i,1):1;if(0===s)return rn(255*l,255*l,255*l,1);var c=l<=.5?l*(s+1):l+s-l*s,d=2*l-c,f=sn(d,c,a+1/3),B=sn(d,c,a),g=sn(d,c,a-1/3);return rn(255*f,255*B,255*g,u)},un={hsl:ln,hsla:ln,rgb:an,rgba:an},cn=function(A,e){return en.parse(A,Et.create(e).parseComponentValue())},dn={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},fn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(Lt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Bn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},gn=function(A,e){var t=en.parse(A,e[0]),n=e[1];return n&&Nt(n)?{color:t,stop:n}:{color:t,stop:null}},pn=function(A,e){var t=A[0],n=A[A.length-1];null===t.stop&&(t.stop=Vt),null===n.stop&&(n.stop=Gt);for(var r=[],o=0,i=0;io?r.push(s):r.push(o),o=s}else r.push(null)}var l=null;for(i=0;iA.optimumDistance)?{optimumCorner:e,optimumDistance:a}:A}),{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},mn=function(A,e,t,n,r){var o=0,i=0;switch(A.size){case 0:0===A.shape?o=i=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-r)):1===A.shape&&(o=Math.min(Math.abs(e),Math.abs(e-n)),i=Math.min(Math.abs(t),Math.abs(t-r)));break;case 2:if(0===A.shape)o=i=Math.min(Qn(e,t),Qn(e,t-r),Qn(e-n,t),Qn(e-n,t-r));else if(1===A.shape){var a=Math.min(Math.abs(t),Math.abs(t-r))/Math.min(Math.abs(e),Math.abs(e-n)),s=yn(n,r,e,t,!0),l=s[0],u=s[1];i=a*(o=Qn(l-e,(u-t)/a))}break;case 1:0===A.shape?o=i=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-r)):1===A.shape&&(o=Math.max(Math.abs(e),Math.abs(e-n)),i=Math.max(Math.abs(t),Math.abs(t-r)));break;case 3:if(0===A.shape)o=i=Math.max(Qn(e,t),Qn(e,t-r),Qn(e-n,t),Qn(e-n,t-r));else if(1===A.shape){a=Math.max(Math.abs(t),Math.abs(t-r))/Math.max(Math.abs(e),Math.abs(e-n));var c=yn(n,r,e,t,!1);l=c[0],u=c[1],i=a*(o=Qn(l-e,(u-t)/a))}}return Array.isArray(A.size)&&(o=Wt(A.size[0],n),i=2===A.size.length?Wt(A.size[1],r):o),[o,i]},Cn=function(A,e){var t=An(180),n=[];return Tt(e).forEach((function(e,r){if(0===r){var o=e[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value))return void(t=$t(e));if(_t(o))return void(t=(Zt.parse(A,o)+An(270))%An(360))}var i=gn(A,e);n.push(i)})),{angle:t,stops:n,type:1}},vn="closest-side",Fn="farthest-side",Un="closest-corner",bn="farthest-corner",xn="circle",Hn="ellipse",En="cover",In="contain",Sn=function(A,e){var t=0,n=3,r=[],o=[];return Tt(e).forEach((function(e,i){var a=!0;if(0===i?a=e.reduce((function(A,e){if(Lt(e))switch(e.value){case"center":return o.push(Xt),!1;case"top":case"left":return o.push(Vt),!1;case"right":case"bottom":return o.push(Gt),!1}else if(Nt(e)||Mt(e))return o.push(e),!1;return A}),a):1===i&&(a=e.reduce((function(A,e){if(Lt(e))switch(e.value){case xn:return t=0,!1;case Hn:return t=1,!1;case In:case vn:return n=0,!1;case Fn:return n=1,!1;case Un:return n=2,!1;case En:case bn:return n=3,!1}else if(Mt(e)||Nt(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A}),a)),a){var s=gn(A,e);r.push(s)}})),{size:n,shape:t,stops:r,position:o,type:2}},Ln=function(A){return 1===A.type},kn=function(A){return 2===A.type},Pn={name:"image",parse:function(A,e){if(22===e.type){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){var n=Tn[e.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function Kn(A){return!(20===A.type&&"none"===A.value)&&(18!==A.type||!!Tn[A.name])}var Dn,Tn={"linear-gradient":function(A,e){var t=An(180),n=[];return Tt(e).forEach((function(e,r){if(0===r){var o=e[0];if(20===o.type&&"to"===o.value)return void(t=$t(e));if(_t(o))return void(t=Zt.parse(A,o))}var i=gn(A,e);n.push(i)})),{angle:t,stops:n,type:1}},"-moz-linear-gradient":Cn,"-ms-linear-gradient":Cn,"-o-linear-gradient":Cn,"-webkit-linear-gradient":Cn,"radial-gradient":function(A,e){var t=0,n=3,r=[],o=[];return Tt(e).forEach((function(e,i){var a=!0;if(0===i){var s=!1;a=e.reduce((function(A,e){if(s)if(Lt(e))switch(e.value){case"center":return o.push(Xt),A;case"top":case"left":return o.push(Vt),A;case"right":case"bottom":return o.push(Gt),A}else(Nt(e)||Mt(e))&&o.push(e);else if(Lt(e))switch(e.value){case xn:return t=0,!1;case Hn:return t=1,!1;case"at":return s=!0,!1;case vn:return n=0,!1;case En:case Fn:return n=1,!1;case In:case Un:return n=2,!1;case bn:return n=3,!1}else if(Mt(e)||Nt(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A}),a)}if(a){var l=gn(A,e);r.push(l)}})),{size:n,shape:t,stops:r,position:o,type:2}},"-moz-radial-gradient":Sn,"-ms-radial-gradient":Sn,"-o-radial-gradient":Sn,"-webkit-radial-gradient":Sn,"-webkit-gradient":function(A,e){var t=An(180),n=[],r=1,o=0,i=3,a=[];return Tt(e).forEach((function(e,t){var o=e[0];if(0===t){if(Lt(o)&&"linear"===o.value)return void(r=1);if(Lt(o)&&"radial"===o.value)return void(r=2)}if(18===o.type)if("from"===o.name){var i=en.parse(A,o.values[0]);n.push({stop:Vt,color:i})}else if("to"===o.name)i=en.parse(A,o.values[0]),n.push({stop:Gt,color:i});else if("color-stop"===o.name){var a=o.values.filter(Dt);if(2===a.length){i=en.parse(A,a[1]);var s=a[0];St(s)&&n.push({stop:{type:16,number:100*s.number,flags:s.flags},color:i})}}})),1===r?{angle:(t+An(180))%An(360),stops:n,type:r}:{size:i,shape:o,stops:n,position:a,type:r}}},On={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter((function(A){return Dt(A)&&Kn(A)})).map((function(e){return Pn.parse(A,e)}))}},Mn={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(Lt(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Nn={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Tt(e).map((function(A){return A.filter(Nt)})).map(Rt)}},Rn={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Tt(e).map((function(A){return A.filter(Lt).map((function(A){return A.value})).join(" ")})).map(Vn)}},Vn=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"}(Dn||(Dn={}));var Xn,Gn={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Tt(e).map((function(A){return A.filter(Jn)}))}},Jn=function(A){return Lt(A)||Nt(A)},Wn=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},zn=Wn("top"),jn=Wn("right"),Yn=Wn("bottom"),qn=Wn("left"),Zn=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return Rt(e.filter(Nt))}}},_n=Zn("top-left"),$n=Zn("top-right"),Ar=Zn("bottom-right"),er=Zn("bottom-left"),tr=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},nr=tr("top"),rr=tr("right"),or=tr("bottom"),ir=tr("left"),ar=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return It(e)?e.number:0}}},sr=ar("top"),lr=ar("right"),ur=ar("bottom"),cr=ar("left"),dr={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},fr={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return"rtl"===e?1:0}},Br={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(Lt).reduce((function(A,e){return A|gr(e.value)}),0)}},gr=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},pr={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},hr={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};!function(A){A.NORMAL="normal",A.STRICT="strict"}(Xn||(Xn={}));var wr,Qr={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"strict"===e?Xn.STRICT:Xn.NORMAL}},yr={name:"line-height",initialValue:"normal",prefix:!1,type:4},mr=function(A,e){return Lt(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:Nt(A)?Wt(A,e):e},Cr={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:Pn.parse(A,e)}},vr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return"inside"===e?0:1}},Fr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Ur=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},br=Ur("top"),xr=Ur("right"),Hr=Ur("bottom"),Er=Ur("left"),Ir={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(Lt).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},Sr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"break-word"===e?"break-word":"normal"}},Lr=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},kr=Lr("top"),Pr=Lr("right"),Kr=Lr("bottom"),Dr=Lr("left"),Tr={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Or={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Mr={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&Pt(e[0],"none")?[]:Tt(e).map((function(e){for(var t={color:dn.TRANSPARENT,offsetX:Vt,offsetY:Vt,blur:Vt},n=0,r=0;r1?1:0],this.overflowWrap=Qo(A,Sr,e.overflowWrap),this.paddingTop=Qo(A,kr,e.paddingTop),this.paddingRight=Qo(A,Pr,e.paddingRight),this.paddingBottom=Qo(A,Kr,e.paddingBottom),this.paddingLeft=Qo(A,Dr,e.paddingLeft),this.paintOrder=Qo(A,fo,e.paintOrder),this.position=Qo(A,Or,e.position),this.textAlign=Qo(A,Tr,e.textAlign),this.textDecorationColor=Qo(A,Zr,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=Qo(A,_r,null!==(n=e.textDecorationLine)&&void 0!==n?n:e.textDecoration),this.textShadow=Qo(A,Mr,e.textShadow),this.textTransform=Qo(A,Nr,e.textTransform),this.transform=Qo(A,Rr,e.transform),this.transformOrigin=Qo(A,Jr,e.transformOrigin),this.visibility=Qo(A,Wr,e.visibility),this.webkitTextStrokeColor=Qo(A,Bo,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=Qo(A,go,e.webkitTextStrokeWidth),this.wordBreak=Qo(A,zr,e.wordBreak),this.zIndex=Qo(A,jr,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return tn(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return ro(this.display,4)||ro(this.display,33554432)||ro(this.display,268435456)||ro(this.display,536870912)||ro(this.display,67108864)||ro(this.display,134217728)},A}(),ho=function(){function A(A,e){this.content=Qo(A,oo,e.content),this.quotes=Qo(A,lo,e.quotes)}return A}(),wo=function(){function A(A,e){this.counterIncrement=Qo(A,io,e.counterIncrement),this.counterReset=Qo(A,ao,e.counterReset)}return A}(),Qo=function(A,e,t){var n=new Ht,r=null!==t&&"undefined"!==typeof t?t.toString():e.initialValue;n.write(r);var o=new Et(n.read());switch(e.type){case 2:var i=o.parseComponentValue();return e.parse(A,Lt(i)?i.value:e.initialValue);case 0:return e.parse(A,o.parseComponentValue());case 1:return e.parse(A,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(e.format){case"angle":return Zt.parse(A,o.parseComponentValue());case"color":return en.parse(A,o.parseComponentValue());case"image":return Pn.parse(A,o.parseComponentValue());case"length":var a=o.parseComponentValue();return Mt(a)?a:Vt;case"length-percentage":var s=o.parseComponentValue();return Nt(s)?s:Vt;case"time":return Yr.parse(A,o.parseComponentValue())}}},yo="data-html2canvas-debug",mo=function(A){switch(A.getAttribute(yo)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Co=function(A,e){var t=mo(A);return 1===t||e===t},vo=function(){function A(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Co(e,3),this.styles=new po(A,window.getComputedStyle(e,null)),ua(e)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=a(this.context,e),Co(e,4)&&(this.flags|=16)}return A}(),Fo="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTg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AgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACA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AAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Uo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bo="undefined"===typeof Uint8Array?[]:new Uint8Array(256),xo=0;xo>4,u[s++]=(15&n)<<4|r>>2,u[s++]=(3&r)<<6|63&o;return l},Eo=function(A){for(var e=A.length,t=[],n=0;n>So,Ko=(1<>So)+32,To=65536>>Lo,Oo=(1<=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>So])<>So)])<>Lo),e=this.index[e],e+=A>>So&Oo,e=((e=this.index[e])<=55296&&r<=56319&&t>10),i%1024+56320)),(r+1===t||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},li=Ro(Fo),ui="\xd7",ci="\xf7",di=function(A){return li.get(A)},fi=function(A,e,t){var n=t-2,r=e[n],o=e[t-1],i=e[t];if(o===jo&&i===Yo)return ui;if(o===jo||o===Yo||o===qo)return ci;if(i===jo||i===Yo||i===qo)return ci;if(o===$o&&-1!==[$o,Ai,ti,ni].indexOf(i))return ui;if((o===ti||o===Ai)&&(i===Ai||i===ei))return ui;if((o===ni||o===ei)&&i===ei)return ui;if(i===ri||i===Zo)return ui;if(i===_o)return ui;if(o===zo)return ui;if(o===ri&&i===oi){for(;r===Zo;)r=e[--n];if(r===oi)return ui}if(o===ii&&i===ii){for(var a=0;r===ii;)a++,r=e[--n];if(a%2===0)return ui}return ci},Bi=function(A){var e=ai(A),t=e.length,n=0,r=0,o=e.map(di);return{next:function(){if(n>=t)return{done:!0,value:null};for(var A=ui;ni.x||r.y>i.y;return i=r,0===e||a}));return A.body.removeChild(e),a},wi=function(){return"undefined"!==typeof(new Image).crossOrigin},Qi=function(){return"string"===typeof(new XMLHttpRequest).responseType},yi=function(A){var e=new Image,t=A.createElement("canvas"),n=t.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,";try{n.drawImage(e,0,0),t.toDataURL()}catch(Te){return!1}return!0},mi=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Ci=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,t,t);var r=new Image,o=e.toDataURL();r.src=o;var i=vi(t,t,0,0,r);return n.fillStyle="red",n.fillRect(0,0,t,t),Fi(i).then((function(e){n.drawImage(e,0,0);var r=n.getImageData(0,0,t,t).data;n.fillStyle="red",n.fillRect(0,0,t,t);var i=A.createElement("div");return i.style.backgroundImage="url("+o+")",i.style.height=t+"px",mi(r)?Fi(vi(t,t,0,0,i)):Promise.reject(!1)})).then((function(A){return n.drawImage(A,0,0),mi(n.getImageData(0,0,t,t).data)})).catch((function(){return!1}))},vi=function(A,e,t,n,r){var o="http://www.w3.org/2000/svg",i=document.createElementNS(o,"svg"),a=document.createElementNS(o,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",t.toString()),a.setAttributeNS(null,"y",n.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(a),a.appendChild(r),i},Fi=function(A){return new Promise((function(e,t){var n=new Image;n.onload=function(){return e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Ui={get SUPPORT_RANGE_BOUNDS(){var A=pi(document);return Object.defineProperty(Ui,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Ui.SUPPORT_RANGE_BOUNDS&&hi(document);return Object.defineProperty(Ui,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=yi(document);return Object.defineProperty(Ui,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?Ci(document):Promise.resolve(!1);return Object.defineProperty(Ui,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=wi();return Object.defineProperty(Ui,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Qi();return Object.defineProperty(Ui,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ui,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(Ui,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},bi=function(){function A(A,e){this.text=A,this.bounds=e}return A}(),xi=function(A,e,t,n){var r=Li(e,t),o=[],a=0;return r.forEach((function(e){if(t.textDecorationLine.length||e.trim().length>0)if(Ui.SUPPORT_RANGE_BOUNDS){var r=Ei(n,a,e.length).getClientRects();if(r.length>1){var s=Ii(e),l=0;s.forEach((function(e){o.push(new bi(e,i.fromDOMRectList(A,Ei(n,l+a,e.length).getClientRects()))),l+=e.length}))}else o.push(new bi(e,i.fromDOMRectList(A,r)))}else{var u=n.splitText(e.length);o.push(new bi(e,Hi(A,n))),n=u}else Ui.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));a+=e.length})),o},Hi=function(A,e){var t=e.ownerDocument;if(t){var n=t.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var r=e.parentNode;if(r){r.replaceChild(n,e);var o=a(A,n);return n.firstChild&&r.replaceChild(n.firstChild,n),o}}return i.EMPTY},Ei=function(A,e,t){var n=A.ownerDocument;if(!n)throw new Error("Node has no owner document");var r=n.createRange();return r.setStart(A,e),r.setEnd(A,e+t),r},Ii=function(A){if(Ui.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map((function(A){return A.segment}))}return gi(A)},Si=function(A,e){if(Ui.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map((function(A){return A.segment}))}return Pi(A,e)},Li=function(A,e){return 0!==e.letterSpacing?Ii(A):Si(A,e)},ki=[32,160,4961,65792,65793,4153,4241],Pi=function(A,e){for(var t,n=VA(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),r=[],o=function(){if(t.value){var A=t.value.slice(),e=l(A),n="";e.forEach((function(A){-1===ki.indexOf(A)?n+=u(A):(n.length&&r.push(n),r.push(u(A)),n="")})),n.length&&r.push(n)}};!(t=n.next()).done;)o();return r},Ki=function(){function A(A,e,t){this.text=Di(e.data,t.textTransform),this.textBounds=xi(A,this.text,t,e)}return A}(),Di=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(Ti,Oi);case 2:return A.toUpperCase();default:return A}},Ti=/(^|\s|:|-|\(|\))([a-z])/g,Oi=function(A,e,t){return A.length>0?e+t.toUpperCase():A},Mi=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return e(t,A),t}(vo),Ni=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return e(t,A),t}(vo),Ri=function(A){function t(e,t){var n=A.call(this,e,t)||this,r=new XMLSerializer,o=a(e,t);return t.setAttribute("width",o.width+"px"),t.setAttribute("height",o.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e(t,A),t}(vo),Vi=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return e(t,A),t}(vo),Xi=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.start=t.start,n.reversed="boolean"===typeof t.reversed&&!0===t.reversed,n}return e(t,A),t}(vo),Gi=[{type:15,flags:0,unit:"px",number:3}],Ji=[{type:16,flags:0,number:50}],Wi=function(A){return A.width>A.height?new i(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)n.textNodes.push(new Ki(e,o,n.styles));else if(la(o))if(ba(o)&&o.assignedNodes)o.assignedNodes().forEach((function(t){return A(e,t,n,r)}));else{var a=ra(e,o);a.styles.isVisible()&&(ia(o,a,r)?a.flags|=4:aa(a.styles)&&(a.flags|=2),-1!==ta.indexOf(o.tagName)&&(a.flags|=8),n.elements.push(a),o.slot,o.shadowRoot?A(e,o.shadowRoot,a,r):Fa(o)||pa(o)||Ua(o)||A(e,o,a,r))}},ra=function(A,e){return ya(e)?new Mi(A,e):wa(e)?new Ni(A,e):pa(e)?new Ri(A,e):da(e)?new Vi(A,e):fa(e)?new Xi(A,e):Ba(e)?new _i(A,e):Ua(e)?new $i(A,e):Fa(e)?new Aa(A,e):ma(e)?new ea(A,e):new vo(A,e)},oa=function(A,e){var t=ra(A,e);return t.flags|=4,na(A,e,t,t),t},ia=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||ha(A)&&t.styles.isTransparent()},aa=function(A){return A.isPositioned()||A.isFloating()},sa=function(A){return A.nodeType===Node.TEXT_NODE},la=function(A){return A.nodeType===Node.ELEMENT_NODE},ua=function(A){return la(A)&&"undefined"!==typeof A.style&&!ca(A)},ca=function(A){return"object"===typeof A.className},da=function(A){return"LI"===A.tagName},fa=function(A){return"OL"===A.tagName},Ba=function(A){return"INPUT"===A.tagName},ga=function(A){return"HTML"===A.tagName},pa=function(A){return"svg"===A.tagName},ha=function(A){return"BODY"===A.tagName},wa=function(A){return"CANVAS"===A.tagName},Qa=function(A){return"VIDEO"===A.tagName},ya=function(A){return"IMG"===A.tagName},ma=function(A){return"IFRAME"===A.tagName},Ca=function(A){return"STYLE"===A.tagName},va=function(A){return"SCRIPT"===A.tagName},Fa=function(A){return"TEXTAREA"===A.tagName},Ua=function(A){return"SELECT"===A.tagName},ba=function(A){return"SLOT"===A.tagName},xa=function(A){return A.tagName.indexOf("-")>0},Ha=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},A.prototype.pop=function(A){var e=this;A.forEach((function(A){return e.counters[A].pop()}))},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,n=A.counterReset,r=!0;null!==t&&t.forEach((function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(r=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)}));var o=[];return r&&n.forEach((function(A){var t=e.counters[A.counter];o.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)})),o},A}(),Ea={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ia={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Sa={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},La={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},ka=function(A,e,t,n,r,o){return At?Wa(A,r,o.length>0):n.integers.reduce((function(e,t,r){for(;A>=t;)A-=t,e+=n.values[r];return e}),"")+o},Pa=function(A,e,t,n){var r="";do{t||A--,r=n(A)+r,A/=e}while(A*e>=e);return r},Ka=function(A,e,t,n,r){var o=t-e+1;return(A<0?"-":"")+(Pa(Math.abs(A),o,n,(function(A){return u(Math.floor(A%o)+e)}))+r)},Da=function(A,e,t){void 0===t&&(t=". ");var n=e.length;return Pa(Math.abs(A),n,!1,(function(A){return e[Math.floor(A%n)]}))+t},Ta=1,Oa=2,Ma=4,Na=8,Ra=function(A,e,t,n,r,o){if(A<-9999||A>9999)return Wa(A,4,r.length>0);var i=Math.abs(A),a=r;if(0===i)return e[0]+a;for(var s=0;i>0&&s<=4;s++){var l=i%10;0===l&&ro(o,Ta)&&""!==a?a=e[l]+a:l>1||1===l&&0===s||1===l&&1===s&&ro(o,Oa)||1===l&&1===s&&ro(o,Ma)&&A>100||1===l&&s>1&&ro(o,Na)?a=e[l]+(s>0?t[s-1]:"")+a:1===l&&s>0&&(a=t[s-1]+a),i=Math.floor(i/10)}return(A<0?n:"")+a},Va="\u5341\u767e\u5343\u842c",Xa="\u62fe\u4f70\u4edf\u842c",Ga="\u30de\u30a4\u30ca\u30b9",Ja="\ub9c8\uc774\ub108\uc2a4",Wa=function(A,e,t){var n=t?". ":"",r=t?"\u3001":"",o=t?", ":"",i=t?" ":"";switch(e){case 0:return"\u2022"+i;case 1:return"\u25e6"+i;case 2:return"\u25fe"+i;case 5:var a=Ka(A,48,57,!0,n);return a.length<4?"0"+a:a;case 4:return Da(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",r);case 6:return ka(A,1,3999,Ea,3,n).toLowerCase();case 7:return ka(A,1,3999,Ea,3,n);case 8:return Ka(A,945,969,!1,n);case 9:return Ka(A,97,122,!1,n);case 10:return Ka(A,65,90,!1,n);case 11:return Ka(A,1632,1641,!0,n);case 12:case 49:return ka(A,1,9999,Ia,3,n);case 35:return ka(A,1,9999,Ia,3,n).toLowerCase();case 13:return Ka(A,2534,2543,!0,n);case 14:case 30:return Ka(A,6112,6121,!0,n);case 15:return Da(A,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",r);case 16:return Da(A,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",r);case 17:case 48:return Ra(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Va,"\u8ca0",r,Oa|Ma|Na);case 47:return Ra(A,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396",Xa,"\u8ca0",r,Ta|Oa|Ma|Na);case 42:return Ra(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Va,"\u8d1f",r,Oa|Ma|Na);case 41:return Ra(A,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396",Xa,"\u8d1f",r,Ta|Oa|Ma|Na);case 26:return Ra(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07",Ga,r,0);case 25:return Ra(A,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07",Ga,r,Ta|Oa|Ma);case 31:return Ra(A,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",Ja,o,Ta|Oa|Ma);case 33:return Ra(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",Ja,o,0);case 32:return Ra(A,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",Ja,o,Ta|Oa|Ma);case 18:return Ka(A,2406,2415,!0,n);case 20:return ka(A,1,19999,La,3,n);case 21:return Ka(A,2790,2799,!0,n);case 22:return Ka(A,2662,2671,!0,n);case 22:return ka(A,1,10999,Sa,3,n);case 23:return Da(A,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return Da(A,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return Ka(A,3302,3311,!0,n);case 28:return Da(A,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",r);case 29:return Da(A,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",r);case 34:return Ka(A,3792,3801,!0,n);case 37:return Ka(A,6160,6169,!0,n);case 38:return Ka(A,4160,4169,!0,n);case 39:return Ka(A,2918,2927,!0,n);case 40:return Ka(A,1776,1785,!0,n);case 43:return Ka(A,3046,3055,!0,n);case 44:return Ka(A,3174,3183,!0,n);case 45:return Ka(A,3664,3673,!0,n);case 46:return Ka(A,3872,3881,!0,n);default:return Ka(A,48,57,!0,n)}},za="data-html2canvas-ignore",ja=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new Ha,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,e){var t=this,o=qa(A,e);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var i=A.defaultView.pageXOffset,a=A.defaultView.pageYOffset,s=o.contentWindow,l=s.document,u=$a(o).then((function(){return n(t,void 0,void 0,(function(){var A,t;return r(this,(function(n){switch(n.label){case 0:return this.scrolledElements.forEach(rs),s&&(s.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===e.top&&s.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-e.left,s.scrollY-e.top,0,0))),A=this.options.onclone,"undefined"===typeof(t=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,_a(l)]:[3,4];case 3:n.sent(),n.label=4;case 4:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(l,t)})).then((function(){return o}))]:[2,o]}}))}))}));return l.open(),l.write(ts(document.doctype)+""),ns(this.referenceElement.ownerDocument,i,a),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),u},A.prototype.createElementClone=function(A){if(Co(A,2),wa(A))return this.createCanvasClone(A);if(Qa(A))return this.createVideoClone(A);if(Ca(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return ya(e)&&(ya(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),xa(e)?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return es(A.style,e),e},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce((function(A,e){return e&&"string"===typeof e.cssText?A+e.cssText:A}),""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(Te){if(this.context.logger.error("Unable to access cssRules property",Te),"SecurityError"!==Te.name)throw Te}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(Te){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var r=A.getContext("2d"),o=n.getContext("2d");if(o)if(!this.options.allowTaint&&r)o.putImageData(r.getImageData(0,0,A.width,A.height),0,0);else{var i=null!==(e=A.getContext("webgl2"))&&void 0!==e?e:A.getContext("webgl");if(i){var a=i.getContextAttributes();!1===(null===a||void 0===a?void 0:a.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}o.drawImage(A,0,0)}return n}catch(Te){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},A.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch(Te){this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},A.prototype.appendChildNode=function(A,e,t){la(e)&&(va(e)||e.hasAttribute(za)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&la(e)&&Ca(e)||A.appendChild(this.cloneNode(e,t))},A.prototype.cloneChildNodes=function(A,e,t){for(var n=this,r=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;r;r=r.nextSibling)if(la(r)&&ba(r)&&"function"===typeof r.assignedNodes){var o=r.assignedNodes();o.length&&o.forEach((function(A){return n.appendChildNode(e,A,t)}))}else this.appendChildNode(e,r,t)},A.prototype.cloneNode=function(A,e){if(sa(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&la(A)&&(ua(A)||ca(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var r=t.getComputedStyle(A),o=t.getComputedStyle(A,":before"),i=t.getComputedStyle(A,":after");this.referenceElement===A&&ua(n)&&(this.clonedReferenceElement=n),ha(n)&&us(n);var a=this.counters.parse(new wo(this.context,r)),s=this.resolvePseudoContent(A,n,o,Wo.BEFORE);xa(A)&&(e=!0),Qa(A)||this.cloneChildNodes(A,n,e),s&&n.insertBefore(s,n.firstChild);var l=this.resolvePseudoContent(A,n,i,Wo.AFTER);return l&&n.appendChild(l),this.counters.pop(a),(r&&(this.options.copyStyles||ca(A))&&!ma(A)||e)&&es(r,n),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(Fa(A)||Ua(A))&&(Fa(n)||Ua(n))&&(n.value=A.value),n}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,n){var r=this;if(t){var o=t.content,i=e.ownerDocument;if(i&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==t.display){this.counters.parse(new wo(this.context,t));var a=new ho(this.context,t),s=i.createElement("html2canvaspseudoelement");es(t,s),a.content.forEach((function(e){if(0===e.type)s.appendChild(i.createTextNode(e.value));else if(22===e.type){var t=i.createElement("img");t.src=e.value,t.style.opacity="1",s.appendChild(t)}else if(18===e.type){if("attr"===e.name){var n=e.values.filter(Lt);n.length&&s.appendChild(i.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===e.name){var o=e.values.filter(Dt),l=o[0],u=o[1];if(l&&Lt(l)){var c=r.counters.getCounterValue(l.value),d=u&&Lt(u)?Fr.parse(r.context,u.value):3;s.appendChild(i.createTextNode(Wa(c,d,!1)))}}else if("counters"===e.name){var f=e.values.filter(Dt),B=(l=f[0],f[1]);if(u=f[2],l&&Lt(l)){var g=r.counters.getCounterValues(l.value),p=u&&Lt(u)?Fr.parse(r.context,u.value):3,h=B&&0===B.type?B.value:"",w=g.map((function(A){return Wa(A,p,!1)})).join(h);s.appendChild(i.createTextNode(w))}}}else if(20===e.type)switch(e.value){case"open-quote":s.appendChild(i.createTextNode(uo(a.quotes,r.quoteDepth++,!0)));break;case"close-quote":s.appendChild(i.createTextNode(uo(a.quotes,--r.quoteDepth,!1)));break;default:s.appendChild(i.createTextNode(e.value))}})),s.className=as+" "+ss;var l=n===Wo.BEFORE?" "+as:" "+ss;return ca(e)?e.className.baseValue+=l:e.className+=l,s}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();!function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"}(Wo||(Wo={}));var Ya,qa=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(za,"true"),A.body.appendChild(t),t},Za=function(A){return new Promise((function(e){A.complete?e():A.src?(A.onload=e,A.onerror=e):e()}))},_a=function(A){return Promise.all([].slice.call(A.images,0).map(Za))},$a=function(A){return new Promise((function(e,t){var n=A.contentWindow;if(!n)return t("No window assigned for iframe");var r=n.document;n.onload=A.onload=function(){n.onload=A.onload=null;var t=setInterval((function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(t),e(A))}),50)}}))},As=["all","d","content"],es=function(A,e){for(var t=A.length-1;t>=0;t--){var n=A.item(t);-1===As.indexOf(n)&&e.style.setProperty(n,A.getPropertyValue(n))}return e},ts=function(A){var e="";return A&&(e+=""),e},ns=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},rs=function(A){var e=A[0],t=A[1],n=A[2];e.scrollLeft=t,e.scrollTop=n},os=":before",is=":after",as="___html2canvas___pseudoelement_before",ss="___html2canvas___pseudoelement_after",ls='{\n content: "" !important;\n display: none !important;\n}',us=function(A){cs(A,"."+as+os+ls+"\n ."+ss+is+ls)},cs=function(A,e){var t=A.ownerDocument;if(t){var n=t.createElement("style");n.textContent=e,A.appendChild(n)}},ds=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),fs=function(){function A(A,e){this.context=A,this._options=e,this._cache={}}return A.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)?e:ys(A)||hs(A)?((this._cache[A]=this.loadImage(A)).catch((function(){})),e):e},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return n(this,void 0,void 0,(function(){var e,t,n,o,i=this;return r(this,(function(r){switch(r.label){case 0:return e=ds.isSameOrigin(A),t=!ws(A)&&!0===this._options.useCORS&&Ui.SUPPORT_CORS_IMAGES&&!e,n=!ws(A)&&!e&&!ys(A)&&"string"===typeof this._options.proxy&&Ui.SUPPORT_CORS_XHR&&!t,e||!1!==this._options.allowTaint||ws(A)||ys(A)||n||t?(o=A,n?[4,this.proxy(o)]:[3,2]):[2];case 1:o=r.sent(),r.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise((function(A,e){var n=new Image;n.onload=function(){return A(n)},n.onerror=e,(Qs(o)||t)&&(n.crossOrigin="anonymous"),n.src=o,!0===n.complete&&setTimeout((function(){return A(n)}),500),i._options.imageTimeout>0&&setTimeout((function(){return e("Timed out ("+i._options.imageTimeout+"ms) loading image")}),i._options.imageTimeout)}))];case 3:return[2,r.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise((function(r,o){var i=Ui.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if("text"===i)r(a.response);else{var A=new FileReader;A.addEventListener("load",(function(){return r(A.result)}),!1),A.addEventListener("error",(function(A){return o(A)}),!1),A.readAsDataURL(a.response)}else o("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=o;var s=t.indexOf("?")>-1?"&":"?";if(a.open("GET",""+t+s+"url="+encodeURIComponent(A)+"&responseType="+i),"text"!==i&&a instanceof XMLHttpRequest&&(a.responseType=i),e._options.imageTimeout){var l=e._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return o("Timed out ("+l+"ms) proxying "+n)}}a.send()}))},A}(),Bs=/^data:image\/svg\+xml/i,gs=/^data:image\/.*;base64,/i,ps=/^data:image\/.*/i,hs=function(A){return Ui.SUPPORT_SVG_DRAWING||!ms(A)},ws=function(A){return ps.test(A)},Qs=function(A){return gs.test(A)},ys=function(A){return"blob"===A.substr(0,4)},ms=function(A){return"svg"===A.substr(-3).toLowerCase()||Bs.test(A)},Cs=function(){function A(A,e){this.type=0,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),vs=function(A,e,t){return new Cs(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Fs=function(){function A(A,e,t,n){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=n}return A.prototype.subdivide=function(e,t){var n=vs(this.start,this.startControl,e),r=vs(this.startControl,this.endControl,e),o=vs(this.endControl,this.end,e),i=vs(n,r,e),a=vs(r,o,e),s=vs(i,a,e);return t?new A(this.start,n,i,s):new A(s,a,o,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Us=function(A){return 1===A.type},bs=function(){function A(A){var e=A.styles,t=A.bounds,n=Jt(e.borderTopLeftRadius,t.width,t.height),r=n[0],o=n[1],i=Jt(e.borderTopRightRadius,t.width,t.height),a=i[0],s=i[1],l=Jt(e.borderBottomRightRadius,t.width,t.height),u=l[0],c=l[1],d=Jt(e.borderBottomLeftRadius,t.width,t.height),f=d[0],B=d[1],g=[];g.push((r+a)/t.width),g.push((f+u)/t.width),g.push((o+B)/t.height),g.push((s+c)/t.height);var p=Math.max.apply(Math,g);p>1&&(r/=p,o/=p,a/=p,s/=p,u/=p,c/=p,f/=p,B/=p);var h=t.width-a,w=t.height-c,Q=t.width-u,y=t.height-B,m=e.borderTopWidth,C=e.borderRightWidth,v=e.borderBottomWidth,F=e.borderLeftWidth,U=Wt(e.paddingTop,A.bounds.width),b=Wt(e.paddingRight,A.bounds.width),x=Wt(e.paddingBottom,A.bounds.width),H=Wt(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||o>0?xs(t.left+F/3,t.top+m/3,r-F/3,o-m/3,Ya.TOP_LEFT):new Cs(t.left+F/3,t.top+m/3),this.topRightBorderDoubleOuterBox=r>0||o>0?xs(t.left+h,t.top+m/3,a-C/3,s-m/3,Ya.TOP_RIGHT):new Cs(t.left+t.width-C/3,t.top+m/3),this.bottomRightBorderDoubleOuterBox=u>0||c>0?xs(t.left+Q,t.top+w,u-C/3,c-v/3,Ya.BOTTOM_RIGHT):new Cs(t.left+t.width-C/3,t.top+t.height-v/3),this.bottomLeftBorderDoubleOuterBox=f>0||B>0?xs(t.left+F/3,t.top+y,f-F/3,B-v/3,Ya.BOTTOM_LEFT):new Cs(t.left+F/3,t.top+t.height-v/3),this.topLeftBorderDoubleInnerBox=r>0||o>0?xs(t.left+2*F/3,t.top+2*m/3,r-2*F/3,o-2*m/3,Ya.TOP_LEFT):new Cs(t.left+2*F/3,t.top+2*m/3),this.topRightBorderDoubleInnerBox=r>0||o>0?xs(t.left+h,t.top+2*m/3,a-2*C/3,s-2*m/3,Ya.TOP_RIGHT):new Cs(t.left+t.width-2*C/3,t.top+2*m/3),this.bottomRightBorderDoubleInnerBox=u>0||c>0?xs(t.left+Q,t.top+w,u-2*C/3,c-2*v/3,Ya.BOTTOM_RIGHT):new Cs(t.left+t.width-2*C/3,t.top+t.height-2*v/3),this.bottomLeftBorderDoubleInnerBox=f>0||B>0?xs(t.left+2*F/3,t.top+y,f-2*F/3,B-2*v/3,Ya.BOTTOM_LEFT):new Cs(t.left+2*F/3,t.top+t.height-2*v/3),this.topLeftBorderStroke=r>0||o>0?xs(t.left+F/2,t.top+m/2,r-F/2,o-m/2,Ya.TOP_LEFT):new Cs(t.left+F/2,t.top+m/2),this.topRightBorderStroke=r>0||o>0?xs(t.left+h,t.top+m/2,a-C/2,s-m/2,Ya.TOP_RIGHT):new Cs(t.left+t.width-C/2,t.top+m/2),this.bottomRightBorderStroke=u>0||c>0?xs(t.left+Q,t.top+w,u-C/2,c-v/2,Ya.BOTTOM_RIGHT):new Cs(t.left+t.width-C/2,t.top+t.height-v/2),this.bottomLeftBorderStroke=f>0||B>0?xs(t.left+F/2,t.top+y,f-F/2,B-v/2,Ya.BOTTOM_LEFT):new Cs(t.left+F/2,t.top+t.height-v/2),this.topLeftBorderBox=r>0||o>0?xs(t.left,t.top,r,o,Ya.TOP_LEFT):new Cs(t.left,t.top),this.topRightBorderBox=a>0||s>0?xs(t.left+h,t.top,a,s,Ya.TOP_RIGHT):new Cs(t.left+t.width,t.top),this.bottomRightBorderBox=u>0||c>0?xs(t.left+Q,t.top+w,u,c,Ya.BOTTOM_RIGHT):new Cs(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=f>0||B>0?xs(t.left,t.top+y,f,B,Ya.BOTTOM_LEFT):new Cs(t.left,t.top+t.height),this.topLeftPaddingBox=r>0||o>0?xs(t.left+F,t.top+m,Math.max(0,r-F),Math.max(0,o-m),Ya.TOP_LEFT):new Cs(t.left+F,t.top+m),this.topRightPaddingBox=a>0||s>0?xs(t.left+Math.min(h,t.width-C),t.top+m,h>t.width+C?0:Math.max(0,a-C),Math.max(0,s-m),Ya.TOP_RIGHT):new Cs(t.left+t.width-C,t.top+m),this.bottomRightPaddingBox=u>0||c>0?xs(t.left+Math.min(Q,t.width-F),t.top+Math.min(w,t.height-v),Math.max(0,u-C),Math.max(0,c-v),Ya.BOTTOM_RIGHT):new Cs(t.left+t.width-C,t.top+t.height-v),this.bottomLeftPaddingBox=f>0||B>0?xs(t.left+F,t.top+Math.min(y,t.height-v),Math.max(0,f-F),Math.max(0,B-v),Ya.BOTTOM_LEFT):new Cs(t.left+F,t.top+t.height-v),this.topLeftContentBox=r>0||o>0?xs(t.left+F+H,t.top+m+U,Math.max(0,r-(F+H)),Math.max(0,o-(m+U)),Ya.TOP_LEFT):new Cs(t.left+F+H,t.top+m+U),this.topRightContentBox=a>0||s>0?xs(t.left+Math.min(h,t.width+F+H),t.top+m+U,h>t.width+F+H?0:a-F+H,s-(m+U),Ya.TOP_RIGHT):new Cs(t.left+t.width-(C+b),t.top+m+U),this.bottomRightContentBox=u>0||c>0?xs(t.left+Math.min(Q,t.width-(F+H)),t.top+Math.min(w,t.height+m+U),Math.max(0,u-(C+b)),c-(v+x),Ya.BOTTOM_RIGHT):new Cs(t.left+t.width-(C+b),t.top+t.height-(v+x)),this.bottomLeftContentBox=f>0||B>0?xs(t.left+F+H,t.top+y,Math.max(0,f-(F+H)),B-(v+x),Ya.BOTTOM_LEFT):new Cs(t.left+F+H,t.top+t.height-(v+x))}return A}();!function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Ya||(Ya={}));var xs=function(A,e,t,n,r){var o=(Math.sqrt(2)-1)/3*4,i=t*o,a=n*o,s=A+t,l=e+n;switch(r){case Ya.TOP_LEFT:return new Fs(new Cs(A,l),new Cs(A,l-a),new Cs(s-i,e),new Cs(s,e));case Ya.TOP_RIGHT:return new Fs(new Cs(A,e),new Cs(A+i,e),new Cs(s,l-a),new Cs(s,l));case Ya.BOTTOM_RIGHT:return new Fs(new Cs(s,e),new Cs(s,e+a),new Cs(A+i,l),new Cs(A,l));case Ya.BOTTOM_LEFT:default:return new Fs(new Cs(s,l),new Cs(s-i,l),new Cs(A,e+a),new Cs(A,e))}},Hs=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Es=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Is=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Ss=function(){function A(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6}return A}(),Ls=function(){function A(A,e){this.path=A,this.target=e,this.type=1}return A}(),ks=function(){function A(A){this.opacity=A,this.type=2,this.target=6}return A}(),Ps=function(A){return 0===A.type},Ks=function(A){return 1===A.type},Ds=function(A){return 2===A.type},Ts=function(A,e){return A.length===e.length&&A.some((function(A,t){return A===e[t]}))},Os=function(A,e,t,n,r){return A.map((function(A,o){switch(o){case 0:return A.add(e,t);case 1:return A.add(e+n,t);case 2:return A.add(e+n,t+r);case 3:return A.add(e,t+r)}return A}))},Ms=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),Ns=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new bs(this.container),this.container.styles.opacity<1&&this.effects.push(new ks(this.container.styles.opacity)),null!==this.container.styles.transform){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,r=this.container.styles.transform;this.effects.push(new Ss(t,n,r))}if(0!==this.container.styles.overflowX){var o=Hs(this.curves),i=Is(this.curves);Ts(o,i)?this.effects.push(new Ls(o,6)):(this.effects.push(new Ls(o,2)),this.effects.push(new Ls(i,4)))}}return A.prototype.getEffects=function(A){for(var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,n=this.effects.slice(0);t;){var r=t.effects.filter((function(A){return!Ks(A)}));if(e||0!==t.container.styles.position||!t.parent){if(n.unshift.apply(n,r),e=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var o=Hs(t.curves),i=Is(t.curves);Ts(o,i)||n.unshift(new Ls(i,6))}}else n.unshift.apply(n,r);t=t.parent}return n.filter((function(e){return ro(e.target,A)}))},A}(),Rs=function A(e,t,n,r){e.container.elements.forEach((function(o){var i=ro(o.flags,4),a=ro(o.flags,2),s=new Ns(o,e);ro(o.styles.display,2048)&&r.push(s);var l=ro(o.flags,8)?[]:r;if(i||a){var u=i||o.styles.isPositioned()?n:t,c=new Ms(s);if(o.styles.isPositioned()||o.styles.opacity<1||o.styles.isTransformed()){var d=o.styles.zIndex.order;if(d<0){var f=0;u.negativeZIndex.some((function(A,e){return d>A.element.container.styles.zIndex.order?(f=e,!1):f>0})),u.negativeZIndex.splice(f,0,c)}else if(d>0){var B=0;u.positiveZIndex.some((function(A,e){return d>=A.element.container.styles.zIndex.order?(B=e+1,!1):B>0})),u.positiveZIndex.splice(B,0,c)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else o.styles.isFloating()?u.nonPositionedFloats.push(c):u.nonPositionedInlineLevel.push(c);A(s,c,i?c:n,l)}else o.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),A(s,t,n,l);ro(o.flags,8)&&Vs(o,l)}))},Vs=function(A,e){for(var t=A instanceof Xi?A.start:1,n=A instanceof Xi&&A.reversed,r=0;r0&&A.intrinsicHeight>0){var n=Zs(A),r=Is(e);this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(A){return n(this,void 0,void 0,(function(){var e,n,o,a,s,l,u,c,d,f,B,g,p,h,w,Q,y,m;return r(this,(function(r){switch(r.label){case 0:this.applyEffects(A.getEffects(4)),e=A.container,n=A.curves,o=e.styles,a=0,s=e.textNodes,r.label=1;case 1:return a0&&F>0&&(w=n.ctx.createPattern(g,"repeat"),n.renderRepeat(y,w,b,x))):kn(t)&&(Q=Al(A,e,[null,null,null]),y=Q[0],m=Q[1],C=Q[2],v=Q[3],F=Q[4],U=0===t.position.length?[Xt]:t.position,b=Wt(U[0],v),x=Wt(U[U.length-1],F),H=mn(t,b,x,v,F),E=H[0],I=H[1],E>0&&I>0&&(S=n.ctx.createRadialGradient(m+b,C+x,0,m+b,C+x,E),pn(t.stops,2*E).forEach((function(A){return S.addColorStop(A.stop,nn(A.color))})),n.path(y),n.ctx.fillStyle=S,E!==I?(L=A.bounds.left+.5*A.bounds.width,k=A.bounds.top+.5*A.bounds.height,K=1/(P=I/E),n.ctx.save(),n.ctx.translate(L,k),n.ctx.transform(1,0,0,P,0,0),n.ctx.translate(-L,-k),n.ctx.fillRect(m,K*(C-k)+k,v,F*K),n.ctx.restore()):n.ctx.fill())),r.label=6;case 6:return e--,[2]}}))},n=this,o=0,i=A.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return o0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,i,A.curves,2)]:[3,11]:[3,13];case 4:return r.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,i,A.curves,3)];case 6:return r.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,i,A.curves)];case 8:return r.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,i,A.curves)];case 10:r.sent(),r.label=11;case 11:i++,r.label=12;case 12:return a++,[3,3];case 13:return[2]}}))}))},t.prototype.renderDashedDottedBorder=function(A,e,t,o,i){return n(this,void 0,void 0,(function(){var n,a,s,l,u,c,d,f,B,g,p,h,w,Q,y,m;return r(this,(function(r){return this.ctx.save(),n=zs(o,t),a=Gs(o,t),2===i&&(this.path(a),this.ctx.clip()),Us(a[0])?(s=a[0].start.x,l=a[0].start.y):(s=a[0].x,l=a[0].y),Us(a[1])?(u=a[1].end.x,c=a[1].end.y):(u=a[1].x,c=a[1].y),d=0===t||2===t?Math.abs(s-u):Math.abs(l-c),this.ctx.beginPath(),3===i?this.formatPath(n):this.formatPath(a.slice(0,2)),f=e<3?3*e:2*e,B=e<3?2*e:e,3===i&&(f=e,B=e),g=!0,d<=2*f?g=!1:d<=2*f+B?(f*=p=d/(2*f+B),B*=p):(h=Math.floor((d+B)/(f+B)),w=(d-h*f)/(h-1),B=(Q=(d-(h+1)*f)/h)<=0||Math.abs(B-w)0;e--){var t=Math.floor(n.random()*(e+1)),r=A[e];A[e]=A[t],A[t]=r}return A},n.choose=function(A){return A[Math.floor(n.random()*A.length)]},n.isElement=function(A){return"undefined"!==typeof HTMLElement?A instanceof HTMLElement:!!(A&&A.nodeType&&A.nodeName)},n.isArray=function(A){return"[object Array]"===Object.prototype.toString.call(A)},n.isFunction=function(A){return"function"===typeof A},n.isPlainObject=function(A){return"object"===typeof A&&A.constructor===Object},n.isString=function(A){return"[object String]"===toString.call(A)},n.clamp=function(A,e,t){return At?t:A},n.sign=function(A){return A<0?-1:1},n.now=function(){if("undefined"!==typeof window&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-n._nowStartTime},n.random=function(e,t){return t="undefined"!==typeof t?t:1,(e="undefined"!==typeof e?e:0)+A()*(t-e)};var A=function(){return n._seed=(9301*n._seed+49297)%233280,n._seed/233280};n.colorToNumber=function(A){return 3==(A=A.replace("#","")).length&&(A=A.charAt(0)+A.charAt(0)+A.charAt(1)+A.charAt(1)+A.charAt(2)+A.charAt(2)),parseInt(A,16)},n.logLevel=1,n.log=function(){console&&n.logLevel>0&&n.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},n.info=function(){console&&n.logLevel>0&&n.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},n.warn=function(){console&&n.logLevel>0&&n.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},n.warnOnce=function(){var A=Array.prototype.slice.call(arguments).join(" ");n._warnedOnce[A]||(n.warn(A),n._warnedOnce[A]=!0)},n.deprecated=function(A,e,t){A[e]=n.chain((function(){n.warnOnce("\ud83d\udd05 deprecated \ud83d\udd05",t)}),A[e])},n.nextId=function(){return n._nextId++},n.indexOf=function(A,e){if(A.indexOf)return A.indexOf(e);for(var t=0;tA.max.x&&(A.max.x=r.x),r.xA.max.y&&(A.max.y=r.y),r.y0?A.max.x+=t.x:A.min.x+=t.x,t.y>0?A.max.y+=t.y:A.min.y+=t.y)},t.contains=function(A,e){return e.x>=A.min.x&&e.x<=A.max.x&&e.y>=A.min.y&&e.y<=A.max.y},t.overlaps=function(A,e){return A.min.x<=e.max.x&&A.max.x>=e.min.x&&A.max.y>=e.min.y&&A.min.y<=e.max.y},t.translate=function(A,e){A.min.x+=e.x,A.max.x+=e.x,A.min.y+=e.y,A.max.y+=e.y},t.shift=function(A,e){var t=A.max.x-A.min.x,n=A.max.y-A.min.y;A.min.x=e.x,A.max.x=e.x+t,A.min.y=e.y,A.max.y=e.y+n}},function(A,e){var t={};A.exports=t,t.create=function(A,e){return{x:A||0,y:e||0}},t.clone=function(A){return{x:A.x,y:A.y}},t.magnitude=function(A){return Math.sqrt(A.x*A.x+A.y*A.y)},t.magnitudeSquared=function(A){return A.x*A.x+A.y*A.y},t.rotate=function(A,e,t){var n=Math.cos(e),r=Math.sin(e);t||(t={});var o=A.x*n-A.y*r;return t.y=A.x*r+A.y*n,t.x=o,t},t.rotateAbout=function(A,e,t,n){var r=Math.cos(e),o=Math.sin(e);n||(n={});var i=t.x+((A.x-t.x)*r-(A.y-t.y)*o);return n.y=t.y+((A.x-t.x)*o+(A.y-t.y)*r),n.x=i,n},t.normalise=function(A){var e=t.magnitude(A);return 0===e?{x:0,y:0}:{x:A.x/e,y:A.y/e}},t.dot=function(A,e){return A.x*e.x+A.y*e.y},t.cross=function(A,e){return A.x*e.y-A.y*e.x},t.cross3=function(A,e,t){return(e.x-A.x)*(t.y-A.y)-(e.y-A.y)*(t.x-A.x)},t.add=function(A,e,t){return t||(t={}),t.x=A.x+e.x,t.y=A.y+e.y,t},t.sub=function(A,e,t){return t||(t={}),t.x=A.x-e.x,t.y=A.y-e.y,t},t.mult=function(A,e){return{x:A.x*e,y:A.y*e}},t.div=function(A,e){return{x:A.x/e,y:A.y/e}},t.perp=function(A,e){return{x:(e=!0===e?-1:1)*-A.y,y:e*A.x}},t.neg=function(A){return{x:-A.x,y:-A.y}},t.angle=function(A,e){return Math.atan2(e.y-A.y,e.x-A.x)},t._temp=[t.create(),t.create(),t.create(),t.create(),t.create(),t.create()]},function(A,e,t){var n={};A.exports=n;var r=t(2),o=t(0);n.create=function(A,e){for(var t=[],n=0;n0)return!1;i=t}return!0},n.scale=function(A,e,t,o){if(1===e&&1===t)return A;var i,a;o=o||n.centre(A);for(var s=0;s=0?s-1:A.length-1],u=A[s],c=A[(s+1)%A.length],d=e[s0&&(o|=2),3===o)return!1;return 0!==o||null},n.hull=function(A){var e,t,n=[],o=[];for((A=A.slice(0)).sort((function(A,e){var t=A.x-e.x;return 0!==t?t:A.y-e.y})),t=0;t=2&&r.cross3(o[o.length-2],o[o.length-1],e)<=0;)o.pop();o.push(e)}for(t=A.length-1;t>=0;t-=1){for(e=A[t];n.length>=2&&r.cross3(n[n.length-2],n[n.length-1],e)<=0;)n.pop();n.push(e)}return n.pop(),o.pop(),n.concat(o)}},function(A,e,t){var n={};A.exports=n;var r=t(3),o=t(2),i=t(7),a=t(0),s=t(1),l=t(11);!function(){n._timeCorrection=!0,n._inertiaScale=4,n._nextCollidingGroupId=1,n._nextNonCollidingGroupId=-1,n._nextCategory=1,n._baseDelta=1e3/60,n.create=function(e){var t={id:a.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:r.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,deltaTime:1e3/60,_original:null},n=a.extend(t,e);return A(n,e),n},n.nextGroup=function(A){return A?n._nextNonCollidingGroupId--:n._nextCollidingGroupId++},n.nextCategory=function(){return n._nextCategory=n._nextCategory<<1,n._nextCategory};var A=function(A,e){e=e||{},n.set(A,{bounds:A.bounds||s.create(A.vertices),positionPrev:A.positionPrev||o.clone(A.position),anglePrev:A.anglePrev||A.angle,vertices:A.vertices,parts:A.parts||[A],isStatic:A.isStatic,isSleeping:A.isSleeping,parent:A.parent||A}),r.rotate(A.vertices,A.angle,A.position),l.rotate(A.axes,A.angle),s.update(A.bounds,A.vertices,A.velocity),n.set(A,{axes:e.axes||A.axes,area:e.area||A.area,mass:e.mass||A.mass,inertia:e.inertia||A.inertia});var t=A.isStatic?"#14151f":a.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),i=A.isStatic?"#555":"#ccc",u=A.isStatic&&null===A.render.fillStyle?1:0;A.render.fillStyle=A.render.fillStyle||t,A.render.strokeStyle=A.render.strokeStyle||i,A.render.lineWidth=A.render.lineWidth||u,A.render.sprite.xOffset+=-(A.bounds.min.x-A.position.x)/(A.bounds.max.x-A.bounds.min.x),A.render.sprite.yOffset+=-(A.bounds.min.y-A.position.y)/(A.bounds.max.y-A.bounds.min.y)};n.set=function(A,e,t){var r;for(r in"string"===typeof e&&(r=e,(e={})[r]=t),e)if(Object.prototype.hasOwnProperty.call(e,r))switch(t=e[r],r){case"isStatic":n.setStatic(A,t);break;case"isSleeping":i.set(A,t);break;case"mass":n.setMass(A,t);break;case"density":n.setDensity(A,t);break;case"inertia":n.setInertia(A,t);break;case"vertices":n.setVertices(A,t);break;case"position":n.setPosition(A,t);break;case"angle":n.setAngle(A,t);break;case"velocity":n.setVelocity(A,t);break;case"angularVelocity":n.setAngularVelocity(A,t);break;case"speed":n.setSpeed(A,t);break;case"angularSpeed":n.setAngularSpeed(A,t);break;case"parts":n.setParts(A,t);break;case"centre":n.setCentre(A,t);break;default:A[r]=t}},n.setStatic=function(A,e){for(var t=0;t0&&o.rotateAbout(a.position,n,A.position,a.position)}},n.setVelocity=function(A,e){var t=A.deltaTime/n._baseDelta;A.positionPrev.x=A.position.x-e.x*t,A.positionPrev.y=A.position.y-e.y*t,A.velocity.x=(A.position.x-A.positionPrev.x)/t,A.velocity.y=(A.position.y-A.positionPrev.y)/t,A.speed=o.magnitude(A.velocity)},n.getVelocity=function(A){var e=n._baseDelta/A.deltaTime;return{x:(A.position.x-A.positionPrev.x)*e,y:(A.position.y-A.positionPrev.y)*e}},n.getSpeed=function(A){return o.magnitude(n.getVelocity(A))},n.setSpeed=function(A,e){n.setVelocity(A,o.mult(o.normalise(n.getVelocity(A)),e))},n.setAngularVelocity=function(A,e){var t=A.deltaTime/n._baseDelta;A.anglePrev=A.angle-e*t,A.angularVelocity=(A.angle-A.anglePrev)/t,A.angularSpeed=Math.abs(A.angularVelocity)},n.getAngularVelocity=function(A){return(A.angle-A.anglePrev)*n._baseDelta/A.deltaTime},n.getAngularSpeed=function(A){return Math.abs(n.getAngularVelocity(A))},n.setAngularSpeed=function(A,e){n.setAngularVelocity(A,a.sign(n.getAngularVelocity(A))*e)},n.translate=function(A,e,t){n.setPosition(A,o.add(A.position,e),t)},n.rotate=function(A,e,t,r){if(t){var o=Math.cos(e),i=Math.sin(e),a=A.position.x-t.x,s=A.position.y-t.y;n.setPosition(A,{x:t.x+(a*o-s*i),y:t.y+(a*i+s*o)},r),n.setAngle(A,A.angle+e,r)}else n.setAngle(A,A.angle+e,r)},n.scale=function(A,e,t,o){var i=0,a=0;o=o||A.position;for(var u=0;u0&&(i+=c.area,a+=c.inertia),c.position.x=o.x+(c.position.x-o.x)*e,c.position.y=o.y+(c.position.y-o.y)*t,s.update(c.bounds,c.vertices,A.velocity)}A.parts.length>1&&(A.area=i,A.isStatic||(n.setMass(A,A.density*i),n.setInertia(A,a))),A.circleRadius&&(e===t?A.circleRadius*=e:A.circleRadius=null)},n.update=function(A,e){var t=(e=("undefined"!==typeof e?e:1e3/60)*A.timeScale)*e,i=n._timeCorrection?e/(A.deltaTime||e):1,u=1-A.frictionAir*(e/a._baseDelta),c=(A.position.x-A.positionPrev.x)*i,d=(A.position.y-A.positionPrev.y)*i;A.velocity.x=c*u+A.force.x/A.mass*t,A.velocity.y=d*u+A.force.y/A.mass*t,A.positionPrev.x=A.position.x,A.positionPrev.y=A.position.y,A.position.x+=A.velocity.x,A.position.y+=A.velocity.y,A.deltaTime=e,A.angularVelocity=(A.angle-A.anglePrev)*u*i+A.torque/A.inertia*t,A.anglePrev=A.angle,A.angle+=A.angularVelocity;for(var f=0;f0&&(B.position.x+=A.velocity.x,B.position.y+=A.velocity.y),0!==A.angularVelocity&&(r.rotate(B.vertices,A.angularVelocity,A.position),l.rotate(B.axes,A.angularVelocity),f>0&&o.rotateAbout(B.position,A.angularVelocity,A.position,B.position)),s.update(B.bounds,B.vertices,A.velocity)}},n.updateVelocities=function(A){var e=n._baseDelta/A.deltaTime,t=A.velocity;t.x=(A.position.x-A.positionPrev.x)*e,t.y=(A.position.y-A.positionPrev.y)*e,A.speed=Math.sqrt(t.x*t.x+t.y*t.y),A.angularVelocity=(A.angle-A.anglePrev)*e,A.angularSpeed=Math.abs(A.angularVelocity)},n.applyForce=function(A,e,t){var n=e.x-A.position.x,r=e.y-A.position.y;A.force.x+=t.x,A.force.y+=t.y,A.torque+=n*t.y-r*t.x},n._totalProperties=function(A){for(var e={mass:0,area:0,inertia:0,centre:{x:0,y:0}},t=1===A.parts.length?0:1;t0){t||(t={}),n=e.split(" ");for(var l=0;l0&&s.motion=s.sleepThreshold/t&&n.set(s,!0)):s.sleepCounter>0&&(s.sleepCounter-=1)}else n.set(s,!1)}},n.afterCollisions=function(A){for(var e=n._motionSleepThreshold,t=0;te&&n.set(s,!1)}}}},n.set=function(A,e){var t=A.isSleeping;e?(A.isSleeping=!0,A.sleepCounter=A.sleepThreshold,A.positionImpulse.x=0,A.positionImpulse.y=0,A.positionPrev.x=A.position.x,A.positionPrev.y=A.position.y,A.anglePrev=A.angle,A.speed=0,A.angularSpeed=0,A.motion=0,t||o.trigger(A,"sleepStart")):(A.isSleeping=!1,A.sleepCounter=0,t&&o.trigger(A,"sleepEnd"))}},function(A,e,t){var n={};A.exports=n;var r=t(3),o=t(9);!function(){var A=[],e={overlap:0,axis:null},t={overlap:0,axis:null};n.create=function(A,e){return{pair:null,collided:!1,bodyA:A,bodyB:e,parentA:A.parent,parentB:e.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},n.collides=function(A,i,a){if(n._overlapAxes(e,A.vertices,i.vertices,A.axes),e.overlap<=0)return null;if(n._overlapAxes(t,i.vertices,A.vertices,i.axes),t.overlap<=0)return null;var s,l,u=a&&a.table[o.id(A,i)];u?s=u.collision:((s=n.create(A,i)).collided=!0,s.bodyA=A.idF?F=a:aU?U=a:ar?r=i:is.frictionStatic?a.frictionStatic:s.frictionStatic,A.restitution=a.restitution>s.restitution?a.restitution:s.restitution,A.slop=a.slop>s.slop?a.slop:s.slop,e.pair=A,i.length=0;for(var u=0;u0?1:.7),e.damping=e.damping||0,e.angularStiffness=e.angularStiffness||0,e.angleA=e.bodyA?e.bodyA.angle:e.angleA,e.angleB=e.bodyB?e.bodyB.angle:e.angleB,e.plugin={};var i={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return 0===e.length&&e.stiffness>.1?(i.type="pin",i.anchors=!1):e.stiffness<.9&&(i.type="spring"),e.render=l.extend(i,e.render),e},n.preSolveAll=function(A){for(var e=0;e=1||0===A.length?A.stiffness*e:A.stiffness*e*e,Q=A.damping*e,y=o.mult(u,h*w),m=(t?t.inverseMass:0)+(r?r.inverseMass:0),C=m+((t?t.inverseInertia:0)+(r?r.inverseInertia:0));if(Q>0){var v=o.create();B=o.div(u,c),p=o.sub(r&&o.sub(r.position,r.positionPrev)||v,t&&o.sub(t.position,t.positionPrev)||v),g=o.dot(B,p)}t&&!t.isStatic&&(f=t.inverseMass/m,t.constraintImpulse.x-=y.x*f,t.constraintImpulse.y-=y.y*f,t.position.x-=y.x*f,t.position.y-=y.y*f,Q>0&&(t.positionPrev.x-=Q*B.x*g*f,t.positionPrev.y-=Q*B.y*g*f),d=o.cross(i,y)/C*n._torqueDampen*t.inverseInertia*(1-A.angularStiffness),t.constraintImpulse.angle-=d,t.angle-=d),r&&!r.isStatic&&(f=r.inverseMass/m,r.constraintImpulse.x+=y.x*f,r.constraintImpulse.y+=y.y*f,r.position.x+=y.x*f,r.position.y+=y.y*f,Q>0&&(r.positionPrev.x+=Q*B.x*g*f,r.positionPrev.y+=Q*B.y*g*f),d=o.cross(a,y)/C*n._torqueDampen*r.inverseInertia*(1-A.angularStiffness),r.constraintImpulse.angle+=d,r.angle+=d)}}},n.postSolveAll=function(A){for(var e=0;e0&&(c.position.x+=l.x,c.position.y+=l.y),0!==l.angle&&(r.rotate(c.vertices,l.angle,t.position),s.rotate(c.axes,l.angle),u>0&&o.rotateAbout(c.position,l.angle,t.position,c.position)),a.update(c.bounds,c.vertices,t.velocity)}l.angle*=n._warming,l.x*=n._warming,l.y*=n._warming}}},n.pointAWorld=function(A){return{x:(A.bodyA?A.bodyA.position.x:0)+(A.pointA?A.pointA.x:0),y:(A.bodyA?A.bodyA.position.y:0)+(A.pointA?A.pointA.y:0)}},n.pointBWorld=function(A){return{x:(A.bodyB?A.bodyB.position.x:0)+(A.pointB?A.pointB.x:0),y:(A.bodyB?A.bodyB.position.y:0)+(A.pointB?A.pointB.y:0)}}},function(A,e,t){var n={};A.exports=n;var r=t(2),o=t(0);n.fromVertices=function(A){for(var e={},t=0;t0&&r.area(b)1?(B=i.create(o.extend({parts:g.slice(0)},n)),i.setPosition(B,{x:A,y:e}),B):g[0]}},function(A,e,t){var n={};A.exports=n;var r=t(0),o=t(8);n.create=function(A){return r.extend({bodies:[],pairs:null},A)},n.setBodies=function(A,e){A.bodies=e.slice(0)},n.clear=function(A){A.bodies=[]},n.collisions=function(A){var e,t,r=[],i=A.pairs,a=A.bodies,s=a.length,l=n.canCollide,u=o.collides;for(a.sort(n._compareBoundsX),e=0;ef)break;if(!(Bx.max.y)&&(!p||!Q.isStatic&&!Q.isSleeping)&&l(c.collisionFilter,Q.collisionFilter)){var y=Q.parts.length;if(w&&1===y)(U=u(c,Q,i))&&r.push(U);else for(var m=y>1?1:0,C=h>1?1:0;Cx.max.x||d.max.xx.max.y||(U=u(v,b,i))&&r.push(U)}}}}return r},n.canCollide=function(A,e){return A.group===e.group&&0!==A.group?A.group>0:0!==(A.mask&e.category)&&0!==(e.mask&A.category)},n._compareBoundsX=function(A,e){return A.bounds.min.x-e.bounds.min.x}},function(A,e,t){var n={};A.exports=n;var r=t(0);n.create=function(A){var e={};return A||r.log("Mouse.create: element was undefined, defaulting to document.body","warn"),e.element=A||document.body,e.absolute={x:0,y:0},e.position={x:0,y:0},e.mousedownPosition={x:0,y:0},e.mouseupPosition={x:0,y:0},e.offset={x:0,y:0},e.scale={x:1,y:1},e.wheelDelta=0,e.button=-1,e.pixelRatio=parseInt(e.element.getAttribute("data-pixel-ratio"),10)||1,e.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},e.mousemove=function(A){var t=n._getRelativeMousePosition(A,e.element,e.pixelRatio);A.changedTouches&&(e.button=0,A.preventDefault()),e.absolute.x=t.x,e.absolute.y=t.y,e.position.x=e.absolute.x*e.scale.x+e.offset.x,e.position.y=e.absolute.y*e.scale.y+e.offset.y,e.sourceEvents.mousemove=A},e.mousedown=function(A){var t=n._getRelativeMousePosition(A,e.element,e.pixelRatio);A.changedTouches?(e.button=0,A.preventDefault()):e.button=A.button,e.absolute.x=t.x,e.absolute.y=t.y,e.position.x=e.absolute.x*e.scale.x+e.offset.x,e.position.y=e.absolute.y*e.scale.y+e.offset.y,e.mousedownPosition.x=e.position.x,e.mousedownPosition.y=e.position.y,e.sourceEvents.mousedown=A},e.mouseup=function(A){var t=n._getRelativeMousePosition(A,e.element,e.pixelRatio);A.changedTouches&&A.preventDefault(),e.button=-1,e.absolute.x=t.x,e.absolute.y=t.y,e.position.x=e.absolute.x*e.scale.x+e.offset.x,e.position.y=e.absolute.y*e.scale.y+e.offset.y,e.mouseupPosition.x=e.position.x,e.mouseupPosition.y=e.position.y,e.sourceEvents.mouseup=A},e.mousewheel=function(A){e.wheelDelta=Math.max(-1,Math.min(1,A.wheelDelta||-A.detail)),A.preventDefault()},n.setElement(e,e.element),e},n.setElement=function(A,e){A.element=e,e.addEventListener("mousemove",A.mousemove),e.addEventListener("mousedown",A.mousedown),e.addEventListener("mouseup",A.mouseup),e.addEventListener("mousewheel",A.mousewheel),e.addEventListener("DOMMouseScroll",A.mousewheel),e.addEventListener("touchmove",A.mousemove),e.addEventListener("touchstart",A.mousedown),e.addEventListener("touchend",A.mouseup)},n.clearSourceEvents=function(A){A.sourceEvents.mousemove=null,A.sourceEvents.mousedown=null,A.sourceEvents.mouseup=null,A.sourceEvents.mousewheel=null,A.wheelDelta=0},n.setOffset=function(A,e){A.offset.x=e.x,A.offset.y=e.y,A.position.x=A.absolute.x*A.scale.x+A.offset.x,A.position.y=A.absolute.y*A.scale.y+A.offset.y},n.setScale=function(A,e){A.scale.x=e.x,A.scale.y=e.y,A.position.x=A.absolute.x*A.scale.x+A.offset.x,A.position.y=A.absolute.y*A.scale.y+A.offset.y},n._getRelativeMousePosition=function(A,e,t){var n,r,o=e.getBoundingClientRect(),i=document.documentElement||document.body.parentNode||document.body,a=void 0!==window.pageXOffset?window.pageXOffset:i.scrollLeft,s=void 0!==window.pageYOffset?window.pageYOffset:i.scrollTop,l=A.changedTouches;return l?(n=l[0].pageX-o.left-a,r=l[0].pageY-o.top-s):(n=A.pageX-o.left-a,r=A.pageY-o.top-s),{x:n/(e.clientWidth/(e.width||e.clientWidth)*t),y:r/(e.clientHeight/(e.height||e.clientHeight)*t)}}},function(A,e,t){var n={};A.exports=n;var r=t(0);n._registry={},n.register=function(A){if(n.isPlugin(A)||r.warn("Plugin.register:",n.toString(A),"does not implement all required fields."),A.name in n._registry){var e=n._registry[A.name],t=n.versionParse(A.version).number,o=n.versionParse(e.version).number;t>o?(r.warn("Plugin.register:",n.toString(e),"was upgraded to",n.toString(A)),n._registry[A.name]=A):t-1},n.isFor=function(A,e){var t=A.for&&n.dependencyParse(A.for);return!A.for||e.name===t.name&&n.versionSatisfies(e.version,t.range)},n.use=function(A,e){if(A.uses=(A.uses||[]).concat(e||[]),0!==A.uses.length){for(var t=n.dependencies(A),o=r.topologicalSort(t),i=[],a=0;a0&&r.info(i.join(" "))}else r.warn("Plugin.use:",n.toString(A),"does not specify any dependencies to install.")},n.dependencies=function(A,e){var t=n.dependencyParse(A),o=t.name;if(!(o in(e=e||{}))){A=n.resolve(A)||A,e[o]=r.map(A.uses||[],(function(e){n.isPlugin(e)&&n.register(e);var o=n.dependencyParse(e),i=n.resolve(e);return i&&!n.versionSatisfies(i.version,o.range)?(r.warn("Plugin.dependencies:",n.toString(i),"does not satisfy",n.toString(o),"used by",n.toString(t)+"."),i._warned=!0,A._warned=!0):i||(r.warn("Plugin.dependencies:",n.toString(e),"used by",n.toString(t),"could not be resolved."),A._warned=!0),o.name}));for(var i=0;i=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;e.test(A)||r.warn("Plugin.versionParse:",A,"is not a valid version or range.");var t=e.exec(A),n=Number(t[4]),o=Number(t[5]),i=Number(t[6]);return{isRange:Boolean(t[1]||t[2]),version:t[3],range:A,operator:t[1]||t[2]||"",major:n,minor:o,patch:i,parts:[n,o,i],prerelease:t[7],number:1e8*n+1e4*o+i}},n.versionSatisfies=function(A,e){e=e||"*";var t=n.versionParse(e),r=n.versionParse(A);if(t.isRange){if("*"===t.operator||"*"===A)return!0;if(">"===t.operator)return r.number>t.number;if(">="===t.operator)return r.number>=t.number;if("~"===t.operator)return r.major===t.major&&r.minor===t.minor&&r.patch>=t.patch;if("^"===t.operator)return t.major>0?r.major===t.major&&r.number>=t.number:t.minor>0?r.minor===t.minor&&r.patch>=t.patch:r.patch===t.patch}return A===e||"*"===A}},function(A,e){var t={};A.exports=t,t.create=function(A){return{vertex:A,normalImpulse:0,tangentImpulse:0}}},function(A,e,t){var n={};A.exports=n;var r=t(7),o=t(18),i=t(13),a=t(19),s=t(5),l=t(6),u=t(10),c=t(0),d=t(4);n.create=function(A){A=A||{};var e=c.extend({positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},A);return e.world=A.world||l.create({label:"World"}),e.pairs=A.pairs||a.create(),e.detector=A.detector||i.create(),e.grid={buckets:[]},e.world.gravity=e.gravity,e.broadphase=e.grid,e.metrics={},e},n.update=function(A,e){var t,d=c.now(),f=A.world,B=A.detector,g=A.pairs,p=A.timing,h=p.timestamp;e="undefined"!==typeof e?e:c._baseDelta,e*=p.timeScale,p.timestamp+=e,p.lastDelta=e;var w={timestamp:p.timestamp,delta:e};s.trigger(A,"beforeUpdate",w);var Q=l.allBodies(f),y=l.allConstraints(f);for(f.isModified&&(i.setBodies(B,Q),l.setModified(f,!1,!1,!0)),A.enableSleeping&&r.update(Q,e),n._bodiesApplyGravity(Q,A.gravity),e>0&&n._bodiesUpdate(Q,e),u.preSolveAll(Q),t=0;t0&&s.trigger(A,"collisionStart",{pairs:g.collisionStart});var C=c.clamp(20/A.positionIterations,0,1);for(o.preSolvePosition(g.list),t=0;t0&&s.trigger(A,"collisionActive",{pairs:g.collisionActive}),g.collisionEnd.length>0&&s.trigger(A,"collisionEnd",{pairs:g.collisionEnd}),n._bodiesClearForces(Q),s.trigger(A,"afterUpdate",w),A.timing.lastElapsed=c.now()-d,A},n.merge=function(A,e){if(c.extend(A,e),e.world){A.world=e.world,n.clear(A);for(var t=l.allBodies(A.world),o=0;oG?(r=R>0?R:-R,(t=g.friction*(R>0?1:-1)*l)<-r?t=-r:t>r&&(t=r)):(t=R,r=f);var J=L*C-k*m,W=P*C-K*m,z=x/(H+h.inverseInertia*J*J+w.inverseInertia*W*W),j=(1+g.restitution)*N*z;if(t*=z,N0&&(I.normalImpulse=0),j=I.normalImpulse-Y}if(R<-c||R>c)I.tangentImpulse=0;else{var q=I.tangentImpulse;I.tangentImpulse+=t,I.tangentImpulse<-r&&(I.tangentImpulse=-r),I.tangentImpulse>r&&(I.tangentImpulse=r),t=I.tangentImpulse-q}var Z=m*j+v*t,_=C*j+F*t;h.isStatic||h.isSleeping||(h.positionPrev.x+=Z*h.inverseMass,h.positionPrev.y+=_*h.inverseMass,h.anglePrev+=(L*_-k*Z)*h.inverseInertia),w.isStatic||w.isSleeping||(w.positionPrev.x-=Z*w.inverseMass,w.positionPrev.y-=_*w.inverseMass,w.anglePrev-=(P*_-K*Z)*w.inverseInertia)}}}}},function(A,e,t){var n={};A.exports=n;var r=t(9),o=t(0);n.create=function(A){return o.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},A)},n.update=function(A,e,t){var n,o,i,a,s=A.list,l=s.length,u=A.table,c=e.length,d=A.collisionStart,f=A.collisionEnd,B=A.collisionActive;for(d.length=0,f.length=0,B.length=0,a=0;ag&&(g=w),a.translate(h,{x:.5*Q,y:.5*w}),c=h.bounds.max.x+o,r.addBody(u,h),l=h,f+=1}else c+=o}d+=g+i,c=A}return u},n.chain=function(A,e,t,n,a,s){for(var l=A.bodies,u=1;u0)for(l=0;l0&&(d=f[l-1+(s-1)*e],r.addConstraint(A,o.create(i.extend({bodyA:d,bodyB:c},a)))),n&&ld)&&!(i<(l=d-l)||i>t-1-l))return 1===c&&a.translate(u,{x:(i+(t%2===1?1:-1))*f,y:0}),s(A+(u?i*f:0)+i*o,n,i,l,u,c)}))},n.newtonsCradle=function(A,e,t,n,i){for(var a=r.create({label:"Newtons Cradle"}),l=0;lu.bounds.max.x||f.bounds.max.yu.bounds.max.y))){var B=n._getRegion(A,f);if(!f.region||B.id!==f.region.id||r){f.region&&!r||(f.region=B);var g=n._regionUnion(B,f.region);for(i=g.startCol;i<=g.endCol;i++)for(a=g.startRow;a<=g.endRow;a++){s=c[l=n._getBucketId(i,a)];var p=i>=B.startCol&&i<=B.endCol&&a>=B.startRow&&a<=B.endRow,h=i>=f.region.startCol&&i<=f.region.endCol&&a>=f.region.startRow&&a<=f.region.endRow;!p&&h&&h&&s&&n._bucketRemoveBody(A,s,f),(f.region===B||p&&!h||r)&&(s||(s=n._createBucket(c,l)),n._bucketAddBody(A,s,f))}f.region=B,d=!0}}}d&&(A.pairsList=n._createActivePairsList(A))},i(n,"update","Grid.update \u27a4 replaced by Matter.Detector"),n.clear=function(A){A.buckets={},A.pairs={},A.pairsList=[]},i(n,"clear","Grid.clear \u27a4 replaced by Matter.Detector"),n._regionUnion=function(A,e){var t=Math.min(A.startCol,e.startCol),r=Math.max(A.endCol,e.endCol),o=Math.min(A.startRow,e.startRow),i=Math.max(A.endRow,e.endRow);return n._createRegion(t,r,o,i)},n._getRegion=function(A,e){var t=e.bounds,r=Math.floor(t.min.x/A.bucketWidth),o=Math.floor(t.max.x/A.bucketWidth),i=Math.floor(t.min.y/A.bucketHeight),a=Math.floor(t.max.y/A.bucketHeight);return n._createRegion(r,o,i,a)},n._createRegion=function(A,e,t,n){return{id:A+","+e+","+t+","+n,startCol:A,endCol:e,startRow:t,endRow:n}},n._getBucketId=function(A,e){return"C"+A+"R"+e},n._createBucket=function(A,e){return A[e]=[]},n._bucketAddBody=function(A,e,t){var n,o=A.pairs,i=r.id,a=e.length;for(n=0;n0?a.push(e):delete n[r[t]];return a}},function(A,e,t){var n={};A.exports=n;var r=t(3),o=t(7),i=t(14),a=t(5),s=t(13),l=t(10),u=t(6),c=t(0),d=t(1);n.create=function(A,e){var t=(A?A.mouse:null)||(e?e.mouse:null);t||(A&&A.render&&A.render.canvas?t=i.create(A.render.canvas):e&&e.element?t=i.create(e.element):(t=i.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var r={type:"mouseConstraint",mouse:t,element:null,body:null,constraint:l.create({label:"Mouse Constraint",pointA:t.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),collisionFilter:{category:1,mask:4294967295,group:0}},o=c.extend(r,e);return a.on(A,"beforeUpdate",(function(){var e=u.allBodies(A.world);n.update(o,e),n._triggerEvents(o)})),o},n.update=function(A,e){var t=A.mouse,n=A.constraint,i=A.body;if(0===t.button){if(n.bodyB)o.set(n.bodyB,!1),n.pointA=t.position;else for(var l=0;l1?1:0;ur.max.x&&(r.max.x=l.x),s.yr.max.y&&(r.max.y=l.y))}var c=r.max.x-r.min.x+2*t.x,d=r.max.y-r.min.y+2*t.y,f=A.canvas.height,B=A.canvas.width/f,g=c/d,p=1,h=1;g>B?h=g/B:p=B/g,A.options.hasBounds=!0,A.bounds.min.x=r.min.x,A.bounds.max.x=r.min.x+c*p,A.bounds.min.y=r.min.y,A.bounds.max.y=r.min.y+d*h,n&&(A.bounds.min.x+=.5*c-c*p*.5,A.bounds.max.x+=.5*c-c*p*.5,A.bounds.min.y+=.5*d-d*h*.5,A.bounds.max.y+=.5*d-d*h*.5),A.bounds.min.x-=t.x,A.bounds.max.x-=t.x,A.bounds.min.y-=t.y,A.bounds.max.y-=t.y,A.mouse&&(u.setScale(A.mouse,{x:(A.bounds.max.x-A.bounds.min.x)/A.canvas.width,y:(A.bounds.max.y-A.bounds.min.y)/A.canvas.height}),u.setOffset(A.mouse,A.bounds.min))},n.startViewTransform=function(A){var e=A.bounds.max.x-A.bounds.min.x,t=A.bounds.max.y-A.bounds.min.y,n=e/A.options.width,r=t/A.options.height;A.context.setTransform(A.options.pixelRatio/n,0,0,A.options.pixelRatio/r,0,0),A.context.translate(-A.bounds.min.x,-A.bounds.min.y)},n.endViewTransform=function(A){A.context.setTransform(A.options.pixelRatio,0,0,A.options.pixelRatio,0,0)},n.world=function(A,e){var t,r=o.now(),c=A.engine,d=c.world,f=A.canvas,B=A.context,p=A.options,h=A.timing,w=i.allBodies(d),Q=i.allConstraints(d),y=p.wireframes?p.wireframeBackground:p.background,m=[],C=[],v={timestamp:c.timing.timestamp};if(s.trigger(A,"beforeRender",v),A.currentBackground!==y&&g(A,y),B.globalCompositeOperation="source-in",B.fillStyle="transparent",B.fillRect(0,0,f.width,f.height),B.globalCompositeOperation="source-over",p.hasBounds){for(t=0;t1?1:0;i1?1:0;a1?1:0;o1?1:0;a1?1:0;o1?1:0;o1?1:0;r0)){var u=n.activeContacts[0].vertex.x,c=n.activeContacts[0].vertex.y;2===n.activeContacts.length&&(u=(n.activeContacts[0].vertex.x+n.activeContacts[1].vertex.x)/2,c=(n.activeContacts[0].vertex.y+n.activeContacts[1].vertex.y)/2),r.bodyB===r.supports[0].body||!0===r.bodyA.isStatic?a.moveTo(u-8*r.normal.x,c-8*r.normal.y):a.moveTo(u+8*r.normal.x,c+8*r.normal.y),a.lineTo(u,c)}s.wireframes?a.strokeStyle="rgba(255,165,0,0.7)":a.strokeStyle="orange",a.lineWidth=1,a.stroke()},n.separations=function(A,e,t){var n,r,o,i,a,s=t,l=A.options;for(s.beginPath(),a=0;aA.deltaMax?A.deltaMax:n,A.delta=n);var a={timestamp:i.timestamp};r.trigger(A,"beforeTick",a),A.frameCounter+=1,t-A.counterTimestamp>=1e3&&(A.fps=A.frameCounter*((t-A.counterTimestamp)/1e3),A.counterTimestamp=t,A.frameCounter=0),r.trigger(A,"tick",a),r.trigger(A,"beforeUpdate",a),o.update(e,n),r.trigger(A,"afterUpdate",a),r.trigger(A,"afterTick",a)},n.stop=function(A){e(A.frameRequestId)},n.start=function(A,e){n.run(A,e)}}()},function(A,e,t){var n={};A.exports=n;var r=t(8),o=t(0).deprecated;n.collides=function(A,e){return r.collides(A,e)},o(n,"collides","SAT.collides \u27a4 replaced by Collision.collides")},function(A,e,t){var n={};A.exports=n,t(1);var r=t(0);n.pathToVertices=function(A,e){"undefined"===typeof window||"SVGPathSeg"in window||r.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var t,o,i,a,s,l,u,c,d,f,B,g=[],p=0,h=0,w=0;e=e||15;var Q=function(A,e,t){var n=t%2===1&&t>1;if(!d||A!=d.x||e!=d.y){d&&n?(f=d.x,B=d.y):(f=0,B=0);var r={x:f+A,y:B+e};!n&&d||(d=r),g.push(r),h=f+A,w=B+e}},y=function(A){var e=A.pathSegTypeAsLetter.toUpperCase();if("Z"!==e){switch(e){case"M":case"L":case"T":case"C":case"S":case"Q":h=A.x,w=A.y;break;case"H":h=A.x;break;case"V":w=A.y}Q(h,w,A.pathSegType)}};for(n._svgPathToAbsolute(A),i=A.getTotalLength(),l=[],t=0;t