diff --git a/published/demo/bugbattlelogo.png b/published/demo/bugbattlelogo.png index c645d45a..7840384c 100644 Binary files a/published/demo/bugbattlelogo.png and b/published/demo/bugbattlelogo.png differ diff --git a/published/demo/index.css b/published/demo/index.css index f9c4f82f..6909f657 100644 --- a/published/demo/index.css +++ b/published/demo/index.css @@ -1,2 +1,2 @@ -body{background-color:#70b9da;color:#000}.bugbattle--feedback-button{position:fixed;bottom:0;right:30px;width:100px;height:35px;line-height:35px;text-align:center;font-weight:700;font-size:13px;font-family:sans-serif;border-top-left-radius:5px;border-top-right-radius:5px;cursor:pointer;background-color:#398cfe;color:#fff;box-shadow:0 10px 30px 0 rgba(0,0,0,.1);z-index:16777260}.bugbattle--feedback-button:after{content:"Feedback"}.bugbattle--feedback-dialog-container{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:rgba(0,0,0,.25);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;justify-content:center;align-items:center;z-index:16777261}.bugbattle--feedback-dialog{width:90%;max-width:550px;background-color:#fff;box-shadow:0 10px 30px 0 rgba(0,0,0,.1);border-radius:10px;overflow-y:auto}.bugbattle--feedback-dialog-header{height:50px;color:#398cfe;border-top-left-radius:10px;border-top-right-radius:10px;display:flex;align-items:center;justify-content:space-between}@media only screen and (max-width:600px){.bugbattle--feedback-dialog{width:100%;height:100%;border-radius:0}.bugbattle--feedback-dialog-header{border-radius:0}}.bugbattle--feedback-dialog-header-button{font-weight:700;padding:0 20px;cursor:pointer;color:#398cfe;font-size:14px;font-family:sans-serif}.bugbattle--feedback-dialog-header-title{font-weight:700;color:#000;font-size:15px;font-family:sans-serif;text-align:center;width:100%}.bugbattle--feedback-dialog-info-text{color:#666;font-size:14px;font-family:sans-serif;padding-top:10px;text-align:center}.bugbattle--feedback-dialog-success{display:flex;justify-content:center;align-items:center;flex-direction:column;padding:100px;display:none}.bugbattle--feedback-dialog-success svg{width:30px;height:auto}.bugbattle--feedback-dialog-loading{display:none}.bugbattle--feedback-dialog-body{display:block}.bugbattle--feedback-inputgroup{border-bottom:1px solid #eee}.bugbattle--feedback-inputgroup-label{padding:20px 20px 0;color:#000;font-size:15px;font-family:sans-serif;text-align:center}.bugbattle--feedback-inputgroup input{width:calc(100% - 40px);border:none;padding:20px;font-size:15px;font-family:sans-serif;outline:none}.bugbattle--feedback-inputgroup--privacy-policy{padding:20px;font-family:sans-serif;font-size:14px}.bugbattle--feedback-inputgroup--privacy-policy a{color:#398cfe}.bugbattle--feedback-inputgroup--privacy-policy input{width:auto;border:none;padding:20px;font-size:15px;font-family:sans-serif;outline:none}.bugbattle--feedback-inputgroup textarea{outline:none;box-shadow:none;resize:none;width:100%;border:none;padding:20px;font-size:15px;line-height:17px;font-family:sans-serif;margin:0;box-sizing:border-box}.bugbattle-feedback-importance{margin:20px 20px -8px;font-weight:700;color:#222426;font-size:14px;font-family:sans-serif}.bugbattle--toggle{display:flex;margin:20px;width:calc(100% - 40px);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;z-index:1;font-size:12px;border:1px solid #398cfe;border-radius:3px;color:#398cfe}.bugbattle--toggle>input{display:none}.bugbattle--toggle>input:checked+label{color:#fff}.bugbattle--toggle>input:first-of-type:checked~label:last-of-type:before{-webkit-transform:translateX(0);transform:translateX(0)}.bugbattle--toggle>input:nth-of-type(2):checked~label:last-of-type:before{-webkit-transform:translateX(100%);transform:translateX(100%)}.bugbattle--toggle>input:nth-of-type(3):checked~label:last-of-type:before{-webkit-transform:translateX(200%);transform:translateX(200%)}.bugbattle--toggle label{flex:1 1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:sans-serif}.bugbattle--toggle label:last-of-type:before{content:"";display:block;max-width:33.33333%;margin:0;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;-webkit-transform:translateX(0);transform:translateX(0)}.bugbattle--toggle label{padding:6px 3px;-webkit-transition:color .25s cubic-bezier(0,.95,.38,.98);transition:color .25s cubic-bezier(0,.95,.38,.98)}.bugbattle--toggle label:before{background:#398cfe;-webkit-transition:all .25s cubic-bezier(0,.95,.38,.98);transition:all .25s cubic-bezier(0,.95,.38,.98)}.bugbattle--toggle label:not(:last-child){border-right:1px solid #398cfe}.bugbattle--feedback-image{position:relative}.bugbattle--feedback-image img{width:200px;height:auto;max-height:180px;object-fit:cover;margin:20px;border-radius:5px;border:1px solid #eee;min-height:90px}.bugbattle--edit-button{position:absolute;top:calc(50% - 25px);left:100px;width:50px;height:50px;border-radius:50%;background-color:rgba(0,0,0,.45);cursor:pointer;display:flex;justify-content:center;align-items:center}.bugbattle--edit-button svg{width:60%}.bugbattle-spinner{width:40px;height:40px;position:relative;margin:100px auto}.bugbattle-double-bounce1,.bugbattle-double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:sk-bounce 2s ease-in-out infinite;animation:sk-bounce 2s ease-in-out infinite}.bugbattle-double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes sk-bounce{0%,to{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes sk-bounce{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.bugbattle-screenshot-editor-container{position:absolute;top:0;left:0;right:0;height:100%;background-color:#fff;z-index:16777263}.bugbattle-screenshot-editor-canvas{width:100vw;height:100vh;background-color:#eee;cursor:crosshair}.bugbattle-screenshot-editor-done{top:30px;right:30px;width:55px;height:55px;line-height:55px;font-size:13px;background-color:#fff;box-shadow:0 0 30px 0 rgba(0,0,0,.2)}.bugbattle-screenshot-editor-color,.bugbattle-screenshot-editor-done{position:fixed;text-align:center;font-weight:400;font-family:sans-serif;cursor:pointer;color:#000;font-weight:700;border-radius:28px;z-index:16777265}.bugbattle-screenshot-editor-color{top:42px;width:30px;height:30px;font-size:10px;box-shadow:0 0 6px 0 rgba(0,0,0,.3)}.bugbattle-screenshot-editor-color--selected{border:2px solid #fff}.bugbattle-screenshot-editor-color--black{right:100px;background-color:#313131}.bugbattle-screenshot-editor-color--yellow{right:140px;background-color:#ecd853}.bugbattle-screenshot-editor-color--blue{right:180px;background-color:#70b9da}.bugbattle-screenshot-editor-color--red{right:220px;background-color:#fe7b8c} +*{box-sizing:border-box;border:none;padding:0;margin:0;font-family:Montserrat,sans-serif}body,html{background-color:#fff;margin:0}.header{width:100%;background:-webkit-linear-gradient(#70b9da,#75a9c0 80%,#fff 80.001%,#fff);background:linear-gradient(#70b9da,#75a9c0 80%,#fff 80.001%,#fff);min-height:750px}.header-container{max-width:650px;margin:auto;padding-top:200px}.header-container-image{max-width:850px;margin:auto;padding-top:0}h1{font-size:32px;font-weight:900}h1,h2{color:#fff}h2{font-size:20px;font-weight:500;margin-top:5px}.logo{width:60%;width:200px;height:auto;position:fixed;top:40px;left:40px}.head-image{margin-top:40px;width:100%;height:auto;max-height:500px;border-radius:10px;object-fit:cover}.content{max-width:650px;margin:40px auto;color:#333;font-size:18px;line-height:26px;font-weight:300}a{color:#398cfe;display:block;margin-top:10px;margin-bottom:10px}.buttonlink,a{text-decoration:none;cursor:pointer}.buttonlink{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-size:16px;font-weight:600;color:#fff;background-color:#398cfe;border-style:solid;border-width:0;border-radius:56px;padding:15px 40px}@media only screen and (max-width:600px){.header-container{padding-left:40px;padding-right:40px;padding-top:150px}.head-image{border-radius:0}.header{min-height:0}.content{margin-top:0;padding:40px}}.bugbattle--feedback-dialog-container input,.bugbattle--feedback-dialog-container label{margin:0;padding:0;border:none}.bugbattle--feedback-button{position:fixed;top:calc(50% - 58px);right:0;border-top-left-radius:5px;border-bottom-left-radius:5px;cursor:pointer;background-color:#398cfe;color:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.15);z-index:16777260;border:1px solid rgba(0,0,0,.15)}.bugbattle--feedback-button:hover{box-shadow:0 0 8px 0 rgba(0,0,0,.25)}.bugbattle--feedback-button-inner{position:relative;width:38px;height:116px}.bugbattle--feedback-button-inner-text{position:absolute;bottom:4px;left:12px;background:none;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);text-align:center;font-weight:700;font-size:16px;font-family:sans-serif}.bugbattle--feedback-dialog-container{position:fixed;left:0;top:0;width:100vw;height:100vh;height:-webkit-fill-available;display:flex;justify-content:center;align-items:center;z-index:16777282;background-color:rgba(0,0,0,.2)}.bugbattle--feedback-dialog{width:90%;max-width:330px;background-color:#fff;box-shadow:0 5px 20px 0 rgba(0,0,0,.15);border-radius:8px;overflow-y:auto}.bugbattle--feedback-dialog-header{height:56px;border-top-left-radius:10px;border-top-right-radius:10px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #eee;margin-bottom:20px}.bugbattle--feedback-dialog-header-button-cancel svg{width:16px;height:16px;cursor:pointer}.bugbattle--feedback-dialog-header-title{font-weight:700;color:#000;font-size:15px;font-family:sans-serif;text-align:center}.bugbattle--feedback-dialog-info-text{color:#666;font-size:18px;font-family:sans-serif;padding-top:10px;text-align:center}.bugbattle--feedback-dialog-success{display:flex;justify-content:center;align-items:center;flex-direction:column;padding:50px;display:none}.bugbattle--feedback-dialog-success svg{width:30px;height:auto}.bugbattle--feedback-dialog-loading{display:none}.bugbattle--feedback-dialog-body{display:block}.bugbattle--feedback-inputgroup{display:flex;justify-content:center;margin-bottom:20px;padding:0 20px;flex-direction:column}.bugbattle--feedback-inputgroup-text{color:#000;font-size:16px;font-weight:400;font-family:sans-serif}.bugbattle--feedback-inputgroup-label{padding:0;margin-bottom:5px;color:#000;font-size:14px;font-weight:600;font-family:sans-serif}.bugbattle--feedback-send-button{background-color:#398cfe;border-radius:5px;padding:10px 12px;font-size:17px;font-weight:700;font-family:sans-serif;color:#fff;text-align:center;width:100%;margin-bottom:10px;cursor:pointer}.bugbattle--feedback-send-button:hover{opacity:.9}.bugbattle--feedback-inputgroup>input,.bugbattle--feedback-inputgroup input,.bugbattle--feedback-inputgroup textarea{width:100%;padding:12px;font-size:15px;font-family:sans-serif;outline:none;border:1px solid #ccc;border-radius:3px}.bugbattle--feedback-inputgroup textarea{box-shadow:none;resize:none;line-height:17px;margin:0;box-sizing:border-box}.bugbattle--feedback-inputgroup--privacy-policy{padding:8px 20px;font-family:sans-serif;font-size:14px}.bugbattle--feedback-inputgroup--privacy-policy-label{cursor:pointer}.bugbattle--feedback-inputgroup--privacy-policy a{color:#398cfe}.bugbattle--feedback-inputgroup--privacy-policy input{width:auto;border:none;padding:20px;font-size:15px;font-family:sans-serif;outline:none}.bugbattle-feedback-importance{margin:20px 20px -8px;font-weight:700;color:#222426;font-size:14px;font-family:sans-serif}.bugbattle--feedback-image{position:relative}.bugbattle--feedback-poweredbycontainer{display:flex;justify-content:center;align-items:center;margin-top:-10px;margin-bottom:20px;cursor:pointer}.bugbattle--feedback-poweredbycontainer span{font-weight:400;font-size:14px;font-family:sans-serif;color:#aaa}.bugbattle--feedback-poweredbycontainer svg{height:18px;width:auto;margin-left:5px}.bugbattle--edit-button{position:absolute;top:calc(50% - 25px);left:100px;width:50px;height:50px;border-radius:50%;background-color:rgba(0,0,0,.45);cursor:pointer;display:flex;justify-content:center;align-items:center}.bugbattle--edit-button svg{width:60%}.bugbattle-spinner{width:40px;height:40px;position:relative;margin:100px auto}.bugbattle-double-bounce1,.bugbattle-double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:sk-bounce 2s ease-in-out infinite;animation:sk-bounce 2s ease-in-out infinite}.bugbattle-double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes sk-bounce{0%,to{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes sk-bounce{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.bugbattle-screenshot-editor-container{position:fixed;top:0;left:0;width:100vw;height:100vh;height:-webkit-fill-available;z-index:16777263}.bugbattle-screenshot-editor-container-inner{position:relative;width:100vw;height:100vh;height:-webkit-fill-available}.bugbattle-screenshot-editor-canvas{z-index:16777267}.bugbattle-screenshot-editor-borderlayer,.bugbattle-screenshot-editor-canvas{position:absolute;top:0;left:0;width:100vw;height:100vh;height:-webkit-fill-available;cursor:crosshair}.bugbattle-screenshot-editor-borderlayer{border:12px solid #398cfe;z-index:16777272}.bugbattle-screenshot-editor-dot{top:-16px;left:-16px;width:16px;height:16px;border:1px solid rgba(0,0,0,.1);border-radius:100%;z-index:16777270}.bugbattle-screenshot-editor-dot,.bugbattle-screenshot-editor-drag-info{position:absolute;background-color:#398cfe;box-shadow:0 0 8px 0 rgba(0,0,0,.15)}.bugbattle-screenshot-editor-drag-info{top:-100px;left:-100px;border:1px solid rgba(0,0,0,.1);border-radius:5px;padding:8px 10px;font-size:16px;font-family:sans-serif;color:#fff;z-index:16777271;min-width:270px;text-align:center}.bugbattle-screenshot-editor-rectangle{position:absolute;top:0;left:0;width:0;height:0;border:3px solid #398cfe;z-index:16777269;box-shadow:0 0 0 4999px rgba(0,0,0,.1)}@media only screen and (max-width:600px){.bugbattle--feedback-dialog{width:100%;border-radius:0;max-width:inherit;position:fixed;bottom:0;left:0;right:0}.bugbattle--feedback-dialog-header{border-radius:0}.bugbattle--feedback-button-inner{width:32px;height:100px}.bugbattle--feedback-button-inner-text{bottom:-2px;left:8px;font-size:15px}.bugbattle-screenshot-editor-drag-info{position:absolute;top:20px;left:20px;right:20px}} /*# sourceMappingURL=index.css.map */ \ No newline at end of file diff --git a/published/demo/index.css.map b/published/demo/index.css.map index cda7f65e..b6c5da4c 100644 --- a/published/demo/index.css.map +++ b/published/demo/index.css.map @@ -1 +1 @@ -{"version":3,"sources":["/Users/lukasboehler/Documents/GitHub/BugBattle-JavaScript-SDK/src/demo/css/App.css","index.css","/Users/lukasboehler/Documents/GitHub/BugBattle-JavaScript-SDK/src/lib/css/App.css"],"names":[],"mappings":"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","file":"index.css","sourcesContent":["body {\n background-color: #70B9DA;\n color: black;\n}","body {\n background-color: #70B9DA;\n color: black;\n}\n.bugbattle--feedback-button {\n position: fixed;\n bottom: 0px;\n right: 30px;\n width: 100px;\n height: 35px;\n line-height: 35px;\n text-align: center;\n font-weight: bold;\n font-size: 13px;\n font-family: sans-serif;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n cursor: pointer;\n background-color: #398CFE;\n color: #fff;\n box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);\n z-index: 16777260;\n}\n\n.bugbattle--feedback-button:after {\n content: \"Feedback\";\n}\n\n.bugbattle--feedback-dialog-container {\n position: fixed;\n left: 0px;\n top: 0px;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.25);\n -webkit-backdrop-filter: blur(8px);\n backdrop-filter: blur(8px);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 16777261;\n}\n\n.bugbattle--feedback-dialog {\n width: 90%;\n max-width: 550px;\n background-color: #fff;\n box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);\n border-radius: 10px;\n overflow-y: auto;\n}\n\n.bugbattle--feedback-dialog-header {\n height: 50px;\n color: #398CFE;\n border-top-left-radius: 10px;\n border-top-right-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n@media only screen and (max-width: 600px) {\n .bugbattle--feedback-dialog {\n width: 100%;\n height: 100%;\n border-radius: 0px;\n }\n .bugbattle--feedback-dialog-header {\n border-radius: 0px;\n }\n}\n\n.bugbattle--feedback-dialog-header-button {\n font-weight: bold;\n padding: 0px 20px;\n cursor: pointer;\n color: #398CFE;\n font-size: 14px;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-dialog-header-title {\n font-weight: bold;\n text-align: center;\n color: #000;\n font-size: 15px;\n font-family: sans-serif;\n text-align: center;\n width: 100%;\n}\n\n.bugbattle--feedback-dialog-info-text {\n color: #666;\n font-size: 14px;\n font-family: sans-serif;\n padding-top: 10px;\n text-align: center;\n}\n\n.bugbattle--feedback-dialog-success {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n padding: 100px;\n display: none;\n}\n\n.bugbattle--feedback-dialog-success svg {\n width: 30px;\n height: auto;\n}\n\n.bugbattle--feedback-dialog-loading {\n display: none;\n}\n\n.bugbattle--feedback-dialog-body {\n display: block;\n}\n\n.bugbattle--feedback-inputgroup {\n border-bottom: 1px solid #eee;\n}\n\n.bugbattle--feedback-inputgroup-label {\n padding: 20px;\n padding-bottom: 0px;\n color: #000;\n font-size: 15px;\n font-family: sans-serif;\n text-align: center;\n}\n\n.bugbattle--feedback-inputgroup input {\n width: calc(100% - 40px);\n border: none;\n padding: 20px;\n font-size: 15px;\n font-family: sans-serif;\n outline: none;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy {\n padding: 20px;\n font-family: sans-serif;\n font-size: 14px;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy a {\n color: #398CFE;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy input {\n width: auto;\n border: none;\n padding: 20px;\n font-size: 15px;\n font-family: sans-serif;\n outline: none;\n}\n\n.bugbattle--feedback-inputgroup textarea {\n border: none;\n outline: none;\n box-shadow: none;\n resize: none;\n width: 100%;\n border: none;\n padding: 20px;\n font-size: 15px;\n line-height: 17px;\n font-family: sans-serif;\n margin: 0px;\n box-sizing: border-box;\n}\n\n.bugbattle-feedback-importance {\n margin: 20px;\n margin-bottom: -8px;\n font-weight: bold;\n color: #222426;\n font-size: 14px;\n font-family: sans-serif;\n}\n\n.bugbattle--toggle {\n display: flex;\n margin: 20px 20px;\n width: calc(100% - 40px);\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n position: relative;\n z-index: 1;\n font-size: 12px;\n border: 1px solid #398CFE;\n border-radius: 3px;\n color: #398CFE;\n}\n\n.bugbattle--toggle > input {\n display: none;\n}\n\n.bugbattle--toggle > input:checked + label {\n color: #fff;\n}\n\n.bugbattle--toggle > input:nth-of-type(1):checked ~ label:last-of-type:before {\n -webkit-transform: translateX(calc(0% + 0px));\n transform: translateX(calc(0% + 0px));\n}\n\n.bugbattle--toggle > input:nth-of-type(2):checked ~ label:last-of-type:before {\n -webkit-transform: translateX(calc(100% + 0px));\n transform: translateX(calc(100% + 0px));\n}\n\n.bugbattle--toggle > input:nth-of-type(3):checked ~ label:last-of-type:before {\n -webkit-transform: translateX(calc(200% + 0px));\n transform: translateX(calc(200% + 0px));\n}\n\n.bugbattle--toggle label {\n flex: 1 1;\n text-align: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n cursor: pointer;\n font-family: sans-serif;\n}\n\n.bugbattle--toggle label:last-of-type:before {\n content: \"\";\n display: block;\n max-width: calc(33.3333333333% - 0px);\n margin: 0px;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n\n.bugbattle--toggle label {\n padding: 6px 3px;\n -webkit-transition: color 250ms cubic-bezier(0, 0.95, 0.38, 0.98);\n transition: color 250ms cubic-bezier(0, 0.95, 0.38, 0.98);\n}\n\n.bugbattle--toggle label:before {\n background: #398CFE;\n -webkit-transition: all 250ms cubic-bezier(0, 0.95, 0.38, 0.98);\n transition: all 250ms cubic-bezier(0, 0.95, 0.38, 0.98);\n}\n\n.bugbattle--toggle label:not(:last-child) {\n border-right: 1px solid #398CFE;\n}\n\n.bugbattle--feedback-image {\n position: relative;\n}\n\n.bugbattle--feedback-image img {\n width: 200px;\n height: auto;\n max-height: 180px;\n object-fit: cover;\n margin: 20px;\n border-radius: 5px;\n border: solid 1px #eee;\n min-height: 90px;\n}\n\n.bugbattle--edit-button {\n position: absolute;\n top: calc(50% - 25px);\n left: 100px;\n width: 50px;\n height: 50px;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.45);\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.bugbattle--edit-button svg {\n width: 60%;\n}\n\n.bugbattle-spinner {\n width: 40px;\n height: 40px;\n position: relative;\n margin: 100px auto;\n}\n\n.bugbattle-double-bounce1, .bugbattle-double-bounce2 {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #333;\n opacity: 0.6;\n position: absolute;\n top: 0;\n left: 0;\n \n -webkit-animation: sk-bounce 2.0s infinite ease-in-out;\n animation: sk-bounce 2.0s infinite ease-in-out;\n}\n\n.bugbattle-double-bounce2 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s;\n}\n\n@-webkit-keyframes sk-bounce {\n 0%, 100% { -webkit-transform: scale(0.0) }\n 50% { -webkit-transform: scale(1.0) }\n}\n\n@keyframes sk-bounce {\n 0%, 100% { \n transform: scale(0.0);\n -webkit-transform: scale(0.0);\n } 50% { \n transform: scale(1.0);\n -webkit-transform: scale(1.0);\n }\n}\n\n.bugbattle-screenshot-editor-container {\n position: absolute;\n top: 0px;\n left: 0px;\n right: 0px;\n height: 100%;\n background-color: #fff;\n z-index: 16777263;\n}\n\n.bugbattle-screenshot-editor-canvas {\n width: 100vw;\n height: 100vh;\n background-color: #eee;\n cursor: crosshair;\n}\n\n.bugbattle-screenshot-editor-done {\n position: fixed;\n top: 30px;\n right: 30px;\n width: 55px;\n height: 55px;\n line-height: 55px;\n text-align: center;\n font-weight: normal;\n font-size: 13px;\n font-family: sans-serif;\n cursor: pointer;\n background-color: #fff;\n color: #000;\n font-weight: bold;\n border-radius: 28px;\n box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.2);\n z-index: 16777265;\n}\n\n.bugbattle-screenshot-editor-color {\n position: fixed;\n top: 42px;\n width: 30px;\n height: 30px;\n text-align: center;\n font-weight: normal;\n font-size: 10px;\n font-family: sans-serif;\n cursor: pointer;\n color: #000;\n font-weight: bold;\n border-radius: 28px;\n box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);\n z-index: 16777265;\n}\n\n.bugbattle-screenshot-editor-color--selected {\n border: 2px solid #fff;\n}\n\n.bugbattle-screenshot-editor-color--black {\n right: 100px;\n background-color: #313131;\n}\n\n.bugbattle-screenshot-editor-color--yellow {\n right: 140px;\n background-color: #ECD853;\n}\n\n.bugbattle-screenshot-editor-color--blue {\n right: 180px;\n background-color: #70B9DA;\n}\n\n.bugbattle-screenshot-editor-color--red {\n right: 220px;\n background-color: #FE7B8C;\n}\n\n\n",".bugbattle--feedback-button {\n position: fixed;\n bottom: 0px;\n right: 30px;\n width: 100px;\n height: 35px;\n line-height: 35px;\n text-align: center;\n font-weight: bold;\n font-size: 13px;\n font-family: sans-serif;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n cursor: pointer;\n background-color: #398CFE;\n color: #fff;\n box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);\n z-index: 16777260;\n}\n\n.bugbattle--feedback-button:after {\n content: \"Feedback\";\n}\n\n.bugbattle--feedback-dialog-container {\n position: fixed;\n left: 0px;\n top: 0px;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.25);\n backdrop-filter: blur(8px);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 16777261;\n}\n\n.bugbattle--feedback-dialog {\n width: 90%;\n max-width: 550px;\n background-color: #fff;\n box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);\n border-radius: 10px;\n overflow-y: auto;\n}\n\n.bugbattle--feedback-dialog-header {\n height: 50px;\n color: #398CFE;\n border-top-left-radius: 10px;\n border-top-right-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n@media only screen and (max-width: 600px) {\n .bugbattle--feedback-dialog {\n width: 100%;\n height: 100%;\n border-radius: 0px;\n }\n .bugbattle--feedback-dialog-header {\n border-radius: 0px;\n }\n}\n\n.bugbattle--feedback-dialog-header-button {\n font-weight: bold;\n padding: 0px 20px;\n cursor: pointer;\n color: #398CFE;\n font-size: 14px;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-dialog-header-title {\n font-weight: bold;\n text-align: center;\n color: #000;\n font-size: 15px;\n font-family: sans-serif;\n text-align: center;\n width: 100%;\n}\n\n.bugbattle--feedback-dialog-info-text {\n color: #666;\n font-size: 14px;\n font-family: sans-serif;\n padding-top: 10px;\n text-align: center;\n}\n\n.bugbattle--feedback-dialog-success {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n padding: 100px;\n display: none;\n}\n\n.bugbattle--feedback-dialog-success svg {\n width: 30px;\n height: auto;\n}\n\n.bugbattle--feedback-dialog-loading {\n display: none;\n}\n\n.bugbattle--feedback-dialog-body {\n display: block;\n}\n\n.bugbattle--feedback-inputgroup {\n border-bottom: 1px solid #eee;\n}\n\n.bugbattle--feedback-inputgroup-label {\n padding: 20px;\n padding-bottom: 0px;\n color: #000;\n font-size: 15px;\n font-family: sans-serif;\n text-align: center;\n}\n\n.bugbattle--feedback-inputgroup input {\n width: calc(100% - 40px);\n border: none;\n padding: 20px;\n font-size: 15px;\n font-family: sans-serif;\n outline: none;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy {\n padding: 20px;\n font-family: sans-serif;\n font-size: 14px;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy a {\n color: #398CFE;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy input {\n width: auto;\n border: none;\n padding: 20px;\n font-size: 15px;\n font-family: sans-serif;\n outline: none;\n}\n\n.bugbattle--feedback-inputgroup textarea {\n border: none;\n outline: none;\n -webkit-box-shadow: none;\n -moz-box-shadow: none;\n box-shadow: none;\n resize: none;\n width: 100%;\n border: none;\n padding: 20px;\n font-size: 15px;\n line-height: 17px;\n font-family: sans-serif;\n margin: 0px;\n box-sizing: border-box;\n}\n\n.bugbattle-feedback-importance {\n margin: 20px;\n margin-bottom: -8px;\n font-weight: bold;\n color: #222426;\n font-size: 14px;\n font-family: sans-serif;\n}\n\n.bugbattle--toggle {\n display: flex;\n margin: 20px 20px;\n width: calc(100% - 40px);\n position: relative;\n user-select: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n position: relative;\n z-index: 1;\n font-size: 12px;\n border: 1px solid #398CFE;\n border-radius: 3px;\n color: #398CFE;\n}\n\n.bugbattle--toggle > input {\n display: none;\n}\n\n.bugbattle--toggle > input:checked + label {\n color: #fff;\n}\n\n.bugbattle--toggle > input:nth-of-type(1):checked ~ label:last-of-type:before {\n transform: translateX(calc(0% + 0px));\n}\n\n.bugbattle--toggle > input:nth-of-type(2):checked ~ label:last-of-type:before {\n transform: translateX(calc(100% + 0px));\n}\n\n.bugbattle--toggle > input:nth-of-type(3):checked ~ label:last-of-type:before {\n transform: translateX(calc(200% + 0px));\n}\n\n.bugbattle--toggle label {\n flex: 1;\n text-align: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n cursor: pointer;\n font-family: sans-serif;\n}\n\n.bugbattle--toggle label:last-of-type:before {\n content: \"\";\n display: block;\n max-width: calc(33.3333333333% - 0px);\n margin: 0px;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n transform: translateX(0);\n}\n\n.bugbattle--toggle label {\n padding: 6px 3px;\n transition: color 250ms cubic-bezier(0, 0.95, 0.38, 0.98);\n}\n\n.bugbattle--toggle label:before {\n background: #398CFE;\n transition: all 250ms cubic-bezier(0, 0.95, 0.38, 0.98);\n}\n\n.bugbattle--toggle label:not(:last-child) {\n border-right: 1px solid #398CFE;\n}\n\n.bugbattle--feedback-image {\n position: relative;\n}\n\n.bugbattle--feedback-image img {\n width: 200px;\n height: auto;\n max-height: 180px;\n object-fit: cover;\n margin: 20px;\n border-radius: 5px;\n border: solid 1px #eee;\n min-height: 90px;\n}\n\n.bugbattle--edit-button {\n position: absolute;\n top: calc(50% - 25px);\n left: 100px;\n width: 50px;\n height: 50px;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.45);\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.bugbattle--edit-button svg {\n width: 60%;\n}\n\n.bugbattle-spinner {\n width: 40px;\n height: 40px;\n position: relative;\n margin: 100px auto;\n}\n\n.bugbattle-double-bounce1, .bugbattle-double-bounce2 {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #333;\n opacity: 0.6;\n position: absolute;\n top: 0;\n left: 0;\n \n -webkit-animation: sk-bounce 2.0s infinite ease-in-out;\n animation: sk-bounce 2.0s infinite ease-in-out;\n}\n\n.bugbattle-double-bounce2 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s;\n}\n\n@-webkit-keyframes sk-bounce {\n 0%, 100% { -webkit-transform: scale(0.0) }\n 50% { -webkit-transform: scale(1.0) }\n}\n\n@keyframes sk-bounce {\n 0%, 100% { \n transform: scale(0.0);\n -webkit-transform: scale(0.0);\n } 50% { \n transform: scale(1.0);\n -webkit-transform: scale(1.0);\n }\n}\n\n.bugbattle-screenshot-editor-container {\n position: absolute;\n top: 0px;\n left: 0px;\n right: 0px;\n height: 100%;\n background-color: #fff;\n z-index: 16777263;\n}\n\n.bugbattle-screenshot-editor-canvas {\n width: 100vw;\n height: 100vh;\n background-color: #eee;\n cursor: crosshair;\n}\n\n.bugbattle-screenshot-editor-done {\n position: fixed;\n top: 30px;\n right: 30px;\n width: 55px;\n height: 55px;\n line-height: 55px;\n text-align: center;\n font-weight: normal;\n font-size: 13px;\n font-family: sans-serif;\n cursor: pointer;\n background-color: #fff;\n color: #000;\n font-weight: bold;\n border-radius: 28px;\n box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.2);\n z-index: 16777265;\n}\n\n.bugbattle-screenshot-editor-color {\n position: fixed;\n top: 42px;\n width: 30px;\n height: 30px;\n text-align: center;\n font-weight: normal;\n font-size: 10px;\n font-family: sans-serif;\n cursor: pointer;\n color: #000;\n font-weight: bold;\n border-radius: 28px;\n box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);\n z-index: 16777265;\n}\n\n.bugbattle-screenshot-editor-color--selected {\n border: 2px solid #fff;\n}\n\n.bugbattle-screenshot-editor-color--black {\n right: 100px;\n background-color: #313131;\n}\n\n.bugbattle-screenshot-editor-color--yellow {\n right: 140px;\n background-color: #ECD853;\n}\n\n.bugbattle-screenshot-editor-color--blue {\n right: 180px;\n background-color: #70B9DA;\n}\n\n.bugbattle-screenshot-editor-color--red {\n right: 220px;\n background-color: #FE7B8C;\n}\n\n"]} \ No newline at end of file +{"version":3,"sources":["/Users/lukasboehler/Documents/GitHub/BugBattle-JavaScript-SDK/src/demo/css/App.css","index.css","/Users/lukasboehler/Documents/GitHub/BugBattle-JavaScript-SDK/src/lib/css/App.css"],"names":[],"mappings":"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","file":"index.css","sourcesContent":["* {\n box-sizing: border-box;\n border: none;\n padding: 0px;\n margin: 0px;\n font-family: 'Montserrat', sans-serif;\n}\n\nbody, html {\n background-color: #fff;\n margin: 0;\n}\n\n.header {\n width: 100%;\n background: linear-gradient(rgb(112, 185, 218) 0%, rgb(117, 169, 192) 80%, rgb(255, 255, 255) 80.001%, rgb(255, 255, 255) 100%);\n min-height: 750px;\n}\n\n.header-container {\n max-width: 650px;\n margin: auto;\n padding-top: 200px;\n}\n\n.header-container-image {\n max-width: 850px;\n margin: auto;\n padding-top: 0px;\n}\n\nh1 {\n color: #fff;\n font-size: 32px;\n font-weight: 900;\n}\n\nh2 {\n color: #fff;\n font-size: 20px;\n font-weight: 500;\n margin-top: 5px;\n}\n\n.logo {\n width: 60%;\n width: 200px;\n height: auto;\n position: fixed;\n top: 40px;\n left: 40px;\n}\n\n.head-image {\n margin-top: 40px;\n width: 100%;\n height: auto;\n max-height: 500px;\n border-radius: 10px;\n object-fit: cover;\n}\n\n.content {\n max-width: 650px;\n margin: auto;\n margin-top: 40px;\n margin-bottom: 40px;\n color: #333;\n font-size: 18px;\n line-height: 26px;\n font-weight: 300;\n}\n\na {\n color: rgb(57, 140, 254);\n text-decoration: none;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n cursor: pointer;\n}\n\n.buttonlink {\n display: inline-block;\n width: fit-content;\n font-size: 16px;\n font-weight: 600;\n color: rgb(255, 255, 255);\n background-color: rgb(57, 140, 254);\n border-style: solid;\n border-width: 0px;\n border-radius: 56px;\n padding: 15px 40px;\n text-decoration: none;\n cursor: pointer;\n}\n\n@media only screen and (max-width: 600px) {\n .header-container {\n padding-left: 40px;\n padding-right: 40px;\n padding-top: 150px;\n }\n .head-image {\n border-radius: 0px;\n }\n .header {\n min-height: initial;\n }\n .content {\n margin-top: 0px;\n padding: 40px;\n }\n}","* {\n box-sizing: border-box;\n border: none;\n padding: 0px;\n margin: 0px;\n font-family: 'Montserrat', sans-serif;\n}\n\nbody, html {\n background-color: #fff;\n margin: 0;\n}\n\n.header {\n width: 100%;\n background: -webkit-linear-gradient(rgb(112, 185, 218) 0%, rgb(117, 169, 192) 80%, rgb(255, 255, 255) 80.001%, rgb(255, 255, 255) 100%);\n background: linear-gradient(rgb(112, 185, 218) 0%, rgb(117, 169, 192) 80%, rgb(255, 255, 255) 80.001%, rgb(255, 255, 255) 100%);\n min-height: 750px;\n}\n\n.header-container {\n max-width: 650px;\n margin: auto;\n padding-top: 200px;\n}\n\n.header-container-image {\n max-width: 850px;\n margin: auto;\n padding-top: 0px;\n}\n\nh1 {\n color: #fff;\n font-size: 32px;\n font-weight: 900;\n}\n\nh2 {\n color: #fff;\n font-size: 20px;\n font-weight: 500;\n margin-top: 5px;\n}\n\n.logo {\n width: 60%;\n width: 200px;\n height: auto;\n position: fixed;\n top: 40px;\n left: 40px;\n}\n\n.head-image {\n margin-top: 40px;\n width: 100%;\n height: auto;\n max-height: 500px;\n border-radius: 10px;\n object-fit: cover;\n}\n\n.content {\n max-width: 650px;\n margin: auto;\n margin-top: 40px;\n margin-bottom: 40px;\n color: #333;\n font-size: 18px;\n line-height: 26px;\n font-weight: 300;\n}\n\na {\n color: rgb(57, 140, 254);\n text-decoration: none;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n cursor: pointer;\n}\n\n.buttonlink {\n display: inline-block;\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n font-size: 16px;\n font-weight: 600;\n color: rgb(255, 255, 255);\n background-color: rgb(57, 140, 254);\n border-style: solid;\n border-width: 0px;\n border-radius: 56px;\n padding: 15px 40px;\n text-decoration: none;\n cursor: pointer;\n}\n\n@media only screen and (max-width: 600px) {\n .header-container {\n padding-left: 40px;\n padding-right: 40px;\n padding-top: 150px;\n }\n .head-image {\n border-radius: 0px;\n }\n .header {\n min-height: 0;\n min-height: initial;\n }\n .content {\n margin-top: 0px;\n padding: 40px;\n }\n}\n.bugbattle--feedback-dialog-container input,\n.bugbattle--feedback-dialog-container label {\n margin: 0;\n padding: 0;\n border: none;\n}\n\n.bugbattle--feedback-button {\n position: fixed;\n top: calc(50% - 58px);\n right: 0px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n cursor: pointer;\n background-color: #398cfe;\n color: #fff;\n box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);\n z-index: 16777260;\n border: 1px solid rgba(0, 0, 0, 0.15);\n}\n\n.bugbattle--feedback-button:hover {\n box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);\n}\n\n.bugbattle--feedback-button-inner {\n position: relative;\n width: 38px;\n height: 116px;\n}\n\n.bugbattle--feedback-button-inner-text {\n position: absolute;\n bottom: 4px;\n left: 12px;\n background: none;\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n -webkit-transform: rotate(-90deg);\n transform: rotate(-90deg);\n text-align: center;\n font-weight: bold;\n font-size: 16px;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-dialog-container {\n position: fixed;\n left: 0px;\n top: 0px;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 16777282;\n background-color: rgba(0,0,0,0.2);\n}\n\n.bugbattle--feedback-dialog {\n width: 90%;\n max-width: 330px;\n background-color: #fff;\n box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);\n border-radius: 8px;\n overflow-y: auto;\n}\n\n.bugbattle--feedback-dialog-header {\n height: 56px;\n border-top-left-radius: 10px;\n border-top-right-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0px 20px;\n border-bottom: 1px solid #eee;\n margin-bottom: 20px;\n}\n\n.bugbattle--feedback-dialog-header-button-cancel svg {\n width: 16px;\n height: 16px;\n cursor: pointer;\n}\n\n.bugbattle--feedback-dialog-header-title {\n font-weight: bold;\n text-align: center;\n color: #000;\n font-size: 15px;\n font-family: sans-serif;\n text-align: center;\n}\n\n.bugbattle--feedback-dialog-info-text {\n color: #666;\n font-size: 18px;\n font-family: sans-serif;\n padding-top: 10px;\n text-align: center;\n}\n\n.bugbattle--feedback-dialog-success {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n padding: 50px;\n display: none;\n}\n\n.bugbattle--feedback-dialog-success svg {\n width: 30px;\n height: auto;\n}\n\n.bugbattle--feedback-dialog-loading {\n display: none;\n}\n\n.bugbattle--feedback-dialog-body {\n display: block;\n}\n\n.bugbattle--feedback-inputgroup {\n display: flex;\n justify-content: center;\n margin-bottom: 20px;\n padding: 0px 20px;\n flex-direction: column;\n}\n\n.bugbattle--feedback-inputgroup-text {\n color: #000;\n font-size: 16px;\n font-weight: normal;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-inputgroup-label {\n padding: 0px;\n margin-bottom: 5px;\n color: #000;\n font-size: 14px;\n font-weight: 600;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-send-button {\n background-color: #398cfe;\n border-radius: 5px;\n padding: 10px 12px;\n font-size: 17px;\n font-weight: bold;\n font-family: sans-serif;\n color: #fff;\n text-align: center;\n width: 100%;\n margin-bottom: 10px;\n cursor: pointer;\n}\n\n.bugbattle--feedback-send-button:hover {\n opacity: 0.9;\n}\n\n.bugbattle--feedback-inputgroup > input,\n.bugbattle--feedback-inputgroup input {\n width: 100%;\n padding: 12px;\n font-size: 15px;\n font-family: sans-serif;\n outline: none;\n border: 1px solid #ccc;\n border-radius: 3px;\n}\n\n.bugbattle--feedback-inputgroup textarea {\n outline: none;\n box-shadow: none;\n resize: none;\n width: 100%;\n padding: 12px;\n font-size: 15px;\n line-height: 17px;\n font-family: sans-serif;\n margin: 0px;\n box-sizing: border-box;\n border: 1px solid #ccc;\n border-radius: 3px;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy {\n padding: 8px 20px;\n font-family: sans-serif;\n font-size: 14px;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy-label {\n cursor: pointer;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy a {\n color: #398cfe;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy input {\n width: auto;\n border: none;\n padding: 20px;\n font-size: 15px;\n font-family: sans-serif;\n outline: none;\n}\n\n.bugbattle-feedback-importance {\n margin: 20px;\n margin-bottom: -8px;\n font-weight: bold;\n color: #222426;\n font-size: 14px;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-image {\n position: relative;\n}\n\n.bugbattle--feedback-poweredbycontainer {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: -10px;\n margin-bottom: 20px;\n cursor: pointer;\n}\n\n.bugbattle--feedback-poweredbycontainer span {\n font-weight: normal;\n font-size: 14px;\n font-family: sans-serif;\n color: #aaa;\n}\n\n.bugbattle--feedback-poweredbycontainer svg {\n height: 18px;\n width: auto;\n margin-left: 5px;\n}\n\n.bugbattle--edit-button {\n position: absolute;\n top: calc(50% - 25px);\n left: 100px;\n width: 50px;\n height: 50px;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.45);\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.bugbattle--edit-button svg {\n width: 60%;\n}\n\n.bugbattle-spinner {\n width: 40px;\n height: 40px;\n position: relative;\n margin: 100px auto;\n}\n\n.bugbattle-double-bounce1,\n.bugbattle-double-bounce2 {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #333;\n opacity: 0.6;\n position: absolute;\n top: 0;\n left: 0;\n\n -webkit-animation: sk-bounce 2s infinite ease-in-out;\n animation: sk-bounce 2s infinite ease-in-out;\n}\n\n.bugbattle-double-bounce2 {\n -webkit-animation-delay: -1s;\n animation-delay: -1s;\n}\n\n@-webkit-keyframes sk-bounce {\n 0%,\n 100% {\n -webkit-transform: scale(0);\n }\n 50% {\n -webkit-transform: scale(1);\n }\n}\n\n@keyframes sk-bounce {\n 0%,\n 100% {\n transform: scale(0);\n -webkit-transform: scale(0);\n }\n 50% {\n transform: scale(1);\n -webkit-transform: scale(1);\n }\n}\n\n.bugbattle-screenshot-editor-container {\n position: fixed;\n top: 0px;\n left: 0px;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n z-index: 16777263;\n}\n\n.bugbattle-screenshot-editor-container-inner {\n position: relative;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n}\n\n.bugbattle-screenshot-editor-canvas {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n cursor: crosshair;\n z-index: 16777267;\n}\n\n.bugbattle-screenshot-editor-borderlayer {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n border: 12px solid #398cfe;\n cursor: crosshair;\n z-index: 16777272;\n}\n\n.bugbattle-screenshot-editor-dot {\n position: absolute;\n top: -16px;\n left: -16px;\n width: 16px;\n height: 16px;\n background-color: #398cfe;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 100%;\n box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);\n z-index: 16777270;\n}\n\n.bugbattle-screenshot-editor-drag-info {\n position: absolute;\n top: -100px;\n left: -100px;\n background-color: #398cfe;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 5px;\n padding: 8px 10px;\n font-size: 16px;\n font-family: sans-serif;\n color: #fff;\n box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);\n z-index: 16777271;\n min-width: 270px;\n text-align: center;\n}\n\n.bugbattle-screenshot-editor-rectangle {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 0px;\n height: 0px;\n border: 3px solid #398cfe;\n z-index: 16777269;\n box-shadow: 0 0 0 4999px rgba(0, 0, 0, 0.1);\n}\n\n@media only screen and (max-width: 600px) {\n .bugbattle--feedback-dialog {\n width: 100%;\n border-radius: 0px;\n max-width: inherit;\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n }\n\n .bugbattle--feedback-dialog-header {\n border-radius: 0px;\n }\n\n .bugbattle--feedback-button-inner {\n width: 32px;\n height: 100px;\n }\n\n .bugbattle--feedback-button-inner-text {\n bottom: -2px;\n left: 8px;\n font-size: 15px;\n }\n\n .bugbattle-screenshot-editor-drag-info {\n position: absolute;\n top: 20px;\n left: 20px;\n right: 20px;\n }\n}\n\n",".bugbattle--feedback-dialog-container input,\n.bugbattle--feedback-dialog-container label {\n margin: 0;\n padding: 0;\n border: none;\n}\n\n.bugbattle--feedback-button {\n position: fixed;\n top: calc(50% - 58px);\n right: 0px;\n border-top-left-radius: 5px;\n border-bottom-left-radius: 5px;\n cursor: pointer;\n background-color: #398cfe;\n color: #fff;\n box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);\n z-index: 16777260;\n border: 1px solid rgba(0, 0, 0, 0.15);\n}\n\n.bugbattle--feedback-button:hover {\n box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);\n}\n\n.bugbattle--feedback-button-inner {\n position: relative;\n width: 38px;\n height: 116px;\n}\n\n.bugbattle--feedback-button-inner-text {\n position: absolute;\n bottom: 4px;\n left: 12px;\n background: none;\n transform-origin: 0 0;\n -webkit-transform: rotate(-90deg);\n -moz-transform: rotate(-90deg);\n -o-transform: rotate(-90deg);\n -ms-transform: rotate(-90deg);\n transform: rotate(-90deg);\n text-align: center;\n font-weight: bold;\n font-size: 16px;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-dialog-container {\n position: fixed;\n left: 0px;\n top: 0px;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 16777282;\n background-color: rgba(0,0,0,0.2);\n}\n\n.bugbattle--feedback-dialog {\n width: 90%;\n max-width: 330px;\n background-color: #fff;\n box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);\n border-radius: 8px;\n overflow-y: auto;\n}\n\n.bugbattle--feedback-dialog-header {\n height: 56px;\n border-top-left-radius: 10px;\n border-top-right-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0px 20px;\n border-bottom: 1px solid #eee;\n margin-bottom: 20px;\n}\n\n.bugbattle--feedback-dialog-header-button-cancel svg {\n width: 16px;\n height: 16px;\n cursor: pointer;\n}\n\n.bugbattle--feedback-dialog-header-title {\n font-weight: bold;\n text-align: center;\n color: #000;\n font-size: 15px;\n font-family: sans-serif;\n text-align: center;\n}\n\n.bugbattle--feedback-dialog-info-text {\n color: #666;\n font-size: 18px;\n font-family: sans-serif;\n padding-top: 10px;\n text-align: center;\n}\n\n.bugbattle--feedback-dialog-success {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n padding: 50px;\n display: none;\n}\n\n.bugbattle--feedback-dialog-success svg {\n width: 30px;\n height: auto;\n}\n\n.bugbattle--feedback-dialog-loading {\n display: none;\n}\n\n.bugbattle--feedback-dialog-body {\n display: block;\n}\n\n.bugbattle--feedback-inputgroup {\n display: flex;\n justify-content: center;\n margin-bottom: 20px;\n padding: 0px 20px;\n flex-direction: column;\n}\n\n.bugbattle--feedback-inputgroup-text {\n color: #000;\n font-size: 16px;\n font-weight: normal;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-inputgroup-label {\n padding: 0px;\n margin-bottom: 5px;\n color: #000;\n font-size: 14px;\n font-weight: 600;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-send-button {\n background-color: #398cfe;\n border-radius: 5px;\n padding: 10px 12px;\n font-size: 17px;\n font-weight: bold;\n font-family: sans-serif;\n color: #fff;\n text-align: center;\n width: 100%;\n margin-bottom: 10px;\n cursor: pointer;\n}\n\n.bugbattle--feedback-send-button:hover {\n opacity: 0.9;\n}\n\n.bugbattle--feedback-inputgroup > input,\n.bugbattle--feedback-inputgroup input {\n width: 100%;\n padding: 12px;\n font-size: 15px;\n font-family: sans-serif;\n outline: none;\n border: 1px solid #ccc;\n border-radius: 3px;\n}\n\n.bugbattle--feedback-inputgroup textarea {\n outline: none;\n -webkit-box-shadow: none;\n -moz-box-shadow: none;\n box-shadow: none;\n resize: none;\n width: 100%;\n padding: 12px;\n font-size: 15px;\n line-height: 17px;\n font-family: sans-serif;\n margin: 0px;\n box-sizing: border-box;\n border: 1px solid #ccc;\n border-radius: 3px;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy {\n padding: 8px 20px;\n font-family: sans-serif;\n font-size: 14px;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy-label {\n cursor: pointer;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy a {\n color: #398cfe;\n}\n\n.bugbattle--feedback-inputgroup--privacy-policy input {\n width: auto;\n border: none;\n padding: 20px;\n font-size: 15px;\n font-family: sans-serif;\n outline: none;\n}\n\n.bugbattle-feedback-importance {\n margin: 20px;\n margin-bottom: -8px;\n font-weight: bold;\n color: #222426;\n font-size: 14px;\n font-family: sans-serif;\n}\n\n.bugbattle--feedback-image {\n position: relative;\n}\n\n.bugbattle--feedback-poweredbycontainer {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: -10px;\n margin-bottom: 20px;\n cursor: pointer;\n}\n\n.bugbattle--feedback-poweredbycontainer span {\n font-weight: normal;\n font-size: 14px;\n font-family: sans-serif;\n color: #aaa;\n}\n\n.bugbattle--feedback-poweredbycontainer svg {\n height: 18px;\n width: auto;\n margin-left: 5px;\n}\n\n.bugbattle--edit-button {\n position: absolute;\n top: calc(50% - 25px);\n left: 100px;\n width: 50px;\n height: 50px;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.45);\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.bugbattle--edit-button svg {\n width: 60%;\n}\n\n.bugbattle-spinner {\n width: 40px;\n height: 40px;\n position: relative;\n margin: 100px auto;\n}\n\n.bugbattle-double-bounce1,\n.bugbattle-double-bounce2 {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #333;\n opacity: 0.6;\n position: absolute;\n top: 0;\n left: 0;\n\n -webkit-animation: sk-bounce 2s infinite ease-in-out;\n animation: sk-bounce 2s infinite ease-in-out;\n}\n\n.bugbattle-double-bounce2 {\n -webkit-animation-delay: -1s;\n animation-delay: -1s;\n}\n\n@-webkit-keyframes sk-bounce {\n 0%,\n 100% {\n -webkit-transform: scale(0);\n }\n 50% {\n -webkit-transform: scale(1);\n }\n}\n\n@keyframes sk-bounce {\n 0%,\n 100% {\n transform: scale(0);\n -webkit-transform: scale(0);\n }\n 50% {\n transform: scale(1);\n -webkit-transform: scale(1);\n }\n}\n\n.bugbattle-screenshot-editor-container {\n position: fixed;\n top: 0px;\n left: 0px;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n z-index: 16777263;\n}\n\n.bugbattle-screenshot-editor-container-inner {\n position: relative;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n}\n\n.bugbattle-screenshot-editor-canvas {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n cursor: crosshair;\n z-index: 16777267;\n}\n\n.bugbattle-screenshot-editor-borderlayer {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100vw;\n height: 100vh;\n height: -webkit-fill-available;\n border: 12px solid #398cfe;\n cursor: crosshair;\n z-index: 16777272;\n}\n\n.bugbattle-screenshot-editor-dot {\n position: absolute;\n top: -16px;\n left: -16px;\n width: 16px;\n height: 16px;\n background-color: #398cfe;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 100%;\n box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);\n z-index: 16777270;\n}\n\n.bugbattle-screenshot-editor-drag-info {\n position: absolute;\n top: -100px;\n left: -100px;\n background-color: #398cfe;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 5px;\n padding: 8px 10px;\n font-size: 16px;\n font-family: sans-serif;\n color: #fff;\n box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15);\n z-index: 16777271;\n min-width: 270px;\n text-align: center;\n}\n\n.bugbattle-screenshot-editor-rectangle {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 0px;\n height: 0px;\n border: 3px solid #398cfe;\n z-index: 16777269;\n box-shadow: 0 0 0 4999px rgba(0, 0, 0, 0.1);\n}\n\n@media only screen and (max-width: 600px) {\n .bugbattle--feedback-dialog {\n width: 100%;\n border-radius: 0px;\n max-width: inherit;\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n }\n\n .bugbattle--feedback-dialog-header {\n border-radius: 0px;\n }\n\n .bugbattle--feedback-button-inner {\n width: 32px;\n height: 100px;\n }\n\n .bugbattle--feedback-button-inner-text {\n bottom: -2px;\n left: 8px;\n font-size: 15px;\n }\n\n .bugbattle-screenshot-editor-drag-info {\n position: absolute;\n top: 20px;\n left: 20px;\n right: 20px;\n }\n}\n"]} \ No newline at end of file diff --git a/published/demo/index.html b/published/demo/index.html index ed641f9a..e097c73b 100644 --- a/published/demo/index.html +++ b/published/demo/index.html @@ -1 +1 @@ -BugBattle DEMO
\ No newline at end of file +Bugbattle

JavaScript Demo

Bugbattle SDK for the Web

The Bugbattle SDK for JavScript is the easiest way to integrate Bugbattle into your apps! Achieve better app quality & ratings with comprehensive in-app bug reporting. BugBattle offers affordable In-App Bug Reporting for Apps, WebApps & Websites.

No more wasting time trying to reproduce a bug. Bugbattle reports automatically contain a replay video, session data, logs and more. Even better: You can add custom data to your bug details.

In less than a minute you can add our Bugbattle SDK to your App or WebApp. Install our SDK, build and run. A piece of cake.

Report feedback Fake critical error
What are you waiting for?
Get started
\ No newline at end of file diff --git a/published/demo/index.js b/published/demo/index.js index 28b052f0..5e5bb420 100644 --- a/published/demo/index.js +++ b/published/demo/index.js @@ -1,2 +1,2 @@ -!function(A){var e={};function t(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return A[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=A,t.c=e,t.d=function(A,e,r){t.o(A,e)||Object.defineProperty(A,e,{enumerable:!0,get:r})},t.r=function(A){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},t.t=function(A,e){if(1&e&&(A=t(A)),8&e)return A;if(4&e&&"object"===typeof A&&A&&A.__esModule)return A;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:A}),2&e&&"string"!=typeof A)for(var n in A)t.d(r,n,function(e){return A[e]}.bind(null,n));return r},t.n=function(A){var e=A&&A.__esModule?function(){return A.default}:function(){return A};return t.d(e,"a",e),e},t.o=function(A,e){return Object.prototype.hasOwnProperty.call(A,e)},t.p="",t(t.s=1)}([function(A,e,t){A.exports=function(){"use strict";var A=function(e,t){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)e.hasOwnProperty(t)&&(A[t]=e[t])})(e,t)};function e(e,t){function r(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var t=function(){return(t=Object.assign||function(A){for(var e,t=1,r=arguments.length;t0&&n[n.length-1])&&(6===s[0]||2===s[0])){B=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]=55296&&n<=56319&&t>10),B%1024+56320)),(n+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Q=0;Q=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),g=10,U=13,C=15,h=17,d=18,E=19,F=20,f=21,H=22,p=24,N=25,K=26,b=27,m=28,I=30,T=32,v=33,R=34,y=35,L=37,O=38,D=39,S=40,M=42,_="!",x=function(A){var e,t,r,n=function(A){var e,t,r,n,s,B=.75*A.length,o=A.length,i=0;"="===A[A.length-1]&&(B--,"="===A[A.length-2]&&B--);var a="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(B):new Array(B),Q=Array.isArray(a)?a:new Uint8Array(a);for(e=0;e>4,Q[i++]=(15&r)<<4|n>>2,Q[i++]=(3&n)<<6|63&s;return a}(A),s=Array.isArray(n)?function(A){for(var e=A.length,t=[],r=0;r0;){var o=r[--s];if(Array.isArray(A)?-1!==A.indexOf(o):A===o)for(var i=t;i<=r.length;){var B=r[++i];if(B===e)return!0;if(B!==g)break}if(o!==g)break}return!1},Y=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r!==g)return r;t--}return 0},q=function(A,e,t,r,n){if(0===t[r])return"\xd7";var s=r-1;if(Array.isArray(n)&&!0===n[s])return"\xd7";var B=s-1,o=s+1,i=e[s],a=B>=0?e[B]:0,c=e[o];if(2===i&&3===c)return"\xd7";if(-1!==V.indexOf(i))return _;if(-1!==V.indexOf(c))return"\xd7";if(-1!==z.indexOf(c))return"\xd7";if(8===Y(s,e))return"\xf7";if(11===x.get(A[s])&&(c===L||c===T||c===v))return"\xd7";if(7===i||7===c)return"\xd7";if(9===i)return"\xd7";if(-1===[g,U,C].indexOf(i)&&9===c)return"\xd7";if(-1!==[h,d,E,p,m].indexOf(c))return"\xd7";if(Y(s,e)===H)return"\xd7";if(W(23,H,s,e))return"\xd7";if(W([h,d],f,s,e))return"\xd7";if(W(12,12,s,e))return"\xd7";if(i===g)return"\xf7";if(23===i||23===c)return"\xd7";if(16===c||16===i)return"\xf7";if(-1!==[U,C,f].indexOf(c)||14===i)return"\xd7";if(36===a&&-1!==G.indexOf(i))return"\xd7";if(i===m&&36===c)return"\xd7";if(c===F&&-1!==P.concat(F,E,N,L,T,v).indexOf(i))return"\xd7";if(-1!==P.indexOf(c)&&i===N||-1!==P.indexOf(i)&&c===N)return"\xd7";if(i===b&&-1!==[L,T,v].indexOf(c)||-1!==[L,T,v].indexOf(i)&&c===K)return"\xd7";if(-1!==P.indexOf(i)&&-1!==X.indexOf(c)||-1!==X.indexOf(i)&&-1!==P.indexOf(c))return"\xd7";if(-1!==[b,K].indexOf(i)&&(c===N||-1!==[H,C].indexOf(c)&&e[o+1]===N)||-1!==[H,C].indexOf(i)&&c===N||i===N&&-1!==[N,m,p].indexOf(c))return"\xd7";if(-1!==[N,m,p,h,d].indexOf(c))for(var Q=s;Q>=0;){var u=e[Q];if(u===N)return"\xd7";if(-1===[m,p].indexOf(u))break;Q--}if(-1!==[b,K].indexOf(c))for(var Q=-1!==[h,d].indexOf(i)?B:s;Q>=0;){var u=e[Q];if(u===N)return"\xd7";if(-1===[m,p].indexOf(u))break;Q--}if(O===i&&-1!==[O,D,R,y].indexOf(c)||-1!==[D,R].indexOf(i)&&-1!==[D,S].indexOf(c)||-1!==[S,y].indexOf(i)&&c===S)return"\xd7";if(-1!==J.indexOf(i)&&-1!==[F,K].indexOf(c)||-1!==J.indexOf(c)&&i===b)return"\xd7";if(-1!==P.indexOf(i)&&-1!==P.indexOf(c))return"\xd7";if(i===p&&-1!==P.indexOf(c))return"\xd7";if(-1!==P.concat(N).indexOf(i)&&c===H||-1!==P.concat(N).indexOf(c)&&i===d)return"\xd7";if(41===i&&41===c){for(var l=t[s],w=1;l>0&&41===e[--l];)w++;if(w%2!==0)return"\xd7"}return i===T&&c===v?"\xd7":"\xf7"},j=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=function(A,e){void 0===e&&(e="strict");var t=[],r=[],n=[];return A.forEach(function(A,s){var B=x.get(A);if(B>50?(n.push(!0),B-=50):n.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return r.push(s),t.push(16);if(4===B||11===B){if(0===s)return r.push(s),t.push(I);var o=t[s-1];return-1===k.indexOf(o)?(r.push(r[s-1]),t.push(o)):(r.push(s),t.push(I))}return r.push(s),31===B?t.push("strict"===e?f:L):B===M?t.push(I):29===B?t.push(I):43===B?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(L):t.push(I):void t.push(B)}),[r,t,n]}(A,e.lineBreak),r=t[0],n=t[1],s=t[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(n=n.map(function(A){return-1!==[N,I,M].indexOf(A)?L:A}));var B="keep-all"===e.wordBreak?s.map(function(e,t){return e&&A[t]>=19968&&A[t]<=40959}):void 0;return[r,n,B]},Z=function(){function A(A,e,t,r){this.codePoints=A,this.required=e===_,this.start=t,this.end=r}return A.prototype.slice=function(){return i.apply(void 0,this.codePoints.slice(this.start,this.end))},A}();!function(A){A[A.STRING_TOKEN=0]="STRING_TOKEN",A[A.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",A[A.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",A[A.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",A[A.COMMA_TOKEN=4]="COMMA_TOKEN",A[A.HASH_TOKEN=5]="HASH_TOKEN",A[A.DELIM_TOKEN=6]="DELIM_TOKEN",A[A.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",A[A.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",A[A.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",A[A.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",A[A.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",A[A.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",A[A.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",A[A.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",A[A.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",A[A.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",A[A.NUMBER_TOKEN=17]="NUMBER_TOKEN",A[A.FUNCTION=18]="FUNCTION",A[A.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",A[A.IDENT_TOKEN=20]="IDENT_TOKEN",A[A.COLUMN_TOKEN=21]="COLUMN_TOKEN",A[A.URL_TOKEN=22]="URL_TOKEN",A[A.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",A[A.CDC_TOKEN=24]="CDC_TOKEN",A[A.CDO_TOKEN=25]="CDO_TOKEN",A[A.COLON_TOKEN=26]="COLON_TOKEN",A[A.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",A[A.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",A[A.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",A[A.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",A[A.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",A[A.EOF_TOKEN=32]="EOF_TOKEN"}(u||(u={}));var $=function(A){return A>=48&&A<=57},AA=function(A){return $(A)||A>=65&&A<=70||A>=97&&A<=102},eA=function(A){return function(A){return A>=97&&A<=122}(A)||function(A){return A>=65&&A<=90}(A)},tA=function(A){return 10===A||9===A||32===A},rA=function(A){return eA(A)||function(A){return A>=128}(A)||95===A},nA=function(A){return rA(A)||$(A)||45===A},sA=function(A){return A>=0&&A<=8||11===A||A>=14&&A<=31||127===A},BA=function(A,e){return 92===A&&10!==e},oA=function(A,e,t){return 45===A?rA(e)||BA(e,t):!!rA(A)||!(92!==A||!BA(A,e))},iA=function(A,e,t){return 43===A||45===A?!!$(e)||46===e&&$(t):$(46===A?e:A)},aA=function(A){var e=0,t=1;43!==A[e]&&45!==A[e]||(45===A[e]&&(t=-1),e++);for(var r=[];$(A[e]);)r.push(A[e++]);var n=r.length?parseInt(i.apply(void 0,r),10):0;46===A[e]&&e++;for(var s=[];$(A[e]);)s.push(A[e++]);var B=s.length,o=B?parseInt(i.apply(void 0,s),10):0;69!==A[e]&&101!==A[e]||e++;var a=1;43!==A[e]&&45!==A[e]||(45===A[e]&&(a=-1),e++);for(var c=[];$(A[e]);)c.push(A[e++]);var Q=c.length?parseInt(i.apply(void 0,c),10):0;return t*(n+o*Math.pow(10,-B))*Math.pow(10,a*Q)},cA={type:u.LEFT_PARENTHESIS_TOKEN},QA={type:u.RIGHT_PARENTHESIS_TOKEN},uA={type:u.COMMA_TOKEN},lA={type:u.SUFFIX_MATCH_TOKEN},wA={type:u.PREFIX_MATCH_TOKEN},gA={type:u.COLUMN_TOKEN},UA={type:u.DASH_MATCH_TOKEN},CA={type:u.INCLUDE_MATCH_TOKEN},hA={type:u.LEFT_CURLY_BRACKET_TOKEN},dA={type:u.RIGHT_CURLY_BRACKET_TOKEN},EA={type:u.SUBSTRING_MATCH_TOKEN},FA={type:u.BAD_URL_TOKEN},fA={type:u.BAD_STRING_TOKEN},HA={type:u.CDO_TOKEN},pA={type:u.CDC_TOKEN},NA={type:u.COLON_TOKEN},KA={type:u.SEMICOLON_TOKEN},bA={type:u.LEFT_SQUARE_BRACKET_TOKEN},mA={type:u.RIGHT_SQUARE_BRACKET_TOKEN},IA={type:u.WHITESPACE_TOKEN},TA={type:u.EOF_TOKEN},vA=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(o(A))},A.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==TA;)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),r=this.peekCodePoint(2);if(nA(e)||BA(t,r)){var n=oA(e,t,r)?2:1,s=this.consumeName();return{type:u.HASH_TOKEN,value:s,flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),lA;break;case 39:return this.consumeStringToken(39);case 40:return cA;case 41:return QA;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),EA;break;case 43:if(iA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return uA;case 45:var B=A,o=this.peekCodePoint(0),a=this.peekCodePoint(1);if(iA(B,o,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(oA(B,o,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(45===o&&62===a)return this.consumeCodePoint(),this.consumeCodePoint(),pA;break;case 46:if(iA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(42===c&&47===(c=this.consumeCodePoint()))return this.consumeToken();if(-1===c)return this.consumeToken()}break;case 58:return NA;case 59:return KA;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),HA;break;case 64:var Q=this.peekCodePoint(0),l=this.peekCodePoint(1),w=this.peekCodePoint(2);if(oA(Q,l,w)){var s=this.consumeName();return{type:u.AT_KEYWORD_TOKEN,value:s}}break;case 91:return bA;case 92:if(BA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return mA;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),wA;break;case 123:return hA;case 125:return dA;case 117:case 85:var g=this.peekCodePoint(0),U=this.peekCodePoint(1);return 43!==g||!AA(U)&&63!==U||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),UA;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),gA;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),CA;break;case-1:return TA}return tA(A)?(this.consumeWhiteSpace(),IA):$(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):rA(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:u.DELIM_TOKEN,value:i(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();AA(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t){var r=parseInt(i.apply(void 0,A.map(function(A){return 63===A?48:A})),16),n=parseInt(i.apply(void 0,A.map(function(A){return 63===A?70:A})),16);return{type:u.UNICODE_RANGE_TOKEN,start:r,end:n}}var s=parseInt(i.apply(void 0,A),16);if(45===this.peekCodePoint(0)&&AA(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var B=[];AA(e)&&B.length<6;)B.push(e),e=this.consumeCodePoint();var n=parseInt(i.apply(void 0,B),16);return{type:u.UNICODE_RANGE_TOKEN,start:s,end:n}}return{type:u.UNICODE_RANGE_TOKEN,start:s,end:s}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:u.FUNCTION_TOKEN,value:A}):{type:u.IDENT_TOKEN,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:u.URL_TOKEN,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var t=this.consumeStringToken(this.consumeCodePoint());return t.type===u.STRING_TOKEN&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:u.URL_TOKEN,value:t.value}):(this.consumeBadUrlRemnants(),FA)}for(;;){var r=this.consumeCodePoint();if(-1===r||41===r)return{type:u.URL_TOKEN,value:i.apply(void 0,A)};if(tA(r))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:u.URL_TOKEN,value:i.apply(void 0,A)}):(this.consumeBadUrlRemnants(),FA);if(34===r||39===r||40===r||sA(r))return this.consumeBadUrlRemnants(),FA;if(92===r){if(!BA(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),FA;A.push(this.consumeEscapedCodePoint())}else A.push(r)}},A.prototype.consumeWhiteSpace=function(){for(;tA(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||-1===A)return;BA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var e="";A>0;){var t=Math.min(6e4,A);e+=i.apply(void 0,this._value.splice(0,t)),A-=t}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){for(var e="",t=0;;){var r=this._value[t];if(-1===r||void 0===r||r===A)return e+=this.consumeStringSlice(t),{type:u.STRING_TOKEN,value:e};if(10===r)return this._value.splice(0,t),fA;if(92===r){var n=this._value[t+1];-1!==n&&void 0!==n&&(10===n?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):BA(r,n)&&(e+=this.consumeStringSlice(t),e+=i(this.consumeEscapedCodePoint()),t=-1))}t++}},A.prototype.consumeNumber=function(){var A=[],e=4,t=this.peekCodePoint(0);for(43!==t&&45!==t||A.push(this.consumeCodePoint());$(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===t&&$(r))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;$(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((69===t||101===t)&&((43===r||45===r)&&$(n)||$(r)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;$(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[aA(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);if(oA(r,n,s)){var B=this.consumeName();return{type:u.DIMENSION_TOKEN,number:e,flags:t,unit:B}}return 37===r?(this.consumeCodePoint(),{type:u.PERCENTAGE_TOKEN,number:e,flags:t}):{type:u.NUMBER_TOKEN,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(AA(A)){for(var e=i(A);AA(this.peekCodePoint(0))&&e.length<6;)e+=i(this.consumeCodePoint());tA(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||function(A){return A>=55296&&A<=57343}(t)||t>1114111?65533:t}return-1===A?65533:A},A.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(nA(e))A+=i(e);else{if(!BA(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=i(this.consumeEscapedCodePoint())}}},A}(),RA=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new vA;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();A.type===u.WHITESPACE_TOKEN;)A=this.consumeToken();if(A.type===u.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(A.type===u.WHITESPACE_TOKEN);if(A.type===u.EOF_TOKEN)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(e.type===u.EOF_TOKEN)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case u.LEFT_CURLY_BRACKET_TOKEN:case u.LEFT_SQUARE_BRACKET_TOKEN:case u.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(A.type);case u.FUNCTION_TOKEN:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},t=this.consumeToken();;){if(t.type===u.EOF_TOKEN||PA(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:u.FUNCTION};;){var t=this.consumeToken();if(t.type===u.EOF_TOKEN||t.type===u.RIGHT_PARENTHESIS_TOKEN)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?TA:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),yA=function(A){return A.type===u.DIMENSION_TOKEN},LA=function(A){return A.type===u.NUMBER_TOKEN},OA=function(A){return A.type===u.IDENT_TOKEN},DA=function(A){return A.type===u.STRING_TOKEN},SA=function(A,e){return OA(A)&&A.value===e},MA=function(A){return A.type!==u.WHITESPACE_TOKEN},_A=function(A){return A.type!==u.WHITESPACE_TOKEN&&A.type!==u.COMMA_TOKEN},xA=function(A){var e=[],t=[];return A.forEach(function(A){if(A.type===u.COMMA_TOKEN){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}A.type!==u.WHITESPACE_TOKEN&&t.push(A)}),t.length&&e.push(t),e},PA=function(A,e){return e===u.LEFT_CURLY_BRACKET_TOKEN&&A.type===u.RIGHT_CURLY_BRACKET_TOKEN||e===u.LEFT_SQUARE_BRACKET_TOKEN&&A.type===u.RIGHT_SQUARE_BRACKET_TOKEN||e===u.LEFT_PARENTHESIS_TOKEN&&A.type===u.RIGHT_PARENTHESIS_TOKEN},VA=function(A){return A.type===u.NUMBER_TOKEN||A.type===u.DIMENSION_TOKEN},zA=function(A){return A.type===u.PERCENTAGE_TOKEN||VA(A)},XA=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},kA={type:u.NUMBER_TOKEN,number:0,flags:4},JA={type:u.PERCENTAGE_TOKEN,number:50,flags:4},GA={type:u.PERCENTAGE_TOKEN,number:100,flags:4},WA=function(A,e,t){var r=A[0],n=A[1];return[YA(r,e),YA("undefined"!==typeof n?n:r,t)]},YA=function(A,e){if(A.type===u.PERCENTAGE_TOKEN)return A.number/100*e;if(yA(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},qA={name:"angle",parse:function(A){if(A.type===u.DIMENSION_TOKEN)switch(A.unit){case"deg":return Math.PI*A.number/180;case"grad":return Math.PI/200*A.number;case"rad":return A.number;case"turn":return 2*Math.PI*A.number}throw new Error("Unsupported angle type")}},jA=function(A){return A.type===u.DIMENSION_TOKEN&&("deg"===A.unit||"grad"===A.unit||"rad"===A.unit||"turn"===A.unit)},ZA=function(A){var e=A.filter(OA).map(function(A){return A.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[kA,kA];case"to top":case"bottom":return $A(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[kA,GA];case"to right":case"left":return $A(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[GA,GA];case"to bottom":case"top":return $A(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[GA,kA];case"to left":case"right":return $A(270)}return 0},$A=function(A){return Math.PI*A/180},Ae={name:"color",parse:function(A){if(A.type===u.FUNCTION){var e=ce[A.name];if("undefined"===typeof e)throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return e(A.values)}if(A.type===u.HASH_TOKEN){if(3===A.value.length){var t=A.value.substring(0,1),r=A.value.substring(1,2),n=A.value.substring(2,3);return re(parseInt(t+t,16),parseInt(r+r,16),parseInt(n+n,16),1)}if(4===A.value.length){var t=A.value.substring(0,1),r=A.value.substring(1,2),n=A.value.substring(2,3),s=A.value.substring(3,4);return re(parseInt(t+t,16),parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16)/255)}if(6===A.value.length){var t=A.value.substring(0,2),r=A.value.substring(2,4),n=A.value.substring(4,6);return re(parseInt(t,16),parseInt(r,16),parseInt(n,16),1)}if(8===A.value.length){var t=A.value.substring(0,2),r=A.value.substring(2,4),n=A.value.substring(4,6),s=A.value.substring(6,8);return re(parseInt(t,16),parseInt(r,16),parseInt(n,16),parseInt(s,16)/255)}}if(A.type===u.IDENT_TOKEN){var B=Qe[A.value.toUpperCase()];if("undefined"!==typeof B)return B}return Qe.TRANSPARENT}},ee=function(A){return 0===(255&A)},te=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},re=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(255*r)<<0)>>>0},ne=function(A,e){if(A.type===u.NUMBER_TOKEN)return A.number;if(A.type===u.PERCENTAGE_TOKEN){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},se=function(A){var e=A.filter(_A);if(3===e.length){var t=e.map(ne),r=t[0],n=t[1],s=t[2];return re(r,n,s,1)}if(4===e.length){var B=e.map(ne),r=B[0],n=B[1],s=B[2],o=B[3];return re(r,n,s,o)}return 0};function Be(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 oe,ie,ae=function(A){var e=A.filter(_A),t=e[0],r=e[1],n=e[2],s=e[3],B=(t.type===u.NUMBER_TOKEN?$A(t.number):qA.parse(t))/(2*Math.PI),o=zA(r)?r.number/100:0,i=zA(n)?n.number/100:0,a="undefined"!==typeof s&&zA(s)?YA(s,1):1;if(0===o)return re(255*i,255*i,255*i,1);var c=i<=.5?i*(o+1):i+o-i*o,Q=2*i-c,l=Be(Q,c,B+1/3),w=Be(Q,c,B),g=Be(Q,c,B-1/3);return re(255*l,255*w,255*g,a)},ce={hsl:ae,hsla:ae,rgb:se,rgba:se},Qe={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};(function(A){A[A.VALUE=0]="VALUE",A[A.LIST=1]="LIST",A[A.IDENT_VALUE=2]="IDENT_VALUE",A[A.TYPE_VALUE=3]="TYPE_VALUE",A[A.TOKEN_VALUE=4]="TOKEN_VALUE"})(oe||(oe={})),function(A){A[A.BORDER_BOX=0]="BORDER_BOX",A[A.PADDING_BOX=1]="PADDING_BOX",A[A.CONTENT_BOX=2]="CONTENT_BOX"}(ie||(ie={}));var ue,le,we,ge={name:"background-clip",initialValue:"border-box",prefix:!1,type:oe.LIST,parse:function(A){return A.map(function(A){if(OA(A))switch(A.value){case"padding-box":return ie.PADDING_BOX;case"content-box":return ie.CONTENT_BOX}return ie.BORDER_BOX})}},Ue={name:"background-color",initialValue:"transparent",prefix:!1,type:oe.TYPE_VALUE,format:"color"},Ce=function(A){var e=Ae.parse(A[0]),t=A[1];return t&&zA(t)?{color:e,stop:t}:{color:e,stop:null}},he=function(A,e){var t=A[0],r=A[A.length-1];null===t.stop&&(t.stop=kA),null===r.stop&&(r.stop=GA);for(var n=[],s=0,B=0;Bs?n.push(i):n.push(s),s=i}else n.push(null)}for(var a=null,B=0;BA.optimumDistance)?{optimumCorner:e,optimumDistance:o}:A},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},fe=function(A){var e=$A(180),t=[];return xA(A).forEach(function(A,r){if(0===r){var n=A[0];if(n.type===u.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(n.value))return void(e=ZA(A));if(jA(n))return void(e=(qA.parse(n)+$A(270))%$A(360))}var s=Ce(A);t.push(s)}),{angle:e,stops:t,type:ue.LINEAR_GRADIENT}},He=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},pe=function(A,e,t,r,n){var s="http://www.w3.org/2000/svg",B=document.createElementNS(s,"svg"),o=document.createElementNS(s,"foreignObject");return B.setAttributeNS(null,"width",A.toString()),B.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),B.appendChild(o),o.appendChild(n),B},Ne=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))})},Ke={get SUPPORT_RANGE_BOUNDS(){var A=function(A){if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var t=A.createElement("boundtest");t.style.height="123px",t.style.display="block",A.body.appendChild(t),e.selectNode(t);var r=e.getBoundingClientRect(),n=Math.round(r.height);if(A.body.removeChild(t),123===n)return!0}}return!1}(document);return Object.defineProperty(Ke,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,";try{r.drawImage(e,0,0),t.toDataURL()}catch(n){return!1}return!0}(document);return Object.defineProperty(Ke,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?function(A){var e=A.createElement("canvas");e.width=100,e.height=100;var t=e.getContext("2d");if(!t)return Promise.reject(!1);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,100,100);var r=new Image,n=e.toDataURL();r.src=n;var s=pe(100,100,0,0,r);return t.fillStyle="red",t.fillRect(0,0,100,100),Ne(s).then(function(e){t.drawImage(e,0,0);var r=t.getImageData(0,0,100,100).data;t.fillStyle="red",t.fillRect(0,0,100,100);var s=A.createElement("div");return s.style.backgroundImage="url("+n+")",s.style.height="100px",He(r)?Ne(pe(100,100,0,0,s)):Promise.reject(!1)}).then(function(A){return t.drawImage(A,0,0),He(t.getImageData(0,0,100,100).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(Ke,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A="undefined"!==typeof(new Image).crossOrigin;return Object.defineProperty(Ke,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A="string"===typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Ke,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ke,"SUPPORT_CORS_XHR",{value:A}),A}},be=function(){function A(A){var e=A.id,t=A.enabled;this.id=e,this.enabled=t,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],e=0;e0&&setTimeout(function(){return e("Timed out ("+B._options.imageTimeout+"ms) loading image")},B._options.imageTimeout)})];case 3:return[2,n.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 r=A.substring(0,256);return new Promise(function(n,s){var B=Ke.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;if(o.onload=function(){if(200===o.status)if("text"===B)n(o.response);else{var A=new FileReader;A.addEventListener("load",function(){return n(A.result)},!1),A.addEventListener("error",function(A){return s(A)},!1),A.readAsDataURL(o.response)}else s("Failed to proxy resource "+r+" with status code "+o.status)},o.onerror=s,o.open("GET",t+"?url="+encodeURIComponent(A)+"&responseType="+B),"text"!==B&&o instanceof XMLHttpRequest&&(o.responseType=B),e._options.imageTimeout){var i=e._options.imageTimeout;o.timeout=i,o.ontimeout=function(){return s("Timed out ("+i+"ms) proxying "+r)}}o.send()})},A}(),Te=/^data:image\/svg\+xml/i,ve=/^data:image\/.*;base64,/i,Re=/^data:image\/.*/i,ye=function(A){return Ke.SUPPORT_SVG_DRAWING||!Se(A)},Le=function(A){return Re.test(A)},Oe=function(A){return ve.test(A)},De=function(A){return"blob"===A.substr(0,4)},Se=function(A){return"svg"===A.substr(-3).toLowerCase()||Te.test(A)},Me=function(A){var e=le.CIRCLE,t=we.FARTHEST_CORNER,r=[],n=[];return xA(A).forEach(function(A,s){var B=!0;if(0===s?B=A.reduce(function(A,e){if(OA(e))switch(e.value){case"center":return n.push(JA),!1;case"top":case"left":return n.push(kA),!1;case"right":case"bottom":return n.push(GA),!1}else if(zA(e)||VA(e))return n.push(e),!1;return A},B):1===s&&(B=A.reduce(function(A,r){if(OA(r))switch(r.value){case"circle":return e=le.CIRCLE,!1;case"ellipse":return e=le.ELLIPSE,!1;case"contain":case"closest-side":return t=we.CLOSEST_SIDE,!1;case"farthest-side":return t=we.FARTHEST_SIDE,!1;case"closest-corner":return t=we.CLOSEST_CORNER,!1;case"cover":case"farthest-corner":return t=we.FARTHEST_CORNER,!1}else if(VA(r)||zA(r))return Array.isArray(t)||(t=[]),t.push(r),!1;return A},B)),B){var o=Ce(A);r.push(o)}}),{size:t,shape:e,stops:r,position:n,type:ue.RADIAL_GRADIENT}};!function(A){A[A.URL=0]="URL",A[A.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",A[A.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(ue||(ue={})),function(A){A[A.CIRCLE=0]="CIRCLE",A[A.ELLIPSE=1]="ELLIPSE"}(le||(le={})),function(A){A[A.CLOSEST_SIDE=0]="CLOSEST_SIDE",A[A.FARTHEST_SIDE=1]="FARTHEST_SIDE",A[A.CLOSEST_CORNER=2]="CLOSEST_CORNER",A[A.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(we||(we={}));var _e,xe={name:"image",parse:function(A){if(A.type===u.URL_TOKEN){var e={url:A.value,type:ue.URL};return me.getInstance().addImage(A.value),e}if(A.type===u.FUNCTION){var t=Pe[A.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return t(A.values)}throw new Error("Unsupported image type")}},Pe={"linear-gradient":function(A){var e=$A(180),t=[];return xA(A).forEach(function(A,r){if(0===r){var n=A[0];if(n.type===u.IDENT_TOKEN&&"to"===n.value)return void(e=ZA(A));if(jA(n))return void(e=qA.parse(n))}var s=Ce(A);t.push(s)}),{angle:e,stops:t,type:ue.LINEAR_GRADIENT}},"-moz-linear-gradient":fe,"-ms-linear-gradient":fe,"-o-linear-gradient":fe,"-webkit-linear-gradient":fe,"radial-gradient":function(A){var e=le.CIRCLE,t=we.FARTHEST_CORNER,r=[],n=[];return xA(A).forEach(function(A,s){var B=!0;if(0===s){var o=!1;B=A.reduce(function(A,r){if(o)if(OA(r))switch(r.value){case"center":return n.push(JA),A;case"top":case"left":return n.push(kA),A;case"right":case"bottom":return n.push(GA),A}else(zA(r)||VA(r))&&n.push(r);else if(OA(r))switch(r.value){case"circle":return e=le.CIRCLE,!1;case"ellipse":return e=le.ELLIPSE,!1;case"at":return o=!0,!1;case"closest-side":return t=we.CLOSEST_SIDE,!1;case"cover":case"farthest-side":return t=we.FARTHEST_SIDE,!1;case"contain":case"closest-corner":return t=we.CLOSEST_CORNER,!1;case"farthest-corner":return t=we.FARTHEST_CORNER,!1}else if(VA(r)||zA(r))return Array.isArray(t)||(t=[]),t.push(r),!1;return A},B)}if(B){var i=Ce(A);r.push(i)}}),{size:t,shape:e,stops:r,position:n,type:ue.RADIAL_GRADIENT}},"-moz-radial-gradient":Me,"-ms-radial-gradient":Me,"-o-radial-gradient":Me,"-webkit-radial-gradient":Me,"-webkit-gradient":function(A){var e=$A(180),t=[],r=ue.LINEAR_GRADIENT,n=le.CIRCLE,s=we.FARTHEST_CORNER;return xA(A).forEach(function(A,e){var n=A[0];if(0===e){if(OA(n)&&"linear"===n.value)return void(r=ue.LINEAR_GRADIENT);if(OA(n)&&"radial"===n.value)return void(r=ue.RADIAL_GRADIENT)}if(n.type===u.FUNCTION)if("from"===n.name){var s=Ae.parse(n.values[0]);t.push({stop:kA,color:s})}else if("to"===n.name)s=Ae.parse(n.values[0]),t.push({stop:GA,color:s});else if("color-stop"===n.name){var B=n.values.filter(_A);if(2===B.length){s=Ae.parse(B[1]);var o=B[0];LA(o)&&t.push({stop:{type:u.PERCENTAGE_TOKEN,number:100*o.number,flags:o.flags},color:s})}}}),r===ue.LINEAR_GRADIENT?{angle:(e+$A(180))%$A(360),stops:t,type:r}:{size:s,shape:n,stops:t,position:[],type:r}}},Ve={name:"background-image",initialValue:"none",type:oe.LIST,prefix:!1,parse:function(A){if(0===A.length)return[];var e=A[0];return e.type===u.IDENT_TOKEN&&"none"===e.value?[]:A.filter(function(A){return _A(A)&&function(A){return A.type!==u.FUNCTION||Pe[A.name]}(A)}).map(xe.parse)}},ze={name:"background-origin",initialValue:"border-box",prefix:!1,type:oe.LIST,parse:function(A){return A.map(function(A){if(OA(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Xe={name:"background-position",initialValue:"0% 0%",type:oe.LIST,prefix:!1,parse:function(A){return xA(A).map(function(A){return A.filter(zA)}).map(XA)}};!function(A){A[A.REPEAT=0]="REPEAT",A[A.NO_REPEAT=1]="NO_REPEAT",A[A.REPEAT_X=2]="REPEAT_X",A[A.REPEAT_Y=3]="REPEAT_Y"}(_e||(_e={}));var ke,Je={name:"background-repeat",initialValue:"repeat",prefix:!1,type:oe.LIST,parse:function(A){return xA(A).map(function(A){return A.filter(OA).map(function(A){return A.value}).join(" ")}).map(Ge)}},Ge=function(A){switch(A){case"no-repeat":return _e.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return _e.REPEAT_X;case"repeat-y":case"no-repeat repeat":return _e.REPEAT_Y;case"repeat":default:return _e.REPEAT}};!function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"}(ke||(ke={}));var We,Ye={name:"background-size",initialValue:"0",prefix:!1,type:oe.LIST,parse:function(A){return xA(A).map(function(A){return A.filter(qe)})}},qe=function(A){return OA(A)||zA(A)},je=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:oe.TYPE_VALUE,format:"color"}},Ze=je("top"),$e=je("right"),At=je("bottom"),et=je("left"),tt=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:oe.LIST,parse:function(A){return XA(A.filter(zA))}}},rt=tt("top-left"),nt=tt("top-right"),st=tt("bottom-right"),Bt=tt("bottom-left");!function(A){A[A.NONE=0]="NONE",A[A.SOLID=1]="SOLID"}(We||(We={}));var ot,it=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:oe.IDENT_VALUE,parse:function(A){switch(A){case"none":return We.NONE}return We.SOLID}}},at=it("top"),ct=it("right"),Qt=it("bottom"),ut=it("left"),lt=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:oe.VALUE,prefix:!1,parse:function(A){return yA(A)?A.number:0}}},wt=lt("top"),gt=lt("right"),Ut=lt("bottom"),Ct=lt("left"),ht={name:"color",initialValue:"transparent",prefix:!1,type:oe.TYPE_VALUE,format:"color"},dt={name:"display",initialValue:"inline-block",prefix:!1,type:oe.LIST,parse:function(A){return A.filter(OA).reduce(function(A,e){return A|Et(e.value)},0)}},Et=function(A){switch(A){case"block":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};!function(A){A[A.NONE=0]="NONE",A[A.LEFT=1]="LEFT",A[A.RIGHT=2]="RIGHT",A[A.INLINE_START=3]="INLINE_START",A[A.INLINE_END=4]="INLINE_END"}(ot||(ot={}));var Ft,ft={name:"float",initialValue:"none",prefix:!1,type:oe.IDENT_VALUE,parse:function(A){switch(A){case"left":return ot.LEFT;case"right":return ot.RIGHT;case"inline-start":return ot.INLINE_START;case"inline-end":return ot.INLINE_END}return ot.NONE}},Ht={name:"letter-spacing",initialValue:"0",prefix:!1,type:oe.VALUE,parse:function(A){return A.type===u.IDENT_TOKEN&&"normal"===A.value?0:A.type===u.NUMBER_TOKEN?A.number:A.type===u.DIMENSION_TOKEN?A.number:0}};!function(A){A.NORMAL="normal",A.STRICT="strict"}(Ft||(Ft={}));var pt,Nt={name:"line-break",initialValue:"normal",prefix:!1,type:oe.IDENT_VALUE,parse:function(A){switch(A){case"strict":return Ft.STRICT;case"normal":default:return Ft.NORMAL}}},Kt={name:"line-height",initialValue:"normal",prefix:!1,type:oe.TOKEN_VALUE},bt={name:"list-style-image",initialValue:"none",type:oe.VALUE,prefix:!1,parse:function(A){return A.type===u.IDENT_TOKEN&&"none"===A.value?null:xe.parse(A)}};!function(A){A[A.INSIDE=0]="INSIDE",A[A.OUTSIDE=1]="OUTSIDE"}(pt||(pt={}));var mt,It={name:"list-style-position",initialValue:"outside",prefix:!1,type:oe.IDENT_VALUE,parse:function(A){switch(A){case"inside":return pt.INSIDE;case"outside":default:return pt.OUTSIDE}}};!function(A){A[A.NONE=-1]="NONE",A[A.DISC=0]="DISC",A[A.CIRCLE=1]="CIRCLE",A[A.SQUARE=2]="SQUARE",A[A.DECIMAL=3]="DECIMAL",A[A.CJK_DECIMAL=4]="CJK_DECIMAL",A[A.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",A[A.LOWER_ROMAN=6]="LOWER_ROMAN",A[A.UPPER_ROMAN=7]="UPPER_ROMAN",A[A.LOWER_GREEK=8]="LOWER_GREEK",A[A.LOWER_ALPHA=9]="LOWER_ALPHA",A[A.UPPER_ALPHA=10]="UPPER_ALPHA",A[A.ARABIC_INDIC=11]="ARABIC_INDIC",A[A.ARMENIAN=12]="ARMENIAN",A[A.BENGALI=13]="BENGALI",A[A.CAMBODIAN=14]="CAMBODIAN",A[A.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",A[A.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",A[A.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",A[A.DEVANAGARI=18]="DEVANAGARI",A[A.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",A[A.GEORGIAN=20]="GEORGIAN",A[A.GUJARATI=21]="GUJARATI",A[A.GURMUKHI=22]="GURMUKHI",A[A.HEBREW=22]="HEBREW",A[A.HIRAGANA=23]="HIRAGANA",A[A.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",A[A.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",A[A.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",A[A.KANNADA=27]="KANNADA",A[A.KATAKANA=28]="KATAKANA",A[A.KATAKANA_IROHA=29]="KATAKANA_IROHA",A[A.KHMER=30]="KHMER",A[A.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",A[A.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",A[A.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",A[A.LAO=34]="LAO",A[A.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",A[A.MALAYALAM=36]="MALAYALAM",A[A.MONGOLIAN=37]="MONGOLIAN",A[A.MYANMAR=38]="MYANMAR",A[A.ORIYA=39]="ORIYA",A[A.PERSIAN=40]="PERSIAN",A[A.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",A[A.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",A[A.TAMIL=43]="TAMIL",A[A.TELUGU=44]="TELUGU",A[A.THAI=45]="THAI",A[A.TIBETAN=46]="TIBETAN",A[A.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",A[A.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",A[A.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",A[A.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",A[A.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(mt||(mt={}));var Tt,vt={name:"list-style-type",initialValue:"none",prefix:!1,type:oe.IDENT_VALUE,parse:function(A){switch(A){case"disc":return mt.DISC;case"circle":return mt.CIRCLE;case"square":return mt.SQUARE;case"decimal":return mt.DECIMAL;case"cjk-decimal":return mt.CJK_DECIMAL;case"decimal-leading-zero":return mt.DECIMAL_LEADING_ZERO;case"lower-roman":return mt.LOWER_ROMAN;case"upper-roman":return mt.UPPER_ROMAN;case"lower-greek":return mt.LOWER_GREEK;case"lower-alpha":return mt.LOWER_ALPHA;case"upper-alpha":return mt.UPPER_ALPHA;case"arabic-indic":return mt.ARABIC_INDIC;case"armenian":return mt.ARMENIAN;case"bengali":return mt.BENGALI;case"cambodian":return mt.CAMBODIAN;case"cjk-earthly-branch":return mt.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return mt.CJK_HEAVENLY_STEM;case"cjk-ideographic":return mt.CJK_IDEOGRAPHIC;case"devanagari":return mt.DEVANAGARI;case"ethiopic-numeric":return mt.ETHIOPIC_NUMERIC;case"georgian":return mt.GEORGIAN;case"gujarati":return mt.GUJARATI;case"gurmukhi":return mt.GURMUKHI;case"hebrew":return mt.HEBREW;case"hiragana":return mt.HIRAGANA;case"hiragana-iroha":return mt.HIRAGANA_IROHA;case"japanese-formal":return mt.JAPANESE_FORMAL;case"japanese-informal":return mt.JAPANESE_INFORMAL;case"kannada":return mt.KANNADA;case"katakana":return mt.KATAKANA;case"katakana-iroha":return mt.KATAKANA_IROHA;case"khmer":return mt.KHMER;case"korean-hangul-formal":return mt.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return mt.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return mt.KOREAN_HANJA_INFORMAL;case"lao":return mt.LAO;case"lower-armenian":return mt.LOWER_ARMENIAN;case"malayalam":return mt.MALAYALAM;case"mongolian":return mt.MONGOLIAN;case"myanmar":return mt.MYANMAR;case"oriya":return mt.ORIYA;case"persian":return mt.PERSIAN;case"simp-chinese-formal":return mt.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return mt.SIMP_CHINESE_INFORMAL;case"tamil":return mt.TAMIL;case"telugu":return mt.TELUGU;case"thai":return mt.THAI;case"tibetan":return mt.TIBETAN;case"trad-chinese-formal":return mt.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return mt.TRAD_CHINESE_INFORMAL;case"upper-armenian":return mt.UPPER_ARMENIAN;case"disclosure-open":return mt.DISCLOSURE_OPEN;case"disclosure-closed":return mt.DISCLOSURE_CLOSED;case"none":default:return mt.NONE}}},Rt=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:oe.TOKEN_VALUE}},yt=Rt("top"),Lt=Rt("right"),Ot=Rt("bottom"),Dt=Rt("left");!function(A){A[A.VISIBLE=0]="VISIBLE",A[A.HIDDEN=1]="HIDDEN",A[A.SCROLL=2]="SCROLL",A[A.AUTO=3]="AUTO"}(Tt||(Tt={}));var St,Mt={name:"overflow",initialValue:"visible",prefix:!1,type:oe.LIST,parse:function(A){return A.filter(OA).map(function(A){switch(A.value){case"hidden":return Tt.HIDDEN;case"scroll":return Tt.SCROLL;case"auto":return Tt.AUTO;case"visible":default:return Tt.VISIBLE}})}};!function(A){A.NORMAL="normal",A.BREAK_WORD="break-word"}(St||(St={}));var _t,xt={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:oe.IDENT_VALUE,parse:function(A){switch(A){case"break-word":return St.BREAK_WORD;case"normal":default:return St.NORMAL}}},Pt=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:oe.TYPE_VALUE,format:"length-percentage"}},Vt=Pt("top"),zt=Pt("right"),Xt=Pt("bottom"),kt=Pt("left");!function(A){A[A.LEFT=0]="LEFT",A[A.CENTER=1]="CENTER",A[A.RIGHT=2]="RIGHT"}(_t||(_t={}));var Jt,Gt={name:"text-align",initialValue:"left",prefix:!1,type:oe.IDENT_VALUE,parse:function(A){switch(A){case"right":return _t.RIGHT;case"center":case"justify":return _t.CENTER;case"left":default:return _t.LEFT}}};!function(A){A[A.STATIC=0]="STATIC",A[A.RELATIVE=1]="RELATIVE",A[A.ABSOLUTE=2]="ABSOLUTE",A[A.FIXED=3]="FIXED",A[A.STICKY=4]="STICKY"}(Jt||(Jt={}));var Wt,Yt={name:"position",initialValue:"static",prefix:!1,type:oe.IDENT_VALUE,parse:function(A){switch(A){case"relative":return Jt.RELATIVE;case"absolute":return Jt.ABSOLUTE;case"fixed":return Jt.FIXED;case"sticky":return Jt.STICKY}return Jt.STATIC}},qt={name:"text-shadow",initialValue:"none",type:oe.LIST,prefix:!1,parse:function(A){return 1===A.length&&SA(A[0],"none")?[]:xA(A).map(function(A){for(var e={color:Qe.TRANSPARENT,offsetX:kA,offsetY:kA,blur:kA},t=0,r=0;r1?1:0],this.overflowWrap=mr(xt,A.overflowWrap),this.paddingTop=mr(Vt,A.paddingTop),this.paddingRight=mr(zt,A.paddingRight),this.paddingBottom=mr(Xt,A.paddingBottom),this.paddingLeft=mr(kt,A.paddingLeft),this.position=mr(Yt,A.position),this.textAlign=mr(Gt,A.textAlign),this.textDecorationColor=mr(cr,A.textDecorationColor||A.color),this.textDecorationLine=mr(Qr,A.textDecorationLine),this.textShadow=mr(qt,A.textShadow),this.textTransform=mr(Zt,A.textTransform),this.transform=mr($t,A.transform),this.transformOrigin=mr(rr,A.transformOrigin),this.visibility=mr(sr,A.visibility),this.wordBreak=mr(or,A.wordBreak),this.zIndex=mr(ir,A.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===jt.VISIBLE},A.prototype.isTransparent=function(){return ee(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return this.position!==Jt.STATIC},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==ot.NONE},A.prototype.isInlineLevel=function(){return hr(this.display,4)||hr(this.display,33554432)||hr(this.display,268435456)||hr(this.display,536870912)||hr(this.display,67108864)||hr(this.display,134217728)},A}(),Kr=function(A){this.content=mr(dr,A.content),this.quotes=mr(fr,A.quotes)},br=function(A){this.counterIncrement=mr(Er,A.counterIncrement),this.counterReset=mr(Fr,A.counterReset)},mr=function(A,e){var t=new vA,r=null!==e&&"undefined"!==typeof e?e.toString():A.initialValue;t.write(r);var n=new RA(t.read());switch(A.type){case oe.IDENT_VALUE:var s=n.parseComponentValue();return A.parse(OA(s)?s.value:A.initialValue);case oe.VALUE:return A.parse(n.parseComponentValue());case oe.LIST:return A.parse(n.parseComponentValues());case oe.TOKEN_VALUE:return n.parseComponentValue();case oe.TYPE_VALUE:switch(A.format){case"angle":return qA.parse(n.parseComponentValue());case"color":return Ae.parse(n.parseComponentValue());case"image":return xe.parse(n.parseComponentValue());case"length":var B=n.parseComponentValue();return VA(B)?B:kA;case"length-percentage":var o=n.parseComponentValue();return zA(o)?o:kA}}throw new Error("Attempting to parse unsupported css format type "+A.format)},Ir=function(A){this.styles=new Nr(window.getComputedStyle(A,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&Qn(A)&&(A.style.transform="none"),this.bounds=B(A),this.flags=0},Tr=function(A,e){this.text=A,this.bounds=e},vr=function(A,e,t){var r=Lr(A,e),n=[],s=0;return r.forEach(function(A){if(e.textDecorationLine.length||A.trim().length>0)if(Ke.SUPPORT_RANGE_BOUNDS)n.push(new Tr(A,yr(t,s,A.length)));else{var r=t.splitText(A.length);n.push(new Tr(A,Rr(t))),t=r}else Ke.SUPPORT_RANGE_BOUNDS||(t=t.splitText(A.length));s+=A.length}),n},Rr=function(A){var e=A.ownerDocument;if(e){var t=e.createElement("html2canvaswrapper");t.appendChild(A.cloneNode(!0));var r=A.parentNode;if(r){r.replaceChild(t,A);var n=B(t);return t.firstChild&&r.replaceChild(t.firstChild,t),n}}return new s(0,0,0,0)},yr=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),s.fromClientRect(n.getBoundingClientRect())},Lr=function(A,e){return 0!==e.letterSpacing?o(A).map(function(A){return i(A)}):Or(A,e)},Or=function(A,e){for(var t,r=function(A,e){var t=o(A),r=j(t,e),n=r[0],s=r[1],B=r[2],i=t.length,a=0,c=0;return{next:function(){if(c>=i)return{done:!0,value:null};for(var A="\xd7";c0?e+t.toUpperCase():A},xr=function(A){function t(e){var t=A.call(this,e)||this;return t.src=e.currentSrc||e.src,t.intrinsicWidth=e.naturalWidth,t.intrinsicHeight=e.naturalHeight,me.getInstance().addImage(t.src),t}return e(t,A),t}(Ir),Pr=function(A){function t(e){var t=A.call(this,e)||this;return t.canvas=e,t.intrinsicWidth=e.width,t.intrinsicHeight=e.height,t}return e(t,A),t}(Ir),Vr=function(A){function t(e){var t=A.call(this,e)||this,r=new XMLSerializer;return t.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(e)),t.intrinsicWidth=e.width.baseVal.value,t.intrinsicHeight=e.height.baseVal.value,me.getInstance().addImage(t.svg),t}return e(t,A),t}(Ir),zr=function(A){function t(e){var t=A.call(this,e)||this;return t.value=e.value,t}return e(t,A),t}(Ir),Xr=function(A){function t(e){var t=A.call(this,e)||this;return t.start=e.start,t.reversed="boolean"===typeof e.reversed&&!0===e.reversed,t}return e(t,A),t}(Ir),kr=[{type:u.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Jr=[{type:u.PERCENTAGE_TOKEN,flags:0,number:50}],Gr=function(A){return A.width>A.height?new s(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new Dr(n,t.styles));else if(cn(n)){var B=nn(n);B.styles.isVisible()&&(Bn(n,B,r)?B.flags|=4:on(B.styles)&&(B.flags|=2),-1!==rn.indexOf(n.tagName)&&(B.flags|=8),t.elements.push(B),Hn(n)||Un(n)||pn(n)||A(n,B,r))}}(A,e,e),e},Bn=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Cn(A)&&t.styles.isTransparent()},on=function(A){return A.isPositioned()||A.isFloating()},an=function(A){return A.nodeType===Node.TEXT_NODE},cn=function(A){return A.nodeType===Node.ELEMENT_NODE},Qn=function(A){return cn(A)&&"undefined"!==typeof A.style&&!un(A)},un=function(A){return"object"===typeof A.className},ln=function(A){return"LI"===A.tagName},wn=function(A){return"OL"===A.tagName},gn=function(A){return"INPUT"===A.tagName},Un=function(A){return"svg"===A.tagName},Cn=function(A){return"BODY"===A.tagName},hn=function(A){return"CANVAS"===A.tagName},dn=function(A){return"IMG"===A.tagName},En=function(A){return"IFRAME"===A.tagName},Fn=function(A){return"STYLE"===A.tagName},fn=function(A){return"SCRIPT"===A.tagName},Hn=function(A){return"TEXTAREA"===A.tagName},pn=function(A){return"SELECT"===A.tagName},Nn=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,r=A.counterReset,n=!0;null!==t&&t.forEach(function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(n=!1,t[Math.max(0,t.length-1)]+=A.increment)});var s=[];return n&&r.forEach(function(A){var t=e.counters[A.counter];s.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)}),s},A}(),Kn={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"]},bn={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"]},mn={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"]},In={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"]},Tn=function(A,e,t,r,n,s){return At?On(A,n,s.length>0):r.integers.reduce(function(e,t,n){for(;A>=t;)A-=t,e+=r.values[n];return e},"")+s},vn=function(A,e,t,r){var n="";do{t||A--,n=r(A)+n,A/=e}while(A*e>=e);return n},Rn=function(A,e,t,r,n){var s=t-e+1;return(A<0?"-":"")+(vn(Math.abs(A),s,r,function(A){return i(Math.floor(A%s)+e)})+n)},yn=function(A,e,t){void 0===t&&(t=". ");var r=e.length;return vn(Math.abs(A),r,!1,function(A){return e[Math.floor(A%r)]})+t},Ln=function(A,e,t,r,n,s){if(A<-9999||A>9999)return On(A,mt.CJK_DECIMAL,n.length>0);var B=Math.abs(A),o=n;if(0===B)return e[0]+o;for(var i=0;B>0&&i<=4;i++){var a=B%10;0===a&&hr(s,1)&&""!==o?o=e[a]+o:a>1||1===a&&0===i||1===a&&1===i&&hr(s,2)||1===a&&1===i&&hr(s,4)&&A>100||1===a&&i>1&&hr(s,8)?o=e[a]+(i>0?t[i-1]:"")+o:1===a&&i>0&&(o=t[i-1]+o),B=Math.floor(B/10)}return(A<0?r:"")+o},On=function(A,e,t){var r=t?". ":"",n=t?"\u3001":"",s=t?", ":"",B=t?" ":"";switch(e){case mt.DISC:return"\u2022"+B;case mt.CIRCLE:return"\u25e6"+B;case mt.SQUARE:return"\u25fe"+B;case mt.DECIMAL_LEADING_ZERO:var o=Rn(A,48,57,!0,r);return o.length<4?"0"+o:o;case mt.CJK_DECIMAL:return yn(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",n);case mt.LOWER_ROMAN:return Tn(A,1,3999,Kn,mt.DECIMAL,r).toLowerCase();case mt.UPPER_ROMAN:return Tn(A,1,3999,Kn,mt.DECIMAL,r);case mt.LOWER_GREEK:return Rn(A,945,969,!1,r);case mt.LOWER_ALPHA:return Rn(A,97,122,!1,r);case mt.UPPER_ALPHA:return Rn(A,65,90,!1,r);case mt.ARABIC_INDIC:return Rn(A,1632,1641,!0,r);case mt.ARMENIAN:case mt.UPPER_ARMENIAN:return Tn(A,1,9999,bn,mt.DECIMAL,r);case mt.LOWER_ARMENIAN:return Tn(A,1,9999,bn,mt.DECIMAL,r).toLowerCase();case mt.BENGALI:return Rn(A,2534,2543,!0,r);case mt.CAMBODIAN:case mt.KHMER:return Rn(A,6112,6121,!0,r);case mt.CJK_EARTHLY_BRANCH:return yn(A,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",n);case mt.CJK_HEAVENLY_STEM:return yn(A,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",n);case mt.CJK_IDEOGRAPHIC:case mt.TRAD_CHINESE_INFORMAL:return Ln(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",n,14);case mt.TRAD_CHINESE_FORMAL:return Ln(A,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",n,15);case mt.SIMP_CHINESE_INFORMAL:return Ln(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",n,14);case mt.SIMP_CHINESE_FORMAL:return Ln(A,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",n,15);case mt.JAPANESE_INFORMAL:return Ln(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",n,0);case mt.JAPANESE_FORMAL:return Ln(A,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",n,7);case mt.KOREAN_HANGUL_FORMAL:return Ln(A,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc","\ub9c8\uc774\ub108\uc2a4",s,7);case mt.KOREAN_HANJA_INFORMAL:return Ln(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\ub9c8\uc774\ub108\uc2a4",s,0);case mt.KOREAN_HANJA_FORMAL:return Ln(A,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343","\ub9c8\uc774\ub108\uc2a4",s,7);case mt.DEVANAGARI:return Rn(A,2406,2415,!0,r);case mt.GEORGIAN:return Tn(A,1,19999,In,mt.DECIMAL,r);case mt.GUJARATI:return Rn(A,2790,2799,!0,r);case mt.GURMUKHI:return Rn(A,2662,2671,!0,r);case mt.HEBREW:return Tn(A,1,10999,mn,mt.DECIMAL,r);case mt.HIRAGANA:return yn(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 mt.HIRAGANA_IROHA:return yn(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 mt.KANNADA:return Rn(A,3302,3311,!0,r);case mt.KATAKANA:return yn(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",n);case mt.KATAKANA_IROHA:return yn(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",n);case mt.LAO:return Rn(A,3792,3801,!0,r);case mt.MONGOLIAN:return Rn(A,6160,6169,!0,r);case mt.MYANMAR:return Rn(A,4160,4169,!0,r);case mt.ORIYA:return Rn(A,2918,2927,!0,r);case mt.PERSIAN:return Rn(A,1776,1785,!0,r);case mt.TAMIL:return Rn(A,3046,3055,!0,r);case mt.TELUGU:return Rn(A,3174,3183,!0,r);case mt.THAI:return Rn(A,3664,3673,!0,r);case mt.TIBETAN:return Rn(A,3872,3881,!0,r);case mt.DECIMAL:default:return Rn(A,48,57,!0,r)}},Dn=function(){function A(A,e){if(this.options=e,this.scrolledElements=[],this.referenceElement=A,this.counters=new Nn,this.quoteDepth=0,!A.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(A.ownerDocument.documentElement)}return A.prototype.toIFrame=function(A,e){var t=this,s=Mn(A,e);if(!s.contentWindow)return Promise.reject("Unable to find iframe window");var B=A.defaultView.pageXOffset,o=A.defaultView.pageYOffset,i=s.contentWindow,a=i.document,c=_n(s).then(function(){return r(t,void 0,void 0,function(){var A;return n(this,function(t){switch(t.label){case 0:return this.scrolledElements.forEach(zn),i&&(i.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||i.scrollY===e.top&&i.scrollX===e.left||(a.documentElement.style.top=-e.top+"px",a.documentElement.style.left=-e.left+"px",a.documentElement.style.position="absolute")),A=this.options.onclone,"undefined"===typeof this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:t.sent(),t.label=2;case 2:return"function"===typeof A?[2,Promise.resolve().then(function(){return A(a)}).then(function(){return s})]:[2,s]}})})});return a.open(),a.write(Pn(document.doctype)+""),Vn(this.referenceElement.ownerDocument,B,o),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),c},A.prototype.createElementClone=function(A){if(hn(A))return this.createCanvasClone(A);if(Fn(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return dn(e)&&"lazy"===e.loading&&(e.loading="eager"),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},""),r=A.cloneNode(!1);return r.textContent=t,r}}catch(n){if(be.getInstance(this.options.id).error("Unable to access cssRules property",n),"SecurityError"!==n.name)throw n}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){if(this.options.inlineImages&&A.ownerDocument){var e=A.ownerDocument.createElement("img");try{return e.src=A.toDataURL(),e}catch(s){be.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var t=A.cloneNode(!1);try{t.width=A.width,t.height=A.height;var r=A.getContext("2d"),n=t.getContext("2d");return n&&(r?n.putImageData(r.getImageData(0,0,A.width,A.height),0,0):n.drawImage(A,0,0)),t}catch(s){}return t},A.prototype.cloneNode=function(A){if(an(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var e=A.ownerDocument.defaultView;if(e&&cn(A)&&(Qn(A)||un(A))){var t=this.createElementClone(A),r=e.getComputedStyle(A),n=e.getComputedStyle(A,":before"),s=e.getComputedStyle(A,":after");this.referenceElement===A&&Qn(t)&&(this.clonedReferenceElement=t),Cn(t)&&Jn(t);for(var B=this.counters.parse(new br(r)),o=this.resolvePseudoContent(A,t,n,Ur.BEFORE),i=A.firstChild;i;i=i.nextSibling)cn(i)&&(fn(i)||i.hasAttribute("data-html2canvas-ignore")||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(i))||this.options.copyStyles&&cn(i)&&Fn(i)||t.appendChild(this.cloneNode(i));o&&t.insertBefore(o,t.firstChild);var a=this.resolvePseudoContent(A,t,s,Ur.AFTER);return a&&t.appendChild(a),this.counters.pop(B),r&&(this.options.copyStyles||un(A))&&!En(A)&&xn(r,t),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([t,A.scrollLeft,A.scrollTop]),(Hn(A)||pn(A))&&(Hn(t)||pn(t))&&(t.value=A.value),t}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,r){var n=this;if(t){var s=t.content,B=e.ownerDocument;if(B&&s&&"none"!==s&&"-moz-alt-content"!==s&&"none"!==t.display){this.counters.parse(new br(t));var o=new Kr(t),i=B.createElement("html2canvaspseudoelement");xn(t,i),o.content.forEach(function(e){if(e.type===u.STRING_TOKEN)i.appendChild(B.createTextNode(e.value));else if(e.type===u.URL_TOKEN){var t=B.createElement("img");t.src=e.value,t.style.opacity="1",i.appendChild(t)}else if(e.type===u.FUNCTION){if("attr"===e.name){var r=e.values.filter(OA);r.length&&i.appendChild(B.createTextNode(A.getAttribute(r[0].value)||""))}else if("counter"===e.name){var s=e.values.filter(_A),a=s[0],c=s[1];if(a&&OA(a)){var Q=n.counters.getCounterValue(a.value),l=c&&OA(c)?vt.parse(c.value):mt.DECIMAL;i.appendChild(B.createTextNode(On(Q,l,!1)))}}else if("counters"===e.name){var w=e.values.filter(_A),a=w[0],g=w[1],c=w[2];if(a&&OA(a)){var U=n.counters.getCounterValues(a.value),C=c&&OA(c)?vt.parse(c.value):mt.DECIMAL,h=g&&g.type===u.STRING_TOKEN?g.value:"",d=U.map(function(A){return On(A,C,!1)}).join(h);i.appendChild(B.createTextNode(d))}}}else if(e.type===u.IDENT_TOKEN)switch(e.value){case"open-quote":i.appendChild(B.createTextNode(Hr(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":i.appendChild(B.createTextNode(Hr(o.quotes,--n.quoteDepth,!1)));break;default:i.appendChild(B.createTextNode(e.value))}}),i.className=Xn+" "+kn;var a=r===Ur.BEFORE?" "+Xn:" "+kn;return un(e)?e.className.baseValue+=a:e.className+=a,i}}},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"}(Ur||(Ur={}));var Sn,Mn=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("data-html2canvas-ignore","true"),A.body.appendChild(t),t},_n=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=n.onreadystatechange=function(){r.onload=A.onload=n.onreadystatechange=null;var t=setInterval(function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(t),e(A))},50)}})},xn=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);"content"!==r&&e.style.setProperty(r,A.getPropertyValue(r))}return e},Pn=function(A){var e="";return A&&(e+=""),e},Vn=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},zn=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},Xn="___html2canvas___pseudoelement_before",kn="___html2canvas___pseudoelement_after",Jn=function(A){Gn(A,"."+Xn+':before{\n content: "" !important;\n display: none !important;\n}\n .'+kn+':after{\n content: "" !important;\n display: none !important;\n}')},Gn=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}};!function(A){A[A.VECTOR=0]="VECTOR",A[A.BEZIER_CURVE=1]="BEZIER_CURVE"}(Sn||(Sn={}));var Wn,Yn=function(A,e){return A.length===e.length&&A.some(function(A,t){return A===e[t]})},qn=function(){function A(A,e){this.type=Sn.VECTOR,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),jn=function(A,e,t){return new qn(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Zn=function(){function A(A,e,t,r){this.type=Sn.BEZIER_CURVE,this.start=A,this.startControl=e,this.endControl=t,this.end=r}return A.prototype.subdivide=function(e,t){var r=jn(this.start,this.startControl,e),n=jn(this.startControl,this.endControl,e),s=jn(this.endControl,this.end,e),B=jn(r,n,e),o=jn(n,s,e),i=jn(B,o,e);return t?new A(this.start,r,B,i):new A(i,o,s,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}(),$n=function(A){return A.type===Sn.BEZIER_CURVE},As=function(A){var e=A.styles,t=A.bounds,r=WA(e.borderTopLeftRadius,t.width,t.height),n=r[0],s=r[1],B=WA(e.borderTopRightRadius,t.width,t.height),o=B[0],i=B[1],a=WA(e.borderBottomRightRadius,t.width,t.height),c=a[0],Q=a[1],u=WA(e.borderBottomLeftRadius,t.width,t.height),l=u[0],w=u[1],g=[];g.push((n+o)/t.width),g.push((l+c)/t.width),g.push((s+w)/t.height),g.push((i+Q)/t.height);var U=Math.max.apply(Math,g);U>1&&(n/=U,s/=U,o/=U,i/=U,c/=U,Q/=U,l/=U,w/=U);var C=t.width-o,h=t.height-Q,d=t.width-c,E=t.height-w,F=e.borderTopWidth,f=e.borderRightWidth,H=e.borderBottomWidth,p=e.borderLeftWidth,N=YA(e.paddingTop,A.bounds.width),K=YA(e.paddingRight,A.bounds.width),b=YA(e.paddingBottom,A.bounds.width),m=YA(e.paddingLeft,A.bounds.width);this.topLeftBorderBox=n>0||s>0?es(t.left,t.top,n,s,Wn.TOP_LEFT):new qn(t.left,t.top),this.topRightBorderBox=o>0||i>0?es(t.left+C,t.top,o,i,Wn.TOP_RIGHT):new qn(t.left+t.width,t.top),this.bottomRightBorderBox=c>0||Q>0?es(t.left+d,t.top+h,c,Q,Wn.BOTTOM_RIGHT):new qn(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=l>0||w>0?es(t.left,t.top+E,l,w,Wn.BOTTOM_LEFT):new qn(t.left,t.top+t.height),this.topLeftPaddingBox=n>0||s>0?es(t.left+p,t.top+F,Math.max(0,n-p),Math.max(0,s-F),Wn.TOP_LEFT):new qn(t.left+p,t.top+F),this.topRightPaddingBox=o>0||i>0?es(t.left+Math.min(C,t.width+p),t.top+F,C>t.width+p?0:o-p,i-F,Wn.TOP_RIGHT):new qn(t.left+t.width-f,t.top+F),this.bottomRightPaddingBox=c>0||Q>0?es(t.left+Math.min(d,t.width-p),t.top+Math.min(h,t.height+F),Math.max(0,c-f),Q-H,Wn.BOTTOM_RIGHT):new qn(t.left+t.width-f,t.top+t.height-H),this.bottomLeftPaddingBox=l>0||w>0?es(t.left+p,t.top+E,Math.max(0,l-p),w-H,Wn.BOTTOM_LEFT):new qn(t.left+p,t.top+t.height-H),this.topLeftContentBox=n>0||s>0?es(t.left+p+m,t.top+F+N,Math.max(0,n-(p+m)),Math.max(0,s-(F+N)),Wn.TOP_LEFT):new qn(t.left+p+m,t.top+F+N),this.topRightContentBox=o>0||i>0?es(t.left+Math.min(C,t.width+p+m),t.top+F+N,C>t.width+p+m?0:o-p+m,i-(F+N),Wn.TOP_RIGHT):new qn(t.left+t.width-(f+K),t.top+F+N),this.bottomRightContentBox=c>0||Q>0?es(t.left+Math.min(d,t.width-(p+m)),t.top+Math.min(h,t.height+F+N),Math.max(0,c-(f+K)),Q-(H+b),Wn.BOTTOM_RIGHT):new qn(t.left+t.width-(f+K),t.top+t.height-(H+b)),this.bottomLeftContentBox=l>0||w>0?es(t.left+p+m,t.top+E,Math.max(0,l-(p+m)),w-(H+b),Wn.BOTTOM_LEFT):new qn(t.left+p+m,t.top+t.height-(H+b))};!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"}(Wn||(Wn={}));var es=function(A,e,t,r,n){var s=(Math.sqrt(2)-1)/3*4,B=t*s,o=r*s,i=A+t,a=e+r;switch(n){case Wn.TOP_LEFT:return new Zn(new qn(A,a),new qn(A,a-o),new qn(i-B,e),new qn(i,e));case Wn.TOP_RIGHT:return new Zn(new qn(A,e),new qn(A+B,e),new qn(i,a-o),new qn(i,a));case Wn.BOTTOM_RIGHT:return new Zn(new qn(i,e),new qn(i,e+o),new qn(A+B,a),new qn(A,a));case Wn.BOTTOM_LEFT:default:return new Zn(new qn(i,a),new qn(i-B,a),new qn(A,e+o),new qn(A,e))}},ts=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},rs=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},ns=function(A,e,t){this.type=0,this.offsetX=A,this.offsetY=e,this.matrix=t,this.target=6},ss=function(A,e){this.type=1,this.target=e,this.path=A},Bs=function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},os=function(){function A(A,e){if(this.container=A,this.effects=e.slice(0),this.curves=new As(A),null!==A.styles.transform){var t=A.bounds.left+A.styles.transformOrigin[0].number,r=A.bounds.top+A.styles.transformOrigin[1].number,n=A.styles.transform;this.effects.push(new ns(t,r,n))}if(A.styles.overflowX!==Tt.VISIBLE){var s=ts(this.curves),B=rs(this.curves);Yn(s,B)?this.effects.push(new ss(s,6)):(this.effects.push(new ss(s,2)),this.effects.push(new ss(B,4)))}}return A.prototype.getParentEffects=function(){var A=this.effects.slice(0);if(this.container.styles.overflowX!==Tt.VISIBLE){var e=ts(this.curves),t=rs(this.curves);Yn(e,t)||A.push(new ss(t,6))}return A},A}(),is=function(A,e){for(var t=A instanceof Xr?A.start:1,r=A instanceof Xr&&A.reversed,n=0;nA.element.container.styles.zIndex.order?(l=e,!1):l>0}),c.negativeZIndex.splice(l,0,Q)}else if(u>0){var w=0;c.positiveZIndex.some(function(A,e){return u>=A.element.container.styles.zIndex.order?(w=e+1,!1):w>0}),c.positiveZIndex.splice(w,0,Q)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(Q)}else s.styles.isFloating()?c.nonPositionedFloats.push(Q):c.nonPositionedInlineLevel.push(Q);A(i,Q,B?Q:r,a)}else s.styles.isInlineLevel()?t.inlineLevel.push(i):t.nonInlineLevel.push(i),A(i,t,r,a);hr(s.flags,8)&&is(s,a)})}(e,t,t,r),is(e.container,r),t},cs=function(A,e,t,r){var n=[];return $n(A)?n.push(A.subdivide(.5,!1)):n.push(A),$n(t)?n.push(t.subdivide(.5,!0)):n.push(t),$n(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),$n(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},Qs=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},us=function(A){var e=A.styles,t=A.bounds,r=YA(e.paddingLeft,t.width),n=YA(e.paddingRight,t.width),s=YA(e.paddingTop,t.width),B=YA(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,s+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+s+B))},ls=function(A,e,t){var r,n,s=(r=Cs(A.styles.backgroundOrigin,e),n=A,0===r?n.bounds:2===r?us(n):Qs(n)),B=function(A,e){return A===ie.BORDER_BOX?e.bounds:A===ie.CONTENT_BOX?us(e):Qs(e)}(Cs(A.styles.backgroundClip,e),A),o=Us(Cs(A.styles.backgroundSize,e),t,s),i=o[0],a=o[1],c=WA(Cs(A.styles.backgroundPosition,e),s.width-i,s.height-a),Q=hs(Cs(A.styles.backgroundRepeat,e),c,o,s,B),u=Math.round(s.left+c[0]),l=Math.round(s.top+c[1]);return[Q,u,l,i,a]},ws=function(A){return OA(A)&&A.value===ke.AUTO},gs=function(A){return"number"===typeof A},Us=function(A,e,t){var r=e[0],n=e[1],s=e[2],B=A[0],o=A[1];if(zA(B)&&o&&zA(o))return[YA(B,t.width),YA(o,t.height)];var i=gs(s);if(OA(B)&&(B.value===ke.CONTAIN||B.value===ke.COVER)){if(gs(s)){var a=t.width/t.height;return a0&&A.intrinsicHeight>0){var r=us(A),n=rs(e);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,function(){var t,r,B,o,i,a,c,Q,l,w,g,U,C,h;return n(this,function(n){switch(n.label){case 0:this.applyEffects(e.effects,4),t=e.container,r=e.curves,B=t.styles,o=0,i=t.textNodes,n.label=1;case 1:return o0&&p>0&&(h=r.ctx.createPattern(g,"repeat"),r.renderRepeat(E,h,K,b))):function(A){return A.type===ue.RADIAL_GRADIENT}(t)&&(d=ls(A,e,[null,null,null]),E=d[0],F=d[1],f=d[2],H=d[3],p=d[4],N=0===t.position.length?[JA]:t.position,K=YA(N[0],H),b=YA(N[N.length-1],p),m=function(A,e,t,r,n){var s=0,B=0;switch(A.size){case we.CLOSEST_SIDE:A.shape===le.CIRCLE?s=B=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===le.ELLIPSE&&(s=Math.min(Math.abs(e),Math.abs(e-r)),B=Math.min(Math.abs(t),Math.abs(t-n)));break;case we.CLOSEST_CORNER:if(A.shape===le.CIRCLE)s=B=Math.min(Ee(e,t),Ee(e,t-n),Ee(e-r,t),Ee(e-r,t-n));else if(A.shape===le.ELLIPSE){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),i=Fe(r,n,e,t,!0),a=i[0],c=i[1];s=Ee(a-e,(c-t)/o),B=o*s}break;case we.FARTHEST_SIDE:A.shape===le.CIRCLE?s=B=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===le.ELLIPSE&&(s=Math.max(Math.abs(e),Math.abs(e-r)),B=Math.max(Math.abs(t),Math.abs(t-n)));break;case we.FARTHEST_CORNER:if(A.shape===le.CIRCLE)s=B=Math.max(Ee(e,t),Ee(e,t-n),Ee(e-r,t),Ee(e-r,t-n));else if(A.shape===le.ELLIPSE){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),Q=Fe(r,n,e,t,!1),a=Q[0],c=Q[1];s=Ee(a-e,(c-t)/o),B=o*s}}return Array.isArray(A.size)&&(s=YA(A.size[0],r),B=2===A.size.length?YA(A.size[1],n):s),[s,B]}(t,K,b,H,p),I=m[0],T=m[1],I>0&&I>0&&(v=r.ctx.createRadialGradient(F+K,f+b,0,F+K,f+b,I),he(t.stops,2*I).forEach(function(A){return v.addColorStop(A.stop,te(A.color))}),r.path(E),r.ctx.fillStyle=v,I!==T?(R=A.bounds.left+.5*A.bounds.width,y=A.bounds.top+.5*A.bounds.height,O=1/(L=T/I),r.ctx.save(),r.ctx.translate(R,y),r.ctx.transform(1,0,0,L,0,0),r.ctx.translate(-R,-y),r.ctx.fillRect(F,O*(f-y)+y,H,p*O),r.ctx.restore()):r.ctx.fill())),n.label=6;case 6:return e--,[2]}})},r=this,s=0,B=A.styles.backgroundImage.slice(0).reverse(),i.label=1;case 1:return s{this.instance.screenshot=e.toDataURL(),A&&(A.style.display="block"),this.instance.createBugReportingDialog()})}startCrashDetection(){var A=this;window.onerror=function(e,t,r,n,s){var B=["Message: "+e,"URL: "+t,"Line: "+r,"Column: "+n,"Error object: "+JSON.stringify(s)];return A.addLog(B,"error"),A.startCrashFlow(),!1}}startCrashFlow(){this.crashDetectorEnabled&&!this.bugReportingRunning&&(this.bugReportingRunning=!0,this.crashDetected=!0,B.startBugReporting())}addLog(A,e){if(A){for(var t="",r=0;r