lemon-mse 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lemon.css +1 -1
- package/dist/lemon.js +1 -1
- package/package.json +1 -1
- package/README.md +0 -9
package/dist/lemon.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;color:#ffffffde;background-color:#181818;--shadow: 0 2px 4px -2px rgba(0, 0, 0, .8);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{color:inherit;text-decoration:inherit}body{margin:0}.scrolly{box-sizing:border-box;overflow-y:auto}.scrolly::-webkit-scrollbar{height:4px;width:4px;background-color:transparent}.scrolly::-webkit-scrollbar-thumb{background-color:#ffffff5f;border-radius:4px}.scrolly::-webkit-scrollbar-thumb:hover{background-color:#ffffff8f}.scrolly::-webkit-scrollbar-track{border-radius:4px}.scrollx{overflow-x:auto}.scrollx::-webkit-scrollbar{height:0;width:0}.i-ri-add-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-apps-2-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 11.5a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9m0 10a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9m10-10a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9m0 10a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9M7 9.5a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m0 10a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m10-10a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m0 10a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-arrow-down-circle-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12S6.48 2 12 2m0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8s-8 3.58-8 8s3.58 8 8 8m1-8h3l-4 4l-4-4h3V8h2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-arrow-left-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.828 11H20v2H7.828l5.364 5.364l-1.414 1.414L4 12l7.778-7.778l1.414 1.414z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-arrow-right-s-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m16 12l-6 6V6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-close-circle-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-delete-bin-3-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20 7v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7H2V5h20v2zM6 7v13h12V7zm5 2h2v2h-2zm0 3h2v2h-2zm0 3h2v2h-2zM7 2h10v2H7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-fullscreen-exit-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18 7h4v2h-6V3h2zM8 9H2V7h4V3h2zm10 8v4h-2v-6h6v2zM8 15v6H6v-4H2v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-fullscreen-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 3h6v6h-2V5h-4zM2 3h6v2H4v4H2zm18 16v-4h2v6h-6v-2zM4 19h4v2H2v-6h2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-heart-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12.001 4.529a6 6 0 0 1 8.242.228a6 6 0 0 1 .236 8.236l-8.48 8.492l-8.478-8.492a6 6 0 0 1 8.48-8.464'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-heart-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12.001 4.529a6 6 0 0 1 8.242.228a6 6 0 0 1 .236 8.236l-8.48 8.492l-8.478-8.492a6 6 0 0 1 8.48-8.464m6.826 1.641a4 4 0 0 0-5.49-.153l-1.335 1.198l-1.336-1.197a4 4 0 0 0-5.686 5.605L12 18.654l7.02-7.03a4 4 0 0 0-.193-5.454'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-home-smile-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6 19h12V9.157l-6-5.454l-6 5.454zm13 2H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9a1 1 0 0 1-1 1M7.5 13h2a2.5 2.5 0 0 0 5 0h2a4.5 4.5 0 1 1-9 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-link{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18.364 15.536L16.95 14.12l1.414-1.414a5 5 0 0 0-7.071-7.071L9.878 7.05L8.464 5.636l1.414-1.414a7 7 0 0 1 9.9 9.9zm-2.829 2.828l-1.414 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 0 0 7.07 7.071l1.415-1.414zm-.707-10.607l1.415 1.415l-7.072 7.07l-1.414-1.414z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-menu-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 4h18v2H3zm0 7h18v2H3zm0 7h18v2H3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-menu-unfold-3-line-2{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 4H3v2h14zm-4 7H3v2h10zm4 7H3v2h14zm-1.01-9.186L17.404 7.4L22 11.996l-4.596 4.596l-1.414-1.414l3.182-3.182z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-pause-large-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6 3h2v18H6zm10 0h2v18h-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-picture-in-picture-2-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 3a1 1 0 0 1 1 1v7h-2V5H4v14h6v2H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm0 10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1zm-1 2h-6v4h6zM6.707 6.293l2.25 2.25L11 6.5V12H5.5l2.043-2.043l-2.25-2.25z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-picture-in-picture-exit-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 3a1 1 0 0 1 1 1v7h-2V5H4v14h6v2H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm0 10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1zm-1 2h-6v4h6zm-8.5-8L9.457 9.043l2.25 2.25l-1.414 1.414l-2.25-2.25L6 12.5V7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-play-large-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6 20.196V3.804a1 1 0 0 1 1.53-.848l13.113 8.196a1 1 0 0 1 0 1.696L7.53 21.044A1 1 0 0 1 6 20.196'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-refresh-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.463 4.433A9.96 9.96 0 0 1 12 2c5.523 0 10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228zm13.074 15.134A9.96 9.96 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-search-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m18.031 16.617l4.283 4.282l-1.415 1.415l-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9s9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617m-2.006-.742A6.98 6.98 0 0 0 18 11c0-3.867-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7a6.98 6.98 0 0 0 4.875-1.975z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-subtract-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 11H5v2h14z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-sun-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-sun-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12m0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-user-smile-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m-5-8h2a3 3 0 1 0 6 0h2a5 5 0 0 1-10 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-volume-down-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8.889 16H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387zm9.974.591l-1.422-1.422A4 4 0 0 0 19 12c0-1.43-.75-2.685-1.88-3.392l1.439-1.439A5.99 5.99 0 0 1 21 12c0 1.842-.83 3.49-2.137 4.591'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-volume-down-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 7.22L9.603 10H6v4h3.603L13 16.78zM8.889 16H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387zm9.974.591l-1.422-1.422A4 4 0 0 0 19 12c0-1.43-.75-2.685-1.88-3.392l1.439-1.439A5.99 5.99 0 0 1 21 12c0 1.842-.83 3.49-2.137 4.591'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-volume-mute-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 7.22L6.603 10H3v4h3.603L10 16.78zM5.889 16H2a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387zm14.525-4l3.536 3.536l-1.415 1.414L19 13.414l-3.536 3.536l-1.414-1.414L17.586 12L14.05 8.465l1.414-1.415L19 10.586l3.535-3.536l1.415 1.415z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-volume-up-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M2 16h3.889l5.294 4.332a.5.5 0 0 0 .817-.387V4.055a.5.5 0 0 0-.817-.387L5.89 8H2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1m21-4c0 3.292-1.446 6.246-3.738 8.262l-1.418-1.418A8.98 8.98 0 0 0 21 12a8.98 8.98 0 0 0-3.155-6.844l1.417-1.418A10.97 10.97 0 0 1 23 12m-5 0a5.99 5.99 0 0 0-2.287-4.713l-1.429 1.429A4 4 0 0 1 16 12c0 1.36-.679 2.561-1.716 3.284l1.43 1.43A5.99 5.99 0 0 0 18 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.\!pos-fixed{position:fixed!important}.absolute,.pos-absolute,[absolute=""],[pos-absolute=""]{position:absolute}.fixed,.pos-fixed,[fixed=""],[pos-fixed=""]{position:fixed}.pos-relative,.relative,[pos-relative=""]{position:relative}.bottom-0,[bottom-0=""]{bottom:0}.bottom-16,[bottom-16=""]{bottom:4rem}.left-0,[left-0=""]{left:0}.left-1,[left-1=""]{left:.25rem}.left-4{left:1rem}.left-50\%{left:50%}.right-0,[right-0=""]{right:0}.right-2{right:.5rem}.right-3,[right-3=""]{right:.75rem}.right-4,[right-4=""]{right:1rem}.top-0,[top-0=""]{top:0}.top-1,[top-1=""]{top:.25rem}.top-2{top:.5rem}.top-50\%{top:50%}.z-1,[z-1=""]{z-index:1}.z-10,[z-10=""]{z-index:10}.z-20,[z-20=""]{z-index:20}.grid,[grid=""]{display:grid}.grid-cols-2,[grid-cols-2=""]{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4,[grid-cols-4=""]{grid-template-columns:repeat(4,minmax(0,1fr))}[rows~="5"]{grid-template-rows:repeat(5,minmax(0,1fr))}.m-0,[m-0=""]{margin:0}.m-2,[m-2=""]{margin:.5rem}.mx-1,[mx-1=""]{margin-left:.25rem;margin-right:.25rem}.mx-2,[mx-2=""]{margin-left:.5rem;margin-right:.5rem}.-ml-6px{margin-left:-6px}.-mt-6px{margin-top:-6px}.ml-2,[ml-2=""]{margin-left:.5rem}.mr-5,[mr-5=""]{margin-right:1.25rem}.mr-7,[mr-7=""]{margin-right:1.75rem}.mt-30{margin-top:7.5rem}[ml-4=""]{margin-left:1rem}[mt-4=""]{margin-top:1rem}.box-border,[box-border=""]{box-sizing:border-box}.block,[block=""]{display:block}.inline-block,[inline-block=""]{display:inline-block}.hidden,[hidden=""]{display:none}.aspect-ratio-square,[aspect-ratio-square=""]{aspect-ratio:1/1}.aspect-ratio-video,.aspect-video,[aspect-ratio-video=""],[aspect-video=""]{aspect-ratio:16/9}.\!h-\[calc\(100\%-3\.75rem\)\]{height:calc(100% - 3.75rem)!important}.\!h-100vh{height:100vh!important}.h-\[calc\(100\%-2rem\)\]{height:calc(100% - 2rem)}.h-\[calc\(100\%-3\.25rem\)\]{height:calc(100% - 3.25rem)}.h-\[calc\(100\%-3rem\)\]{height:calc(100% - 3rem)}.h-0,[h-0=""]{height:0}.h-12px,[h-12px=""]{height:12px}.h-2px{height:2px}.h-3,[h-3=""]{height:.75rem}.h-4,[h-4=""]{height:1rem}.h-5,.h5,[h-5=""]{height:1.25rem}.h-50,[h-50=""]{height:12.5rem}.h-6,[h-6=""]{height:1.5rem}.h-8,[h-8=""]{height:2rem}.h-full,[h-full=""]{height:100%}.h1{height:.25rem}.max-w-md{max-width:28rem}.min-h-50,[min-h-50=""]{min-height:12.5rem}.min-w-16{min-width:4rem}.w-0,[w-0=""]{width:0}.w-1\.5em,[w-1\.5em=""]{width:1.5em}.w-10,[w-10=""]{width:2.5rem}.w-12,[w-12=""]{width:3rem}.w-12px,[w-12px=""]{width:12px}.w-20,[w-20=""]{width:5rem}.w-25,[w-25=""]{width:6.25rem}.w-2px{width:2px}.w-3,[w-3=""]{width:.75rem}.w-4,[w-4=""]{width:1rem}.w-5,[w-5=""]{width:1.25rem}.w-6,[w-6=""]{width:1.5rem}.w-60\%{width:60%}.w-8,[w-8=""]{width:2rem}.w-full,[w-full=""]{width:100%}.w-max,[w-max=""]{width:max-content}.w-min,[w-min=""]{width:min-content}.flex,[flex=""]{display:flex}.flex-1,[flex-1=""]{flex:1 1 0%}.shrink-0,[shrink-0=""]{flex-shrink:0}.grow,.grow-1,[grow-1=""],[grow=""],[grow~=true]{flex-grow:1}.flex-col,[flex-col=""]{flex-direction:column}.flex-wrap,[flex-wrap=""]{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default,[cursor-default=""]{cursor:default}.cursor-none{cursor:none}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none,[select-none=""]{-webkit-user-select:none;user-select:none}.items-start{align-items:flex-start}.items-center,[items-center=""]{align-items:center}.justify-center,[justify-center=""]{justify-content:center}.justify-between,[justify-between=""]{justify-content:space-between}.justify-around,[justify-around=""]{justify-content:space-around}.justify-evenly,[justify-evenly=""]{justify-content:space-evenly}.gap-1,[gap-1=""]{gap:.25rem}.gap-2,[gap-2=""]{gap:.5rem}.gap-3,[gap-3=""]{gap:.75rem}.gap-4,[gap-4=""]{gap:1rem}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.text-truncate,.truncate,[text-truncate=""],[truncate=""]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b,.b-1,[b-1=""],[b=""]{border-width:1px}.b-0,[b-0=""]{border-width:0px}.b-2px,[b-2px=""]{border-width:2px}.b-amber,[b-amber=""]{--un-border-opacity:1;border-color:rgb(251 191 36 / var(--un-border-opacity))}.b-gray-6,[b-gray-6=""]{--un-border-opacity:1;border-color:rgb(75 85 99 / var(--un-border-opacity))}.b-gray-7,[b-gray-7=""]{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.b-green,[b-green=""]{--un-border-opacity:1;border-color:rgb(74 222 128 / var(--un-border-opacity))}.b-transparent,[b-transparent=""]{border-color:transparent}.hover\:b-amber:hover,[hover\:b-amber=""]:hover{--un-border-opacity:1;border-color:rgb(251 191 36 / var(--un-border-opacity))}.b-t-gray-6,[b-t-gray-6=""]{--un-border-opacity:1;--un-border-top-opacity:var(--un-border-opacity);border-top-color:rgb(75 85 99 / var(--un-border-top-opacity))}.rounded,.rounded-1,[rounded-1=""],[rounded=""]{border-radius:.25rem}.rounded-2,[rounded-2=""]{border-radius:.5rem}.rounded-3,[rounded-3=""]{border-radius:.75rem}.rounded-4,[rounded-4=""]{border-radius:1rem}.rounded-5,[rounded-5=""]{border-radius:1.25rem}.rounded-6,[rounded-6=""]{border-radius:1.5rem}.rounded-t-2,[rounded-t-2=""]{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-bl-2,[rounded-bl-2=""]{border-bottom-left-radius:.5rem}.rounded-tl-2,[rounded-tl-2=""]{border-top-left-radius:.5rem}.rounded-tr-1,[rounded-tr-1=""]{border-top-right-radius:.25rem}.b-solid,[b-solid=""]{border-style:solid}.border-none{border-style:none}.b-y-solid,[b-y-solid=""]{border-top-style:solid;border-bottom-style:solid}.b-t-solid,[b-t-solid=""]{border-top-style:solid}.bg-amber,[bg-amber=""]{--un-bg-opacity:1;background-color:rgb(251 191 36 / var(--un-bg-opacity))}.bg-black,[bg-black=""]{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-dark,[bg-dark=""]{--un-bg-opacity:1;background-color:rgb(34 34 34 / var(--un-bg-opacity))}.bg-dark-6,[bg-dark-6=""]{--un-bg-opacity:1;background-color:rgb(28 28 30 / var(--un-bg-opacity))}.bg-dark-7,[bg-dark-7=""]{--un-bg-opacity:1;background-color:rgb(27 27 27 / var(--un-bg-opacity))}.bg-gray,.bg-gray-4,[bg-gray=""]{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity))}.bg-gray-7,[bg-gray-7=""]{--un-bg-opacity:1;background-color:rgb(55 65 81 / var(--un-bg-opacity))}.bg-green{--un-bg-opacity:1;background-color:rgb(74 222 128 / var(--un-bg-opacity))}.bg-green-5{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-green-7{--un-bg-opacity:1;background-color:rgb(21 128 61 / var(--un-bg-opacity))}.bg-red{--un-bg-opacity:1;background-color:rgb(248 113 113 / var(--un-bg-opacity))}.bg-transparent,[bg-transparent=""]{background-color:transparent}.bg-white,[bg-white=""]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-op-30,[bg-op-30=""]{--un-bg-opacity:.3}.bg-op-80,[bg-op-80=""]{--un-bg-opacity:.8}.hover\:bg-op-50:hover{--un-bg-opacity:.5}.p-1,.p1,[p-1=""],[p1=""]{padding:.25rem}.p-12{padding:3rem}.p-2,[p-2=""]{padding:.5rem}.p-3,[p-3=""]{padding:.75rem}[p-4=""]{padding:1rem}.px,.px-4,[px-4=""],[px=""]{padding-left:1rem;padding-right:1rem}.px-1,[px-1=""]{padding-left:.25rem;padding-right:.25rem}.px-2,[px-2=""]{padding-left:.5rem;padding-right:.5rem}.py-1,[py-1=""]{padding-top:.25rem;padding-bottom:.25rem}.py-2,[py-2=""]{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5,[py-2\.5=""]{padding-top:.625rem;padding-bottom:.625rem}.py-3,[py-3=""]{padding-top:.75rem;padding-bottom:.75rem}.py-4,[py-4=""]{padding-top:1rem;padding-bottom:1rem}.pb-2,[pb-2=""]{padding-bottom:.5rem}.pl-2,[pl-2=""]{padding-left:.5rem}.pl-3,[pl-3=""]{padding-left:.75rem}.pr-6,[pr-6=""]{padding-right:1.5rem}.pr-9,[pr-9=""]{padding-right:2.25rem}.pt-1,[pt-1=""]{padding-top:.25rem}.pt-2,[pt-2=""]{padding-top:.5rem}.pt-3,[pt-3=""]{padding-top:.75rem}.text-center,[text-center=""]{text-align:center}.text-3,[text-3=""]{font-size:.75rem}.text-4,[text-4=""]{font-size:1rem}.text-5{font-size:1.25rem}.text-6,[text-6=""]{font-size:1.5rem}.text-8,[text-8=""]{font-size:2rem}.text-lg,[text-lg=""]{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""]{font-size:1.25rem;line-height:1.75rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}.text-amber,[text-amber=""]{--un-text-opacity:1;color:rgb(251 191 36 / var(--un-text-opacity))}.text-green,[text-green=""]{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-green-5,[text-green-5=""]{--un-text-opacity:1;color:rgb(34 197 94 / var(--un-text-opacity))}.text-rose-4,[text-rose-4=""]{--un-text-opacity:1;color:rgb(251 113 133 / var(--un-text-opacity))}.text-white,[text-white=""]{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.hover\:text-amber:hover,[hover\:text-amber=""]:hover{--un-text-opacity:1;color:rgb(251 191 36 / var(--un-text-opacity))}[font-900=""]{font-weight:900}.leading-normal,[leading-normal=""]{line-height:1.5}.line-height-none,[line-height-none=""]{line-height:1}[line-height-8=""]{line-height:2rem}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.op-0,[op-0=""]{opacity:0}.outline-0,[outline-0=""]{outline-width:0px}.outline-none,[outline-none=""]{outline:2px solid transparent;outline-offset:2px}.blur,[blur=""]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.shadow,[shadow=""]{box-shadow:var(--shadow)}@media (min-width: 640px){.sm\:grid-cols-6,[sm\:grid-cols-6=""]{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\:gap-1,[sm\:gap-1=""]{gap:.25rem}.sm\:px-2,[sm\:px-2=""]{padding-left:.5rem;padding-right:.5rem}.sm\:pr-2,[sm\:pr-2=""]{padding-right:.5rem}.sm\:text-base,[sm\:text-base=""]{font-size:1rem;line-height:1.5rem}}@media (min-width: 768px){.md\:bottom-unset,[md\:bottom-unset=""]{bottom:unset}.md\:right-18,[md\:right-18=""]{right:4.5rem}.md\:right-auto,[md\:right-auto=""]{right:auto}.md\:top-0,[md\:top-0=""]{top:0}.md\:top-3,[md\:top-3=""]{top:.75rem}.md\:grid-cols-3,[md\:grid-cols-3=""]{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-8,[md\:grid-cols-8=""]{grid-template-columns:repeat(8,minmax(0,1fr))}.md\:mx-0,[md\:mx-0=""]{margin-left:0;margin-right:0}.md\:ml-17\.5{margin-left:4.375rem}.md\:mr-24,[md\:mr-24=""]{margin-right:6rem}.md\:\!h-100vh{height:100vh!important}.md\:flex-col,[md\:flex-col=""]{flex-direction:column}.md\:justify-left,[md\:justify-left=""]{justify-content:left}.md\:rounded-6px,[md\:rounded-6px=""]{border-radius:6px}.md\:b-r-solid,[md\:b-r-solid=""]{border-right-style:solid}.md\:px-2,[md\:px-2=""]{padding-left:.5rem;padding-right:.5rem}.md\:px-3,[md\:px-3=""]{padding-left:.75rem;padding-right:.75rem}.md\:py-2,[md\:py-2=""]{padding-top:.5rem;padding-bottom:.5rem}.md\:pb-2,[md\:pb-2=""]{padding-bottom:.5rem}.md\:pr-3,[md\:pr-3=""]{padding-right:.75rem}.md\:text-4,[md\:text-4=""]{font-size:1rem}.md\:text-5,[md\:text-5=""]{font-size:1.25rem}.md\:text-sm,[md\:text-sm=""]{font-size:.875rem;line-height:1.25rem}.md\:text-inherit,[md\:text-inherit=""]{color:inherit}}@media (min-width: 1024px){.lg\:grid-cols-10,[lg\:grid-cols-10=""]{grid-template-columns:repeat(10,minmax(0,1fr))}.lg\:ml-3,[lg\:ml-3=""]{margin-left:.75rem}.lg\:block,[lg\:block=""]{display:block}.lg\:w-80,[lg\:w-80=""]{width:20rem}.lg\:grow-0,[lg\:grow-0=""]{flex-grow:0}.lg\:grow-5,[lg\:grow-5=""]{flex-grow:5}.lg\:flex-row,[lg\:flex-row=""]{flex-direction:row}.lg\:justify-center,[lg\:justify-center=""]{justify-content:center}.lg\:b-l-gray-7,[lg\:b-l-gray-7=""]{--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgb(55 65 81 / var(--un-border-left-opacity))}.lg\:b-l-solid,[lg\:b-l-solid=""]{border-left-style:solid}.lg-pt-12,[lg-pt-12=""]{padding-top:3rem}.lg\:pl-3,[lg\:pl-3=""]{padding-left:.75rem}.lg\:pr-0,[lg\:pr-0=""]{padding-right:0}}@media (min-width: 1280px){.xl\:grid-cols-15,[xl\:grid-cols-15=""]{grid-template-columns:repeat(15,minmax(0,1fr))}.xl\:grid-cols-4,[xl\:grid-cols-4=""]{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:w-100,[xl\:w-100=""]{width:25rem}}@media (min-width: 1536px){.\32xl\:grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.\32xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}
|
1
|
+
:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;color:#ffffffde;background-color:#181818;--shadow: 0 2px 4px -2px rgba(0, 0, 0, .8);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{color:inherit;text-decoration:inherit}body{margin:0}.scrolly{box-sizing:border-box;overflow-y:auto}.scrolly::-webkit-scrollbar{height:4px;width:4px;background-color:transparent}.scrolly::-webkit-scrollbar-thumb{background-color:#ffffff5f;border-radius:4px}.scrolly::-webkit-scrollbar-thumb:hover{background-color:#ffffff8f}.scrolly::-webkit-scrollbar-track{border-radius:4px}.scrollx{overflow-x:auto}.scrollx::-webkit-scrollbar{height:0;width:0}.i-mdi-fire{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.66 11.2c-.23-.3-.51-.56-.77-.82c-.67-.6-1.43-1.03-2.07-1.66C13.33 7.26 13 4.85 13.95 3c-.95.23-1.78.75-2.49 1.32c-2.59 2.08-3.61 5.75-2.39 8.9c.04.1.08.2.08.33c0 .22-.15.42-.35.5c-.23.1-.47.04-.66-.12a.6.6 0 0 1-.14-.17c-1.13-1.43-1.31-3.48-.55-5.12C5.78 10 4.87 12.3 5 14.47c.06.5.12 1 .29 1.5c.14.6.41 1.2.71 1.73c1.08 1.73 2.95 2.97 4.96 3.22c2.14.27 4.43-.12 6.07-1.6c1.83-1.66 2.47-4.32 1.53-6.6l-.13-.26c-.21-.46-.77-1.26-.77-1.26m-3.16 6.3c-.28.24-.74.5-1.1.6c-1.12.4-2.24-.16-2.9-.82c1.19-.28 1.9-1.16 2.11-2.05c.17-.8-.15-1.46-.28-2.23c-.12-.74-.1-1.37.17-2.06c.19.38.39.76.63 1.06c.77 1 1.98 1.44 2.24 2.8c.04.14.06.28.06.43c.03.82-.33 1.72-.93 2.27'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-mdi-fit-to-screen{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 4h3c1.1 0 2 .9 2 2v2h-2V6h-3zM4 8V6h3V4H4c-1.1 0-2 .9-2 2v2zm16 8v2h-3v2h3c1.1 0 2-.9 2-2v-2zM7 18H4v-2H2v2c0 1.1.9 2 2 2h3zM18 8H6v8h12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-mdi-heart-off-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M2.39 1.73L1.11 3l2.08 2.08C2.45 6 2 7.19 2 8.5c0 3.77 3.4 6.86 8.55 11.53L12 21.35l1.45-1.32c.87-.79 1.69-1.53 2.45-2.24L20 22l1.27-1.27m-9.17-2.18l-.1.1l-.11-.1C7.14 14.24 4 11.39 4 8.5c0-.76.22-1.44.61-2l9.89 9.87c-.76.69-1.55 1.41-2.4 2.18M8.3 5.1L6.33 3.13C6.7 3.05 7.1 3 7.5 3c1.74 0 3.41.81 4.5 2.08C13.09 3.81 14.76 3 16.5 3C19.58 3 22 5.41 22 8.5c0 2.34-1.31 4.42-3.53 6.77l-1.41-1.41C18.91 11.88 20 10.2 20 8.5c0-2-1.5-3.5-3.5-3.5c-1.4 0-2.76.83-3.39 2h-2.22c-.51-.94-1.5-1.66-2.59-1.9'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-add-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-apps-2-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 11.5a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9m0 10a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9m10-10a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9m0 10a4.5 4.5 0 1 1 0-9a4.5 4.5 0 0 1 0 9M7 9.5a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m0 10a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m10-10a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5m0 10a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-arrow-down-circle-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12S6.48 2 12 2m0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8s-8 3.58-8 8s3.58 8 8 8m1-8h3l-4 4l-4-4h3V8h2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-arrow-left-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.828 11H20v2H7.828l5.364 5.364l-1.414 1.414L4 12l7.778-7.778l1.414 1.414z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-arrow-right-s-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m16 12l-6 6V6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-close-circle-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-delete-bin-3-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20 7v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7H2V5h20v2zM6 7v13h12V7zm5 2h2v2h-2zm0 3h2v2h-2zm0 3h2v2h-2zM7 2h10v2H7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-fullscreen-exit-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18 7h4v2h-6V3h2zM8 9H2V7h4V3h2zm10 8v4h-2v-6h6v2zM8 15v6H6v-4H2v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-fullscreen-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 3h6v6h-2V5h-4zM2 3h6v2H4v4H2zm18 16v-4h2v6h-6v-2zM4 19h4v2H2v-6h2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-heart-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12.001 4.529a6 6 0 0 1 8.242.228a6 6 0 0 1 .236 8.236l-8.48 8.492l-8.478-8.492a6 6 0 0 1 8.48-8.464'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-heart-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12.001 4.529a6 6 0 0 1 8.242.228a6 6 0 0 1 .236 8.236l-8.48 8.492l-8.478-8.492a6 6 0 0 1 8.48-8.464m6.826 1.641a4 4 0 0 0-5.49-.153l-1.335 1.198l-1.336-1.197a4 4 0 0 0-5.686 5.605L12 18.654l7.02-7.03a4 4 0 0 0-.193-5.454'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-home-smile-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6 19h12V9.157l-6-5.454l-6 5.454zm13 2H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9a1 1 0 0 1-1 1M7.5 13h2a2.5 2.5 0 0 0 5 0h2a4.5 4.5 0 1 1-9 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-link{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18.364 15.536L16.95 14.12l1.414-1.414a5 5 0 0 0-7.071-7.071L9.878 7.05L8.464 5.636l1.414-1.414a7 7 0 0 1 9.9 9.9zm-2.829 2.828l-1.414 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 0 0 7.07 7.071l1.415-1.414zm-.707-10.607l1.415 1.415l-7.072 7.07l-1.414-1.414z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-menu-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 4h18v2H3zm0 7h18v2H3zm0 7h18v2H3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-menu-unfold-3-line-2{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 4H3v2h14zm-4 7H3v2h10zm4 7H3v2h14zm-1.01-9.186L17.404 7.4L22 11.996l-4.596 4.596l-1.414-1.414l3.182-3.182z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-pause-large-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6 3h2v18H6zm10 0h2v18h-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-picture-in-picture-2-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 3a1 1 0 0 1 1 1v7h-2V5H4v14h6v2H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm0 10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1zm-1 2h-6v4h6zM6.707 6.293l2.25 2.25L11 6.5V12H5.5l2.043-2.043l-2.25-2.25z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-picture-in-picture-exit-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 3a1 1 0 0 1 1 1v7h-2V5H4v14h6v2H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm0 10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1zm-1 2h-6v4h6zm-8.5-8L9.457 9.043l2.25 2.25l-1.414 1.414l-2.25-2.25L6 12.5V7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-play-large-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6 20.196V3.804a1 1 0 0 1 1.53-.848l13.113 8.196a1 1 0 0 1 0 1.696L7.53 21.044A1 1 0 0 1 6 20.196'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-refresh-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.463 4.433A9.96 9.96 0 0 1 12 2c5.523 0 10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228zm13.074 15.134A9.96 9.96 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-search-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m18.031 16.617l4.283 4.282l-1.415 1.415l-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9s9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617m-2.006-.742A6.98 6.98 0 0 0 18 11c0-3.867-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7a6.98 6.98 0 0 0 4.875-1.975z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-subtract-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 11H5v2h14z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-sun-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-sun-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12m0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-user-smile-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m-5-8h2a3 3 0 1 0 6 0h2a5 5 0 0 1-10 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-volume-down-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8.889 16H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387zm9.974.591l-1.422-1.422A4 4 0 0 0 19 12c0-1.43-.75-2.685-1.88-3.392l1.439-1.439A5.99 5.99 0 0 1 21 12c0 1.842-.83 3.49-2.137 4.591'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-volume-down-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 7.22L9.603 10H6v4h3.603L13 16.78zM8.889 16H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387zm9.974.591l-1.422-1.422A4 4 0 0 0 19 12c0-1.43-.75-2.685-1.88-3.392l1.439-1.439A5.99 5.99 0 0 1 21 12c0 1.842-.83 3.49-2.137 4.591'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-volume-mute-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 7.22L6.603 10H3v4h3.603L10 16.78zM5.889 16H2a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387zm14.525-4l3.536 3.536l-1.415 1.414L19 13.414l-3.536 3.536l-1.414-1.414L17.586 12L14.05 8.465l1.414-1.415L19 10.586l3.535-3.536l1.415 1.415z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.i-ri-volume-up-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='sub' cursor='pointer' width='1.5em' height='1.5em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M2 16h3.889l5.294 4.332a.5.5 0 0 0 .817-.387V4.055a.5.5 0 0 0-.817-.387L5.89 8H2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1m21-4c0 3.292-1.446 6.246-3.738 8.262l-1.418-1.418A8.98 8.98 0 0 0 21 12a8.98 8.98 0 0 0-3.155-6.844l1.417-1.418A10.97 10.97 0 0 1 23 12m-5 0a5.99 5.99 0 0 0-2.287-4.713l-1.429 1.429A4 4 0 0 1 16 12c0 1.36-.679 2.561-1.716 3.284l1.43 1.43A5.99 5.99 0 0 0 18 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:sub;cursor:pointer;width:1.5em;height:1.5em}.\!pos-fixed{position:fixed!important}.absolute,.pos-absolute,[absolute=""],[pos-absolute=""]{position:absolute}.fixed,.pos-fixed,[fixed=""],[pos-fixed=""]{position:fixed}.pos-relative,.relative,[pos-relative=""]{position:relative}.bottom-0,[bottom-0=""]{bottom:0}.bottom-16,[bottom-16=""]{bottom:4rem}.left-0,[left-0=""]{left:0}.left-1,[left-1=""]{left:.25rem}.left-2,[left-2=""]{left:.5rem}.left-4{left:1rem}.left-50\%{left:50%}.right-0,[right-0=""]{right:0}.right-2{right:.5rem}.right-3,[right-3=""]{right:.75rem}.right-4,[right-4=""]{right:1rem}.top-0,[top-0=""]{top:0}.top-1,[top-1=""]{top:.25rem}.top-2,[top-2=""]{top:.5rem}.top-50\%{top:50%}.z-1,[z-1=""]{z-index:1}.z-10,[z-10=""]{z-index:10}.z-20,[z-20=""]{z-index:20}.grid,[grid=""]{display:grid}.grid-cols-2,[grid-cols-2=""]{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4,[grid-cols-4=""]{grid-template-columns:repeat(4,minmax(0,1fr))}[rows~="5"]{grid-template-rows:repeat(5,minmax(0,1fr))}.m-0,[m-0=""]{margin:0}.m-2,[m-2=""]{margin:.5rem}.mx-1,[mx-1=""]{margin-left:.25rem;margin-right:.25rem}.mx-2,[mx-2=""]{margin-left:.5rem;margin-right:.5rem}.mx-auto,[mx-auto=""]{margin-left:auto;margin-right:auto}.-ml-6px{margin-left:-6px}.-mt-6px{margin-top:-6px}.ml-2,[ml-2=""]{margin-left:.5rem}.mr-5,[mr-5=""]{margin-right:1.25rem}.mr-7,[mr-7=""]{margin-right:1.75rem}.mt-30{margin-top:7.5rem}[ml-4=""]{margin-left:1rem}[mt-4=""]{margin-top:1rem}.box-border,[box-border=""]{box-sizing:border-box}.block,[block=""]{display:block}.inline-block,[inline-block=""]{display:inline-block}.hidden,[hidden=""]{display:none}.aspect-ratio-square,[aspect-ratio-square=""]{aspect-ratio:1/1}.aspect-ratio-video,.aspect-video,[aspect-ratio-video=""],[aspect-video=""]{aspect-ratio:16/9}.\!h-\[calc\(100\%-3\.75rem\)\]{height:calc(100% - 3.75rem)!important}.\!h-100vh{height:100vh!important}.h-\[calc\(100\%-2rem\)\]{height:calc(100% - 2rem)}.h-\[calc\(100\%-3\.25rem\)\]{height:calc(100% - 3.25rem)}.h-\[calc\(100\%-3rem\)\]{height:calc(100% - 3rem)}.h-0,[h-0=""]{height:0}.h-12px,[h-12px=""]{height:12px}.h-2px{height:2px}.h-3,[h-3=""]{height:.75rem}.h-4,[h-4=""]{height:1rem}.h-5,.h5,[h-5=""]{height:1.25rem}.h-50,[h-50=""]{height:12.5rem}.h-6,[h-6=""]{height:1.5rem}.h-8,[h-8=""]{height:2rem}.h-full,[h-full=""]{height:100%}.h1{height:.25rem}.max-w-md{max-width:28rem}.min-h-50,[min-h-50=""]{min-height:12.5rem}.min-w-16{min-width:4rem}.w-0,[w-0=""]{width:0}.w-1\.5em,[w-1\.5em=""]{width:1.5em}.w-10,[w-10=""]{width:2.5rem}.w-12,[w-12=""]{width:3rem}.w-12px,[w-12px=""]{width:12px}.w-20,[w-20=""]{width:5rem}.w-25,[w-25=""]{width:6.25rem}.w-2px{width:2px}.w-3,[w-3=""]{width:.75rem}.w-4,[w-4=""]{width:1rem}.w-5,[w-5=""]{width:1.25rem}.w-6,[w-6=""]{width:1.5rem}.w-60\%{width:60%}.w-8,[w-8=""]{width:2rem}.w-full,[w-full=""]{width:100%}.w-max,[w-max=""]{width:max-content}.w-min,[w-min=""]{width:min-content}.flex,[flex=""]{display:flex}.flex-1,[flex-1=""]{flex:1 1 0%}.shrink-0,[shrink-0=""]{flex-shrink:0}.grow,.grow-1,[grow-1=""],[grow=""],[grow~=true]{flex-grow:1}.flex-col,[flex-col=""]{flex-direction:column}.flex-wrap,[flex-wrap=""]{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default,[cursor-default=""]{cursor:default}.cursor-none{cursor:none}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none,[select-none=""]{-webkit-user-select:none;user-select:none}.items-start{align-items:flex-start}.items-center,[items-center=""]{align-items:center}.justify-center,[justify-center=""]{justify-content:center}.justify-between,[justify-between=""]{justify-content:space-between}.justify-around,[justify-around=""]{justify-content:space-around}.justify-evenly,[justify-evenly=""]{justify-content:space-evenly}.gap-1,[gap-1=""]{gap:.25rem}.gap-2,[gap-2=""]{gap:.5rem}.gap-3,[gap-3=""]{gap:.75rem}.gap-4,[gap-4=""]{gap:1rem}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.text-truncate,.truncate,[text-truncate=""],[truncate=""]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b,.b-1,[b-1=""],[b=""]{border-width:1px}.b-0,[b-0=""]{border-width:0px}.b-2px,[b-2px=""]{border-width:2px}.b-gray-6,[b-gray-6=""]{--un-border-opacity:1;border-color:rgb(75 85 99 / var(--un-border-opacity))}.b-gray-7,[b-gray-7=""]{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.b-green,[b-green=""]{--un-border-opacity:1;border-color:rgb(74 222 128 / var(--un-border-opacity))}.b-transparent,[b-transparent=""]{border-color:transparent}.hover\:b-amber:hover,[hover\:b-amber=""]:hover{--un-border-opacity:1;border-color:rgb(251 191 36 / var(--un-border-opacity))}.b-t-gray-6,[b-t-gray-6=""]{--un-border-opacity:1;--un-border-top-opacity:var(--un-border-opacity);border-top-color:rgb(75 85 99 / var(--un-border-top-opacity))}.rounded,.rounded-1,[rounded-1=""],[rounded=""]{border-radius:.25rem}.rounded-2,[rounded-2=""]{border-radius:.5rem}.rounded-3,[rounded-3=""]{border-radius:.75rem}.rounded-4,[rounded-4=""]{border-radius:1rem}.rounded-5,[rounded-5=""]{border-radius:1.25rem}.rounded-6,[rounded-6=""]{border-radius:1.5rem}.rounded-t-2,[rounded-t-2=""]{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-bl-2,[rounded-bl-2=""]{border-bottom-left-radius:.5rem}.rounded-tl-2,[rounded-tl-2=""]{border-top-left-radius:.5rem}.rounded-tr-1,[rounded-tr-1=""]{border-top-right-radius:.25rem}.b-solid,[b-solid=""]{border-style:solid}.border-none{border-style:none}.b-y-solid,[b-y-solid=""]{border-top-style:solid;border-bottom-style:solid}.b-t-solid,[b-t-solid=""]{border-top-style:solid}.bg-amber,[bg-amber=""]{--un-bg-opacity:1;background-color:rgb(251 191 36 / var(--un-bg-opacity))}.bg-black,[bg-black=""]{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-dark,[bg-dark=""]{--un-bg-opacity:1;background-color:rgb(34 34 34 / var(--un-bg-opacity))}.bg-dark-6,[bg-dark-6=""]{--un-bg-opacity:1;background-color:rgb(28 28 30 / var(--un-bg-opacity))}.bg-dark-7,[bg-dark-7=""]{--un-bg-opacity:1;background-color:rgb(27 27 27 / var(--un-bg-opacity))}.bg-gray,.bg-gray-4,[bg-gray=""]{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity))}.bg-gray-7,[bg-gray-7=""]{--un-bg-opacity:1;background-color:rgb(55 65 81 / var(--un-bg-opacity))}.bg-green{--un-bg-opacity:1;background-color:rgb(74 222 128 / var(--un-bg-opacity))}.bg-green-5{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-green-7{--un-bg-opacity:1;background-color:rgb(21 128 61 / var(--un-bg-opacity))}.bg-red{--un-bg-opacity:1;background-color:rgb(248 113 113 / var(--un-bg-opacity))}.bg-transparent,[bg-transparent=""]{background-color:transparent}.bg-white,[bg-white=""]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-op-30,[bg-op-30=""]{--un-bg-opacity:.3}.bg-op-80,[bg-op-80=""]{--un-bg-opacity:.8}.hover\:bg-op-50:hover{--un-bg-opacity:.5}.p-1,.p1,[p-1=""],[p1=""]{padding:.25rem}.p-12{padding:3rem}.p-2,[p-2=""]{padding:.5rem}.p-3,[p-3=""]{padding:.75rem}[p-4=""]{padding:1rem}.px,.px-4,[px-4=""],[px=""]{padding-left:1rem;padding-right:1rem}.px-1,[px-1=""]{padding-left:.25rem;padding-right:.25rem}.px-2,[px-2=""]{padding-left:.5rem;padding-right:.5rem}.py-1,[py-1=""]{padding-top:.25rem;padding-bottom:.25rem}.py-2,[py-2=""]{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5,[py-2\.5=""]{padding-top:.625rem;padding-bottom:.625rem}.py-3,[py-3=""]{padding-top:.75rem;padding-bottom:.75rem}.py-4,[py-4=""]{padding-top:1rem;padding-bottom:1rem}.pb-2,[pb-2=""]{padding-bottom:.5rem}.pl-2,[pl-2=""]{padding-left:.5rem}.pl-3,[pl-3=""]{padding-left:.75rem}.pr-6,[pr-6=""]{padding-right:1.5rem}.pr-9,[pr-9=""]{padding-right:2.25rem}.pt-1,[pt-1=""]{padding-top:.25rem}.pt-2,[pt-2=""]{padding-top:.5rem}.pt-3,[pt-3=""]{padding-top:.75rem}.text-center,[text-center=""]{text-align:center}.text-3,[text-3=""]{font-size:.75rem}.text-4,[text-4=""]{font-size:1rem}.text-5{font-size:1.25rem}.text-6,[text-6=""]{font-size:1.5rem}.text-8,[text-8=""]{font-size:2rem}.text-lg,[text-lg=""]{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""]{font-size:1.25rem;line-height:1.75rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}.text-amber,[text-amber=""]{--un-text-opacity:1;color:rgb(251 191 36 / var(--un-text-opacity))}.text-fuchsia-5,[text-fuchsia-5=""]{--un-text-opacity:1;color:rgb(217 70 239 / var(--un-text-opacity))}.text-green,[text-green=""]{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-green-5,[text-green-5=""]{--un-text-opacity:1;color:rgb(34 197 94 / var(--un-text-opacity))}.text-white,[text-white=""]{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.hover\:text-amber:hover,[hover\:text-amber=""]:hover{--un-text-opacity:1;color:rgb(251 191 36 / var(--un-text-opacity))}[font-900=""]{font-weight:900}.leading-normal,[leading-normal=""]{line-height:1.5}.line-height-none,[line-height-none=""]{line-height:1}[line-height-8=""]{line-height:2rem}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.op-0,[op-0=""]{opacity:0}.outline-0,[outline-0=""]{outline-width:0px}.outline-none,[outline-none=""]{outline:2px solid transparent;outline-offset:2px}.blur,[blur=""]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.shadow,[shadow=""]{box-shadow:var(--shadow)}@media (min-width: 640px){.sm\:grid-cols-6,[sm\:grid-cols-6=""]{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\:gap-1,[sm\:gap-1=""]{gap:.25rem}.sm\:px-2,[sm\:px-2=""]{padding-left:.5rem;padding-right:.5rem}.sm\:pr-2,[sm\:pr-2=""]{padding-right:.5rem}.sm\:text-base,[sm\:text-base=""]{font-size:1rem;line-height:1.5rem}}@media (min-width: 768px){.md\:bottom-unset,[md\:bottom-unset=""]{bottom:unset}.md\:right-18,[md\:right-18=""]{right:4.5rem}.md\:right-auto,[md\:right-auto=""]{right:auto}.md\:top-0,[md\:top-0=""]{top:0}.md\:top-3,[md\:top-3=""]{top:.75rem}.md\:grid-cols-3,[md\:grid-cols-3=""]{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-8,[md\:grid-cols-8=""]{grid-template-columns:repeat(8,minmax(0,1fr))}.md\:mx-0,[md\:mx-0=""]{margin-left:0;margin-right:0}.md\:ml-17\.5{margin-left:4.375rem}.md\:mr-24,[md\:mr-24=""]{margin-right:6rem}.md\:\!h-100vh{height:100vh!important}.md\:flex-col,[md\:flex-col=""]{flex-direction:column}.md\:justify-left,[md\:justify-left=""]{justify-content:left}.md\:rounded-6px,[md\:rounded-6px=""]{border-radius:6px}.md\:b-r-solid,[md\:b-r-solid=""]{border-right-style:solid}.md\:px-2,[md\:px-2=""]{padding-left:.5rem;padding-right:.5rem}.md\:px-3,[md\:px-3=""]{padding-left:.75rem;padding-right:.75rem}.md\:py-2,[md\:py-2=""]{padding-top:.5rem;padding-bottom:.5rem}.md\:pb-2,[md\:pb-2=""]{padding-bottom:.5rem}.md\:pr-3,[md\:pr-3=""]{padding-right:.75rem}.md\:text-4,[md\:text-4=""]{font-size:1rem}.md\:text-5,[md\:text-5=""]{font-size:1.25rem}.md\:text-sm,[md\:text-sm=""]{font-size:.875rem;line-height:1.25rem}.md\:text-inherit,[md\:text-inherit=""]{color:inherit}}@media (min-width: 1024px){.lg\:grid-cols-10,[lg\:grid-cols-10=""]{grid-template-columns:repeat(10,minmax(0,1fr))}.lg\:ml-3,[lg\:ml-3=""]{margin-left:.75rem}.lg\:block,[lg\:block=""]{display:block}.lg\:w-80,[lg\:w-80=""]{width:20rem}.lg\:grow-0,[lg\:grow-0=""]{flex-grow:0}.lg\:grow-5,[lg\:grow-5=""]{flex-grow:5}.lg\:flex-row,[lg\:flex-row=""]{flex-direction:row}.lg\:justify-center,[lg\:justify-center=""]{justify-content:center}.lg\:b-l-gray-7,[lg\:b-l-gray-7=""]{--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgb(55 65 81 / var(--un-border-left-opacity))}.lg\:b-l-solid,[lg\:b-l-solid=""]{border-left-style:solid}.lg-pt-12,[lg-pt-12=""]{padding-top:3rem}.lg\:pl-3,[lg\:pl-3=""]{padding-left:.75rem}.lg\:pr-0,[lg\:pr-0=""]{padding-right:0}}@media (min-width: 1280px){.xl\:grid-cols-15,[xl\:grid-cols-15=""]{grid-template-columns:repeat(15,minmax(0,1fr))}.xl\:grid-cols-4,[xl\:grid-cols-4=""]{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:w-100,[xl\:w-100=""]{width:25rem}}@media (min-width: 1536px){.\32xl\:grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.\32xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}
|
package/dist/lemon.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var uo=Object.defineProperty;var fo=(n,e,t)=>e in n?uo(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var X=(n,e,t)=>fo(n,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))c(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const r of l.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&c(r)}).observe(document,{childList:!0,subtree:!0});function t(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function c(s){if(s.ep)return;s.ep=!0;const l=t(s);fetch(s.href,l)}})();const vo=Vue.createApp,d=Vue.createElementVNode,w=Vue.openBlock,M=Vue.createElementBlock,I=Vue.ref,de=Vue.reactive,ze=Vue.watchEffect,J=Vue.computed,K=Vue.defineComponent,m=Vue.unref,ve=Vue.createCommentVNode,le=Vue.renderList,q=Vue.Fragment,$=Vue.normalizeClass,Xe=Vue.resolveComponent,F=Vue.withCtx,B=Vue.createVNode,ne=Vue.vShow,N=Vue.withDirectives,Be=Vue.resolveDynamicComponent,G=Vue.createBlock,po=Vue.KeepAlive,Ae=Vue.onMounted,re=Vue.watch,U=Vue.toDisplayString,be=Vue.normalizeStyle,Y=Vue.withModifiers,pe=Vue.isRef,Le=Vue.createTextVNode,ft=Vue.resolveDirective,vt=Vue.vModelText,mo=Vue.shallowRef,ct=Vue.nextTick,ot=Vue.onBeforeUnmount,Ut=Vue.onActivated,ho=Vue.withKeys;Vue.h;const go=Vue.onDeactivated,yo=Vue.onUnmounted,Ve=Vue.useModel,Ue=Vue.mergeModels,wo=Vue.renderSlot,zt=Vue.useSlots,xo=Vue.provide,ko=Vue.inject,bo=Vue.getCurrentInstance;var Ze={exports:{}};Ze.exports;var Mt;function _o(){return Mt||(Mt=1,function(n){var e=function(){var t=String.fromCharCode,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",l={};function r(a,u){if(!l[a]){l[a]={};for(var f=0;f<a.length;f++)l[a][a.charAt(f)]=f}return l[a][u]}var i={compressToBase64:function(a){if(a==null)return"";var u=i._compress(a,6,function(f){return c.charAt(f)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(a){return a==null?"":a==""?null:i._decompress(a.length,32,function(u){return r(c,a.charAt(u))})},compressToUTF16:function(a){return a==null?"":i._compress(a,15,function(u){return t(u+32)})+" "},decompressFromUTF16:function(a){return a==null?"":a==""?null:i._decompress(a.length,16384,function(u){return a.charCodeAt(u)-32})},compressToUint8Array:function(a){for(var u=i.compress(a),f=new Uint8Array(u.length*2),p=0,h=u.length;p<h;p++){var T=u.charCodeAt(p);f[p*2]=T>>>8,f[p*2+1]=T%256}return f},decompressFromUint8Array:function(a){if(a==null)return i.decompress(a);for(var u=new Array(a.length/2),f=0,p=u.length;f<p;f++)u[f]=a[f*2]*256+a[f*2+1];var h=[];return u.forEach(function(T){h.push(t(T))}),i.decompress(h.join(""))},compressToEncodedURIComponent:function(a){return a==null?"":i._compress(a,6,function(u){return s.charAt(u)})},decompressFromEncodedURIComponent:function(a){return a==null?"":a==""?null:(a=a.replace(/ /g,"+"),i._decompress(a.length,32,function(u){return r(s,a.charAt(u))}))},compress:function(a){return i._compress(a,16,function(u){return t(u)})},_compress:function(a,u,f){if(a==null)return"";var p,h,T={},z={},S="",C="",_="",V=2,j=3,E=2,L=[],g=0,k=0,A;for(A=0;A<a.length;A+=1)if(S=a.charAt(A),Object.prototype.hasOwnProperty.call(T,S)||(T[S]=j++,z[S]=!0),C=_+S,Object.prototype.hasOwnProperty.call(T,C))_=C;else{if(Object.prototype.hasOwnProperty.call(z,_)){if(_.charCodeAt(0)<256){for(p=0;p<E;p++)g=g<<1,k==u-1?(k=0,L.push(f(g)),g=0):k++;for(h=_.charCodeAt(0),p=0;p<8;p++)g=g<<1|h&1,k==u-1?(k=0,L.push(f(g)),g=0):k++,h=h>>1}else{for(h=1,p=0;p<E;p++)g=g<<1|h,k==u-1?(k=0,L.push(f(g)),g=0):k++,h=0;for(h=_.charCodeAt(0),p=0;p<16;p++)g=g<<1|h&1,k==u-1?(k=0,L.push(f(g)),g=0):k++,h=h>>1}V--,V==0&&(V=Math.pow(2,E),E++),delete z[_]}else for(h=T[_],p=0;p<E;p++)g=g<<1|h&1,k==u-1?(k=0,L.push(f(g)),g=0):k++,h=h>>1;V--,V==0&&(V=Math.pow(2,E),E++),T[C]=j++,_=String(S)}if(_!==""){if(Object.prototype.hasOwnProperty.call(z,_)){if(_.charCodeAt(0)<256){for(p=0;p<E;p++)g=g<<1,k==u-1?(k=0,L.push(f(g)),g=0):k++;for(h=_.charCodeAt(0),p=0;p<8;p++)g=g<<1|h&1,k==u-1?(k=0,L.push(f(g)),g=0):k++,h=h>>1}else{for(h=1,p=0;p<E;p++)g=g<<1|h,k==u-1?(k=0,L.push(f(g)),g=0):k++,h=0;for(h=_.charCodeAt(0),p=0;p<16;p++)g=g<<1|h&1,k==u-1?(k=0,L.push(f(g)),g=0):k++,h=h>>1}V--,V==0&&(V=Math.pow(2,E),E++),delete z[_]}else for(h=T[_],p=0;p<E;p++)g=g<<1|h&1,k==u-1?(k=0,L.push(f(g)),g=0):k++,h=h>>1;V--,V==0&&(V=Math.pow(2,E),E++)}for(h=2,p=0;p<E;p++)g=g<<1|h&1,k==u-1?(k=0,L.push(f(g)),g=0):k++,h=h>>1;for(;;)if(g=g<<1,k==u-1){L.push(f(g));break}else k++;return L.join("")},decompress:function(a){return a==null?"":a==""?null:i._decompress(a.length,32768,function(u){return a.charCodeAt(u)})},_decompress:function(a,u,f){var p=[],h=4,T=4,z=3,S="",C=[],_,V,j,E,L,g,k,A={val:f(0),position:u,index:1};for(_=0;_<3;_+=1)p[_]=_;for(j=0,L=Math.pow(2,2),g=1;g!=L;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=f(A.index++)),j|=(E>0?1:0)*g,g<<=1;switch(j){case 0:for(j=0,L=Math.pow(2,8),g=1;g!=L;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=f(A.index++)),j|=(E>0?1:0)*g,g<<=1;k=t(j);break;case 1:for(j=0,L=Math.pow(2,16),g=1;g!=L;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=f(A.index++)),j|=(E>0?1:0)*g,g<<=1;k=t(j);break;case 2:return""}for(p[3]=k,V=k,C.push(k);;){if(A.index>a)return"";for(j=0,L=Math.pow(2,z),g=1;g!=L;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=f(A.index++)),j|=(E>0?1:0)*g,g<<=1;switch(k=j){case 0:for(j=0,L=Math.pow(2,8),g=1;g!=L;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=f(A.index++)),j|=(E>0?1:0)*g,g<<=1;p[T++]=t(j),k=T-1,h--;break;case 1:for(j=0,L=Math.pow(2,16),g=1;g!=L;)E=A.val&A.position,A.position>>=1,A.position==0&&(A.position=u,A.val=f(A.index++)),j|=(E>0?1:0)*g,g<<=1;p[T++]=t(j),k=T-1,h--;break;case 2:return C.join("")}if(h==0&&(h=Math.pow(2,z),z++),p[k])S=p[k];else if(k===T)S=V+V.charAt(0);else return null;C.push(S),p[T++]=V+S.charAt(0),h--,V=S,h==0&&(h=Math.pow(2,z),z++)}}};return i}();n!=null?n.exports=e:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return e})}(Ze)),Ze.exports}var Vt=_o();const et=(n,e)=>{let t=-1;const c=n.length,s=new Array(c);for(;++t<c;)s[t]=e(n[t]);return s},Ft=(n,e)=>{let t=-1;const c=n.length;for(;++t<c;)e(n[t])},So=n=>{if(n.scrollTop>0)return!0;n.scrollTop=1;const e=!!n.scrollTop;return n.scrollTop=0,e},Ao=async(n,e,t)=>{const c=[],s=[];for(const l of n){const r=Promise.resolve().then(()=>t(l));if(c.push(r),e<=n.length){const i=r.then(()=>s.splice(s.indexOf(i),1));s.push(i),s.length>=e&&await Promise.race(s)}}return Promise.all(c)},Co="https://lemonlive.deno.dev/api/",Pt="https://lemonlivesync.deno.dev/",ce=(n,e,t)=>(n=="douyin"&&(t?t.cookie=se[n]:t={cookie:se[n]}),pt(`${Co}${n}/${e}${t?"?"+new URLSearchParams(t).toString():""}`)),dt=async n=>{const e=Object.keys(n.follows);if(!e.length)return Promise.resolve(!1);if(n.id=="douyin"){(await Ao(e,4,c=>ce("douyin","getLiveStatus",{id:c}))).forEach((c,s)=>n.follows[e[s]].status=c[e[s]].status);return}await ce(n.id,"getLiveStatus",{id:e.join(",")}).then(t=>Object.keys(t).forEach(c=>{n.follows[c].status=t[c].status}))},Io=n=>pt(`${Pt}sync`,{method:"POST",body:Vt.compressToBase64(JSON.stringify(n))}),Mo=n=>pt(`${Pt}sync/${n}`),pt=(n,e)=>fetch(n,e).then(async t=>{let c=await t.text();return c=JSON.parse(Vt.decompressFromBase64(c)),c.code!=200?Promise.reject(c.msg):c.data},t=>{Promise.reject("网络异常!")});I(!0);const P=[{name:"虎牙直播",icon:"https://www.huya.com/favicon.ico",id:"huya",categories:I([]),categoryActive:I(0),recommend:{page:1,hasMore:!0,list:I([])},search:{page:1,hasMore:!0,list:I([])},follows:de(Je("huya"))},{name:"斗鱼直播",icon:"https://www.douyu.com/favicon.ico",id:"douyu",categories:I([]),categoryActive:I(0),recommend:{page:1,hasMore:!0,list:I([])},search:{page:1,hasMore:!0,list:I([])},follows:de(Je("douyu"))},{name:"抖音直播",icon:"https://www.douyin.com/favicon.ico",id:"douyin",categories:I([]),categoryActive:I(0),recommend:{page:1,hasMore:!0,list:I([])},search:{page:1,hasMore:!0,list:I([])},follows:de(Je("douyin"))},{name:"哔哩直播",icon:"https://www.bilibili.com/favicon.ico",id:"bilibili",categories:I([]),categoryActive:I(0),recommend:{page:1,hasMore:!0,list:I([])},search:{page:1,hasMore:!0,list:I([])},follows:de(Je("bilibili"))}],_e=["huya","douyu","douyin","bilibili"],te=I(Ce("volume",100)),H=I(Ce("brightness",100)),We=n=>{te.value=n?Math.min(100,te.value+5):Math.max(0,te.value-5)},Tt=n=>{H.value=n?Math.min(200,H.value+10):Math.max(50,H.value-10)};function Je(n){const e=localStorage.getItem("follows-"+n);return e?JSON.parse(e):{}}function Re(n){const e=P.find(t=>t.id==n.siteId);return n.siteId=e.id,e.follows[n.roomId]={...n,stream:void 0,ws:void 0},localStorage.setItem("follows-"+n.siteId,JSON.stringify(e.follows)),Reflect.has(e.follows,n.roomId)}function To(n,e){const t=P.find(c=>c.id==n);return delete t.follows[e],localStorage.setItem("follows-"+n,JSON.stringify(t.follows)),Reflect.has(t.follows,e)}function Oo(){P.forEach(n=>{for(const e in n.follows)delete n.follows[e];localStorage.removeItem("follows-"+n.id)})}async function Ot(n,e){const t=n.categories;t.value.length||(t.value=await ce(n.id,"getCategories"));for(const c of t.value)for(const s of c.list)if(s.cid==e)return s;return null}const x=de(Ce("dm-settings",{canvasOpen:!0,canvasFontsize:18,canvasGap:10,canvasOpacity:100,canvasRows:10,canvasSpeed:2.5,canvasColorOpen:!1,sideOpen:!0,sideFontsize:14,sideGap:2,sideColorOpen:!1,sideClean:100,colors:["#ffffff","#7e22ce","1d4ed8","#be185d","#fcd34d"],blockOpen:!1,blockWords:""}));ze(()=>{Se("dm-settings",x)});function Ce(n,e){const t=localStorage.getItem(n);return t?JSON.parse(t):e}function Se(n,e){localStorage.setItem(n,JSON.stringify(e))}const Eo=["#ffffff","#000000","#374151","#b91c1c","#f87171","#fdba74","#c2410c","#fcd34d","#b45309","#bef264","#4d7c0f","#86efac","#15803d","#5eead4","#0f766e","#67e8f9","#0e7490","#93c5fd","#1d4ed8","#d8b4fe","#7e22ce","#f0abfc","#a21caf","#f9a8d4","#be185d","#fda4af","#be123c"],Et=J(()=>x.blockWords.length==0?[]:x.blockWords.split(" ").map(n=>new RegExp(n))),se=de(Ce("cookies",{}));ze(()=>Se("cookies",se));const W=I(0),ke=I(Ce("show-chat",!0)),He=I(Ce("show-aside",!0));ze(()=>Se("show-chat",ke.value));ze(()=>Se("show-aside",He.value));const jo=VueRouter.createRouter,Lo=VueRouter.createWebHistory,mt=VueRouter.useRoute,ht=VueRouter.useRouter,Ro=VueRouter.onBeforeRouteUpdate,Bo={key:0,src:"https://live.douyin.com","pos-absolute":"",width:"0",height:"0","op-0":"","b-0":"",style:{"z-index":"-10"}},Uo={"text-sm":"","pos-fixed":"","bottom-0":"","left-0":"","right-0":"","md:py-2":"","b-t-solid":"",b:"","b-gray-7":"","md:b-r-solid":"","md:top-0":"","md:right-auto":"",flex:"","justify-around":"","md:flex-col":"","md:justify-left":"","bg-dark-7":"","z-10":""},zo={"h-full":"",class:"scrolly","md:px-3":""},Vo=K({__name:"App",setup(n){const e=[{icon:"i-ri-home-smile-line",link:"/"},{icon:"i-ri-apps-2-line",link:"/category"},{icon:"i-ri-heart-line",link:"/follow"},{icon:"i-ri-search-line",link:"/search"},{icon:"i-ri-user-smile-line",link:"/user"}],t=I(!0);Ae(()=>{document.querySelector("main").style.height=`calc(${window.innerHeight}px - 3.5rem)`,setTimeout(()=>t.value=!1,5e3)});const c=mt();return re(c,()=>{const s=c.params.siteid;if(s==null)return;const l=_e.findIndex(r=>r==s);l!=-1&&(W.value=l)}),(s,l)=>{const r=Xe("router-link"),i=Xe("router-view");return w(),M(q,null,[m(t)?(w(),M("iframe",Bo)):ve("",!0),N(d("div",Uo,[(w(),M(q,null,le(e,a=>B(r,{to:a.link,"hover:text-amber":"","rounded-2":"","py-2":"","px-4":"","m-2":"",class:$({"text-amber":s.$route.path==a.link})},{default:F(()=>[d("div",{class:$(a.icon)},null,2)]),_:2},1032,["to","class"])),64))],512),[[ne,m(He)]]),d("main",{"mx-2":"","md:mx-0":"",class:$(["md:!h-100vh",{"md:ml-17.5":m(He),"!h-100vh":!m(He)}]),"pt-2":"","box-border":""},[d("div",zo,[B(i,null,{default:F(({Component:a})=>[(w(),G(po,{exclude:["play"]},[(w(),G(Be(a)))],1024))]),_:1})])],2)],64)}}}),Fo=n=>{const e=I(n);return[e,c=>e.value=c]},Po=/scroll|auto|overlay/i;function $o(n){return n.tagName!=="HTML"&&n.tagName!=="BODY"&&n.nodeType===1}function Do(n,e=document.body){let t=n;for(;t&&t!==e&&$o(t);){const{overflowY:c}=window.getComputedStyle(t);if(Po.test(c))return t;t=t.parentNode}return e}function No(n,e=document.body){const t=I();return Ae(()=>{n.value&&(t.value=Do(n.value,e))}),t}const Go={key:0,"text-center":""},Qo={key:1,"text-center":""},nt=K({__name:"list",props:{finshedText:{default:"没有更多了"},errorText:{default:"加载失败,点击重新加载"},immediate:{type:Boolean,default:!0},offset:{default:50}},emits:["load","refresh"],setup(n,{emit:e}){const t=n,c=I(0),[s,l]=Fo("normal"),r=I(),i=No(r),a=e,u=()=>{if(c.value=i.value.scrollTop,s.value!="normal")return;i.value.scrollHeight-i.value.clientHeight-i.value.scrollTop<t.offset&&h()};Ae(()=>{t.immediate&&h(),i.value.addEventListener("scroll",u,{passive:!0})}),Ut(()=>{i.value.scrollTop=c.value,i.value.addEventListener("scroll",u)});const f=()=>{i.value.removeEventListener("scroll",u)};go(f),ot(f);let p;const h=()=>{l("loading"),a("load",l),clearTimeout(p),p=setTimeout(()=>{So(i.value)||a("load",l)},2e3)};return(T,z)=>(w(),M("div",{ref_key:"root",ref:r,"h-full":"","select-none":""},[wo(T.$slots,"default"),m(s)=="loading"?(w(),M("div",Go,"加载中...")):m(s)=="finshed"?(w(),M("div",Qo,U(t.finshedText),1)):m(s)=="loaderror"?(w(),M("div",{key:2,"text-center":"","cursor-pointer":"",onClick:h},U(t.errorText),1)):ve("",!0)],512))}}),Wo=["data-id","data-site","href"],Jo={"pos-relative":"","text-rose-4":"","rounded-t-2":"","w-full":"","aspect-video":""},Yo={block:"","h-full":"","rounded-2":"","select-none":""},qo={"pos-absolute":"","bottom-0":"","right-0":"","px-2":"","py-1":"","rounded-tl-2":"","bg-dark-6":""},Zo={"line-height-none":"","pos-absolute":"","top-0":"","right-0":"","px-1":"","py-1":"","rounded-tr-1":"","rounded-bl-2":"","bg-dark-6":""},Ho={key:0,"rounded-2":"","text-white":"","pos-absolute":"","text-8":"","top-0":"","bottom-0":"","left-0":"","right-0":"",flex:"","justify-center":"","items-center":"","bg-gray-7":"","bg-op-80":""},Ko={"px-2":"","text-truncate":"","leading-normal":""},Xo={"px-2":"","text-truncate":"","leading-normal":"","pb-2":""},st=K({__name:"rooms",props:{list:{}},setup(n){let e;const t=ht(),c=I(),s=i=>{clearTimeout(e),e=setTimeout(()=>{const a=r("id",i.target,c.value);if(!a)return;const u=r("site",i.target,c.value);t.push(`/${u}/play/${a}`)},300)},l=i=>{var p;clearTimeout(e);const a=r("id",i.target,c.value);if(!a)return;const f=`/${r("site",i.target,c.value)}/play/${a}`;(p=window.open(f,"_blank"))==null||p.location},r=(i,a,u)=>{if(a==u)return null;const f=a.dataset[i];return f||r(i,a.parentElement,u)};return(i,a)=>{const u=ft("lazy");return i.list.value.length>0?(w(),M("div",{key:0,ref_key:"root",ref:c,grid:"","gap-4":"","p-2":"","justify-evenly":"","cursor-pointer":"","select-none":"","grid-cols-2":"","md:grid-cols-3":"","xl:grid-cols-4":"",class:"2xl:grid-cols-5",onClick:Y(s,["prevent"]),onDblclick:Y(l,["prevent"])},[(w(!0),M(q,null,le(i.list.value,f=>(w(),M("a",{"data-id":f.roomId,"data-site":f.siteId,href:`/${f.siteId}/play/${f.roomId}`,key:`${f.siteId}-${f.roomId}`,shadow:"","rounded-2":"","b-2px":"","b-solid":"","b-transparent":"","hover:b-amber":"","overflow-hidden":""},[d("div",Jo,[N(d("img",Yo,null,512),[[u,f.cover]]),d("div",qo,U(f.category),1),d("div",Zo,[a[0]||(a[0]=d("div",{class:"i-mdi-fire"},null,-1)),d("span",null,U(f.online),1)]),f.status?ve("",!0):(w(),M("div",Ho," 未开播 "))]),d("div",Ko,U(f.title),1),d("div",Xo,U(f.nickname),1)],8,Wo))),128))],544)):ve("",!0)}}}),en={"h-full":""},tn={flex:"","py-1":"","px-2":"","text-lg":"","gap-2":""},on={grow:"","text-center":""},nn={"hover:text-amber":""},sn={key:0,class:"h-[calc(100%-3.25rem)] scrolly"},ln=K({__name:"categoryRooms",setup(n){const e=mt(),t=I(""),c=I(),s={list:I([]),page:1,hasMore:!0},l=u=>{const{site:f,id:p}=e.meta;ce(f.id,"getCategoryRooms",{id:p,pid:c.value,page:s.page}).then(h=>{if(s.list.value=s.list.value.concat(h.list),s.hasMore=h.hasMore,se[f.id]||(se[f.id]=h.cookie),!h.hasMore)return u("finshed");s.page++,u("normal")},h=>{t.value=h,u("loaderror")})},r=I(!1),i=()=>{document.querySelector("#goTop").click(),r.value=!0;const{site:u,id:f}=e.meta;ce(u.id,"getCategoryRooms",{id:f,pid:c.value,page:s.page}).then(p=>{s.list.value=p.list,s.hasMore=p.hasMore,s.page++,se[u.id]||(se[u.id]=p.cookie)},p=>{t.value=p}).finally(()=>r.value=!1)};let a=e.fullPath;return Ot(e.meta.site,e.meta.id).then(u=>{t.value=(u==null?void 0:u.name)||null,c.value=u==null?void 0:u.pid}),Ut(function(){a!=e.fullPath&&(a=e.fullPath,Ot(e.meta.site,e.meta.id).then(u=>{t.value=(u==null?void 0:u.name)||null,c.value=u==null?void 0:u.pid}),s.list.value=[],s.page=1,s.hasMore=!0)}),(u,f)=>{var T;const p=st,h=nt;return w(),M("div",en,[d("div",tn,[d("div",{"hover:text-amber":"",onClick:f[0]||(f[0]=(...z)=>u.$router.back&&u.$router.back(...z)),class:"i-ri-arrow-left-line"}),d("div",on,[d("span",nn,U(`${(T=m(e).meta.site)==null?void 0:T.name} ${m(t)==null?"分区不存在":m(t)==""?"加载中":m(t)}`),1)]),d("div",{"mr-7":"","md:mr-24":"","hover:text-amber":"",onClick:i,class:$(["i-ri-refresh-line",{"animate-spin":m(r)}])},null,2)]),m(t)?(w(),M("div",sn,[(w(),G(h,{key:m(a),onLoad:l},{default:F(()=>[B(p,{list:s.list},null,8,["list"])]),_:1}))])):ve("",!0)])}}}),$t=Symbol("tabs"),rn=(n,e)=>{const t=de([]);return xo(n,Object.assign({link:l=>{l.proxy&&t.push(l.proxy)},unlink:l=>{const r=t.indexOf(l.proxy);t.splice(r,1)},children:t},e)),t},Dt=n=>{const e=ko(n);if(e==null)return{parent:e,index:I(-1)};const t=bo(),{link:c,unlink:s,children:l}=e;c(t),yo(()=>s(t));const r=J(()=>l.indexOf(t.proxy));return{parent:e,children:l,index:r}},an={class:"h-full","box-border":""},cn={"w-full":"","box-border":"","text-sm":"","sm:text-base":""},un=["onClick"],dn={class:"h-[calc(100%-2rem)] scrolly","box-border":"","pt-1":""},Fe=K({__name:"tabs",props:Ue({link:{type:Boolean,default:!1},lazy:{type:Boolean,default:!0},grow:{type:Boolean,default:!1},swipeable:{type:Boolean,default:!1},swipeloop:{type:Boolean,default:!0},justify:{default:"justify-center"}},{active:{default:0},activeModifiers:{}}),emits:Ue(["tabClick"],["update:active"]),setup(n,{emit:e}){const t=Ve(n,"active"),c=n,s=e,l=a=>{t.value=a,s("tabClick",a)},r=rn($t,{active:t,props:c}),i=J(()=>et(r,a=>a.title));return(a,u)=>{const f=Xe("router-link");return w(),M("div",an,[d("div",cn,[d("div",{flex:"",p1:"","sm:gap-1":"","text-center":"","h-8":"","box-border":"","lg:justify-center":"",class:$([[m(r).length>5||a.grow?"":a.justify],"scrollx"])},[c.link?(w(!0),M(q,{key:0},le(m(i),(p,h)=>(w(),G(f,{"px-1":"","sm:px-2":"","box-border":"","shrink-0":"",rounded:"","py-1":"","line-height-none":"","text-centercursor-pointer":"","hover:text-amber":"","cursor-pointer":"",class:$({"text-amber":t.value==h,grow:a.grow}),to:m(r)[h].href},{default:F(()=>[Le(U(p),1)]),_:2},1032,["class","to"]))),256)):(w(!0),M(q,{key:1},le(m(i),(p,h)=>(w(),M("a",{"px-1":"","sm:px-2":"","box-border":"","shrink-0":"",rounded:"","py-1":"","line-height-none":"","text-centercursor-pointer":"","hover:text-amber":"","cursor-pointer":"",class:$({"text-amber":t.value==h,grow:a.grow}),onClick:T=>l(h)},U(p),11,un))),256))],2)]),d("div",dn,[(w(),G(Be(a.$slots.default)))])])}}}),fn=Symbol("swipe"),vn={"w-full":"","h-full":"","shrink-0":"","pos-relative":""},pn=K({__name:"swipeItem",emits:["inited"],setup(n,{emit:e}){const t=I(!1),{parent:c,children:s,index:l}=Dt(fn),r=zt(),i=e,a=J(()=>(c==null?void 0:c.active.value)==l.value?(t.value||(t.value=!0,i("inited",l.value)),!0):l.value==(c.active.value==0?s.length-1:c.active.value-1)||l.value==(c.active.value==s.length-1?0:c.active.value+1)),u=J(()=>a.value||t.value||!(c!=null&&c.props.lazy)?r.default:null);return(f,p)=>N((w(),M("div",vn,[(w(),G(Be(m(u))))],512)),[[ne,m(a)]])}}),mn={"h-full":"","w-full":"","shrink-0":"",class:"scrolly"},Pe=K({__name:"tab",props:{title:{},href:{}},emits:["inited"],setup(n,{expose:e,emit:t}){const c=n,s=I(!1),l=zt(),{parent:r,index:i,children:a}=Dt($t),u=t,f=J(()=>(r==null?void 0:r.active.value)==i.value?(s.value||(s.value=!0,u("inited",i.value)),!0):(r==null?void 0:r.props.swipeable)&&(i.value==(r.active.value==0?a.length-1:r.active.value-1)||i.value==(r.active.value==a.length-1?0:r.active.value+1))),p=J(()=>f.value||r!=null&&r.props.swipeable||s.value||!(r!=null&&r.props.lazy)?l.default:null);return e({title:c.title}),(h,T)=>{var S,C;const z=pn;return N((w(),M("div",mn,[(S=m(r))!=null&&S.props.swipeable?(w(),G(z,{key:0},{default:F(()=>[(w(),G(Be(m(p))))]),_:1})):(w(),G(Be(m(p)),{key:1}))],512)),[[ne,m(f)||((C=m(r))==null?void 0:C.props.swipeable)]])}}}),hn={key:0,"text-center":""},gn={"pb-2":"",grid:"","gap-4":"","px-4":"","md:px-2":"","grid-cols-4":"","sm:grid-cols-6":"","md:grid-cols-8":"","lg:grid-cols-10":"","xl:grid-cols-15":"",lass:"2xl:grid-cols-18"},yn={"w-full":"","aspect-ratio-square":"",rounded:""},wn={"w-full":"","text-truncate":"","text-xs":"","md:text-sm":"","text-center":""},xn=K({__name:"category",setup(n){const e=J(()=>P[W.value].id),t=I(),c=s=>{P[s].categories.value.length||(t.value="加载中...",ce(e.value,"getCategories").then(l=>{t.value=null,P[s].categories.value=l},l=>t.value=l))};return(s,l)=>{const r=Xe("router-link"),i=Pe,a=Fe,u=ft("lazy");return w(),G(a,{active:m(W),"onUpdate:active":l[0]||(l[0]=f=>pe(W)?W.value=f:null),link:!0,"pt-1":""},{default:F(()=>[(w(!0),M(q,null,le(m(P),f=>(w(),G(i,{title:f.name,href:`/${f.id}/category`,onInited:c,key:f.id},{default:F(()=>[m(t)?(w(),M("div",hn,U(m(t)),1)):(w(),G(a,{key:1,active:f.categoryActive.value,"onUpdate:active":p=>f.categoryActive.value=p},{default:F(()=>[(w(!0),M(q,null,le(f.categories.value,p=>(w(),G(i,{title:p.name,key:p.id},{default:F(()=>[d("div",gn,[(w(!0),M(q,null,le(p.list,h=>(w(),G(r,{to:`/${f.id}/category/${h.cid}`,"cursor-pointer":""},{default:F(()=>[N(d("img",yn,null,512),[[u,h.pic]]),d("div",wn,U(h.name),1)]),_:2},1032,["to"]))),256))])]),_:2},1032,["title"]))),128))]),_:2},1032,["active","onUpdate:active"]))]),_:2},1032,["title","href"]))),128))]),_:1},8,["active"])}}}),kn={"text-center":"","py-1":""},bn={class:"w-60% max-w-md pos-relative inline-block"},_n={class:"h-[calc(100%-3rem)]"},Sn={key:1},An={key:1},Cn=K({__name:"search",setup(n){const e=I(""),t=J(()=>P[W.value]),c=I(),s=()=>{if(!e.value)return Promise.resolve();const f=t.value.search;f.list.value=[],f.page=1,f.hasMore=!0,c.value="搜索中...";const p=t.value.id;return ce(p,"searchRooms",{page:f.page,kw:e.value}).then(h=>{f.list.value=h.list,f.hasMore=h.hasMore,f.page+=1,c.value="finished",se[p]||(se[p]=h.cookie)},h=>c.value=h)},l=f=>{const p=t.value.search,h=t.value.id;f("loading"),ce(h,"searchRooms",{page:p.page,kw:e.value}).then(T=>{if(p.list.value=p.list.value.concat(T.list),p.hasMore=T.hasMore,se[h]||(se[h]=T.cookie),!p.hasMore)return f("finshed");p.page+=1,f("normal")},T=>{f("loaderror")})},r=f=>{i.push(`/${_e[f]}/search`),!a()&&P[f].search.page==1&&s()},i=ht(),a=()=>{if(e.value)return/^[\d]*$/.test(e.value)?(i.push(`/play/${t.value.id}/${e.value}`),!0):!1},u=()=>{a()||(P.forEach(f=>f.search.page=1),s())};return(f,p)=>{const h=st,T=nt,z=Pe,S=Fe;return w(),M(q,null,[d("div",kn,[d("div",bn,[N(d("input",{"md:text-4":"",type:"text","onUpdate:modelValue":p[0]||(p[0]=C=>pe(e)?e.value=C:null),"box-border":"","w-full":"","py-2.5":"","pl-3":"","pr-9":"","text-white":"","bg-transparent":"","b-1":"","b-green":"","rounded-6":"","outline-0":"",onKeydown:ho(u,["enter"]),placeholder:"请输入房间号或关键字"},null,544),[[vt,m(e),void 0,{trim:!0}]]),d("div",{class:"i-ri-search-line top-50%",absolute:"","right-3":"",onClick:u,style:{transform:"translateY(-50%)"}})])]),d("div",_n,[B(S,{active:m(W),"onUpdate:active":p[1]||(p[1]=C=>pe(W)?W.value=C:null),onTabClick:r},{default:F(()=>[(w(!0),M(q,null,le(m(P),C=>(w(),G(z,{title:C.name,key:C.id},{default:F(()=>[m(c)=="finished"?(w(),M(q,{key:0},[C.search.list.value.length?(w(),G(T,{key:0,onLoad:l},{default:F(()=>[B(h,{list:C.search.list},null,8,["list"])]),_:2},1024)):(w(),M("div",Sn," 什么也没有找到 "))],64)):(w(),M("div",An,U(m(c)),1))]),_:2},1032,["title"]))),128))]),_:1},8,["active"])])],64)}}}),In={flex:"","items-center":""},Mn={"grow-1":"","justify-center":"","gap-2":"","p-2":"",flex:""},Tn={"pos-relative":"",flex:"","gap-2":""},On={"pos-absolute":"","top-0":"","right-0":"",style:{transform:"translateX(150%)"},"rounded-6":"","bg-white":"",shadow:"","text-amber":""},En={class:"bg-gray-7 gap-4 p-12 rounded-2 flex flex-col shadow relative mt-30"},jn={class:"flex justify-center items-center"},Ln={class:"flex gap-4"},Rn={class:"py-2 min-w-16"},Bn={class:"flex gap-4"},Un={class:"py-2 min-w-16"},zn={class:"h-[calc(100%-3rem)]"},Vn=K({__name:"follow",setup(n){const e=et(P,C=>({name:C.name,list:J(()=>Object.values(C.follows).sort(_=>_.status?-1:0))}));e.unshift({name:"全部",list:J(()=>P.map(C=>Object.values(C.follows)).flat().sort(C=>C.status?-1:0))});const t=I(0),c=()=>{var _;if(l.value)return;const C=t.value;l.value=!0,C==0?Promise.all(et(P,dt)).finally(s):(_=dt(P[C-1]))==null||_.finally(s)},s=()=>setTimeout(()=>l.value=!1,300),l=I(!1),r=I(""),i=I(!1),a=I([]),u=I(!1),f=()=>setTimeout(()=>u.value=!1,300),p=()=>{u.value||(u.value=!0,Io(e[0].list.value).then(C=>{r.value=C,a.value=e[0].list.value}).finally(f))},h=()=>{if(!u.value){if(!/^\d{4}$/.test(r.value))return r.value="";u.value=!0,Mo(r.value).then(C=>{a.value=C},C=>r.value=C).finally(f)}},T=()=>{if(!u.value){if(u.value=!0,r.value.startsWith("[")){try{const C=JSON.parse(r.value);Ft(C,_=>{/^\d+$/.test(_.roomId)&&Re({siteId:_.siteId,roomId:_.roomId,cover:_.face,nickname:_.userName})})}catch{r.value="合并失败"}return f()}a.value.forEach(C=>Re(C)),f()}},z=()=>{u.value||(u.value=!0,Oo(),a.value.forEach(C=>Re(C)),f())};c();const S=C=>C("finshed");return(C,_)=>{const V=st,j=nt,E=Pe,L=Fe;return w(),M(q,null,[d("div",In,[d("div",Mn,[d("div",Tn,[_[6]||(_[6]=Le("关注用户 ")),d("button",{class:"bg-green-5 rounded border-none cursor-pointer",onClick:_[0]||(_[0]=g=>i.value=!0)},"同步"),d("button",{class:"bg-green-5 rounded border-none cursor-pointer",onClick:c},"刷新"),N(d("div",On,_[5]||(_[5]=[d("div",{class:"i-ri-refresh-line animate-spin"},null,-1)]),512),[[ne,m(l)]])]),N(d("div",{class:"absolute z-10 top-0 left-0 right-0 bottom-0 flex justify-center items-start",onClick:_[3]||(_[3]=Y(g=>i.value=!1,["self"]))},[d("div",En,[d("div",jn,[_[8]||(_[8]=d("div",{class:"text-8"},"同步",-1)),N(d("div",null,_[7]||(_[7]=[d("div",{class:"i-ri-refresh-line animate-spin"},null,-1)]),512),[[ne,m(u)]])]),N(d("input",{class:"outline-none p-2 border-none rounded-2 flex-1","onUpdate:modelValue":_[1]||(_[1]=g=>pe(r)?r.value=g:null),type:"text",placeholder:"key"},null,512),[[vt,m(r)]]),d("div",Ln,[d("div",Rn,"本地 "+U(m(e)[0].list.value.length),1),d("div",{onClick:T,class:"bg-green-7 hover:bg-op-50 cursor-pointer rounded py-2 px-4"}," 合并 "),d("div",{onClick:z,class:"bg-green-7 hover:bg-op-50 cursor-pointer rounded py-2 px-4"},"覆盖")]),d("div",Bn,[d("div",Un,"云端 "+U(m(a).length),1),d("div",{onClick:h,class:"bg-green-7 hover:bg-op-50 cursor-pointer rounded py-2 px-4"},"拉取"),d("div",{onClick:p,class:"bg-green-7 hover:bg-op-50 cursor-pointer rounded py-2 px-4"},"推送")]),_[9]||(_[9]=d("div",null,[d("div",null,"1. key 有效期 10 分钟"),d("div",null,"2. 拉取需要输入 key"),d("div",null,"3. 推送自动生成 key ")],-1)),d("div",{onClick:_[2]||(_[2]=Y(g=>i.value=!1,["stop"])),class:"i-ri-close-circle-line absolute right-2 top-2"})])],512),[[ne,m(i)]])])]),d("div",zn,[B(L,{active:m(t),"onUpdate:active":_[4]||(_[4]=g=>pe(t)?t.value=g:null)},{default:F(()=>[(w(!0),M(q,null,le(m(e),g=>(w(),G(E,{title:g.name},{default:F(()=>[B(j,{onLoad:S,"finshed-text":""},{default:F(()=>[B(V,{list:g.list},null,8,["list"])]),_:2},1024)]),_:2},1032,["title"]))),256))]),_:1},8,["active"])])],64)}}}),Fn=K({__name:"index",setup(n){const e=J(()=>P[W.value].id),t=c=>{const s=P[W.value].recommend;ce(e.value,"getRecommendRooms",{page:s.page}).then(l=>{if(s.list.value=s.list.value.concat(l.list),s.hasMore=l.hasMore,se[e.value]||(se[e.value]=l.cookie),!s.hasMore)return c("finshed");s.page++,c("normal")},()=>c("loaderror"))};return(c,s)=>{const l=st,r=nt,i=Pe,a=Fe;return w(),G(a,{active:m(W),"onUpdate:active":s[0]||(s[0]=u=>pe(W)?W.value=u:null),link:!0,"pt-1":""},{default:F(()=>[(w(!0),M(q,null,le(m(P),u=>(w(),G(i,{href:`/${u.id}`,key:u.id,title:u.name,"pos-relative":""},{default:F(()=>[B(r,{onLoad:t,"h-full":""},{default:F(()=>[B(l,{list:u.recommend.list},null,8,["list"])]),_:2},1024)]),_:2},1032,["href","title"]))),128))]),_:1},8,["active"])}}}),Pn=K({__name:"switch",props:{value:{type:Boolean,required:!0},valueModifiers:{}},emits:["update:value"],setup(n){const e=Ve(n,"value");return(t,c)=>(w(),M("div",{"pos-relative":"",style:{transition:"background-color .3s"},onClick:c[0]||(c[0]=()=>e.value=!e.value),"w-12":"","inline-block":"","cursor-pointer":"","rounded-6":"","h-6":"",class:$([e.value?"bg-amber":"bg-gray-4"])},[d("div",{"w-6":"","h-full":"","rounded-6":"","bg-white":"",style:be([{transition:"transform .3s"},e.value?"transform:translateX(1.5rem)":""])},null,4)],2))}}),$n={"rounded-4":"",flex:"","bg-gray-7":"","w-min":"","p-2":"","py-1":"","gap-2":""},Dn=K({__name:"stepper",props:Ue({max:{},min:{},step:{}},{value:{required:!0},valueModifiers:{}}),emits:["update:value"],setup(n){const e=n,t=Ve(n,"value"),c=()=>t.value=Math.min(t.value+e.step,e.max),s=()=>t.value=Math.max(t.value-e.step,e.min);return(l,r)=>(w(),M("div",$n,[d("div",{class:"i-ri-subtract-fill",onClick:s}),d("div",null,U(t.value),1),d("div",{class:"i-ri-add-fill",onClick:c})]))}});function Nn(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}const Ke=Nn(),Gn=n=>Ke?n.touches==null?n:n.touches[0]||n.changedTouches[0]:n,Qn=K({__name:"slider",props:Ue({max:{default:100},min:{default:0},width:{default:30},height:{default:100}},{value:{required:!0},valueModifiers:{}}),emits:["update:value"],setup(n){const e=n,t=Ve(n,"value"),c=I(),s=e.width<e.height;let l;const r=p=>{p.stopPropagation(),u(p),document.addEventListener("mousemove",u,!0),document.addEventListener("mouseup",f,!0)},i=J(()=>(t.value-e.min)/(e.max-e.min)*100),a=J(()=>{const p=100-i.value,h=`top:${p}%`,T=`left:${p}%`;return s?{loaded:h,indicator:h}:{loaded:`${T};transform:translateX(-100%)`,indicator:T}}),u=p=>{p.stopPropagation(),p=Gn(p);const T=100-(Math.min(s?l.height:l.width,Math.max(0,s?p.clientY-l.y:p.clientX-l.x))/(s?l.height:l.width)*100|0);t.value=((e.max-e.min)*T|0)/100+e.min|0},f=p=>{p.stopPropagation(),document.removeEventListener("mousemove",u,!0),document.removeEventListener("mouseup",f,!0)};return Ae(()=>{l=c.value.getBoundingClientRect(),c.value.addEventListener("mousedown",r,!0)}),ot(()=>{c.value.removeEventListener("mousedown",r,!0)}),(p,h)=>(w(),M("div",{"cursor-pointer":"",style:be({width:`${e.width}px`,height:`${e.height}px`}),class:$(s?" py-4 ":"px-4"),flex:"","justify-center":""},[d("div",{"w-full":"","h-full":"","pos-relative":"",flex:"","justify-center":"","items-center":"",ref_key:"root",ref:c,onClick:u},[d("div",{"bg-gray":"","pos-relative":"","overflow-hidden":"",class:$(s?"h-full w-2px":"w-full h-2px")},[d("div",{"w-full":"","bg-amber":"","h-full":"","pos-absolute":"",style:be(m(a).loaded)},null,4)],2),d("div",{"pos-absolute":"","w-12px":"","h-12px":"","bg-amber":"","rounded-2":"",style:be(m(a).indicator),class:$(s?"-mt-6px":"-ml-6px")},null,6)],512)],6))}}),Wn={key:0,"z-1":"",fixed:"","top-0":"","bottom-0":"","left-0":"","right-0":"","bg-transparent":"","data-index":"-1"},Jn={"p-1":"","data-index":"-1","hover:text-amber":""},Yn={"text-center":"","z-1":"","pos-absolute":"","top-0":"",class:"left-50%","w-max":"",style:{transform:"translate3d(-50%,-100%,0)"}},qn=["data-index"],Zn=K({__name:"select",props:Ue(["list"],{active:{required:!0},activeModifiers:{}}),emits:["update:active"],setup(n){const e=Ve(n,"active"),t=I(!1),c=s=>{const l=s.target.dataset.index;l&&(l!="-1"&&(e.value=parseInt(l)),t.value=!t.value)};return(s,l)=>(w(),M("div",{"inline-block":"","pos-relative":"",onClick:c,"cursor-pointer":"","text-center":""},[m(t)?(w(),M("div",Wn)):ve("",!0),d("div",Jn,U(n.list[e.value]),1),N(d("div",Yn,[(w(!0),M(q,null,le(n.list,(r,i)=>(w(),M("div",{"data-index":i,class:$({"text-amber":i==e.value}),"p-1":"","hover:text-amber":""},U(r),11,qn))),256))],512),[[ne,m(t)]])]))}}),jt="data:image/png;base64,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",Lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAArlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8tivQqAAAAOXRSTlMAQL+AVSFwReurxLHcZuZhaxvx9dKPfhIHXc6LUC4LeVmgOMiFNCbXm5N04LeoSzz7pBYru5YPA5jd4ld+AAAKR0lEQVR42uzba3OiMBQG4INXvKGiUuttvaPVarW27vv//9h21umCJlZOBMPO8Hy2Dm+TcMIJUiKRSCQSiUQikUj8p8bL1JdMm5RtXr++YGeQVpkUTswlqUm7OOmkSZ8MPAW1HPDoS5KBX0EtRwySHMs40yKuCs5tSIseLmSIZ2biXIm0KOGCWyeWAxCLIYFgRBxTCJakA0QV1swUrUkHiKx3CipbhuiVdICAcw/eQWJKOpQgkaNgXvAlJou9B4nGjIIw3iBRJC2OZaiu18EEMhnSIwcZh25bQuaDdClAJk+3PEOmOCBd3k1IFNu3/syChD0jfSqQ6arc7lAlnXaQ6dFPHMi0SKvsChLNPV23gUzqSHpVIfObrto3IWH3SbcRZJ6Znx+SdvUyJFZZkqtBpksxMITMjqTGDUikKBY+IFMjiXYKEvacYuGpCQmzT6JuXBfISQ8yTRIMY7dA2vV+PlNLT7vLxei1sD5AJiUoSz9Weh0tp07tuWfM5vXPIz1CNl/pFiZlGxFqmOVmsdCt5LMUjf7LGg9WqryHnqLVhBadVp/CM2+9QZu31pzCUZ/a0Mqe1ikEWxfalYd0twxioUV3chATE7pLCvFBd5ggRsqk7IBYWas3d5kaljtJBTRxrQaYCqSkCyn77FoPhUXLyVV7xiz71Cam9lN2ZvSqOae1KBxSPkXXDO/etYXI/TDq9CDjXAGCHvGtcWk0psfavuJC55O4arhQytPjZex7J9d+hTNWjbSYr3Buc9+AFLKkyxpnXu8q6QXSaIEzY+Iw4pPjsp4t1XtVnSfSKg8/mzPLByY8jS1Fpr/n95fTqjPrF0WnW17m6aaZ8tnvCzzNAYVj7pDAAlB82fNWSV1teVUoDPlRAxhfaT3aozynUV6lwGzf2rp/QD6rJfw1uf4PW9CPLLVS0g96+G1AJK7I6rV1Osc/W0ZVNJUaDrn7g9DHlTN4J3ClSqstkhw8wxCCtDvy3WsH3zasAr2lgFrw5FWDyJ9tHOn57oEz2YFnlVcz+qpB5GO88u0SlsGvrC58Obt5UlcPIp1FL/StbQUvcQO1dycteNrKQeSPBe5APOjK0E0Nldp+hMemcIKQK5yS7jiv+1rwsSiYbOCumHEpJQQRhqRzvJwtM7rNhV+b3z8pEsv1ILTCX2a3T39VWYW6qFJIhvCUVIMIY1bFl0mlLSx/wxN02zjj730XdwaB38jw4b0BMVJpby3hmYYURMQL0oJfhb+Jz8UkiAM/hwLpwDOMSZCayvuoJjz5mAQZKrR1jvAZxyTIRvwgb18zi0mQrcKB4h4+7+EESRvf0v+uWrwTp4I2UjrsHQrmIQWhb2nxqoME6cPPpSDeOZuBIgSRBJnzzkXFUdwzNnNRBsnCz+K3GT/pR0cTck7IQerg91E2jA3zHg8akSf42fy3TxjrKdIRGcDvjYJ4hqfBPfqN6vZ7VAhSY4xhD1c4IRdEeoNPg/04Ygb8Ack6fSnsIA3+GnHgWdHPfl19/go7iMm/a00ZlaeFEyfyIBZ8VuyGaTPgoVg18iArfmVfMHZnB5wYkQdx+XutHaMb5OJkHnmQP+2d6XabMBCFB7NjMN4a8AYJXuJ43+JW7/9iPW3/VJWFZmTcQ87x999Jbiykq9Ho0qe73yb3o3FHW+nDhUzp+5EL/hOpwsRRF0SszQ5wQvAPe0ehl2pRsBcF38hDK8Sdv2wfL8Shn+v6eOPvKsp4VCHYPg6bfCHPw1WJo8cLgSa5avhDcGfK79v9D0IglIx3XJkV14gq8kKftfovGerf1tTKK0lRa6fIiriOeOYelNjx29Fx9ZKJEs3WeYckpDeyoXpyfDnoncloU4R8nuEROPiJrstkxHghwzE8hghfMmVSBmgh367wIAboIvaVSbGQQjwLbpKcCzuF+7DQ/SsLJmWME9IvBAWvo20j7P1R2d+8zVzQZcfQPTX/YgqfY6VsbOAozIAJ9LaxfX936lgzU84QtIo9BYbBDZ5zyaXNhnm9876FpSlkr157Xvghpbjt+B4Blbk4+9CFzIlC2iFT0RBGB6WeG2kKmSiF+H/PLwHDsC2Agi1aDbqQhUqIr/SeyvguUrdarinELhPC68iODM8S8CT6YWom59EMDm7WGp64MDoCAaBJxW0+XUhS2pbWM7g5koRna6XkbTSFZKVC2twnqBQ6LY1DTSFpmRCf2/TTuQIHqjrpaQqBMiEFt2QJ9JeraGy8rkbHhsSh6VzP+g4EvnF1f0N1N/3aYgL+Lvn7eXVnt8R8aAQ0dbRC6YISIa2OfKe83INAsWUCOf2S7lzr2rhfIiSXZgP+kPyysah4QE613AGBNTd6bgvpZdy+B9cXl0u+1nIGumYrPXBWwij/QgLKgIkPjGdG3ZC8aLk0C3UKTlHSadGzrCa6cZZ7wpqVhJK6npQh+frxSTenukmY62Zke5v2+GdtQvMoU63wdFBx7srcC7pf5JPmUdaAJDMpH/om92HoFNgFyaMcyp+mYGk6g507WB27JK89ZFIibLyJQ/MoiUYn4CdhPhGJkbG0F5pHmWiMkFdSfdkXlm1kUotN8ihjekTSkBYdM7DQ/4gxbWyt0Ltk25MWftFF43UGghIL1QARkDxKi5xmE9HSNs1bGywLlW55Il3p39Fiq9Yx0V/bQFBikSI5UjGWVK6ZZ/uagJot34BCUJIJ3z1+wBwWOMu0viyjhJ7xsZUlflvKjzKTlnVtYo4WFpQ9cchtW0lKjsJEhD/BORRQMT1un0BSMqIVq6YPfVNLIhnnMUKJQyunONS9vn69fwwkJRat27Tj4ZcGOgV/uEdS4hI7sj/U9kcfW24RI5WSNrFtthAMbQKVkfLDlqRkJPEoeO8xjKEyPG76JSnxhSIy/U0Ol10G1dDn/hiSkpBcOo2ZSK9hulWI2ZROoe0SJbbGbPpD1gSzafpvy4/RLF+1o4G1c/fzyaJzuqaa8f82Tol++E4yZFUR+qOTtBYUAVKJOJu6gKLwWHW8u7LFYIt5a4516yDigPV3BqsQz5aYLa+DVxJrWifjUdnDWz4BH61kg1ilH6/kJJkSD3OsEkM4oEBzCllluLJZ9Ih7+ZgFwT2RjUtWFStpf6qFVHKf/5sdWDXE0sCsnqFUItJK6DH+XaaL7Djy+s5PaSnmxO3+TZI9a1WwkmQljioEqpIwAR2SuMnuZF/axT2lKlmBLqd2Y830MRW3Y8OFugJYXXxket45v16fcvSbl2Daf1973R7DMDVuVOl4umOKkjZUT5Z07MWkMOScT5hNKDvO0UqG36E+OOIrOkYdcc7Mb/UCF1Anlkygu8kn/HMpafSuF8Htla75mQ+M2DwGLemBad3wmA5LqB020yCEGlIwMh7UkmufyanxG+7k1VmRmr2zVk3O0BzqN1/9zQDrrYcu1Bvcq7L67Tr5EgmLbyrzGa4y+BJMPlkJrTyBL8PCubCbdN9ev5CM39hOIExUx/EXGVP/cNpF5nLT9w7rwP/IY/cLPOBPnjx58uTJk6r5CXO8FpZU+7yPAAAAAElFTkSuQmCC",Ye=window.Flv,Hn=window.pako.ungzip;function Kn(n){return Xn(yt(n))}function Xn(n){let e={};e:for(;!Me(n);){let t=Q(n);switch(t>>>3){case 0:break e;case 1:{let c=gt(n);(e.messagesList||(e.messagesList=[])).push(es(n)),n.limit=c;break}case 8:{e.heartbeatDuration=fe(n,!0);break}case 9:{e.needAck=!!ee(n);break}default:Ie(n,t&7)}}return e}function es(n){let e={};e:for(;!Me(n);){let t=Q(n);switch(t>>>3){case 0:break e;case 1:{e.method=me(n,Q(n));break}case 2:{e.payload=Qt(n,Q(n));break}case 3:{e.msgId=fe(n,!1);break}case 4:{e.msgType=Q(n);break}case 5:{e.offset=fe(n,!1);break}case 6:{e.needWrdsStore=!!ee(n);break}case 7:{e.wrdsVersion=fe(n,!1);break}case 8:{e.wrdsSubKey=me(n,Q(n));break}default:Ie(n,t&7)}}return e}function ts(n){return os(yt(n))}function os(n){let e={};e:for(;!Me(n);){let t=Q(n);switch(t>>>3){case 0:break e;case 2:{let c=gt(n);e.user=ns(n),n.limit=c;break}case 3:{e.content=me(n,Q(n));break}default:Ie(n,t&7)}}return e}function ns(n){let e={};e:for(;!Me(n);){let t=Q(n);switch(t>>>3){case 0:break e;case 3:{e.nickName=me(n,Q(n));break}default:Ie(n,t&7)}}return e}function ss(n){let e=Gt();return ls(n,e),vs(e)}function ls(n,e){let t=n.seqId;t!==void 0&&(oe(e,8),qe(e,t));let c=n.logId;c!==void 0&&(oe(e,16),qe(e,c));let s=n.service;s!==void 0&&(oe(e,24),qe(e,s));let l=n.method;l!==void 0&&(oe(e,32),qe(e,l));let r=n.headersList;if(r!==void 0)for(let f of r){oe(e,42);let p=Gt();as(f,p),oe(e,p.limit),ms(e,p),fs(p)}let i=n.payloadEncoding;i!==void 0&&(oe(e,50),tt(e,i));let a=n.payloadType;a!==void 0&&(oe(e,58),tt(e,a));let u=n.payload;u!==void 0&&(oe(e,66),oe(e,u.length),ps(e,u))}function is(n){return rs(yt(n))}function rs(n){let e={};e:for(;!Me(n);){let t=Q(n);switch(t>>>3){case 0:break e;case 1:{e.seqId=fe(n,!0);break}case 2:{e.logId=fe(n,!0);break}case 3:{e.service=fe(n,!0);break}case 4:{e.method=fe(n,!0);break}case 5:{let c=gt(n);(e.headersList||(e.headersList=[])).push(cs(n)),n.limit=c;break}case 6:{e.payloadEncoding=me(n,Q(n));break}case 7:{e.payloadType=me(n,Q(n));break}case 8:{e.payload=Qt(n,Q(n));break}default:Ie(n,t&7)}}return e}function as(n,e){let t=n.key;t!==void 0&&(oe(e,10),tt(e,t));let c=n.value;c!==void 0&&(oe(e,18),tt(e,c))}function cs(n){let e={};e:for(;!Me(n);){let t=Q(n);switch(t>>>3){case 0:break e;case 1:{e.key=me(n,Q(n));break}case 2:{e.value=me(n,Q(n));break}default:Ie(n,t&7)}}return e}function gt(n){let e=Q(n),t=n.limit;return n.limit=n.offset+e,t}function Ie(n,e){switch(e){case 0:for(;ee(n)&128;);break;case 2:ut(n,Q(n));break;case 5:ut(n,4);break;case 1:ut(n,8);break;default:throw new Error("Unimplemented type: "+e)}}let us=new Float32Array(1);new Uint8Array(us.buffer);let ds=new Float64Array(1);new Uint8Array(ds.buffer);let Nt=[];function Gt(){const n=Nt.pop();return n?(n.offset=n.limit=0,n):{bytes:new Uint8Array(64),offset:0,limit:0}}function fs(n){Nt.push(n)}function yt(n){return{bytes:n,offset:0,limit:n.length}}function vs(n){let e=n.bytes,t=n.limit;return e.length===t?e:e.subarray(0,t)}function ut(n,e){if(n.offset+e>n.limit)throw new Error("Skip past limit");n.offset+=e}function Me(n){return n.offset>=n.limit}function $e(n,e){let t=n.bytes,c=n.offset,s=n.limit,l=c+e;if(l>t.length){let r=new Uint8Array(l*2);r.set(t),n.bytes=r}return n.offset=l,l>s&&(n.limit=l),c}function wt(n,e){let t=n.offset;if(t+e>n.limit)throw new Error("Read past limit");return n.offset+=e,t}function Qt(n,e){let t=wt(n,e);return n.bytes.subarray(t,t+e)}function ps(n,e){let t=$e(n,e.length);n.bytes.set(e,t)}function me(n,e){let t=wt(n,e),c=String.fromCharCode,s=n.bytes,l="�",r="";for(let i=0;i<e;i++){let a=s[i+t],u,f,p,h;a&128?(a&224)===192?i+1>=e?r+=l:(u=s[i+t+1],(u&192)!==128?r+=l:(h=(a&31)<<6|u&63,h<128?r+=l:(r+=c(h),i++))):(a&240)==224?i+2>=e?r+=l:(u=s[i+t+1],f=s[i+t+2],((u|f<<8)&49344)!==32896?r+=l:(h=(a&15)<<12|(u&63)<<6|f&63,h<2048||h>=55296&&h<=57343?r+=l:(r+=c(h),i+=2))):(a&248)==240?i+3>=e?r+=l:(u=s[i+t+1],f=s[i+t+2],p=s[i+t+3],((u|f<<8|p<<16)&12632256)!==8421504?r+=l:(h=(a&7)<<18|(u&63)<<12|(f&63)<<6|p&63,h<65536||h>1114111?r+=l:(h-=65536,r+=c((h>>10)+55296,(h&1023)+56320),i+=3))):r+=l:r+=c(a)}return r}function tt(n,e){let t=e.length,c=0;for(let r=0;r<t;r++){let i=e.charCodeAt(r);i>=55296&&i<=56319&&r+1<t&&(i=(i<<10)+e.charCodeAt(++r)-56613888),c+=i<128?1:i<2048?2:i<65536?3:4}oe(n,c);let s=$e(n,c),l=n.bytes;for(let r=0;r<t;r++){let i=e.charCodeAt(r);i>=55296&&i<=56319&&r+1<t&&(i=(i<<10)+e.charCodeAt(++r)-56613888),i<128?l[s++]=i:(i<2048?l[s++]=i>>6&31|192:(i<65536?l[s++]=i>>12&15|224:(l[s++]=i>>18&7|240,l[s++]=i>>12&63|128),l[s++]=i>>6&63|128),l[s++]=i&63|128)}}function ms(n,e){let t=$e(n,e.limit),c=n.bytes,s=e.bytes;for(let l=0,r=e.limit;l<r;l++)c[l+t]=s[l]}function ee(n){return n.bytes[wt(n,1)]}function Rt(n,e){let t=$e(n,1);n.bytes[t]=e}function Q(n){let e=0,t=0,c;do c=ee(n),e<32&&(t|=(c&127)<<e),e+=7;while(c&128);return t}function oe(n,e){for(e>>>=0;e>=128;)Rt(n,e&127|128),e>>>=7;Rt(n,e)}function fe(n,e){let t=0,c=0,s=0,l;return l=ee(n),t=l&127,l&128&&(l=ee(n),t|=(l&127)<<7,l&128&&(l=ee(n),t|=(l&127)<<14,l&128&&(l=ee(n),t|=(l&127)<<21,l&128&&(l=ee(n),c=l&127,l&128&&(l=ee(n),c|=(l&127)<<7,l&128&&(l=ee(n),c|=(l&127)<<14,l&128&&(l=ee(n),c|=(l&127)<<21,l&128&&(l=ee(n),s=l&127,l&128&&(l=ee(n),s|=(l&127)<<7))))))))),{low:t|c<<28,high:c>>>4|s<<24,unsigned:e}}function qe(n,e){let t=e.low>>>0,c=(e.low>>>28|e.high<<4)>>>0,s=e.high>>>24,l=s===0?c===0?t<16384?t<128?1:2:t<1<<21?3:4:c<16384?c<128?5:6:c<1<<21?7:8:s<128?9:10,r=$e(n,l),i=n.bytes;switch(l){case 10:i[r+9]=s>>>7&1;case 9:i[r+8]=l!==9?s|128:s&127;case 8:i[r+7]=l!==8?c>>>21|128:c>>>21&127;case 7:i[r+6]=l!==7?c>>>14|128:c>>>14&127;case 6:i[r+5]=l!==6?c>>>7|128:c>>>7&127;case 5:i[r+4]=l!==5?c|128:c&127;case 4:i[r+3]=l!==4?t>>>21|128:t>>>21&127;case 3:i[r+2]=l!==3?t>>>14|128:t>>>14&127;case 2:i[r+1]=l!==2?t>>>7|128:t>>>7&127;case 1:i[r]=l!==1?t|128:t&127}}var hs=function(n,e){n.constructor==String?n=ks(n):o(n)?n=Array.prototype.slice.call(n,0):Array.isArray(n)||n.constructor===Uint8Array||(n=n.toString());for(var t=bs(n),c=8*n.length,s=1732584193,l=-271733879,r=-1732584194,i=271733878,a=0;a<t.length;a++)t[a]=(t[a]<<8|t[a]>>>24)&16711935|(t[a]<<24|t[a]>>>8)&4278255360;t[c>>>5]|=128<<c%32,t[(c+64>>>9<<4)+14]=c;for(var u=gs,f=ys,p=ws,h=xs,a=0;a<t.length;a+=16){var T=s,z=l,S=r,C=i;s=u(s,l,r,i,t[a+0],7,-680876936),i=u(i,s,l,r,t[a+1],12,-389564586),r=u(r,i,s,l,t[a+2],17,606105819),l=u(l,r,i,s,t[a+3],22,-1044525330),s=u(s,l,r,i,t[a+4],7,-176418897),i=u(i,s,l,r,t[a+5],12,1200080426),r=u(r,i,s,l,t[a+6],17,-1473231341),l=u(l,r,i,s,t[a+7],22,-45705983),s=u(s,l,r,i,t[a+8],7,1770035416),i=u(i,s,l,r,t[a+9],12,-1958414417),r=u(r,i,s,l,t[a+10],17,-42063),l=u(l,r,i,s,t[a+11],22,-1990404162),s=u(s,l,r,i,t[a+12],7,1804603682),i=u(i,s,l,r,t[a+13],12,-40341101),r=u(r,i,s,l,t[a+14],17,-1502002290),l=u(l,r,i,s,t[a+15],22,1236535329),s=f(s,l,r,i,t[a+1],5,-165796510),i=f(i,s,l,r,t[a+6],9,-1069501632),r=f(r,i,s,l,t[a+11],14,643717713),l=f(l,r,i,s,t[a+0],20,-373897302),s=f(s,l,r,i,t[a+5],5,-701558691),i=f(i,s,l,r,t[a+10],9,38016083),r=f(r,i,s,l,t[a+15],14,-660478335),l=f(l,r,i,s,t[a+4],20,-405537848),s=f(s,l,r,i,t[a+9],5,568446438),i=f(i,s,l,r,t[a+14],9,-1019803690),r=f(r,i,s,l,t[a+3],14,-187363961),l=f(l,r,i,s,t[a+8],20,1163531501),s=f(s,l,r,i,t[a+13],5,-1444681467),i=f(i,s,l,r,t[a+2],9,-51403784),r=f(r,i,s,l,t[a+7],14,1735328473),l=f(l,r,i,s,t[a+12],20,-1926607734),s=p(s,l,r,i,t[a+5],4,-378558),i=p(i,s,l,r,t[a+8],11,-2022574463),r=p(r,i,s,l,t[a+11],16,1839030562),l=p(l,r,i,s,t[a+14],23,-35309556),s=p(s,l,r,i,t[a+1],4,-1530992060),i=p(i,s,l,r,t[a+4],11,1272893353),r=p(r,i,s,l,t[a+7],16,-155497632),l=p(l,r,i,s,t[a+10],23,-1094730640),s=p(s,l,r,i,t[a+13],4,681279174),i=p(i,s,l,r,t[a+0],11,-358537222),r=p(r,i,s,l,t[a+3],16,-722521979),l=p(l,r,i,s,t[a+6],23,76029189),s=p(s,l,r,i,t[a+9],4,-640364487),i=p(i,s,l,r,t[a+12],11,-421815835),r=p(r,i,s,l,t[a+15],16,530742520),l=p(l,r,i,s,t[a+2],23,-995338651),s=h(s,l,r,i,t[a+0],6,-198630844),i=h(i,s,l,r,t[a+7],10,1126891415),r=h(r,i,s,l,t[a+14],15,-1416354905),l=h(l,r,i,s,t[a+5],21,-57434055),s=h(s,l,r,i,t[a+12],6,1700485571),i=h(i,s,l,r,t[a+3],10,-1894986606),r=h(r,i,s,l,t[a+10],15,-1051523),l=h(l,r,i,s,t[a+1],21,-2054922799),s=h(s,l,r,i,t[a+8],6,1873313359),i=h(i,s,l,r,t[a+15],10,-30611744),r=h(r,i,s,l,t[a+6],15,-1560198380),l=h(l,r,i,s,t[a+13],21,1309151649),s=h(s,l,r,i,t[a+4],6,-145523070),i=h(i,s,l,r,t[a+11],10,-1120210379),r=h(r,i,s,l,t[a+2],15,718787259),l=h(l,r,i,s,t[a+9],21,-343485551),s=s+T>>>0,l=l+z>>>0,r=r+S>>>0,i=i+C>>>0}return Wt([s,l,r,i])};const gs=function(n,e,t,c,s,l,r){var i=n+(e&t|~e&c)+(s>>>0)+r;return(i<<l|i>>>32-l)+e},ys=function(n,e,t,c,s,l,r){var i=n+(e&c|t&~c)+(s>>>0)+r;return(i<<l|i>>>32-l)+e},ws=function(n,e,t,c,s,l,r){var i=n+(e^t^c)+(s>>>0)+r;return(i<<l|i>>>32-l)+e},xs=function(n,e,t,c,s,l,r){var i=n+(t^(e|~c))+(s>>>0)+r;return(i<<l|i>>>32-l)+e},ks=function(n){for(var e=[],t=0;t<n.length;t++)e.push(255&n.charCodeAt(t));return e},bs=function(n){for(var e=[],t=0,c=0;t<n.length;t++,c+=8)e[c>>>5]|=n[t]<<24-c%32;return e},_s=function(n){for(var e=[],t=0;t<32*n.length;t+=8)e.push(n[t>>>5]>>>24-t%32&255);return e},Wt=function(n){if(n.constructor==Number)return 16711935&Bt(n,8)|4278255360&Bt(n,24);for(var e=0;e<n.length;e++)n[e]=Wt(n[e]);return n},Bt=function(n,e){return n<<e|n>>>32-e},Ss=function(n){for(var e=[],t=0;t<n.length;t++)e.push((n[t]>>>4).toString(16)),e.push((15&n[t]).toString(16));return e.join("")},As=(n,e)=>{const c=`,live_id=1,aid=6383,version_code=180800,webcast_sdk_version=1.0.14-beta.0,room_id=${n},sub_room_id=,sub_channel_id=,did_rule=3,user_unique_id=${e},device_platform=web,device_type=,ac=,identity=audience`.substring(1),s=hs(c),l=_s(s),r=Ss(l);return window.byted_acrawler.frontierSign({"X-MS-STUB":r})["X-Bogus"]},Cs=(n,e)=>{const t=I();let c,s=new ResizeObserver(l=>{clearTimeout(c),c=setTimeout(()=>{t.value.resize()},500)});return Ae(()=>{s.observe(n.value),e.canvas=n.value,t.value=new Is(e)}),ot(()=>{s.unobserve(n.value),clearTimeout(c)}),t};class Is{constructor(e){X(this,"canvas");X(this,"colors");X(this,"ctx");X(this,"isdraw");X(this,"lines");X(this,"textList");X(this,"fontSize");X(this,"font");X(this,"rows");X(this,"gap");X(this,"speed");X(this,"opacity");X(this,"opacityStr");this.isdraw=!1,this.textList=[],this.canvas=e.canvas,this.ctx=this.canvas.getContext("2d"),this.speed=e.speed||2,this.setFont(e.fontSize||16),this.setGap(e.gap||8),this.setRows(e.rows||4),this.setOpacity(e.opacity||100),this.setColors(e.colors||["FFFFFF","#00FF80","#00FFFF","#FF00FF","#8000FF","#FF9933"]),this.resize()}resize(){this.canvas.width=this.canvas.getBoundingClientRect().width*window.devicePixelRatio,this.canvas.height=this.canvas.getBoundingClientRect().height*window.devicePixelRatio,this.initRows()}setOpacity(e){this.opacity=e;const t=Math.floor(2.55*e).toString(16);this.opacityStr=t.length==1?"0"+t:t}setRows(e){this.rows=e}setSpeed(e){this.speed=e}setFont(e){this.ctx.textBaseline="top",this.fontSize=e,this.font=`${e}px sans-serif`}setGap(e){this.gap=e}setColors(e){this.colors=e}clean(){this.textList=[],this.isdraw=!1}destory(){this.lines=[],this.clean()}add(e){const t=this.getLine();if(t==-1)return;const c=Math.ceil(this.ctx.measureText(e).width),s=this.canvas.width+c;this.lines[t].width=s,this.textList.push({value:e,width:c,line:t,left:this.canvas.width,color:this.colors[Math.floor(Math.random()*this.colors.length)]}),!this.isdraw&&(this.isdraw=!0,this.draw())}getLine(){let e=-1,t=this.lines.length;for(;++e<t;)if(this.lines[e].width==this.canvas.width)return e;return-1}initRows(){this.lines=[];let e=-1;const t=this.gap+this.fontSize;for(;++e<this.rows;)this.lines.push({top:this.gap+t*e,width:this.canvas.width})}draw(){this.ctx.textBaseline="top",this.ctx.font=this.font,this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);let e=-1,t=this.textList.length;const c=[];for(;++e<t;){const s=this.textList[e],l=s.left+s.width;if(l<=0)continue;this.ctx.fillStyle=s.color+this.opacityStr;const r=this.lines[s.line];r&&(this.ctx.fillText(s.value,s.left,this.lines[s.line].top),s.left-=this.speed,c.push(s),r.width=Math.max(l,this.canvas.width))}this.textList=c,c.length==0?this.isdraw=!1:requestAnimationFrame(this.draw.bind(this))}}const Ms={"w-full":"","h-full":"",flex:"","flex-col":"","lg:flex-row":"","box-border":"","md:pb-2":""},Ts={"lg:grow-5":"",flex:"","flex-col":""},Os={flex:"","p-2":"","pt-1":"","gap-2":"","text-lg":"","md:pr-3":""},Es={"hover:text-amber":"",grow:"","w-25":"","box-border":"","text-center":"",truncate:"","text-4":"","md:text-5":"","m-0":"","pr-6":"","sm:pr-2":"","lg:pr-0":""},js={"aspect-ratio-video":""},Ls={"w-full":"","h-full":"","pos-absolute":"","top-0":"","z-1":"",flex:"","justify-center":"","items-center":"","text-6":""},Rs=["src"],Bs={key:0},Us={class:"flex items-center gap-4 p-1"},zs={class:"flex items-center gap-4 p-1"},Vs={key:1,"h-0":"","w-0":""},Fs={grow:"","min-h-50":"","lg:grow-0":"","lg:w-80":"","xl:w-100":"",flex:"","flex-col":"","lg:pr-0":"","pt-3":"","lg-pt-12":"","lg:ml-3":"","box-border":"","lg:b-l-solid":"",b:"","lg:b-l-gray-7":"","lg:pl-3":""},Ps={flex:"","items-center":"","line-height-none":"","gap-4":"",b:"","b-y-solid":"","py-3":"","b-gray-7":"","px-4":""},$s=["src"],Ds={"grow-1":"","w-20":""},Ns={"h-4":"",truncate:""},Gs={"h-4":"",flex:"","text-3":"","items-center":"","gap-1":""},Qs=["src"],Ws={"pos-absolute":"","top-0":"","right-4":"","text-4":"",flex:"","flex-col":"","gap-3":""},Js=["src"],Ys=["href"],qs=["data-id","data-site","href"],Zs={"w-5":"","h-5":"","rounded-5":"",alt:""},Hs={flex:"","flex-col":"",b:"","b-solid":"","b-gray-6":"","rounded-2":"","px-2":""},Ks={flex:"","justify-between":"","items-center":"","mx-2":"","py-2":""},Xs={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},el={flex:"","justify-between":"","items-center":"","mx-2":"","py-2":""},tl={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},ol={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},nl={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},sl={flex:"","flex-col":"",b:"","b-solid":"","b-gray-6":"","rounded-2":"","px-2":""},ll={flex:"","justify-between":"","items-center":"","mx-2":"","py-2":""},il={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},rl={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},al={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},cl={flex:"","flex-wrap":"",shadow:"",blur:"","bg-dark":"","p-2":"","box-border":"",b:"","b-solid":"","b-gray-7":"",style:{"box-shadow":"0 6px 15px 0 rgba(0, 0, 0, .5)"},rounded:""},ul=["data-color"],dl={"p-3":"","bg-sm":"",flex:"","justify-between":"","items-center":""},fl=K({__name:"play",setup(n){let e,t,c;const s=de({follow:!1,qn:0,line:0,notice:null,paused:!0,muted:!1,fullscreen:!1,webscreen:!1,showController:!0,pictureInPicture:!1}),l=mt(),r=I(),i=I(),a=I(),u=mo(),f=J(()=>u.value&&u.value.stream.length>0?u.value.stream.map(y=>y.name):[]),p=J(()=>f.value.length>0?u.value.stream[s.qn].lines.map(y=>y.name):[]),h=J(()=>p.value.length>0?u.value.stream[s.qn].lines[s.line].url:""),T=J(()=>P.map(y=>Object.values(y.follows)).flat().sort(y=>y.status?-1:0));re(h,()=>{var y;if(h.value){if(s.flv){(y=s.flv)==null||y.switchURL(h.value,l.meta.site.id!="bilibili");return}if(Ye!=null&&Ye.isSupported("video")){const v=new Ye({media:i.value,seamlesslyReload:!0,isLive:!0,retryCount:0});return v.load(h.value),s.flv=v}return s.notice="不支持 flv",clearTimeout(t)}});const z=()=>{a.value.scrollTop=0,A=0,a.value.innerHTML=""};let S,C=0,_=!0;const V=I(),j=Cs(V,{gap:x.canvasGap,rows:x.canvasRows,speed:x.canvasSpeed,opacity:x.canvasOpacity,colors:x.canvasColorOpen?x.colors:["#ffffff"]}),E=[];let L;function g(){L||(L=setTimeout(()=>{let y=-1;const v=E.length>5?5:E.length;for(a.value.style.display="none";++y<v;)a.value.appendChild(E[y]);a.value.style.display="block",E.splice(0,5),_&&(a.value.scrollTop=a.value.scrollHeight),L=void 0},200))}const k=(y,v)=>{var ye;if(C++,x.blockOpen&&Et.value.length&&Et.value.some(Ee=>Ee.test(v))||(C%(x.sideClean||100)==0&&(a.value.innerHTML="",A=0),x.canvasOpen&&((ye=j.value)==null||ye.add(v)),!ke.value||!x.sideOpen))return;const O=document.createElement("div"),{sideColorOpen:R,sideFontsize:D,sideGap:Z,colors:ie}=x;O.style.margin=`${Z}px 0`,O.style.fontSize=`${D}px`,R&&(O.style.color=ie[Math.floor(Math.random()*ie.length)]);const ge=document.createElement("span");ge.style.opacity="0.5",ge.appendChild(document.createTextNode(y+":"));const we=document.createElement("span");we.appendChild(document.createTextNode(v)),O.appendChild(ge),O.appendChild(we),E.push(O),g()};let A=0;const Te=()=>{if(a.value.scrollTop>=A)return A=a.value.scrollTop;A=a.value.scrollTop,_=!1,a.value.removeEventListener("scroll",Te)},qt=()=>{_=!0,a.value.scrollTop=a.value.scrollHeight,a.value.addEventListener("scroll",Te,{passive:!1})};let ae;const xt=async()=>{var v;if(!u.value||S||!x.canvasOpen&&!x.sideOpen)return;let y=!0;if(u.value.siteId=="huya"){const O=(v=u.value)==null?void 0:v.ws;if(!O)return;S=new WebSocket(O),S.onopen=()=>{clearInterval(ae),k("系统","开始连接弹幕服务器"),a.value.addEventListener("scroll",Te),S==null||S.send(JSON.stringify({command:"subscribeNotice",data:["getMessageNotice"],reqId:Date.now().toString()})),ae=setInterval(()=>{S.send("ping")},45e3)},S.onmessage=R=>{if(y)return k("系统","弹幕服务器连接成功"),y=!1;const{sendNick:D,content:Z}=JSON.parse(R.data).data;k(D,Z)},S.onerror=()=>{clearInterval(ae),k("系统","弹幕服务器连接失败")}}else if(u.value.siteId=="douyu")S=new WebSocket("wss://danmuproxy.douyu.com:8506"),S.onopen=()=>{var O,R;clearInterval(ae),k("系统","开始连接弹幕服务器"),a.value.addEventListener("scroll",Te),S.send(De(`type@=loginreq/roomid@=${(O=u.value)==null?void 0:O.roomId}`)),S.send(De(`type@=joingroup/rid@=${(R=u.value)==null?void 0:R.roomId}/gid@=-9999`)),ae=setInterval(()=>{S.send(De("type@=mrkl/"))},45e3)},S.onmessage=async({data:O})=>{y&&(k("系统","弹幕服务器连接成功"),y=!1),(await O.text()).split(/type@=chatmsg\//).forEach(Z=>{const ie=Z.match(/nn@=(.*)\/txt@=(.*)\/cid/);ie!=null&&k(ie[1],ie[2])})},S.onerror=()=>{clearInterval(ae),k("系统","弹幕服务器连接失败")};else if(u.value.siteId=="douyin"){const O=u.value.ws.split(","),R=O[0],D=O[1],Z=As(R,D);let ie=`wss://webcast5-ws-web-lf.douyin.com/webcast/im/push/v2/?room_id=${R}&compress=gzip&version_code=180800&webcast_sdk_version=1.0.14-beta.0&live_id=1&did_rule=3&user_unique_id=${D}&identity=audience&signature=${Z}&aid=6383&device_platform=web&browser_language=zh-CN&browser_platform=Win32&browser_name=Mozilla&browser_version=5.0+%28Windows+NT+10.0%3B+Win64%3B+x64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F126.0.0.0+Safari%2F537.36+Edg%2F126.0.0.0`;S=new WebSocket(ie),S.binaryType="arraybuffer",S.onopen=()=>{clearInterval(ae),k("系统","开始连接弹幕服务器"),console.log(S),a.value.addEventListener("scroll",Te),ae=setInterval(()=>{(S==null?void 0:S.readyState)==1&&S.send(ss({payloadType:"bh"}))},1e4)},S.onmessage=ge=>{y&&(k("系统","弹幕服务器连接成功"),y=!1);const we=is(new Uint8Array(ge.data)),ye=Hn(we.payload),ue=Kn(new Uint8Array(ye)).messagesList;if(!ue||ue.length==0)return;const Qe=ue.length;let xe=-1;for(;++xe<Qe;){if(ue[xe].method!="WebcastChatMessage")continue;const b=ts(ue[xe].payload);k(b.user.nickName,b.content)}},S.onerror=function(){console.log(this),clearInterval(ae),k("系统","弹幕服务器连接失败")}}},kt=new TextEncoder;function De(y){let v=kt.encode(y);const O=9+v.byteLength,R=[O,0,0,.1,O,0,0,0,177,2,0,0];v=kt.encode(y+"\0");const D=new Uint8Array(12+v.byteLength);return D.set(R),D.set(v,12),D.buffer}const lt=()=>{clearInterval(ae),S&&(S.onmessage=null,At=="douyu"?S.send(De("type@=logout")):S.close(),S=null,C=0,a.value&&Ne==l.fullPath&&k("系统","弹幕服务器断开连接"))};re(u,()=>xt()),re([()=>x.sideOpen,()=>x.canvasOpen],()=>{!x.sideOpen&&!x.canvasOpen&<(),S||xt()});const it=()=>{const{site:y,id:v}=l.meta,O=l.meta.site.follows[v];O&&(u.value=O,s.follow=!0),clearInterval(ae),clearTimeout(t),s.notice="加载中...",ct(()=>{k("系统","开始获取直播间信息")}),ce(y.id,"getRoomDetail",{id:v}).then(R=>{if(u.value=R,s.follow&&Re(R),ct(()=>k("系统","直播间信息获取成功")),!R.status)return s.notice="未开播!";document.title=u.value.title},R=>{s.notice=R,ct(()=>k("系统","直播间信息获取失败"))}).finally(()=>clearTimeout(t))},Zt=()=>{if(!u.value)return;const{id:y}=l.meta.site;s.follow=s.follow?To(y,u.value.roomId):Re(u.value)},rt=()=>{!u.value||!u.value.status||(clearTimeout(e),e=setTimeout(()=>{s.paused?i.value.play():i.value.pause()},200))},bt=()=>{clearTimeout(e),s.fullscreen=!s.fullscreen,document.fullscreenElement?document.exitFullscreen():r.value.requestFullscreen()},he=()=>{clearTimeout(c),s.showController=!0,c=setTimeout(()=>{var y,v;(y=i.value)!=null&&y.paused||!((v=i.value)!=null&&v.played.length)||(s.showController=!1)},3e3)},Ht=()=>{clearTimeout(e),s.webscreen=!s.webscreen,s.fullscreen&&(s.fullscreen=!1,document.exitFullscreen())},Kt=()=>{s.paused=!1,he()},Xt=()=>{s.paused=!0,he()},_t=y=>{if(h.value)switch(y.code){case"ArrowDown":return We(!1);case"ArrowUp":return We(!0);case"Space":return rt()}},eo=()=>{var y;clearTimeout(e),clearTimeout(c),clearTimeout(t),clearTimeout(L),lt(),document.title="Lemon live",document.removeEventListener("keydown",_t),s.pictureInPicture||(y=s.flv)==null||y.destroy()};it();const St=ht();let Ne=l.fullPath;Ae(()=>{r.value.style.filter=H.value==100?"":`brightness(${H.value/100})`,i.value.volume=te.value/100,s.muted=i.value.muted,i.value.addEventListener("canplay",()=>{s.notice=null}),Ke||(r.value.addEventListener("mousemove",he),document.addEventListener("keydown",_t)),document.pictureInPictureElement&&document.exitPictureInPicture(),i.value.addEventListener("leavepictureinpicture",()=>{var y;if(!/play/.test(l.path))return St.push(Ne);if(l.fullPath==Ne)return s.pictureInPicture=!1;(y=s.flv)==null||y.destroy()})});let At=l.meta.site.id;Ro(y=>{const{siteid:v,id:O}=y.params,R=_e.findIndex(D=>D==v);return R==-1?{name:"404"}:(y.meta.site=P[R],y.meta.id=O,s.flv&&(s.flv.destroy(),s.flv=void 0),s.qn=0,s.line=0,s.follow=!1,u.value=void 0,!0)}),re(()=>l.params,()=>{var y;clearTimeout(L),lt(),z(),(y=j.value)==null||y.destory(),At=l.meta.site.id,Ne=l.fullPath,it()}),ot(eo);const to=()=>Promise.all(et(P,dt)),oo=async y=>{y==1&&await to()},no=()=>s.showController?rt():he(),so=()=>{s.pictureInPicture=!s.pictureInPicture,document.pictureInPictureElement?document.exitPictureInPicture():i.value.requestPictureInPicture()},lo=y=>{const v=y.target.dataset.color;if(!v)return;const O=x.colors.findIndex(R=>R==v);if(O==-1)return x.colors.push(v);x.colors.length!=1&&x.colors.splice(O,1)};re(()=>x.colors,()=>{var y;return(y=j.value)==null?void 0:y.setColors(x.colors)}),re(()=>x.canvasSpeed,()=>{var y;return(y=j.value)==null?void 0:y.setSpeed(x.canvasSpeed)}),re(()=>x.canvasOpacity,()=>{var y;return(y=j.value)==null?void 0:y.setOpacity(x.canvasOpacity)}),re(()=>x.canvasColorOpen,()=>{var y;return(y=j.value)==null?void 0:y.setColors(x.canvasColorOpen?x.colors:["#ffffff"])}),ze(()=>{var y,v,O,R;(y=j.value)==null||y.setGap(x.canvasGap),(v=j.value)==null||v.setFont(x.canvasFontsize),(O=j.value)==null||O.setRows(x.canvasRows),(R=j.value)==null||R.resize()}),re(te,()=>{he(),clearTimeout(t),s.notice=`当前音量 ${te.value}%`,i.value.volume=te.value/100,Se("volume",te.value),t=setTimeout(()=>s.notice=null,2e3)}),re(H,()=>{he(),clearTimeout(t),s.notice=`当前亮度 ${H.value}%`,r.value.style.filter=H.value==100?"":`brightness(${H.value/100})`,Se("brightness",H.value),t=setTimeout(()=>s.notice=null,2e3)});let at;const Ge=I(),io=y=>{clearTimeout(at),at=setTimeout(()=>{const v=Oe("id",y.target,Ge.value);if(!v)return;const O=Oe("site",y.target,Ge.value);St.push(`/${O}/play/${v}`)},300)},ro=y=>{var D;clearTimeout(at);const v=Oe("id",y.target,Ge.value);if(!v)return;const R=`/${Oe("site",y.target,Ge.value)}/play/${v}`;(D=window.open(R,"_blank"))==null||D.location},Oe=(y,v,O)=>{if(v==O)return null;const R=v.dataset[y];return R||Oe(y,v.parentElement,O)},ao=()=>H.value=100;re(()=>s.muted,()=>{he(),clearTimeout(t),s.notice=s.muted?"已静音":"已开启声音",t=setTimeout(()=>s.notice=null,2e3)});const co=()=>{if(i.value.muted){i.value.muted=!1,s.muted=!1;return}i.value.muted=!0,s.muted=!0};return(y,v)=>{var ye,Ee,ue,Qe,xe;const O=Zn,R=Qn,D=Pe,Z=Dn,ie=Pn,ge=Fe,we=ft("lazy");return w(),M("div",Ms,[d("div",Ts,[d("div",Os,[d("div",{"hover:text-amber":"",onClick:v[0]||(v[0]=(...b)=>y.$router.back&&y.$router.back(...b)),class:"i-ri-arrow-left-line"}),d("h1",Es,U((ye=m(u))==null?void 0:ye.title),1),d("div",{onClick:v[1]||(v[1]=b=>ke.value=!m(ke)),hidden:"","lg:block":"",style:be(m(ke)?"transform:rotate(180deg)":"margin-right:1.5rem"),class:"i-ri-arrow-right-s-fill"},null,4)]),d("div",{ref_key:"player",ref:r,"md:rounded-6px":"","text-4":"","text-white":"",onContextmenu:v[19]||(v[19]=Y(()=>{},["prevent"])),"bg-black":"","cursor-default":"",class:$({"cursor-none":!m(s).showController,"text-5":m(s).fullscreen,"text-5 !pos-fixed left-0 right-0 top-0 bottom-0 z-10 ":m(s).webscreen}),"pos-relative":"","w-full":"","overflow-hidden":"","select-none":"","h-full":"",onClick:no,onDblclick:bt},[d("div",js,[d("video",{playsinline:"","webkit-playsinline":"","x5-video-player-type":"h5",autoplay:"",ref_key:"video",ref:i,"w-full":"","h-full":"","pos-absolute":"",onPlay:Kt,onPause:Xt},null,544)]),N(d("div",Ls,[d("span",null,U(m(s).notice),1)],512),[[ne,m(s).notice]]),d("canvas",{ref_key:"canvas",ref:V,"pos-absolute":"","top-0":"",width:"0",height:"0","w-full":"","h-full":"","z-1":""},null,512),N(d("div",{"pos-absolute":"","bottom-0":"","left-0":"","right-0":"","px-4":"","py-2":"","gap-3":"","z-20":"",flex:"","items-center":"",onClick:v[5]||(v[5]=Y(()=>{},["stop"])),onDblclick:v[6]||(v[6]=Y(()=>{},["stop"])),class:$({"py-3":m(s).fullscreen||m(s).webscreen}),"bg-black":"","bg-op-30":""},[d("div",{onClick:rt,"hover:text-amber":"",class:$(m(s).paused?"i-ri-play-large-fill":"i-ri-pause-large-fill")},null,2),d("div",{"hover:text-amber":"",onClick:Zt,class:$(m(s).follow?"i-ri-heart-fill":"i-ri-heart-line")},null,2),d("div",{"hover:text-amber":"",onClick:it,class:"i-ri-refresh-line"}),d("img",{"w-1.5em":"","cursor-pointer":"",onClick:v[2]||(v[2]=()=>m(x).canvasOpen=!m(x).canvasOpen),src:m(x).canvasOpen?m(jt):m(Lt)},null,8,Rs),v[33]||(v[33]=d("div",{grow:""},null,-1)),m(f).length?(w(),M("div",Bs,[B(O,{active:m(s).qn,"onUpdate:active":v[3]||(v[3]=b=>m(s).qn=b),list:m(f)},null,8,["active","list"]),B(O,{active:m(s).line,"onUpdate:active":v[4]||(v[4]=b=>m(s).line=b),list:m(p)},null,8,["active","list"]),m(Ke)?ve("",!0):(w(),M("div",{key:0,"ml-2":"","hover:text-amber":"",onClick:so,class:$(m(s).pictureInPicture?"i-ri-picture-in-picture-exit-line":"i-ri-picture-in-picture-2-line")},null,2))])):ve("",!0),d("div",{"hover:text-amber":"",onClick:Ht,class:"i-mdi-fit-to-screen"}),d("div",{"hover:text-amber":"",onClick:bt,class:$(m(s).fullscreen?"i-ri-fullscreen-exit-fill":"i-ri-fullscreen-fill")},null,2)],34),[[ne,m(s).showController]]),m(Ke)?N((w(),M("div",{key:0,class:$({"py-3":m(s).fullscreen||m(s).webscreen}),"pos-absolute":"","top-0":"","left-0":"","right-0":"","px-4":"","py-2":"","gap-3":"","z-20":"",flex:"","justify-between":"","bg-black":"","bg-op-30":"",onClick:v[11]||(v[11]=Y(()=>{},["stop"])),onDblclick:v[12]||(v[12]=Y(()=>{},["stop"]))},[d("div",Us,[d("div",{onClick:v[7]||(v[7]=b=>m(Tt)(!1)),class:"i-ri-sun-line"}),d("div",null,U(m(H)),1),d("div",{onClick:v[8]||(v[8]=b=>m(Tt)(!0)),class:"i-ri-sun-fill"})]),N(d("div",{"flex-1":"","w-10":"",truncate:"","text-center":""},U((Ee=m(u))==null?void 0:Ee.title),513),[[ne,m(s).fullscreen]]),d("div",zs,[d("div",{onClick:v[9]||(v[9]=b=>m(We)(!1)),class:"i-ri-volume-down-fill"}),d("div",null,U(m(te)),1),d("div",{onClick:v[10]||(v[10]=b=>m(We)(!0)),class:"i-ri-volume-up-fill"})])],34)),[[ne,m(s).showController]]):N((w(),M("div",Vs,[d("div",{onClick:v[14]||(v[14]=Y(()=>{},["stop"])),onDblclick:v[15]||(v[15]=Y(()=>{},["stop"])),"pos-absolute":"",class:"top-50% left-4 flex items-center flex-col",style:{transform:"translateY(-50%)"},"z-20":""},[d("div",null,U(m(H)),1),B(R,{value:m(H),"onUpdate:value":v[13]||(v[13]=b=>pe(H)?H.value=b:null),max:200,min:50},null,8,["value"]),d("div",{onClick:Y(ao,["stop"]),class:"i-ri-sun-line"})],32),d("div",{onClick:v[17]||(v[17]=Y(()=>{},["stop"])),onDblclick:v[18]||(v[18]=Y(()=>{},["stop"])),"pos-absolute":"",class:"top-50% right-4 flex items-center flex-col",style:{transform:"translateY(-50%)"},"z-20":""},[Le(U(m(te))+" ",1),B(R,{value:m(te),"onUpdate:value":v[16]||(v[16]=b=>pe(te)?te.value=b:null),max:100,min:0},null,8,["value"]),d("div",{onClick:Y(co,["stop"]),class:$(m(s).muted?"i-ri-volume-mute-line":"i-ri-volume-down-line")},null,2)],32)],512)),[[ne,m(s).showController]])],34)]),N(d("div",Fs,[d("div",Ps,[d("img",{src:(ue=m(u))==null?void 0:ue.avatar,"w-8":"","h-8":"",alt:"","rounded-4":""},null,8,$s),d("div",Ds,[d("div",Ns,U((Qe=m(u))==null?void 0:Qe.nickname),1),d("div",Gs,[d("img",{"w-4":"","h-4":"",src:y.$route.meta.site.icon},null,8,Qs),Le(" "+U(y.$route.meta.site.name),1)])]),d("div",null,[v[34]||(v[34]=d("div",{"mx-1":"",class:"i-mdi-fire"},null,-1)),d("span",null,U((xe=m(u))==null?void 0:xe.online),1)])]),B(ge,{grow:!0,onTabClick:oo,class:"!h-[calc(100%-3.75rem)]"},{default:F(()=>[B(D,{title:"聊天","pos-relative":""},{default:F(()=>{var b;return[d("div",Ws,[d("img",{"w-1.5em":"","cursor-pointer":"",onClick:v[20]||(v[20]=()=>m(x).sideOpen=!m(x).sideOpen),src:m(x).sideOpen?m(jt):m(Lt)},null,8,Js),d("div",{"text-green-5":"",onClick:z,class:"i-ri-delete-bin-3-line"}),d("a",{"text-green-5":"",href:(b=m(u))==null?void 0:b.url,target:"_blank"},v[35]||(v[35]=[d("div",{class:"i-ri-link"},null,-1)]),8,Ys),d("div",{onClick:qt,"text-green-5":"",class:"i-ri-arrow-down-circle-line"})]),d("div",{ref_key:"dm",ref:a,"h-full":"","pl-2":"","box-border":"",class:"scrolly"},null,512)]}),_:1}),B(D,{title:"关注","box-border":"","px-4":""},{default:F(()=>[d("div",{onClick:Y(io,["prevent"]),onDblclick:Y(ro,["prevent"])},[(w(!0),M(q,null,le(m(T),b=>{var Ct,It;return w(),M("a",{"data-id":b.roomId,"data-site":b.siteId,class:$({"text-amber":((Ct=m(u))==null?void 0:Ct.siteId)==b.siteId&&((It=m(u))==null?void 0:It.roomId)==b.roomId}),key:`${b.siteId}/${b.roomId}`,href:`/${b.siteId}/play/${b.roomId}`,flex:"","items-center":"","gap-2":"","py-2":""},[N(d("img",Zs,null,512),[[we,b.avatar]]),d("div",null,U(b.nickname),1),d("div",{"w-3":"","h-3":"","rounded-3":"",class:$([b.status?"bg-green":"bg-red"])},null,2),d("div",null,U(b.status?"直播中":"未开播"),1)],10,qs)}),128))],32)]),_:1}),B(D,{title:"设置","px-2":""},{default:F(()=>[v[47]||(v[47]=d("div",{"p-3":"","bg-sm":""},"弹幕",-1)),d("div",Hs,[d("div",Ks,[v[36]||(v[36]=d("div",null,"文字大小",-1)),B(Z,{value:m(x).canvasFontsize,"onUpdate:value":v[21]||(v[21]=b=>m(x).canvasFontsize=b),max:80,min:8,step:1},null,8,["value"])]),d("div",Xs,[v[37]||(v[37]=d("div",null,"上下间隔",-1)),B(Z,{value:m(x).canvasGap,"onUpdate:value":v[22]||(v[22]=b=>m(x).canvasGap=b),max:80,min:1,step:1},null,8,["value"])]),d("div",el,[v[38]||(v[38]=d("div",null,"最大行数",-1)),B(Z,{value:m(x).canvasRows,"onUpdate:value":v[23]||(v[23]=b=>m(x).canvasRows=b),max:50,min:1,step:1},null,8,["value"])]),d("div",tl,[v[39]||(v[39]=d("div",null,"弹幕速度",-1)),B(Z,{value:m(x).canvasSpeed,"onUpdate:value":v[24]||(v[24]=b=>m(x).canvasSpeed=b),max:32,min:.5,step:.5},null,8,["value"])]),d("div",ol,[v[40]||(v[40]=d("div",null,"弹幕透明",-1)),B(Z,{value:m(x).canvasOpacity,"onUpdate:value":v[25]||(v[25]=b=>m(x).canvasOpacity=b),max:100,min:10,step:10},null,8,["value"])]),d("div",nl,[v[41]||(v[41]=d("div",null,"彩色弹幕",-1)),B(ie,{value:m(x).canvasColorOpen,"onUpdate:value":v[26]||(v[26]=b=>m(x).canvasColorOpen=b)},null,8,["value"])])]),v[48]||(v[48]=d("div",{"p-3":"","bg-sm":""},"聊天",-1)),d("div",sl,[d("div",ll,[v[42]||(v[42]=d("div",null,"文字大小",-1)),B(Z,{value:m(x).sideFontsize,"onUpdate:value":v[27]||(v[27]=b=>m(x).sideFontsize=b),max:80,min:8,step:1},null,8,["value"])]),d("div",il,[v[43]||(v[43]=d("div",null,"上下间隔",-1)),B(Z,{value:m(x).sideGap,"onUpdate:value":v[28]||(v[28]=b=>m(x).sideGap=b),max:80,min:0,step:1},null,8,["value"])]),d("div",rl,[v[44]||(v[44]=d("div",null,"自动清屏",-1)),B(Z,{value:m(x).sideClean,"onUpdate:value":v[29]||(v[29]=b=>m(x).sideClean=b),max:500,min:10,step:10},null,8,["value"])]),d("div",al,[v[45]||(v[45]=d("div",null,"彩色消息",-1)),B(ie,{value:m(x).sideColorOpen,"onUpdate:value":v[30]||(v[30]=b=>m(x).sideColorOpen=b)},null,8,["value"])])]),v[49]||(v[49]=d("div",{"p-3":"","bg-sm":""},"颜色",-1)),d("div",cl,[(w(!0),M(q,null,le(m(Eo),b=>(w(),M("div",{onClick:lo},[d("div",{class:"w-4 h-4 rounded-2 m-2 shadow","box-border":"","data-color":b,"cursor-pointer":"",style:be(`background:${b};${m(x).colors.includes(b)?"box-shadow:0 0 0px 2px white":""}`)},null,12,ul)]))),256))]),d("div",dl,[v[46]||(v[46]=Le("屏蔽 ")),B(ie,{value:m(x).blockOpen,"onUpdate:value":v[31]||(v[31]=b=>m(x).blockOpen=b)},null,8,["value"])]),N(d("textarea",{"outline-none":"","w-full":"","onUpdate:modelValue":v[32]||(v[32]=b=>m(x).blockWords=b),"text-white":"",b:"","b-solid":"","b-gray-7":"","p-2":"","box-border":"",rows:"5","bg-dark":"",shadow:"","rounded-1":"",placeholder:"以空格分隔"},null,512),[[vt,m(x).blockWords,void 0,{trim:!0}]])]),_:1})]),_:1})],512),[[ne,m(ke)]])])}}}),Jt=(n,e)=>{const t=n.__vccOpts||n;for(const[c,s]of e)t[c]=s;return t},vl={},pl={"h-full":"","box-border":"","py-2":"",class:"scrolly"};function ml(n,e){return w(),M("div",pl,e[0]||(e[0]=[d("div",{"text-xl":"","p-4":""},"支持",-1),d("div",{"ml-4":""},[d("img",{"h-50":"","mr-5":"",src:"https://i0.hdslb.com/bfs/article/828b4686d0bcd7a427939b1f121f322898845873.png@1e_1c.webp"}),d("img",{"h-50":"",src:"https://i0.hdslb.com/bfs/article/d07b5e8cbae76f0fc38a8049c433d3d598845873.jpg@1e_1c.webp"})],-1)]))}const hl=Jt(vl,[["render",ml]]),gl={},yl={"h-full":"",flex:"","justify-center":"","items-center":""};function wl(n,e){return w(),M("div",yl,e[0]||(e[0]=[d("div",{"text-center":"","text-8":"","line-height-8":""},[d("div",{"font-900":""},"404"),d("div",{"mt-4":""},"页面未找到")],-1)]))}const xl=Jt(gl,[["render",wl]]);async function je(n){const{siteid:e,id:t}=n.params,c=P.findIndex(s=>s.id==e);return c==-1?{name:"404"}:(n.meta.site=P[c],n.meta.id=t,n.meta.index=c,W.value=c,!0)}const kl=jo({history:Lo(),routes:[{path:"/",redirect:()=>`/${_e[W.value]}`},{path:"/follow",component:Vn},{path:"/user",component:hl},{path:"/category",redirect:()=>`/${_e[W.value]}/category`},{path:"/search",redirect:()=>`/${_e[W.value]}/search`},{path:"/:siteid",component:Fn,beforeEnter:je},{path:"/:siteid/category",component:xn,beforeEnter:je},{path:"/:siteid/category/:id",component:ln,beforeEnter:je},{path:"/:siteid/play/:id",component:fl,beforeEnter:je},{path:"/:siteid/search",component:Cn,beforeEnter:je},{path:"/:pathMatch(.*)*",name:"404",component:xl}]}),bl={install(n){n.directive("lazy",{mounted(e,t){e.src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41IiBkPSJtMi4yNSAxNS43NWw1LjE1OS01LjE1OWEyLjI1IDIuMjUgMCAwIDEgMy4xODIgMGw1LjE1OSA1LjE1OW0tMS41LTEuNWwxLjQwOS0xLjQwOWEyLjI1IDIuMjUgMCAwIDEgMy4xODIgMGwyLjkwOSAyLjkwOW0tMTggMy43NWgxNi41YTEuNSAxLjUgMCAwIDAgMS41LTEuNVY2YTEuNSAxLjUgMCAwIDAtMS41LTEuNUgzLjc1QTEuNSAxLjUgMCAwIDAgMi4yNSA2djEyYTEuNSAxLjUgMCAwIDAgMS41IDEuNW0xMC41LTExLjI1aC4wMDh2LjAwOGgtLjAwOHptLjM3NSAwYS4zNzUuMzc1IDAgMSAxLS43NSAwYS4zNzUuMzc1IDAgMCAxIC43NSAwIi8+PC9zdmc+";const c=new IntersectionObserver(s=>{Ft(s,l=>{if(l.isIntersecting){const r=new Image;r.src=t.value,r.onload=()=>e.src=t.value,c.unobserve(l.target)}})});c.observe(e)}})}},Yt=vo(Vo);Yt.use(kl).use(bl);Yt.mount("#app");
|
1
|
+
var qa=Object.defineProperty;var Xa=(e,n,t)=>n in e?qa(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var he=(e,n,t)=>Xa(e,typeof n!="symbol"?n+"":n,t);(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))a(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const r of l.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&a(r)}).observe(document,{childList:!0,subtree:!0});function t(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(i){if(i.ep)return;i.ep=!0;const l=t(i);fetch(i.href,l)}})();const el=Vue.createApp,v=Vue.createElementVNode,T=Vue.openBlock,U=Vue.createElementBlock,D=Vue.ref,je=Vue.reactive,Gt=Vue.watchEffect,J=Vue.computed,le=Vue.defineComponent,y=Vue.unref,Le=Vue.createCommentVNode,ge=Vue.renderList,oe=Vue.Fragment,Y=Vue.normalizeClass,xn=Vue.resolveComponent,K=Vue.withCtx,H=Vue.createVNode,ke=Vue.vShow,Q=Vue.withDirectives,Ut=Vue.resolveDynamicComponent,X=Vue.createBlock,tl=Vue.KeepAlive,wt=Vue.onMounted,we=Vue.watch,We=Vue.isRef,Z=Vue.toDisplayString,No=Vue.onActivated,En=Vue.resolveDirective,hi=Vue.vModelText,nl=Vue.withKeys,Rt=Vue.createTextVNode,q=Vue.withModifiers,dt=Vue.normalizeStyle,il=Vue.shallowRef,Fn=Vue.nextTick,In=Vue.onBeforeUnmount;Vue.h;const ol=Vue.onDeactivated,al=Vue.onUnmounted,Kt=Vue.useModel,Bt=Vue.mergeModels,ll=Vue.renderSlot,Zo=Vue.useSlots,sl=Vue.provide,rl=Vue.inject,cl=Vue.getCurrentInstance;var vn={exports:{}};vn.exports;var Di;function ul(){return Di||(Di=1,function(e){var n=function(){var t=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",l={};function r(f,c){if(!l[f]){l[f]={};for(var u=0;u<f.length;u++)l[f][f.charAt(u)]=u}return l[f][c]}var s={compressToBase64:function(f){if(f==null)return"";var c=s._compress(f,6,function(u){return a.charAt(u)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(f){return f==null?"":f==""?null:s._decompress(f.length,32,function(c){return r(a,f.charAt(c))})},compressToUTF16:function(f){return f==null?"":s._compress(f,15,function(c){return t(c+32)})+" "},decompressFromUTF16:function(f){return f==null?"":f==""?null:s._decompress(f.length,16384,function(c){return f.charCodeAt(c)-32})},compressToUint8Array:function(f){for(var c=s.compress(f),u=new Uint8Array(c.length*2),h=0,d=c.length;h<d;h++){var w=c.charCodeAt(h);u[h*2]=w>>>8,u[h*2+1]=w%256}return u},decompressFromUint8Array:function(f){if(f==null)return s.decompress(f);for(var c=new Array(f.length/2),u=0,h=c.length;u<h;u++)c[u]=f[u*2]*256+f[u*2+1];var d=[];return c.forEach(function(w){d.push(t(w))}),s.decompress(d.join(""))},compressToEncodedURIComponent:function(f){return f==null?"":s._compress(f,6,function(c){return i.charAt(c)})},decompressFromEncodedURIComponent:function(f){return f==null?"":f==""?null:(f=f.replace(/ /g,"+"),s._decompress(f.length,32,function(c){return r(i,f.charAt(c))}))},compress:function(f){return s._compress(f,16,function(c){return t(c)})},_compress:function(f,c,u){if(f==null)return"";var h,d,w={},I={},L="",E="",k="",M=2,S=3,b=2,x=[],p=0,_=0,g;for(g=0;g<f.length;g+=1)if(L=f.charAt(g),Object.prototype.hasOwnProperty.call(w,L)||(w[L]=S++,I[L]=!0),E=k+L,Object.prototype.hasOwnProperty.call(w,E))k=E;else{if(Object.prototype.hasOwnProperty.call(I,k)){if(k.charCodeAt(0)<256){for(h=0;h<b;h++)p=p<<1,_==c-1?(_=0,x.push(u(p)),p=0):_++;for(d=k.charCodeAt(0),h=0;h<8;h++)p=p<<1|d&1,_==c-1?(_=0,x.push(u(p)),p=0):_++,d=d>>1}else{for(d=1,h=0;h<b;h++)p=p<<1|d,_==c-1?(_=0,x.push(u(p)),p=0):_++,d=0;for(d=k.charCodeAt(0),h=0;h<16;h++)p=p<<1|d&1,_==c-1?(_=0,x.push(u(p)),p=0):_++,d=d>>1}M--,M==0&&(M=Math.pow(2,b),b++),delete I[k]}else for(d=w[k],h=0;h<b;h++)p=p<<1|d&1,_==c-1?(_=0,x.push(u(p)),p=0):_++,d=d>>1;M--,M==0&&(M=Math.pow(2,b),b++),w[E]=S++,k=String(L)}if(k!==""){if(Object.prototype.hasOwnProperty.call(I,k)){if(k.charCodeAt(0)<256){for(h=0;h<b;h++)p=p<<1,_==c-1?(_=0,x.push(u(p)),p=0):_++;for(d=k.charCodeAt(0),h=0;h<8;h++)p=p<<1|d&1,_==c-1?(_=0,x.push(u(p)),p=0):_++,d=d>>1}else{for(d=1,h=0;h<b;h++)p=p<<1|d,_==c-1?(_=0,x.push(u(p)),p=0):_++,d=0;for(d=k.charCodeAt(0),h=0;h<16;h++)p=p<<1|d&1,_==c-1?(_=0,x.push(u(p)),p=0):_++,d=d>>1}M--,M==0&&(M=Math.pow(2,b),b++),delete I[k]}else for(d=w[k],h=0;h<b;h++)p=p<<1|d&1,_==c-1?(_=0,x.push(u(p)),p=0):_++,d=d>>1;M--,M==0&&(M=Math.pow(2,b),b++)}for(d=2,h=0;h<b;h++)p=p<<1|d&1,_==c-1?(_=0,x.push(u(p)),p=0):_++,d=d>>1;for(;;)if(p=p<<1,_==c-1){x.push(u(p));break}else _++;return x.join("")},decompress:function(f){return f==null?"":f==""?null:s._decompress(f.length,32768,function(c){return f.charCodeAt(c)})},_decompress:function(f,c,u){var h=[],d=4,w=4,I=3,L="",E=[],k,M,S,b,x,p,_,g={val:u(0),position:c,index:1};for(k=0;k<3;k+=1)h[k]=k;for(S=0,x=Math.pow(2,2),p=1;p!=x;)b=g.val&g.position,g.position>>=1,g.position==0&&(g.position=c,g.val=u(g.index++)),S|=(b>0?1:0)*p,p<<=1;switch(S){case 0:for(S=0,x=Math.pow(2,8),p=1;p!=x;)b=g.val&g.position,g.position>>=1,g.position==0&&(g.position=c,g.val=u(g.index++)),S|=(b>0?1:0)*p,p<<=1;_=t(S);break;case 1:for(S=0,x=Math.pow(2,16),p=1;p!=x;)b=g.val&g.position,g.position>>=1,g.position==0&&(g.position=c,g.val=u(g.index++)),S|=(b>0?1:0)*p,p<<=1;_=t(S);break;case 2:return""}for(h[3]=_,M=_,E.push(_);;){if(g.index>f)return"";for(S=0,x=Math.pow(2,I),p=1;p!=x;)b=g.val&g.position,g.position>>=1,g.position==0&&(g.position=c,g.val=u(g.index++)),S|=(b>0?1:0)*p,p<<=1;switch(_=S){case 0:for(S=0,x=Math.pow(2,8),p=1;p!=x;)b=g.val&g.position,g.position>>=1,g.position==0&&(g.position=c,g.val=u(g.index++)),S|=(b>0?1:0)*p,p<<=1;h[w++]=t(S),_=w-1,d--;break;case 1:for(S=0,x=Math.pow(2,16),p=1;p!=x;)b=g.val&g.position,g.position>>=1,g.position==0&&(g.position=c,g.val=u(g.index++)),S|=(b>0?1:0)*p,p<<=1;h[w++]=t(S),_=w-1,d--;break;case 2:return E.join("")}if(d==0&&(d=Math.pow(2,I),I++),h[_])L=h[_];else if(_===w)L=M+M.charAt(0);else return null;E.push(L),h[w++]=M+L.charAt(0),d--,M=L,d==0&&(d=Math.pow(2,I),I++)}}};return s}();e!=null?e.exports=n:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return n})}(vn)),vn.exports}var jo=ul(),Lo,Do,Uo,Bo,$o,Fo;const Ui=((Lo=typeof globalThis<"u"?globalThis:void 0)==null?void 0:Lo.crypto)||((Do=typeof global<"u"?global:void 0)==null?void 0:Do.crypto)||((Uo=typeof window<"u"?window:void 0)==null?void 0:Uo.crypto)||((Bo=typeof self<"u"?self:void 0)==null?void 0:Bo.crypto)||((Fo=($o=typeof frames<"u"?frames:void 0)==null?void 0:$o[0])==null?void 0:Fo.crypto);let ti;Ui?ti=e=>{const n=[];for(let t=0,a;t<e;t+=4)n.push(Ui.getRandomValues(new Uint32Array(1))[0]);return new Ye(n,e)}:ti=e=>{const n=[],t=a=>{let i=a,l=987654321;const r=4294967295;return()=>{l=36969*(l&65535)+(l>>16)&r,i=18e3*(i&65535)+(i>>16)&r;let s=(l<<16)+i&r;return s/=4294967296,s+=.5,s*(Math.random()>.5?1:-1)}};for(let a=0,i;a<e;a+=4){const l=t((i||Math.random())*4294967296);i=l()*987654071,n.push(l()*4294967296|0)}return new Ye(n,e)};class Tn{static create(...n){return new this(...n)}mixIn(n){return Object.assign(this,n)}clone(){const n=new this.constructor;return Object.assign(n,this),n}}class Ye extends Tn{constructor(n=[],t=n.length*4){super();let a=n;if(a instanceof ArrayBuffer&&(a=new Uint8Array(a)),(a instanceof Int8Array||a instanceof Uint8ClampedArray||a instanceof Int16Array||a instanceof Uint16Array||a instanceof Int32Array||a instanceof Uint32Array||a instanceof Float32Array||a instanceof Float64Array)&&(a=new Uint8Array(a.buffer,a.byteOffset,a.byteLength)),a instanceof Uint8Array){const i=a.byteLength,l=[];for(let r=0;r<i;r+=1)l[r>>>2]|=a[r]<<24-r%4*8;this.words=l,this.sigBytes=i}else this.words=n,this.sigBytes=t}toString(n=fl){return n.stringify(this)}concat(n){const t=this.words,a=n.words,i=this.sigBytes,l=n.sigBytes;if(this.clamp(),i%4)for(let r=0;r<l;r+=1){const s=a[r>>>2]>>>24-r%4*8&255;t[i+r>>>2]|=s<<24-(i+r)%4*8}else for(let r=0;r<l;r+=4)t[i+r>>>2]=a[r>>>2];return this.sigBytes+=l,this}clamp(){const{words:n,sigBytes:t}=this;n[t>>>2]&=4294967295<<32-t%4*8,n.length=Math.ceil(t/4)}clone(){const n=super.clone.call(this);return n.words=this.words.slice(0),n}}he(Ye,"random",ti);const fl={stringify(e){const{words:n,sigBytes:t}=e,a=[];for(let i=0;i<t;i+=1){const l=n[i>>>2]>>>24-i%4*8&255;a.push((l>>>4).toString(16)),a.push((l&15).toString(16))}return a.join("")},parse(e){const n=e.length,t=[];for(let a=0;a<n;a+=2)t[a>>>3]|=parseInt(e.substr(a,2),16)<<24-a%8*4;return new Ye(t,n/2)}},Bi={stringify(e){const{words:n,sigBytes:t}=e,a=[];for(let i=0;i<t;i+=1){const l=n[i>>>2]>>>24-i%4*8&255;a.push(String.fromCharCode(l))}return a.join("")},parse(e){const n=e.length,t=[];for(let a=0;a<n;a+=1)t[a>>>2]|=(e.charCodeAt(a)&255)<<24-a%4*8;return new Ye(t,n)}},Po={stringify(e){try{return decodeURIComponent(escape(Bi.stringify(e)))}catch{throw new Error("Malformed UTF-8 data")}},parse(e){return Bi.parse(unescape(encodeURIComponent(e)))}};class dl extends Tn{constructor(){super(),this._minBufferSize=0}reset(){this._data=new Ye,this._nDataBytes=0}_append(n){let t=n;typeof t=="string"&&(t=Po.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(n){let t;const{_data:a,blockSize:i}=this,l=a.words,r=a.sigBytes,s=i*4;let f=r/s;n?f=Math.ceil(f):f=Math.max((f|0)-this._minBufferSize,0);const c=f*i,u=Math.min(c*4,r);if(c){for(let h=0;h<c;h+=i)this._doProcessBlock(l,h);t=l.splice(0,c),a.sigBytes-=u}return new Ye(t,u)}clone(){const n=super.clone.call(this);return n._data=this._data.clone(),n}}class Ho extends dl{constructor(n){super(),this.blockSize=512/32,this.cfg=Object.assign(new Tn,n),this.reset()}static _createHelper(n){return(t,a)=>new n(a).finalize(t)}static _createHmacHelper(n){return(t,a)=>new hl(n,a).finalize(t)}reset(){super.reset.call(this),this._doReset()}update(n){return this._append(n),this._process(),this}finalize(n){return n&&this._append(n),this._doFinalize()}}class hl extends Tn{constructor(n,t){super();const a=new n;this._hasher=a;let i=t;typeof i=="string"&&(i=Po.parse(i));const l=a.blockSize,r=l*4;i.sigBytes>r&&(i=a.finalize(t)),i.clamp();const s=i.clone();this._oKey=s;const f=i.clone();this._iKey=f;const c=s.words,u=f.words;for(let h=0;h<l;h+=1)c[h]^=1549556828,u[h]^=909522486;s.sigBytes=r,f.sigBytes=r,this.reset()}reset(){const n=this._hasher;n.reset(),n.update(this._iKey)}update(n){return this._hasher.update(n),this}finalize(n){const t=this._hasher,a=t.finalize(n);return t.reset(),t.finalize(this._oKey.clone().concat(a))}}const z=[];for(let e=0;e<64;e+=1)z[e]=Math.abs(Math.sin(e+1))*4294967296|0;const re=(e,n,t,a,i,l,r)=>{const s=e+(n&t|~n&a)+i+r;return(s<<l|s>>>32-l)+n},ce=(e,n,t,a,i,l,r)=>{const s=e+(n&a|t&~a)+i+r;return(s<<l|s>>>32-l)+n},ue=(e,n,t,a,i,l,r)=>{const s=e+(n^t^a)+i+r;return(s<<l|s>>>32-l)+n},fe=(e,n,t,a,i,l,r)=>{const s=e+(t^(n|~a))+i+r;return(s<<l|s>>>32-l)+n};class _l extends Ho{_doReset(){this._hash=new Ye([1732584193,4023233417,2562383102,271733878])}_doProcessBlock(n,t){const a=n;for(let $=0;$<16;$+=1){const B=t+$,O=n[B];a[B]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}const i=this._hash.words,l=a[t+0],r=a[t+1],s=a[t+2],f=a[t+3],c=a[t+4],u=a[t+5],h=a[t+6],d=a[t+7],w=a[t+8],I=a[t+9],L=a[t+10],E=a[t+11],k=a[t+12],M=a[t+13],S=a[t+14],b=a[t+15];let x=i[0],p=i[1],_=i[2],g=i[3];x=re(x,p,_,g,l,7,z[0]),g=re(g,x,p,_,r,12,z[1]),_=re(_,g,x,p,s,17,z[2]),p=re(p,_,g,x,f,22,z[3]),x=re(x,p,_,g,c,7,z[4]),g=re(g,x,p,_,u,12,z[5]),_=re(_,g,x,p,h,17,z[6]),p=re(p,_,g,x,d,22,z[7]),x=re(x,p,_,g,w,7,z[8]),g=re(g,x,p,_,I,12,z[9]),_=re(_,g,x,p,L,17,z[10]),p=re(p,_,g,x,E,22,z[11]),x=re(x,p,_,g,k,7,z[12]),g=re(g,x,p,_,M,12,z[13]),_=re(_,g,x,p,S,17,z[14]),p=re(p,_,g,x,b,22,z[15]),x=ce(x,p,_,g,r,5,z[16]),g=ce(g,x,p,_,h,9,z[17]),_=ce(_,g,x,p,E,14,z[18]),p=ce(p,_,g,x,l,20,z[19]),x=ce(x,p,_,g,u,5,z[20]),g=ce(g,x,p,_,L,9,z[21]),_=ce(_,g,x,p,b,14,z[22]),p=ce(p,_,g,x,c,20,z[23]),x=ce(x,p,_,g,I,5,z[24]),g=ce(g,x,p,_,S,9,z[25]),_=ce(_,g,x,p,f,14,z[26]),p=ce(p,_,g,x,w,20,z[27]),x=ce(x,p,_,g,M,5,z[28]),g=ce(g,x,p,_,s,9,z[29]),_=ce(_,g,x,p,d,14,z[30]),p=ce(p,_,g,x,k,20,z[31]),x=ue(x,p,_,g,u,4,z[32]),g=ue(g,x,p,_,w,11,z[33]),_=ue(_,g,x,p,E,16,z[34]),p=ue(p,_,g,x,S,23,z[35]),x=ue(x,p,_,g,r,4,z[36]),g=ue(g,x,p,_,c,11,z[37]),_=ue(_,g,x,p,d,16,z[38]),p=ue(p,_,g,x,L,23,z[39]),x=ue(x,p,_,g,M,4,z[40]),g=ue(g,x,p,_,l,11,z[41]),_=ue(_,g,x,p,f,16,z[42]),p=ue(p,_,g,x,h,23,z[43]),x=ue(x,p,_,g,I,4,z[44]),g=ue(g,x,p,_,k,11,z[45]),_=ue(_,g,x,p,b,16,z[46]),p=ue(p,_,g,x,s,23,z[47]),x=fe(x,p,_,g,l,6,z[48]),g=fe(g,x,p,_,d,10,z[49]),_=fe(_,g,x,p,S,15,z[50]),p=fe(p,_,g,x,u,21,z[51]),x=fe(x,p,_,g,k,6,z[52]),g=fe(g,x,p,_,f,10,z[53]),_=fe(_,g,x,p,L,15,z[54]),p=fe(p,_,g,x,r,21,z[55]),x=fe(x,p,_,g,w,6,z[56]),g=fe(g,x,p,_,b,10,z[57]),_=fe(_,g,x,p,h,15,z[58]),p=fe(p,_,g,x,M,21,z[59]),x=fe(x,p,_,g,c,6,z[60]),g=fe(g,x,p,_,E,10,z[61]),_=fe(_,g,x,p,s,15,z[62]),p=fe(p,_,g,x,I,21,z[63]),i[0]=i[0]+x|0,i[1]=i[1]+p|0,i[2]=i[2]+_|0,i[3]=i[3]+g|0}_doFinalize(){const n=this._data,t=n.words,a=this._nDataBytes*8,i=n.sigBytes*8;t[i>>>5]|=128<<24-i%32;const l=Math.floor(a/4294967296),r=a;t[(i+64>>>9<<4)+15]=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360,t[(i+64>>>9<<4)+14]=(r<<8|r>>>24)&16711935|(r<<24|r>>>8)&4278255360,n.sigBytes=(t.length+1)*4,this._process();const s=this._hash,f=s.words;for(let c=0;c<4;c+=1){const u=f[c];f[c]=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360}return s}clone(){const n=super.clone.call(this);return n._hash=this._hash.clone(),n}}const $i=Ho._createHelper(_l),yn=(e,n)=>{let t=-1;const a=e.length,i=new Array(a);for(;++t<a;)i[t]=n(e[t]);return i},Vo=(e,n)=>{let t=-1;const a=e.length;for(;++t<a;)n(e[t])},pl=e=>{if(e.scrollTop>0)return!0;e.scrollTop=1;const n=!!e.scrollTop;return e.scrollTop=0,n},vl=async(e,n,t)=>{const a=[],i=[];for(const l of e){const r=Promise.resolve().then(()=>t(l));if(a.push(r),n<=e.length){const s=r.then(()=>i.splice(i.indexOf(s),1));i.push(s),i.length>=n&&await Promise.race(i)}}return Promise.all(a)},Fi=e=>{let n="",t=-1,a=13;for(;++t<a;)n+=Math.random()*10|0;const i=(Date.now()%1e10*1e3+(1e3*Math.random()|0)%4294967295).toString(),l=new URLSearchParams(e.code),r=l.get("fs"),s=(Date.now()/1e3|21600).toString(16),f=(Date.now()+Number(n)).toString(),c=atob(l.get("fm")).split("_")[0],u=$i(`${f}|tars_mp|102`).toString();return`&wsSecret=${$i([c,n,e.name,u,s].join("_")).toString()}&uuid=${i}&wsTime=${s}&uid=${n}&seqid=${f}&fs=${r}&ctype=tars_mp&t=102&ver=1&sv=2401310321`},gl="https://lemonlive.deno.dev/api/",Go="https://lemonlivesync.deno.dev/",De=(e,n,t)=>(e=="douyin"&&(t?t.cookie=Se[e]:t={cookie:Se[e]}),_i(`${gl}${e}/${n}${t?"?"+new URLSearchParams(t).toString():""}`)),ni=async e=>{const n=Object.keys(e.follows);if(!n.length)return Promise.resolve(!1);if(e.id=="douyin"){(await vl(n,4,a=>De("douyin","getLiveStatus",{id:a}))).forEach((a,i)=>e.follows[n[i]].status=a[n[i]].status);return}await De(e.id,"getLiveStatus",{id:n.join(",")}).then(t=>Object.keys(t).forEach(a=>{e.follows[a].status=t[a].status}))},ml=e=>_i(`${Go}sync`,{method:"POST",body:jo.compressToBase64(JSON.stringify(e))}),wl=e=>_i(`${Go}sync/${e}`),_i=(e,n)=>fetch(e,n).then(async t=>{let a=await t.text();return a=JSON.parse(jo.decompressFromBase64(a)),a.code!=200?Promise.reject(a.msg):a.data},t=>{Promise.reject("网络异常!")});D(!0);const xl={huya:"虎牙",bilibili:"哔哩",douyu:"斗鱼",douyin:"抖音"},W=[{name:"虎牙直播",icon:"https://www.huya.com/favicon.ico",id:"huya",categories:D([]),categoryActive:D(0),recommend:{page:1,hasMore:!0,list:D([])},search:{page:1,hasMore:!0,list:D([])},follows:je(sn("huya"))},{name:"斗鱼直播",icon:"https://www.douyu.com/favicon.ico",id:"douyu",categories:D([]),categoryActive:D(0),recommend:{page:1,hasMore:!0,list:D([])},search:{page:1,hasMore:!0,list:D([])},follows:je(sn("douyu"))},{name:"抖音直播",icon:"https://www.douyin.com/favicon.ico",id:"douyin",categories:D([]),categoryActive:D(0),recommend:{page:1,hasMore:!0,list:D([])},search:{page:1,hasMore:!0,list:D([])},follows:je(sn("douyin"))},{name:"哔哩直播",icon:"https://www.bilibili.com/favicon.ico",id:"bilibili",categories:D([]),categoryActive:D(0),recommend:{page:1,hasMore:!0,list:D([])},search:{page:1,hasMore:!0,list:D([])},follows:je(sn("bilibili"))}],ht=["huya","douyu","douyin","bilibili"],xe=D(xt("volume",100)),de=D(xt("brightness",100)),ln=e=>{xe.value=e?Math.min(100,xe.value+5):Math.max(0,xe.value-5)},Ni=e=>{de.value=e?Math.min(200,de.value+10):Math.max(50,de.value-10)};function sn(e){const n=localStorage.getItem("follows-"+e);return n?JSON.parse(n):{}}function Mt(e){const n=W.find(t=>t.id==e.siteId);return e.siteId=n.id,n.follows[e.roomId]={...e,stream:void 0,ws:void 0},localStorage.setItem("follows-"+e.siteId,JSON.stringify(n.follows)),Reflect.has(n.follows,e.roomId)}function ii(e,n){const t=W.find(a=>a.id==e);return delete t.follows[n],localStorage.setItem("follows-"+e,JSON.stringify(t.follows)),Reflect.has(t.follows,n)}function yl(){W.forEach(e=>{for(const n in e.follows)delete e.follows[n];localStorage.removeItem("follows-"+e.id)})}async function Zi(e,n){const t=e.categories;t.value.length||(t.value=await De(e.id,"getCategories"));for(const a of t.value)for(const i of a.list)if(i.cid==n)return i;return null}const C=je(xt("dm-settings",{canvasOpen:!0,canvasFontsize:18,canvasGap:10,canvasOpacity:100,canvasRows:10,canvasSpeed:2.5,canvasColorOpen:!1,sideOpen:!0,sideFontsize:14,sideGap:2,sideColorOpen:!1,sideClean:100,colors:["#ffffff","#7e22ce","1d4ed8","#be185d","#fcd34d"],blockOpen:!1,blockWords:""}));Gt(()=>{pt("dm-settings",C)});function xt(e,n){const t=localStorage.getItem(e);return t?JSON.parse(t):n}function pt(e,n){localStorage.setItem(e,JSON.stringify(n))}const bl=["#ffffff","#000000","#374151","#b91c1c","#f87171","#fdba74","#c2410c","#fcd34d","#b45309","#bef264","#4d7c0f","#86efac","#15803d","#5eead4","#0f766e","#67e8f9","#0e7490","#93c5fd","#1d4ed8","#d8b4fe","#7e22ce","#f0abfc","#a21caf","#f9a8d4","#be185d","#fda4af","#be123c"],ji=J(()=>C.blockWords.length==0?[]:C.blockWords.split(" ").map(e=>new RegExp(e))),Se=je(xt("cookies",{}));Gt(()=>pt("cookies",Se));const ie=D(0),ft=D(xt("show-chat",!0)),gn=D(xt("show-aside",!0));Gt(()=>pt("show-chat",ft.value));Gt(()=>pt("show-aside",gn.value));const kl=VueRouter.createRouter,Sl=VueRouter.createWebHistory,pi=VueRouter.useRoute,Cn=VueRouter.useRouter,Al=VueRouter.onBeforeRouteUpdate,El={key:0,src:"https://live.douyin.com","pos-absolute":"",width:"0",height:"0","op-0":"","b-0":"",style:{"z-index":"-10"}},Il={"text-sm":"","pos-fixed":"","bottom-0":"","left-0":"","right-0":"","md:py-2":"","b-t-solid":"",b:"","b-gray-7":"","md:b-r-solid":"","md:top-0":"","md:right-auto":"",flex:"","justify-around":"","md:flex-col":"","md:justify-left":"","bg-dark-7":"","z-10":""},Tl={"h-full":"",class:"scrolly","md:px-3":""},Cl=le({__name:"App",setup(e){const n=[{icon:"i-ri-home-smile-line",link:"/"},{icon:"i-ri-apps-2-line",link:"/category"},{icon:"i-ri-heart-line",link:"/follow"},{icon:"i-ri-search-line",link:"/search"},{icon:"i-ri-user-smile-line",link:"/user"}],t=D(!0);wt(()=>{document.querySelector("main").style.height=`calc(${window.innerHeight}px - 3.5rem)`,setTimeout(()=>t.value=!1,5e3)});const a=pi();return we(a,()=>{const i=a.params.siteid;if(i==null)return;const l=ht.findIndex(r=>r==i);l!=-1&&(ie.value=l)}),(i,l)=>{const r=xn("router-link"),s=xn("router-view");return T(),U(oe,null,[y(t)?(T(),U("iframe",El)):Le("",!0),Q(v("div",Il,[(T(),U(oe,null,ge(n,f=>H(r,{to:f.link,"hover:text-amber":"","rounded-2":"","py-2":"","px-4":"","m-2":"",class:Y({"text-amber":i.$route.path==f.link})},{default:K(()=>[v("div",{class:Y(f.icon)},null,2)]),_:2},1032,["to","class"])),64))],512),[[ke,y(gn)]]),v("main",{"mx-2":"","md:mx-0":"",class:Y(["md:!h-100vh",{"md:ml-17.5":y(gn),"!h-100vh":!y(gn)}]),"pt-2":"","box-border":""},[v("div",Tl,[H(s,null,{default:K(({Component:f})=>[(T(),X(tl,{exclude:["play"]},[(T(),X(Ut(f)))],1024))]),_:1})])],2)],64)}}}),zl=e=>{const n=D(e);return[n,a=>n.value=a]},Rl=/scroll|auto|overlay/i;function Ml(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Ol(e,n=document.body){let t=e;for(;t&&t!==n&&Ml(t);){const{overflowY:a}=window.getComputedStyle(t);if(Rl.test(a))return t;t=t.parentNode}return n}function Ll(e,n=document.body){const t=D();return wt(()=>{e.value&&(t.value=Ol(e.value,n))}),t}const Dl={key:0,"text-center":""},Ul={key:1,"text-center":""},zn=le({__name:"list",props:{finshedText:{default:"没有更多了"},errorText:{default:"加载失败,点击重新加载"},immediate:{type:Boolean,default:!0},offset:{default:50}},emits:["load","refresh"],setup(e,{emit:n}){const t=e,a=D(0),[i,l]=zl("normal"),r=D(),s=Ll(r),f=n,c=()=>{if(a.value=s.value.scrollTop,i.value!="normal")return;s.value.scrollHeight-s.value.clientHeight-s.value.scrollTop<t.offset&&d()};wt(()=>{t.immediate&&d(),s.value.addEventListener("scroll",c,{passive:!0})}),No(()=>{s.value.scrollTop=a.value,s.value.addEventListener("scroll",c)});const u=()=>{s.value.removeEventListener("scroll",c)};ol(u),In(u);let h;const d=()=>{l("loading"),f("load",l),clearTimeout(h),h=setTimeout(()=>{pl(s.value)||f("load",l)},2e3)};return(w,I)=>(T(),U("div",{ref_key:"root",ref:r,"h-full":"","select-none":""},[ll(w.$slots,"default"),y(i)=="loading"?(T(),U("div",Dl,"加载中...")):y(i)=="finshed"?(T(),U("div",Ul,Z(t.finshedText),1)):y(i)=="loaderror"?(T(),U("div",{key:2,"text-center":"","cursor-pointer":"",onClick:d},Z(t.errorText),1)):Le("",!0)],512))}}),Bl=["data-id","data-site","href"],$l={"pos-relative":"","text-fuchsia-5":"","rounded-t-2":"","w-full":"","aspect-video":""},Fl={block:"","mx-auto":"","h-full":"","rounded-2":"","select-none":""},Nl={"pos-absolute":"","bottom-0":"","right-0":"","px-2":"","py-1":"","rounded-tl-2":"","bg-dark-6":""},Zl={"line-height-none":"","pos-absolute":"","top-0":"","right-0":"","px-1":"","py-1":"","rounded-tr-1":"","rounded-bl-2":"","bg-dark-6":""},jl={key:0,"rounded-2":"","text-white":"","pos-absolute":"","text-8":"","top-0":"","bottom-0":"","left-0":"","right-0":"",flex:"","justify-center":"","items-center":"","bg-gray-7":"","bg-op-80":""},Pl={"px-2":"","text-truncate":"","leading-normal":""},Hl={"px-2":"","text-truncate":"","leading-normal":"","pb-2":""},vi=le({__name:"rooms",props:{list:{}},setup(e){let n;const t=Cn(),a=D(),i=s=>{clearTimeout(n),n=setTimeout(()=>{const f=r("id",s.target,a.value);if(!f)return;const c=r("site",s.target,a.value);t.push(`/${c}/play/${f}`)},300)},l=s=>{var h;clearTimeout(n);const f=r("id",s.target,a.value);if(!f)return;const u=`/${r("site",s.target,a.value)}/play/${f}`;(h=window.open(u,"_blank"))==null||h.location},r=(s,f,c)=>{if(f==c)return null;const u=f.dataset[s];return u||r(s,f.parentElement,c)};return(s,f)=>{const c=En("lazy");return s.list.value.length>0?(T(),U("div",{key:0,ref_key:"root",ref:a,grid:"","gap-4":"","p-2":"","justify-evenly":"","cursor-pointer":"","select-none":"","grid-cols-2":"","md:grid-cols-3":"","xl:grid-cols-4":"",class:"2xl:grid-cols-5",onClick:q(i,["prevent"]),onDblclick:q(l,["prevent"])},[(T(!0),U(oe,null,ge(s.list.value,u=>(T(),U("a",{"data-id":u.roomId,"data-site":u.siteId,href:`/${u.siteId}/play/${u.roomId}`,key:`${u.siteId}-${u.roomId}`,shadow:"","rounded-2":"","b-2px":"","b-solid":"","b-transparent":"","hover:b-amber":"","overflow-hidden":""},[v("div",$l,[Q(v("img",Fl,null,512),[[c,u.cover]]),v("div",Nl,Z(u.category),1),v("div",Zl,[f[0]||(f[0]=v("div",{class:"i-mdi-fire"},null,-1)),v("span",null,Z(u.online),1)]),u.status?Le("",!0):(T(),U("div",jl," 未开播 "))]),v("div",Pl,Z(u.title),1),v("div",Hl,Z(u.nickname),1)],8,Bl))),128))],544)):Le("",!0)}}}),Vl={"h-full":""},Gl={flex:"","py-1":"","px-2":"","text-lg":"","gap-2":""},Kl={grow:"","text-center":""},Wl={"hover:text-amber":""},Yl={key:0,class:"h-[calc(100%-3.25rem)] scrolly"},Ql=le({__name:"categoryRooms",setup(e){const n=pi(),t=D(""),a=D(),i={list:D([]),page:1,hasMore:!0},l=c=>{const{site:u,id:h}=n.meta;De(u.id,"getCategoryRooms",{id:h,pid:a.value,page:i.page}).then(d=>{if(i.list.value=i.list.value.concat(d.list),i.hasMore=d.hasMore,Se[u.id]||(Se[u.id]=d.cookie),!d.hasMore)return c("finshed");i.page++,c("normal")},d=>{t.value=d,c("loaderror")})},r=D(!1),s=()=>{document.querySelector("#goTop").click(),r.value=!0;const{site:c,id:u}=n.meta;De(c.id,"getCategoryRooms",{id:u,pid:a.value,page:i.page}).then(h=>{i.list.value=h.list,i.hasMore=h.hasMore,i.page++,Se[c.id]||(Se[c.id]=h.cookie)},h=>{t.value=h}).finally(()=>r.value=!1)};let f=n.fullPath;return Zi(n.meta.site,n.meta.id).then(c=>{t.value=(c==null?void 0:c.name)||null,a.value=c==null?void 0:c.pid}),No(function(){f!=n.fullPath&&(f=n.fullPath,Zi(n.meta.site,n.meta.id).then(c=>{t.value=(c==null?void 0:c.name)||null,a.value=c==null?void 0:c.pid}),i.list.value=[],i.page=1,i.hasMore=!0)}),(c,u)=>{var w;const h=vi,d=zn;return T(),U("div",Vl,[v("div",Gl,[v("div",{"hover:text-amber":"",onClick:u[0]||(u[0]=(...I)=>c.$router.back&&c.$router.back(...I)),class:"i-ri-arrow-left-line"}),v("div",Kl,[v("span",Wl,Z(`${(w=y(n).meta.site)==null?void 0:w.name} ${y(t)==null?"分区不存在":y(t)==""?"加载中":y(t)}`),1)]),v("div",{"mr-7":"","md:mr-24":"","hover:text-amber":"",onClick:s,class:Y(["i-ri-refresh-line",{"animate-spin":y(r)}])},null,2)]),y(t)?(T(),U("div",Yl,[(T(),X(d,{key:y(f),onLoad:l},{default:K(()=>[H(h,{list:i.list},null,8,["list"])]),_:1}))])):Le("",!0)])}}}),Ko=Symbol("tabs"),Jl=(e,n)=>{const t=je([]);return sl(e,Object.assign({link:l=>{l.proxy&&t.push(l.proxy)},unlink:l=>{const r=t.indexOf(l.proxy);t.splice(r,1)},children:t},n)),t},Wo=e=>{const n=rl(e);if(n==null)return{parent:n,index:D(-1)};const t=cl(),{link:a,unlink:i,children:l}=n;a(t),al(()=>i(t));const r=J(()=>l.indexOf(t.proxy));return{parent:n,children:l,index:r}},ql={class:"h-full","box-border":""},Xl={"w-full":"","box-border":"","text-sm":"","sm:text-base":""},es=["onClick"],ts={class:"h-[calc(100%-2rem)] scrolly","box-border":"","pt-1":""},Wt=le({__name:"tabs",props:Bt({link:{type:Boolean,default:!1},lazy:{type:Boolean,default:!0},grow:{type:Boolean,default:!1},swipeable:{type:Boolean,default:!1},swipeloop:{type:Boolean,default:!0},justify:{default:"justify-center"}},{active:{default:0},activeModifiers:{}}),emits:Bt(["tabClick"],["update:active"]),setup(e,{emit:n}){const t=Kt(e,"active"),a=e,i=n,l=f=>{t.value=f,i("tabClick",f)},r=Jl(Ko,{active:t,props:a}),s=J(()=>yn(r,f=>f.title));return(f,c)=>{const u=xn("router-link");return T(),U("div",ql,[v("div",Xl,[v("div",{flex:"",p1:"","sm:gap-1":"","text-center":"","h-8":"","box-border":"","lg:justify-center":"",class:Y([[y(r).length>5||f.grow?"":f.justify],"scrollx"])},[a.link?(T(!0),U(oe,{key:0},ge(y(s),(h,d)=>(T(),X(u,{"px-1":"","sm:px-2":"","box-border":"","shrink-0":"",rounded:"","py-1":"","line-height-none":"","text-centercursor-pointer":"","hover:text-amber":"","cursor-pointer":"",class:Y({"text-amber":t.value==d,grow:f.grow}),to:y(r)[d].href},{default:K(()=>[Rt(Z(h),1)]),_:2},1032,["class","to"]))),256)):(T(!0),U(oe,{key:1},ge(y(s),(h,d)=>(T(),U("a",{"px-1":"","sm:px-2":"","box-border":"","shrink-0":"",rounded:"","py-1":"","line-height-none":"","text-centercursor-pointer":"","hover:text-amber":"","cursor-pointer":"",class:Y({"text-amber":t.value==d,grow:f.grow}),onClick:w=>l(d)},Z(h),11,es))),256))],2)]),v("div",ts,[(T(),X(Ut(f.$slots.default)))])])}}}),ns=Symbol("swipe"),is={"w-full":"","h-full":"","shrink-0":"","pos-relative":""},os=le({__name:"swipeItem",emits:["inited"],setup(e,{emit:n}){const t=D(!1),{parent:a,children:i,index:l}=Wo(ns),r=Zo(),s=n,f=J(()=>(a==null?void 0:a.active.value)==l.value?(t.value||(t.value=!0,s("inited",l.value)),!0):l.value==(a.active.value==0?i.length-1:a.active.value-1)||l.value==(a.active.value==i.length-1?0:a.active.value+1)),c=J(()=>f.value||t.value||!(a!=null&&a.props.lazy)?r.default:null);return(u,h)=>Q((T(),U("div",is,[(T(),X(Ut(y(c))))],512)),[[ke,y(f)]])}}),as={"h-full":"","w-full":"","shrink-0":"",class:"scrolly"},Yt=le({__name:"tab",props:{title:{},href:{}},emits:["inited"],setup(e,{expose:n,emit:t}){const a=e,i=D(!1),l=Zo(),{parent:r,index:s,children:f}=Wo(Ko),c=t,u=J(()=>(r==null?void 0:r.active.value)==s.value?(i.value||(i.value=!0,c("inited",s.value)),!0):(r==null?void 0:r.props.swipeable)&&(s.value==(r.active.value==0?f.length-1:r.active.value-1)||s.value==(r.active.value==f.length-1?0:r.active.value+1))),h=J(()=>u.value||r!=null&&r.props.swipeable||i.value||!(r!=null&&r.props.lazy)?l.default:null);return n({title:a.title}),(d,w)=>{var L,E;const I=os;return Q((T(),U("div",as,[(L=y(r))!=null&&L.props.swipeable?(T(),X(I,{key:0},{default:K(()=>[(T(),X(Ut(y(h))))]),_:1})):(T(),X(Ut(y(h)),{key:1}))],512)),[[ke,y(u)||((E=y(r))==null?void 0:E.props.swipeable)]])}}}),ls={key:0,"text-center":""},ss={"pb-2":"",grid:"","gap-4":"","px-4":"","md:px-2":"","grid-cols-4":"","sm:grid-cols-6":"","md:grid-cols-8":"","lg:grid-cols-10":"","xl:grid-cols-15":"",lass:"2xl:grid-cols-18"},rs={"w-full":"","aspect-ratio-square":"",rounded:""},cs={"w-full":"","text-truncate":"","text-xs":"","md:text-sm":"","text-center":""},us=le({__name:"category",setup(e){const n=J(()=>W[ie.value].id),t=D(),a=i=>{W[i].categories.value.length||(t.value="加载中...",De(n.value,"getCategories").then(l=>{t.value=null,W[i].categories.value=l},l=>t.value=l))};return(i,l)=>{const r=xn("router-link"),s=Yt,f=Wt,c=En("lazy");return T(),X(f,{active:y(ie),"onUpdate:active":l[0]||(l[0]=u=>We(ie)?ie.value=u:null),link:!0,"pt-1":""},{default:K(()=>[(T(!0),U(oe,null,ge(y(W),u=>(T(),X(s,{title:u.name,href:`/${u.id}/category`,onInited:a,key:u.id},{default:K(()=>[y(t)?(T(),U("div",ls,Z(y(t)),1)):(T(),X(f,{key:1,active:u.categoryActive.value,"onUpdate:active":h=>u.categoryActive.value=h},{default:K(()=>[(T(!0),U(oe,null,ge(u.categories.value,h=>(T(),X(s,{title:h.name,key:h.id},{default:K(()=>[v("div",ss,[(T(!0),U(oe,null,ge(h.list,d=>(T(),X(r,{to:`/${u.id}/category/${d.cid}`,"cursor-pointer":""},{default:K(()=>[Q(v("img",rs,null,512),[[c,d.pic]]),v("div",cs,Z(d.name),1)]),_:2},1032,["to"]))),256))])]),_:2},1032,["title"]))),128))]),_:2},1032,["active","onUpdate:active"]))]),_:2},1032,["title","href"]))),128))]),_:1},8,["active"])}}}),fs={"text-center":"","py-1":""},ds={class:"w-60% max-w-md pos-relative inline-block"},hs={class:"h-[calc(100%-3rem)]"},_s={key:1},ps={key:1},vs=le({__name:"search",setup(e){const n=D(""),t=J(()=>W[ie.value]),a=D(),i=()=>{if(!n.value)return Promise.resolve();const u=t.value.search;u.list.value=[],u.page=1,u.hasMore=!0,a.value="搜索中...";const h=t.value.id;return De(h,"searchRooms",{page:u.page,kw:n.value}).then(d=>{u.list.value=d.list,u.hasMore=d.hasMore,u.page+=1,a.value="finished",Se[h]||(Se[h]=d.cookie)},d=>a.value=d)},l=u=>{const h=t.value.search,d=t.value.id;u("loading"),De(d,"searchRooms",{page:h.page,kw:n.value}).then(w=>{if(h.list.value=h.list.value.concat(w.list),h.hasMore=w.hasMore,Se[d]||(Se[d]=w.cookie),!h.hasMore)return u("finshed");h.page+=1,u("normal")},w=>{u("loaderror")})},r=u=>{s.push(`/${ht[u]}/search`),!f()&&W[u].search.page==1&&i()},s=Cn(),f=()=>{if(n.value)return/^[\d]*$/.test(n.value)?(s.push(`/play/${t.value.id}/${n.value}`),!0):!1},c=()=>{f()||(W.forEach(u=>u.search.page=1),i())};return(u,h)=>{const d=vi,w=zn,I=Yt,L=Wt;return T(),U(oe,null,[v("div",fs,[v("div",ds,[Q(v("input",{"md:text-4":"",type:"text","onUpdate:modelValue":h[0]||(h[0]=E=>We(n)?n.value=E:null),"box-border":"","w-full":"","py-2.5":"","pl-3":"","pr-9":"","text-white":"","bg-transparent":"","b-1":"","b-green":"","rounded-6":"","outline-0":"",onKeydown:nl(c,["enter"]),placeholder:"请输入房间号或关键字"},null,544),[[hi,y(n),void 0,{trim:!0}]]),v("div",{class:"i-ri-search-line top-50%",absolute:"","right-3":"",onClick:c,style:{transform:"translateY(-50%)"}})])]),v("div",hs,[H(L,{active:y(ie),"onUpdate:active":h[1]||(h[1]=E=>We(ie)?ie.value=E:null),onTabClick:r},{default:K(()=>[(T(!0),U(oe,null,ge(y(W),E=>(T(),X(I,{title:E.name,key:E.id},{default:K(()=>[y(a)=="finished"?(T(),U(oe,{key:0},[E.search.list.value.length?(T(),X(w,{key:0,onLoad:l},{default:K(()=>[H(d,{list:E.search.list},null,8,["list"])]),_:2},1024)):(T(),U("div",_s," 什么也没有找到 "))],64)):(T(),U("div",ps,Z(y(a)),1))]),_:2},1032,["title"]))),128))]),_:1},8,["active"])])],64)}}}),gs=["data-id","data-site","href"],ms={"pos-relative":"","text-fuchsia-5":"","rounded-t-2":"","w-full":"","aspect-video":""},ws={block:"","mx-auto":"","text-center":"","h-full":"","rounded-2":"","select-none":""},xs={"pos-absolute":"","bottom-0":"","right-0":"","px-2":"","py-1":"","rounded-tl-2":"","bg-dark-6":""},ys={"line-height-none":"","pos-absolute":"","top-0":"","right-0":"","px-1":"","py-1":"","rounded-tr-1":"","rounded-bl-2":"","bg-dark-6":""},bs={key:0,"rounded-2":"","text-white":"","pos-absolute":"","text-8":"","top-0":"","bottom-0":"","left-0":"","right-0":"",flex:"","justify-center":"","items-center":"","bg-gray-7":"","bg-op-80":""},ks=["onClick"],Ss={"px-2":"","text-truncate":"","leading-normal":""},As={"px-2":"","text-truncate":"","leading-normal":"","pb-2":""},Es=le({__name:"rooms2",props:{list:{}},setup(e){let n;const t=Cn(),a=D(),i=s=>{clearTimeout(n),n=setTimeout(()=>{const f=r("id",s.target,a.value);if(!f)return;const c=r("site",s.target,a.value);t.push(`/${c}/play/${f}`)},300)},l=s=>{var h;clearTimeout(n);const f=r("id",s.target,a.value);if(!f)return;const u=`/${r("site",s.target,a.value)}/play/${f}`;(h=window.open(u,"_blank"))==null||h.location},r=(s,f,c)=>{if(f==c)return null;const u=f.dataset[s];return u||r(s,f.parentElement,c)};return(s,f)=>{const c=En("lazy");return s.list.value.length>0?(T(),U("div",{key:0,ref_key:"root",ref:a,grid:"","gap-4":"","p-2":"","justify-evenly":"","cursor-pointer":"","select-none":"","grid-cols-2":"","md:grid-cols-3":"","xl:grid-cols-4":"",class:"2xl:grid-cols-5",onClick:q(i,["prevent"]),onDblclick:q(l,["prevent"])},[(T(!0),U(oe,null,ge(s.list.value,u=>(T(),U("a",{"data-id":u.roomId,"data-site":u.siteId,href:`/${u.siteId}/play/${u.roomId}`,key:`${u.siteId}-${u.roomId}`,shadow:"","rounded-2":"","b-2px":"","b-solid":"","b-transparent":"","hover:b-amber":"","overflow-hidden":""},[v("div",ms,[Q(v("img",ws,null,512),[[c,u.cover]]),v("div",xs,Z(u.category),1),v("div",ys,[f[0]||(f[0]=v("div",{class:"i-mdi-fire"},null,-1)),v("span",null,Z(u.online),1)]),u.status?Le("",!0):(T(),U("div",bs," 未开播 ")),v("div",{"pos-absolute":"","z-1":"","left-2":"","top-2":"","text-green-5":"","w-6":"","h-6":"","hover:text-amber":"",class:"i-mdi-heart-off-outline",onClick:h=>y(ii)(u.siteId,u.roomId)},null,8,ks)]),v("div",Ss,Z(u.title),1),v("div",As,Z(u.nickname),1)],8,gs))),128))],544)):Le("",!0)}}}),Is={flex:"","items-center":""},Ts={"grow-1":"","justify-center":"","gap-2":"","p-2":"",flex:""},Cs={"pos-relative":"",flex:"","gap-2":""},zs={"pos-absolute":"","top-0":"","right-0":"",style:{transform:"translateX(150%)"},"rounded-6":"","bg-white":"",shadow:"","text-amber":""},Rs={class:"bg-gray-7 gap-4 p-12 rounded-2 flex flex-col shadow relative mt-30"},Ms={class:"flex justify-center items-center"},Os={class:"flex gap-4"},Ls={class:"py-2 min-w-16"},Ds={class:"flex gap-4"},Us={class:"py-2 min-w-16"},Bs={class:"h-[calc(100%-3rem)]"},$s=le({__name:"follow",setup(e){const n=yn(W,E=>({name:E.name,list:J(()=>Object.values(E.follows).sort(k=>k.status?-1:0))}));n.unshift({name:"全部",list:J(()=>W.map(E=>Object.values(E.follows)).flat().sort(E=>E.status?-1:0))});const t=D(0),a=()=>{var k;if(l.value)return;const E=t.value;l.value=!0,E==0?Promise.all(yn(W,ni)).finally(i):(k=ni(W[E-1]))==null||k.finally(i)},i=()=>setTimeout(()=>l.value=!1,300),l=D(!1),r=D(""),s=D(!1),f=D([]),c=D(!1),u=()=>setTimeout(()=>c.value=!1,300),h=()=>{c.value||(c.value=!0,ml(n[0].list.value).then(E=>{r.value=E,f.value=n[0].list.value}).finally(u))},d=()=>{if(!c.value){if(!/^\d{4}$/.test(r.value))return r.value="";c.value=!0,wl(r.value).then(E=>{f.value=E},E=>r.value=E).finally(u)}},w=()=>{if(!c.value){if(c.value=!0,r.value.startsWith("[")){try{const E=JSON.parse(r.value);Vo(E,k=>{/^\d+$/.test(k.roomId)&&Mt({siteId:k.siteId,roomId:k.roomId,cover:k.face,nickname:k.userName})})}catch{r.value="合并失败"}return u()}f.value.forEach(E=>Mt(E)),u()}},I=()=>{c.value||(c.value=!0,yl(),f.value.forEach(E=>Mt(E)),u())};a();const L=E=>E("finshed");return(E,k)=>{const M=Es,S=zn,b=Yt,x=Wt;return T(),U(oe,null,[v("div",Is,[v("div",Ts,[v("div",Cs,[k[6]||(k[6]=Rt("关注用户 ")),v("button",{class:"bg-green-5 rounded border-none cursor-pointer",onClick:k[0]||(k[0]=p=>s.value=!0)},"同步"),v("button",{class:"bg-green-5 rounded border-none cursor-pointer",onClick:a},"刷新"),Q(v("div",zs,k[5]||(k[5]=[v("div",{class:"i-ri-refresh-line animate-spin"},null,-1)]),512),[[ke,y(l)]])]),Q(v("div",{class:"absolute z-10 top-0 left-0 right-0 bottom-0 flex justify-center items-start",onClick:k[3]||(k[3]=q(p=>s.value=!1,["self"]))},[v("div",Rs,[v("div",Ms,[k[8]||(k[8]=v("div",{class:"text-8"},"同步",-1)),Q(v("div",null,k[7]||(k[7]=[v("div",{class:"i-ri-refresh-line animate-spin"},null,-1)]),512),[[ke,y(c)]])]),Q(v("input",{class:"outline-none p-2 border-none rounded-2 flex-1","onUpdate:modelValue":k[1]||(k[1]=p=>We(r)?r.value=p:null),type:"text",placeholder:"key"},null,512),[[hi,y(r)]]),v("div",Os,[v("div",Ls,"本地 "+Z(y(n)[0].list.value.length),1),v("div",{onClick:w,class:"bg-green-7 hover:bg-op-50 cursor-pointer rounded py-2 px-4"}," 合并 "),v("div",{onClick:I,class:"bg-green-7 hover:bg-op-50 cursor-pointer rounded py-2 px-4"},"覆盖")]),v("div",Ds,[v("div",Us,"云端 "+Z(y(f).length),1),v("div",{onClick:d,class:"bg-green-7 hover:bg-op-50 cursor-pointer rounded py-2 px-4"},"拉取"),v("div",{onClick:h,class:"bg-green-7 hover:bg-op-50 cursor-pointer rounded py-2 px-4"},"推送")]),k[9]||(k[9]=v("div",null,[v("div",null,"1. key 有效期 10 分钟"),v("div",null,"2. 拉取需要输入 key"),v("div",null,"3. 推送自动生成 key ")],-1)),v("div",{onClick:k[2]||(k[2]=q(p=>s.value=!1,["stop"])),class:"i-ri-close-circle-line absolute right-2 top-2"})])],512),[[ke,y(s)]])])]),v("div",Bs,[H(x,{active:y(t),"onUpdate:active":k[4]||(k[4]=p=>We(t)?t.value=p:null)},{default:K(()=>[(T(!0),U(oe,null,ge(y(n),p=>(T(),X(b,{title:p.name},{default:K(()=>[H(S,{onLoad:L,"finshed-text":""},{default:K(()=>[H(M,{list:p.list},null,8,["list"])]),_:2},1024)]),_:2},1032,["title"]))),256))]),_:1},8,["active"])])],64)}}}),Fs=le({__name:"index",setup(e){const n=J(()=>W[ie.value].id),t=a=>{const i=W[ie.value].recommend;De(n.value,"getRecommendRooms",{page:i.page}).then(l=>{if(i.list.value=i.list.value.concat(l.list),i.hasMore=l.hasMore,Se[n.value]||(Se[n.value]=l.cookie),!i.hasMore)return a("finshed");i.page++,a("normal")},()=>a("loaderror"))};return(a,i)=>{const l=vi,r=zn,s=Yt,f=Wt;return T(),X(f,{active:y(ie),"onUpdate:active":i[0]||(i[0]=c=>We(ie)?ie.value=c:null),link:!0,"pt-1":""},{default:K(()=>[(T(!0),U(oe,null,ge(y(W),c=>(T(),X(s,{href:`/${c.id}`,key:c.id,title:c.name,"pos-relative":""},{default:K(()=>[H(r,{onLoad:t,"h-full":""},{default:K(()=>[H(l,{list:c.recommend.list},null,8,["list"])]),_:2},1024)]),_:2},1032,["href","title"]))),128))]),_:1},8,["active"])}}}),Ns=le({__name:"switch",props:{value:{type:Boolean,required:!0},valueModifiers:{}},emits:["update:value"],setup(e){const n=Kt(e,"value");return(t,a)=>(T(),U("div",{"pos-relative":"",style:{transition:"background-color .3s"},onClick:a[0]||(a[0]=()=>n.value=!n.value),"w-12":"","inline-block":"","cursor-pointer":"","rounded-6":"","h-6":"",class:Y([n.value?"bg-amber":"bg-gray-4"])},[v("div",{"w-6":"","h-full":"","rounded-6":"","bg-white":"",style:dt([{transition:"transform .3s"},n.value?"transform:translateX(1.5rem)":""])},null,4)],2))}}),Zs={"rounded-4":"",flex:"","bg-gray-7":"","w-min":"","p-2":"","py-1":"","gap-2":""},js=le({__name:"stepper",props:Bt({max:{},min:{},step:{}},{value:{required:!0},valueModifiers:{}}),emits:["update:value"],setup(e){const n=e,t=Kt(e,"value"),a=()=>t.value=Math.min(t.value+n.step,n.max),i=()=>t.value=Math.max(t.value-n.step,n.min);return(l,r)=>(T(),U("div",Zs,[v("div",{class:"i-ri-subtract-fill",onClick:i}),v("div",null,Z(t.value),1),v("div",{class:"i-ri-add-fill",onClick:a})]))}});function Ps(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}const mn=Ps(),Hs=e=>mn?e.touches==null?e:e.touches[0]||e.changedTouches[0]:e,Vs=le({__name:"slider",props:Bt({max:{default:100},min:{default:0},width:{default:30},height:{default:100}},{value:{required:!0},valueModifiers:{}}),emits:["update:value"],setup(e){const n=e,t=Kt(e,"value"),a=D(),i=n.width<n.height;let l;const r=h=>{h.stopPropagation(),c(h),document.addEventListener("mousemove",c,!0),document.addEventListener("mouseup",u,!0)},s=J(()=>(t.value-n.min)/(n.max-n.min)*100),f=J(()=>{const h=100-s.value,d=`top:${h}%`,w=`left:${h}%`;return i?{loaded:d,indicator:d}:{loaded:`${w};transform:translateX(-100%)`,indicator:w}}),c=h=>{h.stopPropagation(),h=Hs(h);const w=100-(Math.min(i?l.height:l.width,Math.max(0,i?h.clientY-l.y:h.clientX-l.x))/(i?l.height:l.width)*100|0);t.value=((n.max-n.min)*w|0)/100+n.min|0},u=h=>{h.stopPropagation(),document.removeEventListener("mousemove",c,!0),document.removeEventListener("mouseup",u,!0)};return wt(()=>{l=a.value.getBoundingClientRect(),a.value.addEventListener("mousedown",r,!0)}),In(()=>{a.value.removeEventListener("mousedown",r,!0)}),(h,d)=>(T(),U("div",{"cursor-pointer":"",style:dt({width:`${n.width}px`,height:`${n.height}px`}),class:Y(i?" py-4 ":"px-4"),flex:"","justify-center":""},[v("div",{"w-full":"","h-full":"","pos-relative":"",flex:"","justify-center":"","items-center":"",ref_key:"root",ref:a,onClick:c},[v("div",{"bg-gray":"","pos-relative":"","overflow-hidden":"",class:Y(i?"h-full w-2px":"w-full h-2px")},[v("div",{"w-full":"","bg-amber":"","h-full":"","pos-absolute":"",style:dt(y(f).loaded)},null,4)],2),v("div",{"pos-absolute":"","w-12px":"","h-12px":"","bg-amber":"","rounded-2":"",style:dt(y(f).indicator),class:Y(i?"-mt-6px":"-ml-6px")},null,6)],512)],6))}}),Gs={key:0,"z-1":"",fixed:"","top-0":"","bottom-0":"","left-0":"","right-0":"","bg-transparent":"","data-index":"-1"},Ks={"p-1":"","data-index":"-1","hover:text-amber":""},Ws={"text-center":"","z-1":"","pos-absolute":"","top-0":"",class:"left-50%","w-max":"",style:{transform:"translate3d(-50%,-100%,0)"}},Ys=["data-index"],Qs=le({__name:"select",props:Bt(["list"],{active:{required:!0},activeModifiers:{}}),emits:["update:active"],setup(e){const n=Kt(e,"active"),t=D(!1),a=i=>{const l=i.target.dataset.index;l&&(l!="-1"&&(n.value=parseInt(l)),t.value=!t.value)};return(i,l)=>(T(),U("div",{"inline-block":"","pos-relative":"",onClick:a,"cursor-pointer":"","text-center":""},[y(t)?(T(),U("div",Gs)):Le("",!0),v("div",Ks,Z(e.list[n.value]),1),Q(v("div",Ws,[(T(!0),U(oe,null,ge(e.list,(r,s)=>(T(),U("div",{"data-index":s,class:Y({"text-amber":s==n.value}),"p-1":"","hover:text-amber":""},Z(r),11,Ys))),256))],512),[[ke,y(t)]])]))}}),Pi="data:image/png;base64,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",Hi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAArlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8tivQqAAAAOXRSTlMAQL+AVSFwReurxLHcZuZhaxvx9dKPfhIHXc6LUC4LeVmgOMiFNCbXm5N04LeoSzz7pBYru5YPA5jd4ld+AAAKR0lEQVR42uzba3OiMBQG4INXvKGiUuttvaPVarW27vv//9h21umCJlZOBMPO8Hy2Dm+TcMIJUiKRSCQSiUQikUj8p8bL1JdMm5RtXr++YGeQVpkUTswlqUm7OOmkSZ8MPAW1HPDoS5KBX0EtRwySHMs40yKuCs5tSIseLmSIZ2biXIm0KOGCWyeWAxCLIYFgRBxTCJakA0QV1swUrUkHiKx3CipbhuiVdICAcw/eQWJKOpQgkaNgXvAlJou9B4nGjIIw3iBRJC2OZaiu18EEMhnSIwcZh25bQuaDdClAJk+3PEOmOCBd3k1IFNu3/syChD0jfSqQ6arc7lAlnXaQ6dFPHMi0SKvsChLNPV23gUzqSHpVIfObrto3IWH3SbcRZJ6Znx+SdvUyJFZZkqtBpksxMITMjqTGDUikKBY+IFMjiXYKEvacYuGpCQmzT6JuXBfISQ8yTRIMY7dA2vV+PlNLT7vLxei1sD5AJiUoSz9Weh0tp07tuWfM5vXPIz1CNl/pFiZlGxFqmOVmsdCt5LMUjf7LGg9WqryHnqLVhBadVp/CM2+9QZu31pzCUZ/a0Mqe1ikEWxfalYd0twxioUV3chATE7pLCvFBd5ggRsqk7IBYWas3d5kaljtJBTRxrQaYCqSkCyn77FoPhUXLyVV7xiz71Cam9lN2ZvSqOae1KBxSPkXXDO/etYXI/TDq9CDjXAGCHvGtcWk0psfavuJC55O4arhQytPjZex7J9d+hTNWjbSYr3Buc9+AFLKkyxpnXu8q6QXSaIEzY+Iw4pPjsp4t1XtVnSfSKg8/mzPL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",rn=window.Flv,cn=window.Hls;/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const Js=4,Vi=0,Gi=1,qs=2;function yt(e){let n=e.length;for(;--n>=0;)e[n]=0}const Xs=0,Yo=1,er=2,tr=3,nr=258,gi=29,Qt=256,$t=Qt+1+gi,_t=30,mi=19,Qo=2*$t+1,Xe=15,Nn=16,ir=7,wi=256,Jo=16,qo=17,Xo=18,oi=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),wn=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),or=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),ea=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ar=512,Be=new Array(($t+2)*2);yt(Be);const Ot=new Array(_t*2);yt(Ot);const Ft=new Array(ar);yt(Ft);const Nt=new Array(nr-tr+1);yt(Nt);const xi=new Array(gi);yt(xi);const bn=new Array(_t);yt(bn);function Zn(e,n,t,a,i){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=a,this.max_length=i,this.has_stree=e&&e.length}let ta,na,ia;function jn(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}const oa=e=>e<256?Ft[e]:Ft[256+(e>>>7)],Zt=(e,n)=>{e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255},ve=(e,n,t)=>{e.bi_valid>Nn-t?(e.bi_buf|=n<<e.bi_valid&65535,Zt(e,e.bi_buf),e.bi_buf=n>>Nn-e.bi_valid,e.bi_valid+=t-Nn):(e.bi_buf|=n<<e.bi_valid&65535,e.bi_valid+=t)},Re=(e,n,t)=>{ve(e,t[n*2],t[n*2+1])},aa=(e,n)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1},lr=e=>{e.bi_valid===16?(Zt(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},sr=(e,n)=>{const t=n.dyn_tree,a=n.max_code,i=n.stat_desc.static_tree,l=n.stat_desc.has_stree,r=n.stat_desc.extra_bits,s=n.stat_desc.extra_base,f=n.stat_desc.max_length;let c,u,h,d,w,I,L=0;for(d=0;d<=Xe;d++)e.bl_count[d]=0;for(t[e.heap[e.heap_max]*2+1]=0,c=e.heap_max+1;c<Qo;c++)u=e.heap[c],d=t[t[u*2+1]*2+1]+1,d>f&&(d=f,L++),t[u*2+1]=d,!(u>a)&&(e.bl_count[d]++,w=0,u>=s&&(w=r[u-s]),I=t[u*2],e.opt_len+=I*(d+w),l&&(e.static_len+=I*(i[u*2+1]+w)));if(L!==0){do{for(d=f-1;e.bl_count[d]===0;)d--;e.bl_count[d]--,e.bl_count[d+1]+=2,e.bl_count[f]--,L-=2}while(L>0);for(d=f;d!==0;d--)for(u=e.bl_count[d];u!==0;)h=e.heap[--c],!(h>a)&&(t[h*2+1]!==d&&(e.opt_len+=(d-t[h*2+1])*t[h*2],t[h*2+1]=d),u--)}},la=(e,n,t)=>{const a=new Array(Xe+1);let i=0,l,r;for(l=1;l<=Xe;l++)i=i+t[l-1]<<1,a[l]=i;for(r=0;r<=n;r++){let s=e[r*2+1];s!==0&&(e[r*2]=aa(a[s]++,s))}},rr=()=>{let e,n,t,a,i;const l=new Array(Xe+1);for(t=0,a=0;a<gi-1;a++)for(xi[a]=t,e=0;e<1<<oi[a];e++)Nt[t++]=a;for(Nt[t-1]=a,i=0,a=0;a<16;a++)for(bn[a]=i,e=0;e<1<<wn[a];e++)Ft[i++]=a;for(i>>=7;a<_t;a++)for(bn[a]=i<<7,e=0;e<1<<wn[a]-7;e++)Ft[256+i++]=a;for(n=0;n<=Xe;n++)l[n]=0;for(e=0;e<=143;)Be[e*2+1]=8,e++,l[8]++;for(;e<=255;)Be[e*2+1]=9,e++,l[9]++;for(;e<=279;)Be[e*2+1]=7,e++,l[7]++;for(;e<=287;)Be[e*2+1]=8,e++,l[8]++;for(la(Be,$t+1,l),e=0;e<_t;e++)Ot[e*2+1]=5,Ot[e*2]=aa(e,5);ta=new Zn(Be,oi,Qt+1,$t,Xe),na=new Zn(Ot,wn,0,_t,Xe),ia=new Zn(new Array(0),or,0,mi,ir)},sa=e=>{let n;for(n=0;n<$t;n++)e.dyn_ltree[n*2]=0;for(n=0;n<_t;n++)e.dyn_dtree[n*2]=0;for(n=0;n<mi;n++)e.bl_tree[n*2]=0;e.dyn_ltree[wi*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},ra=e=>{e.bi_valid>8?Zt(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},Ki=(e,n,t,a)=>{const i=n*2,l=t*2;return e[i]<e[l]||e[i]===e[l]&&a[n]<=a[t]},Pn=(e,n,t)=>{const a=e.heap[t];let i=t<<1;for(;i<=e.heap_len&&(i<e.heap_len&&Ki(n,e.heap[i+1],e.heap[i],e.depth)&&i++,!Ki(n,a,e.heap[i],e.depth));)e.heap[t]=e.heap[i],t=i,i<<=1;e.heap[t]=a},Wi=(e,n,t)=>{let a,i,l=0,r,s;if(e.sym_next!==0)do a=e.pending_buf[e.sym_buf+l++]&255,a+=(e.pending_buf[e.sym_buf+l++]&255)<<8,i=e.pending_buf[e.sym_buf+l++],a===0?Re(e,i,n):(r=Nt[i],Re(e,r+Qt+1,n),s=oi[r],s!==0&&(i-=xi[r],ve(e,i,s)),a--,r=oa(a),Re(e,r,t),s=wn[r],s!==0&&(a-=bn[r],ve(e,a,s)));while(l<e.sym_next);Re(e,wi,n)},ai=(e,n)=>{const t=n.dyn_tree,a=n.stat_desc.static_tree,i=n.stat_desc.has_stree,l=n.stat_desc.elems;let r,s,f=-1,c;for(e.heap_len=0,e.heap_max=Qo,r=0;r<l;r++)t[r*2]!==0?(e.heap[++e.heap_len]=f=r,e.depth[r]=0):t[r*2+1]=0;for(;e.heap_len<2;)c=e.heap[++e.heap_len]=f<2?++f:0,t[c*2]=1,e.depth[c]=0,e.opt_len--,i&&(e.static_len-=a[c*2+1]);for(n.max_code=f,r=e.heap_len>>1;r>=1;r--)Pn(e,t,r);c=l;do r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Pn(e,t,1),s=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=s,t[c*2]=t[r*2]+t[s*2],e.depth[c]=(e.depth[r]>=e.depth[s]?e.depth[r]:e.depth[s])+1,t[r*2+1]=t[s*2+1]=c,e.heap[1]=c++,Pn(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],sr(e,n),la(t,f,e.bl_count)},Yi=(e,n,t)=>{let a,i=-1,l,r=n[0*2+1],s=0,f=7,c=4;for(r===0&&(f=138,c=3),n[(t+1)*2+1]=65535,a=0;a<=t;a++)l=r,r=n[(a+1)*2+1],!(++s<f&&l===r)&&(s<c?e.bl_tree[l*2]+=s:l!==0?(l!==i&&e.bl_tree[l*2]++,e.bl_tree[Jo*2]++):s<=10?e.bl_tree[qo*2]++:e.bl_tree[Xo*2]++,s=0,i=l,r===0?(f=138,c=3):l===r?(f=6,c=3):(f=7,c=4))},Qi=(e,n,t)=>{let a,i=-1,l,r=n[0*2+1],s=0,f=7,c=4;for(r===0&&(f=138,c=3),a=0;a<=t;a++)if(l=r,r=n[(a+1)*2+1],!(++s<f&&l===r)){if(s<c)do Re(e,l,e.bl_tree);while(--s!==0);else l!==0?(l!==i&&(Re(e,l,e.bl_tree),s--),Re(e,Jo,e.bl_tree),ve(e,s-3,2)):s<=10?(Re(e,qo,e.bl_tree),ve(e,s-3,3)):(Re(e,Xo,e.bl_tree),ve(e,s-11,7));s=0,i=l,r===0?(f=138,c=3):l===r?(f=6,c=3):(f=7,c=4)}},cr=e=>{let n;for(Yi(e,e.dyn_ltree,e.l_desc.max_code),Yi(e,e.dyn_dtree,e.d_desc.max_code),ai(e,e.bl_desc),n=mi-1;n>=3&&e.bl_tree[ea[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n},ur=(e,n,t,a)=>{let i;for(ve(e,n-257,5),ve(e,t-1,5),ve(e,a-4,4),i=0;i<a;i++)ve(e,e.bl_tree[ea[i]*2+1],3);Qi(e,e.dyn_ltree,n-1),Qi(e,e.dyn_dtree,t-1)},fr=e=>{let n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return Vi;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Gi;for(t=32;t<Qt;t++)if(e.dyn_ltree[t*2]!==0)return Gi;return Vi};let Ji=!1;const dr=e=>{Ji||(rr(),Ji=!0),e.l_desc=new jn(e.dyn_ltree,ta),e.d_desc=new jn(e.dyn_dtree,na),e.bl_desc=new jn(e.bl_tree,ia),e.bi_buf=0,e.bi_valid=0,sa(e)},ca=(e,n,t,a)=>{ve(e,(Xs<<1)+(a?1:0),3),ra(e),Zt(e,t),Zt(e,~t),t&&e.pending_buf.set(e.window.subarray(n,n+t),e.pending),e.pending+=t},hr=e=>{ve(e,Yo<<1,3),Re(e,wi,Be),lr(e)},_r=(e,n,t,a)=>{let i,l,r=0;e.level>0?(e.strm.data_type===qs&&(e.strm.data_type=fr(e)),ai(e,e.l_desc),ai(e,e.d_desc),r=cr(e),i=e.opt_len+3+7>>>3,l=e.static_len+3+7>>>3,l<=i&&(i=l)):i=l=t+5,t+4<=i&&n!==-1?ca(e,n,t,a):e.strategy===Js||l===i?(ve(e,(Yo<<1)+(a?1:0),3),Wi(e,Be,Ot)):(ve(e,(er<<1)+(a?1:0),3),ur(e,e.l_desc.max_code+1,e.d_desc.max_code+1,r+1),Wi(e,e.dyn_ltree,e.dyn_dtree)),sa(e),a&&ra(e)},pr=(e,n,t)=>(e.pending_buf[e.sym_buf+e.sym_next++]=n,e.pending_buf[e.sym_buf+e.sym_next++]=n>>8,e.pending_buf[e.sym_buf+e.sym_next++]=t,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(Nt[t]+Qt+1)*2]++,e.dyn_dtree[oa(n)*2]++),e.sym_next===e.sym_end);var vr=dr,gr=ca,mr=_r,wr=pr,xr=hr,yr={_tr_init:vr,_tr_stored_block:gr,_tr_flush_block:mr,_tr_tally:wr,_tr_align:xr};const br=(e,n,t,a)=>{let i=e&65535|0,l=e>>>16&65535|0,r=0;for(;t!==0;){r=t>2e3?2e3:t,t-=r;do i=i+n[a++]|0,l=l+i|0;while(--r);i%=65521,l%=65521}return i|l<<16|0};var jt=br;const kr=()=>{let e,n=[];for(var t=0;t<256;t++){e=t;for(var a=0;a<8;a++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n},Sr=new Uint32Array(kr()),Ar=(e,n,t,a)=>{const i=Sr,l=a+t;e^=-1;for(let r=a;r<l;r++)e=e>>>8^i[(e^n[r])&255];return e^-1};var ne=Ar,vt={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Jt={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Er,_tr_stored_block:li,_tr_flush_block:Ir,_tr_tally:Ve,_tr_align:Tr}=yr,{Z_NO_FLUSH:Ge,Z_PARTIAL_FLUSH:Cr,Z_FULL_FLUSH:zr,Z_FINISH:Ie,Z_BLOCK:qi,Z_OK:ae,Z_STREAM_END:Xi,Z_STREAM_ERROR:Me,Z_DATA_ERROR:Rr,Z_BUF_ERROR:Hn,Z_DEFAULT_COMPRESSION:Mr,Z_FILTERED:Or,Z_HUFFMAN_ONLY:un,Z_RLE:Lr,Z_FIXED:Dr,Z_DEFAULT_STRATEGY:Ur,Z_UNKNOWN:Br,Z_DEFLATED:Rn}=Jt,$r=9,Fr=15,Nr=8,Zr=29,jr=256,si=jr+1+Zr,Pr=30,Hr=19,Vr=2*si+1,Gr=15,j=3,Pe=258,Oe=Pe+j+1,Kr=32,gt=42,yi=57,ri=69,ci=73,ui=91,fi=103,et=113,Ct=666,_e=1,bt=2,nt=3,kt=4,Wr=3,tt=(e,n)=>(e.msg=vt[n],n),eo=e=>e*2-(e>4?9:0),Ze=e=>{let n=e.length;for(;--n>=0;)e[n]=0},Yr=e=>{let n,t,a,i=e.w_size;n=e.hash_size,a=n;do t=e.head[--a],e.head[a]=t>=i?t-i:0;while(--n);n=i,a=n;do t=e.prev[--a],e.prev[a]=t>=i?t-i:0;while(--n)};let Qr=(e,n,t)=>(n<<e.hash_shift^t)&e.hash_mask,Ke=Qr;const ye=e=>{const n=e.state;let t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+t),e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))},Ae=(e,n)=>{Ir(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,ye(e.strm)},P=(e,n)=>{e.pending_buf[e.pending++]=n},It=(e,n)=>{e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255},di=(e,n,t,a)=>{let i=e.avail_in;return i>a&&(i=a),i===0?0:(e.avail_in-=i,n.set(e.input.subarray(e.next_in,e.next_in+i),t),e.state.wrap===1?e.adler=jt(e.adler,n,i,t):e.state.wrap===2&&(e.adler=ne(e.adler,n,i,t)),e.next_in+=i,e.total_in+=i,i)},ua=(e,n)=>{let t=e.max_chain_length,a=e.strstart,i,l,r=e.prev_length,s=e.nice_match;const f=e.strstart>e.w_size-Oe?e.strstart-(e.w_size-Oe):0,c=e.window,u=e.w_mask,h=e.prev,d=e.strstart+Pe;let w=c[a+r-1],I=c[a+r];e.prev_length>=e.good_match&&(t>>=2),s>e.lookahead&&(s=e.lookahead);do if(i=n,!(c[i+r]!==I||c[i+r-1]!==w||c[i]!==c[a]||c[++i]!==c[a+1])){a+=2,i++;do;while(c[++a]===c[++i]&&c[++a]===c[++i]&&c[++a]===c[++i]&&c[++a]===c[++i]&&c[++a]===c[++i]&&c[++a]===c[++i]&&c[++a]===c[++i]&&c[++a]===c[++i]&&a<d);if(l=Pe-(d-a),a=d-Pe,l>r){if(e.match_start=n,r=l,l>=s)break;w=c[a+r-1],I=c[a+r]}}while((n=h[n&u])>f&&--t!==0);return r<=e.lookahead?r:e.lookahead},mt=e=>{const n=e.w_size;let t,a,i;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-Oe)&&(e.window.set(e.window.subarray(n,n+n-a),0),e.match_start-=n,e.strstart-=n,e.block_start-=n,e.insert>e.strstart&&(e.insert=e.strstart),Yr(e),a+=n),e.strm.avail_in===0)break;if(t=di(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=t,e.lookahead+e.insert>=j)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=Ke(e,e.ins_h,e.window[i+1]);e.insert&&(e.ins_h=Ke(e,e.ins_h,e.window[i+j-1]),e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<j)););}while(e.lookahead<Oe&&e.strm.avail_in!==0)},fa=(e,n)=>{let t=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,a,i,l,r=0,s=e.strm.avail_in;do{if(a=65535,l=e.bi_valid+42>>3,e.strm.avail_out<l||(l=e.strm.avail_out-l,i=e.strstart-e.block_start,a>i+e.strm.avail_in&&(a=i+e.strm.avail_in),a>l&&(a=l),a<t&&(a===0&&n!==Ie||n===Ge||a!==i+e.strm.avail_in)))break;r=n===Ie&&a===i+e.strm.avail_in?1:0,li(e,0,0,r),e.pending_buf[e.pending-4]=a,e.pending_buf[e.pending-3]=a>>8,e.pending_buf[e.pending-2]=~a,e.pending_buf[e.pending-1]=~a>>8,ye(e.strm),i&&(i>a&&(i=a),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,a-=i),a&&(di(e.strm,e.strm.output,e.strm.next_out,a),e.strm.next_out+=a,e.strm.avail_out-=a,e.strm.total_out+=a)}while(r===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),r?kt:n!==Ge&&n!==Ie&&e.strm.avail_in===0&&e.strstart===e.block_start?bt:(l=e.window_size-e.strstart,e.strm.avail_in>l&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,l+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),l>e.strm.avail_in&&(l=e.strm.avail_in),l&&(di(e.strm,e.window,e.strstart,l),e.strstart+=l,e.insert+=l>e.w_size-e.insert?e.w_size-e.insert:l),e.high_water<e.strstart&&(e.high_water=e.strstart),l=e.bi_valid+42>>3,l=e.pending_buf_size-l>65535?65535:e.pending_buf_size-l,t=l>e.w_size?e.w_size:l,i=e.strstart-e.block_start,(i>=t||(i||n===Ie)&&n!==Ge&&e.strm.avail_in===0&&i<=l)&&(a=i>l?l:i,r=n===Ie&&e.strm.avail_in===0&&a===i?1:0,li(e,e.block_start,a,r),e.block_start+=a,ye(e.strm)),r?nt:_e)},Vn=(e,n)=>{let t,a;for(;;){if(e.lookahead<Oe){if(mt(e),e.lookahead<Oe&&n===Ge)return _e;if(e.lookahead===0)break}if(t=0,e.lookahead>=j&&(e.ins_h=Ke(e,e.ins_h,e.window[e.strstart+j-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-Oe&&(e.match_length=ua(e,t)),e.match_length>=j)if(a=Ve(e,e.strstart-e.match_start,e.match_length-j),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=j){e.match_length--;do e.strstart++,e.ins_h=Ke(e,e.ins_h,e.window[e.strstart+j-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Ke(e,e.ins_h,e.window[e.strstart+1]);else a=Ve(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(a&&(Ae(e,!1),e.strm.avail_out===0))return _e}return e.insert=e.strstart<j-1?e.strstart:j-1,n===Ie?(Ae(e,!0),e.strm.avail_out===0?nt:kt):e.sym_next&&(Ae(e,!1),e.strm.avail_out===0)?_e:bt},ct=(e,n)=>{let t,a,i;for(;;){if(e.lookahead<Oe){if(mt(e),e.lookahead<Oe&&n===Ge)return _e;if(e.lookahead===0)break}if(t=0,e.lookahead>=j&&(e.ins_h=Ke(e,e.ins_h,e.window[e.strstart+j-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=j-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-Oe&&(e.match_length=ua(e,t),e.match_length<=5&&(e.strategy===Or||e.match_length===j&&e.strstart-e.match_start>4096)&&(e.match_length=j-1)),e.prev_length>=j&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-j,a=Ve(e,e.strstart-1-e.prev_match,e.prev_length-j),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=Ke(e,e.ins_h,e.window[e.strstart+j-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=j-1,e.strstart++,a&&(Ae(e,!1),e.strm.avail_out===0))return _e}else if(e.match_available){if(a=Ve(e,0,e.window[e.strstart-1]),a&&Ae(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return _e}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(a=Ve(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<j-1?e.strstart:j-1,n===Ie?(Ae(e,!0),e.strm.avail_out===0?nt:kt):e.sym_next&&(Ae(e,!1),e.strm.avail_out===0)?_e:bt},Jr=(e,n)=>{let t,a,i,l;const r=e.window;for(;;){if(e.lookahead<=Pe){if(mt(e),e.lookahead<=Pe&&n===Ge)return _e;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=j&&e.strstart>0&&(i=e.strstart-1,a=r[i],a===r[++i]&&a===r[++i]&&a===r[++i])){l=e.strstart+Pe;do;while(a===r[++i]&&a===r[++i]&&a===r[++i]&&a===r[++i]&&a===r[++i]&&a===r[++i]&&a===r[++i]&&a===r[++i]&&i<l);e.match_length=Pe-(l-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=j?(t=Ve(e,1,e.match_length-j),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=Ve(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(Ae(e,!1),e.strm.avail_out===0))return _e}return e.insert=0,n===Ie?(Ae(e,!0),e.strm.avail_out===0?nt:kt):e.sym_next&&(Ae(e,!1),e.strm.avail_out===0)?_e:bt},qr=(e,n)=>{let t;for(;;){if(e.lookahead===0&&(mt(e),e.lookahead===0)){if(n===Ge)return _e;break}if(e.match_length=0,t=Ve(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(Ae(e,!1),e.strm.avail_out===0))return _e}return e.insert=0,n===Ie?(Ae(e,!0),e.strm.avail_out===0?nt:kt):e.sym_next&&(Ae(e,!1),e.strm.avail_out===0)?_e:bt};function ze(e,n,t,a,i){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=a,this.func=i}const zt=[new ze(0,0,0,0,fa),new ze(4,4,8,4,Vn),new ze(4,5,16,8,Vn),new ze(4,6,32,32,Vn),new ze(4,4,16,16,ct),new ze(8,16,32,32,ct),new ze(8,16,128,128,ct),new ze(8,32,128,256,ct),new ze(32,128,258,1024,ct),new ze(32,258,258,4096,ct)],Xr=e=>{e.window_size=2*e.w_size,Ze(e.head),e.max_lazy_match=zt[e.level].max_lazy,e.good_match=zt[e.level].good_length,e.nice_match=zt[e.level].nice_length,e.max_chain_length=zt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=j-1,e.match_available=0,e.ins_h=0};function ec(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Rn,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Vr*2),this.dyn_dtree=new Uint16Array((2*Pr+1)*2),this.bl_tree=new Uint16Array((2*Hr+1)*2),Ze(this.dyn_ltree),Ze(this.dyn_dtree),Ze(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Gr+1),this.heap=new Uint16Array(2*si+1),Ze(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*si+1),Ze(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const qt=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.status!==gt&&n.status!==yi&&n.status!==ri&&n.status!==ci&&n.status!==ui&&n.status!==fi&&n.status!==et&&n.status!==Ct?1:0},da=e=>{if(qt(e))return tt(e,Me);e.total_in=e.total_out=0,e.data_type=Br;const n=e.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?yi:n.wrap?gt:et,e.adler=n.wrap===2?0:1,n.last_flush=-2,Er(n),ae},ha=e=>{const n=da(e);return n===ae&&Xr(e.state),n},tc=(e,n)=>qt(e)||e.state.wrap!==2?Me:(e.state.gzhead=n,ae),_a=(e,n,t,a,i,l)=>{if(!e)return Me;let r=1;if(n===Mr&&(n=6),a<0?(r=0,a=-a):a>15&&(r=2,a-=16),i<1||i>$r||t!==Rn||a<8||a>15||n<0||n>9||l<0||l>Dr||a===8&&r!==1)return tt(e,Me);a===8&&(a=9);const s=new ec;return e.state=s,s.strm=e,s.status=gt,s.wrap=r,s.gzhead=null,s.w_bits=a,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+j-1)/j),s.window=new Uint8Array(s.w_size*2),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=(s.lit_bufsize-1)*3,s.level=n,s.strategy=l,s.method=t,ha(e)},nc=(e,n)=>_a(e,n,Rn,Fr,Nr,Ur),ic=(e,n)=>{if(qt(e)||n>qi||n<0)return e?tt(e,Me):Me;const t=e.state;if(!e.output||e.avail_in!==0&&!e.input||t.status===Ct&&n!==Ie)return tt(e,e.avail_out===0?Hn:Me);const a=t.last_flush;if(t.last_flush=n,t.pending!==0){if(ye(e),e.avail_out===0)return t.last_flush=-1,ae}else if(e.avail_in===0&&eo(n)<=eo(a)&&n!==Ie)return tt(e,Hn);if(t.status===Ct&&e.avail_in!==0)return tt(e,Hn);if(t.status===gt&&t.wrap===0&&(t.status=et),t.status===gt){let i=Rn+(t.w_bits-8<<4)<<8,l=-1;if(t.strategy>=un||t.level<2?l=0:t.level<6?l=1:t.level===6?l=2:l=3,i|=l<<6,t.strstart!==0&&(i|=Kr),i+=31-i%31,It(t,i),t.strstart!==0&&(It(t,e.adler>>>16),It(t,e.adler&65535)),e.adler=1,t.status=et,ye(e),t.pending!==0)return t.last_flush=-1,ae}if(t.status===yi){if(e.adler=0,P(t,31),P(t,139),P(t,8),t.gzhead)P(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),P(t,t.gzhead.time&255),P(t,t.gzhead.time>>8&255),P(t,t.gzhead.time>>16&255),P(t,t.gzhead.time>>24&255),P(t,t.level===9?2:t.strategy>=un||t.level<2?4:0),P(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(P(t,t.gzhead.extra.length&255),P(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(e.adler=ne(e.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=ri;else if(P(t,0),P(t,0),P(t,0),P(t,0),P(t,0),P(t,t.level===9?2:t.strategy>=un||t.level<2?4:0),P(t,Wr),t.status=et,ye(e),t.pending!==0)return t.last_flush=-1,ae}if(t.status===ri){if(t.gzhead.extra){let i=t.pending,l=(t.gzhead.extra.length&65535)-t.gzindex;for(;t.pending+l>t.pending_buf_size;){let s=t.pending_buf_size-t.pending;if(t.pending_buf.set(t.gzhead.extra.subarray(t.gzindex,t.gzindex+s),t.pending),t.pending=t.pending_buf_size,t.gzhead.hcrc&&t.pending>i&&(e.adler=ne(e.adler,t.pending_buf,t.pending-i,i)),t.gzindex+=s,ye(e),t.pending!==0)return t.last_flush=-1,ae;i=0,l-=s}let r=new Uint8Array(t.gzhead.extra);t.pending_buf.set(r.subarray(t.gzindex,t.gzindex+l),t.pending),t.pending+=l,t.gzhead.hcrc&&t.pending>i&&(e.adler=ne(e.adler,t.pending_buf,t.pending-i,i)),t.gzindex=0}t.status=ci}if(t.status===ci){if(t.gzhead.name){let i=t.pending,l;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>i&&(e.adler=ne(e.adler,t.pending_buf,t.pending-i,i)),ye(e),t.pending!==0)return t.last_flush=-1,ae;i=0}t.gzindex<t.gzhead.name.length?l=t.gzhead.name.charCodeAt(t.gzindex++)&255:l=0,P(t,l)}while(l!==0);t.gzhead.hcrc&&t.pending>i&&(e.adler=ne(e.adler,t.pending_buf,t.pending-i,i)),t.gzindex=0}t.status=ui}if(t.status===ui){if(t.gzhead.comment){let i=t.pending,l;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>i&&(e.adler=ne(e.adler,t.pending_buf,t.pending-i,i)),ye(e),t.pending!==0)return t.last_flush=-1,ae;i=0}t.gzindex<t.gzhead.comment.length?l=t.gzhead.comment.charCodeAt(t.gzindex++)&255:l=0,P(t,l)}while(l!==0);t.gzhead.hcrc&&t.pending>i&&(e.adler=ne(e.adler,t.pending_buf,t.pending-i,i))}t.status=fi}if(t.status===fi){if(t.gzhead.hcrc){if(t.pending+2>t.pending_buf_size&&(ye(e),t.pending!==0))return t.last_flush=-1,ae;P(t,e.adler&255),P(t,e.adler>>8&255),e.adler=0}if(t.status=et,ye(e),t.pending!==0)return t.last_flush=-1,ae}if(e.avail_in!==0||t.lookahead!==0||n!==Ge&&t.status!==Ct){let i=t.level===0?fa(t,n):t.strategy===un?qr(t,n):t.strategy===Lr?Jr(t,n):zt[t.level].func(t,n);if((i===nt||i===kt)&&(t.status=Ct),i===_e||i===nt)return e.avail_out===0&&(t.last_flush=-1),ae;if(i===bt&&(n===Cr?Tr(t):n!==qi&&(li(t,0,0,!1),n===zr&&(Ze(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),ye(e),e.avail_out===0))return t.last_flush=-1,ae}return n!==Ie?ae:t.wrap<=0?Xi:(t.wrap===2?(P(t,e.adler&255),P(t,e.adler>>8&255),P(t,e.adler>>16&255),P(t,e.adler>>24&255),P(t,e.total_in&255),P(t,e.total_in>>8&255),P(t,e.total_in>>16&255),P(t,e.total_in>>24&255)):(It(t,e.adler>>>16),It(t,e.adler&65535)),ye(e),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?ae:Xi)},oc=e=>{if(qt(e))return Me;const n=e.state.status;return e.state=null,n===et?tt(e,Rr):ae},ac=(e,n)=>{let t=n.length;if(qt(e))return Me;const a=e.state,i=a.wrap;if(i===2||i===1&&a.status!==gt||a.lookahead)return Me;if(i===1&&(e.adler=jt(e.adler,n,t,0)),a.wrap=0,t>=a.w_size){i===0&&(Ze(a.head),a.strstart=0,a.block_start=0,a.insert=0);let f=new Uint8Array(a.w_size);f.set(n.subarray(t-a.w_size,t),0),n=f,t=a.w_size}const l=e.avail_in,r=e.next_in,s=e.input;for(e.avail_in=t,e.next_in=0,e.input=n,mt(a);a.lookahead>=j;){let f=a.strstart,c=a.lookahead-(j-1);do a.ins_h=Ke(a,a.ins_h,a.window[f+j-1]),a.prev[f&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=f,f++;while(--c);a.strstart=f,a.lookahead=j-1,mt(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=j-1,a.match_available=0,e.next_in=r,e.input=s,e.avail_in=l,a.wrap=i,ae};var lc=nc,sc=_a,rc=ha,cc=da,uc=tc,fc=ic,dc=oc,hc=ac,_c="pako deflate (from Nodeca project)",Lt={deflateInit:lc,deflateInit2:sc,deflateReset:rc,deflateResetKeep:cc,deflateSetHeader:uc,deflate:fc,deflateEnd:dc,deflateSetDictionary:hc,deflateInfo:_c};const pc=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var vc=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const t=n.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const a in t)pc(t,a)&&(e[a]=t[a])}}return e},gc=e=>{let n=0;for(let a=0,i=e.length;a<i;a++)n+=e[a].length;const t=new Uint8Array(n);for(let a=0,i=0,l=e.length;a<l;a++){let r=e[a];t.set(r,i),i+=r.length}return t},Mn={assign:vc,flattenChunks:gc};let pa=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{pa=!1}const Pt=new Uint8Array(256);for(let e=0;e<256;e++)Pt[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Pt[254]=Pt[254]=1;var mc=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let n,t,a,i,l,r=e.length,s=0;for(i=0;i<r;i++)t=e.charCodeAt(i),(t&64512)===55296&&i+1<r&&(a=e.charCodeAt(i+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),i++)),s+=t<128?1:t<2048?2:t<65536?3:4;for(n=new Uint8Array(s),l=0,i=0;l<s;i++)t=e.charCodeAt(i),(t&64512)===55296&&i+1<r&&(a=e.charCodeAt(i+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),i++)),t<128?n[l++]=t:t<2048?(n[l++]=192|t>>>6,n[l++]=128|t&63):t<65536?(n[l++]=224|t>>>12,n[l++]=128|t>>>6&63,n[l++]=128|t&63):(n[l++]=240|t>>>18,n[l++]=128|t>>>12&63,n[l++]=128|t>>>6&63,n[l++]=128|t&63);return n};const wc=(e,n)=>{if(n<65534&&e.subarray&&pa)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let t="";for(let a=0;a<n;a++)t+=String.fromCharCode(e[a]);return t};var xc=(e,n)=>{const t=n||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,n));let a,i;const l=new Array(t*2);for(i=0,a=0;a<t;){let r=e[a++];if(r<128){l[i++]=r;continue}let s=Pt[r];if(s>4){l[i++]=65533,a+=s-1;continue}for(r&=s===2?31:s===3?15:7;s>1&&a<t;)r=r<<6|e[a++]&63,s--;if(s>1){l[i++]=65533;continue}r<65536?l[i++]=r:(r-=65536,l[i++]=55296|r>>10&1023,l[i++]=56320|r&1023)}return wc(l,i)},yc=(e,n)=>{n=n||e.length,n>e.length&&(n=e.length);let t=n-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?n:t+Pt[e[t]]>n?t:n},Ht={string2buf:mc,buf2string:xc,utf8border:yc};function bc(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var va=bc;const ga=Object.prototype.toString,{Z_NO_FLUSH:kc,Z_SYNC_FLUSH:Sc,Z_FULL_FLUSH:Ac,Z_FINISH:Ec,Z_OK:kn,Z_STREAM_END:Ic,Z_DEFAULT_COMPRESSION:Tc,Z_DEFAULT_STRATEGY:Cc,Z_DEFLATED:zc}=Jt;function bi(e){this.options=Mn.assign({level:Tc,method:zc,chunkSize:16384,windowBits:15,memLevel:8,strategy:Cc},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new va,this.strm.avail_out=0;let t=Lt.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==kn)throw new Error(vt[t]);if(n.header&&Lt.deflateSetHeader(this.strm,n.header),n.dictionary){let a;if(typeof n.dictionary=="string"?a=Ht.string2buf(n.dictionary):ga.call(n.dictionary)==="[object ArrayBuffer]"?a=new Uint8Array(n.dictionary):a=n.dictionary,t=Lt.deflateSetDictionary(this.strm,a),t!==kn)throw new Error(vt[t]);this._dict_set=!0}}bi.prototype.push=function(e,n){const t=this.strm,a=this.options.chunkSize;let i,l;if(this.ended)return!1;for(n===~~n?l=n:l=n===!0?Ec:kc,typeof e=="string"?t.input=Ht.string2buf(e):ga.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(a),t.next_out=0,t.avail_out=a),(l===Sc||l===Ac)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(i=Lt.deflate(t,l),i===Ic)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),i=Lt.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===kn;if(t.avail_out===0){this.onData(t.output);continue}if(l>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0};bi.prototype.onData=function(e){this.chunks.push(e)};bi.prototype.onEnd=function(e){e===kn&&(this.result=Mn.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};const fn=16209,Rc=16191;var Mc=function(n,t){let a,i,l,r,s,f,c,u,h,d,w,I,L,E,k,M,S,b,x,p,_,g,$,B;const O=n.state;a=n.next_in,$=n.input,i=a+(n.avail_in-5),l=n.next_out,B=n.output,r=l-(t-n.avail_out),s=l+(n.avail_out-257),f=O.dmax,c=O.wsize,u=O.whave,h=O.wnext,d=O.window,w=O.hold,I=O.bits,L=O.lencode,E=O.distcode,k=(1<<O.lenbits)-1,M=(1<<O.distbits)-1;e:do{I<15&&(w+=$[a++]<<I,I+=8,w+=$[a++]<<I,I+=8),S=L[w&k];t:for(;;){if(b=S>>>24,w>>>=b,I-=b,b=S>>>16&255,b===0)B[l++]=S&65535;else if(b&16){x=S&65535,b&=15,b&&(I<b&&(w+=$[a++]<<I,I+=8),x+=w&(1<<b)-1,w>>>=b,I-=b),I<15&&(w+=$[a++]<<I,I+=8,w+=$[a++]<<I,I+=8),S=E[w&M];n:for(;;){if(b=S>>>24,w>>>=b,I-=b,b=S>>>16&255,b&16){if(p=S&65535,b&=15,I<b&&(w+=$[a++]<<I,I+=8,I<b&&(w+=$[a++]<<I,I+=8)),p+=w&(1<<b)-1,p>f){n.msg="invalid distance too far back",O.mode=fn;break e}if(w>>>=b,I-=b,b=l-r,p>b){if(b=p-b,b>u&&O.sane){n.msg="invalid distance too far back",O.mode=fn;break e}if(_=0,g=d,h===0){if(_+=c-b,b<x){x-=b;do B[l++]=d[_++];while(--b);_=l-p,g=B}}else if(h<b){if(_+=c+h-b,b-=h,b<x){x-=b;do B[l++]=d[_++];while(--b);if(_=0,h<x){b=h,x-=b;do B[l++]=d[_++];while(--b);_=l-p,g=B}}}else if(_+=h-b,b<x){x-=b;do B[l++]=d[_++];while(--b);_=l-p,g=B}for(;x>2;)B[l++]=g[_++],B[l++]=g[_++],B[l++]=g[_++],x-=3;x&&(B[l++]=g[_++],x>1&&(B[l++]=g[_++]))}else{_=l-p;do B[l++]=B[_++],B[l++]=B[_++],B[l++]=B[_++],x-=3;while(x>2);x&&(B[l++]=B[_++],x>1&&(B[l++]=B[_++]))}}else if(b&64){n.msg="invalid distance code",O.mode=fn;break e}else{S=E[(S&65535)+(w&(1<<b)-1)];continue n}break}}else if(b&64)if(b&32){O.mode=Rc;break e}else{n.msg="invalid literal/length code",O.mode=fn;break e}else{S=L[(S&65535)+(w&(1<<b)-1)];continue t}break}}while(a<i&&l<s);x=I>>3,a-=x,I-=x<<3,w&=(1<<I)-1,n.next_in=a,n.next_out=l,n.avail_in=a<i?5+(i-a):5-(a-i),n.avail_out=l<s?257+(s-l):257-(l-s),O.hold=w,O.bits=I};const ut=15,to=852,no=592,io=0,Gn=1,oo=2,Oc=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Lc=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Dc=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Uc=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Bc=(e,n,t,a,i,l,r,s)=>{const f=s.bits;let c=0,u=0,h=0,d=0,w=0,I=0,L=0,E=0,k=0,M=0,S,b,x,p,_,g=null,$;const B=new Uint16Array(ut+1),O=new Uint16Array(ut+1);let me=null,Fe,at,se;for(c=0;c<=ut;c++)B[c]=0;for(u=0;u<a;u++)B[n[t+u]]++;for(w=f,d=ut;d>=1&&B[d]===0;d--);if(w>d&&(w=d),d===0)return i[l++]=1<<24|64<<16|0,i[l++]=1<<24|64<<16|0,s.bits=1,0;for(h=1;h<d&&B[h]===0;h++);for(w<h&&(w=h),E=1,c=1;c<=ut;c++)if(E<<=1,E-=B[c],E<0)return-1;if(E>0&&(e===io||d!==1))return-1;for(O[1]=0,c=1;c<ut;c++)O[c+1]=O[c]+B[c];for(u=0;u<a;u++)n[t+u]!==0&&(r[O[n[t+u]]++]=u);if(e===io?(g=me=r,$=20):e===Gn?(g=Oc,me=Lc,$=257):(g=Dc,me=Uc,$=0),M=0,u=0,c=h,_=l,I=w,L=0,x=-1,k=1<<w,p=k-1,e===Gn&&k>to||e===oo&&k>no)return 1;for(;;){Fe=c-L,r[u]+1<$?(at=0,se=r[u]):r[u]>=$?(at=me[r[u]-$],se=g[r[u]-$]):(at=96,se=0),S=1<<c-L,b=1<<I,h=b;do b-=S,i[_+(M>>L)+b]=Fe<<24|at<<16|se|0;while(b!==0);for(S=1<<c-1;M&S;)S>>=1;if(S!==0?(M&=S-1,M+=S):M=0,u++,--B[c]===0){if(c===d)break;c=n[t+r[u]]}if(c>w&&(M&p)!==x){for(L===0&&(L=w),_+=h,I=c-L,E=1<<I;I+L<d&&(E-=B[I+L],!(E<=0));)I++,E<<=1;if(k+=1<<I,e===Gn&&k>to||e===oo&&k>no)return 1;x=M&p,i[x]=w<<24|I<<16|_-l|0}}return M!==0&&(i[_+M]=c-L<<24|64<<16|0),s.bits=w,0};var Dt=Bc;const $c=0,ma=1,wa=2,{Z_FINISH:ao,Z_BLOCK:Fc,Z_TREES:dn,Z_OK:it,Z_STREAM_END:Nc,Z_NEED_DICT:Zc,Z_STREAM_ERROR:Te,Z_DATA_ERROR:xa,Z_MEM_ERROR:ya,Z_BUF_ERROR:jc,Z_DEFLATED:lo}=Jt,On=16180,so=16181,ro=16182,co=16183,uo=16184,fo=16185,ho=16186,_o=16187,po=16188,vo=16189,Sn=16190,Ue=16191,Kn=16192,go=16193,Wn=16194,mo=16195,wo=16196,xo=16197,yo=16198,hn=16199,_n=16200,bo=16201,ko=16202,So=16203,Ao=16204,Eo=16205,Yn=16206,Io=16207,To=16208,G=16209,ba=16210,ka=16211,Pc=852,Hc=592,Vc=15,Gc=Vc,Co=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function Kc(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ot=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.mode<On||n.mode>ka?1:0},Sa=e=>{if(ot(e))return Te;const n=e.state;return e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=On,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(Pc),n.distcode=n.distdyn=new Int32Array(Hc),n.sane=1,n.back=-1,it},Aa=e=>{if(ot(e))return Te;const n=e.state;return n.wsize=0,n.whave=0,n.wnext=0,Sa(e)},Ea=(e,n)=>{let t;if(ot(e))return Te;const a=e.state;return n<0?(t=0,n=-n):(t=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?Te:(a.window!==null&&a.wbits!==n&&(a.window=null),a.wrap=t,a.wbits=n,Aa(e))},Ia=(e,n)=>{if(!e)return Te;const t=new Kc;e.state=t,t.strm=e,t.window=null,t.mode=On;const a=Ea(e,n);return a!==it&&(e.state=null),a},Wc=e=>Ia(e,Gc);let zo=!0,Qn,Jn;const Yc=e=>{if(zo){Qn=new Int32Array(512),Jn=new Int32Array(32);let n=0;for(;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(Dt(ma,e.lens,0,288,Qn,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;Dt(wa,e.lens,0,32,Jn,0,e.work,{bits:5}),zo=!1}e.lencode=Qn,e.lenbits=9,e.distcode=Jn,e.distbits=5},Ta=(e,n,t,a)=>{let i;const l=e.state;return l.window===null&&(l.wsize=1<<l.wbits,l.wnext=0,l.whave=0,l.window=new Uint8Array(l.wsize)),a>=l.wsize?(l.window.set(n.subarray(t-l.wsize,t),0),l.wnext=0,l.whave=l.wsize):(i=l.wsize-l.wnext,i>a&&(i=a),l.window.set(n.subarray(t-a,t-a+i),l.wnext),a-=i,a?(l.window.set(n.subarray(t-a,t),0),l.wnext=a,l.whave=l.wsize):(l.wnext+=i,l.wnext===l.wsize&&(l.wnext=0),l.whave<l.wsize&&(l.whave+=i))),0},Qc=(e,n)=>{let t,a,i,l,r,s,f,c,u,h,d,w,I,L,E=0,k,M,S,b,x,p,_,g;const $=new Uint8Array(4);let B,O;const me=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ot(e)||!e.output||!e.input&&e.avail_in!==0)return Te;t=e.state,t.mode===Ue&&(t.mode=Kn),r=e.next_out,i=e.output,f=e.avail_out,l=e.next_in,a=e.input,s=e.avail_in,c=t.hold,u=t.bits,h=s,d=f,g=it;e:for(;;)switch(t.mode){case On:if(t.wrap===0){t.mode=Kn;break}for(;u<16;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if(t.wrap&2&&c===35615){t.wbits===0&&(t.wbits=15),t.check=0,$[0]=c&255,$[1]=c>>>8&255,t.check=ne(t.check,$,2,0),c=0,u=0,t.mode=so;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((c&255)<<8)+(c>>8))%31){e.msg="incorrect header check",t.mode=G;break}if((c&15)!==lo){e.msg="unknown compression method",t.mode=G;break}if(c>>>=4,u-=4,_=(c&15)+8,t.wbits===0&&(t.wbits=_),_>15||_>t.wbits){e.msg="invalid window size",t.mode=G;break}t.dmax=1<<t.wbits,t.flags=0,e.adler=t.check=1,t.mode=c&512?vo:Ue,c=0,u=0;break;case so:for(;u<16;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if(t.flags=c,(t.flags&255)!==lo){e.msg="unknown compression method",t.mode=G;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=G;break}t.head&&(t.head.text=c>>8&1),t.flags&512&&t.wrap&4&&($[0]=c&255,$[1]=c>>>8&255,t.check=ne(t.check,$,2,0)),c=0,u=0,t.mode=ro;case ro:for(;u<32;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}t.head&&(t.head.time=c),t.flags&512&&t.wrap&4&&($[0]=c&255,$[1]=c>>>8&255,$[2]=c>>>16&255,$[3]=c>>>24&255,t.check=ne(t.check,$,4,0)),c=0,u=0,t.mode=co;case co:for(;u<16;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}t.head&&(t.head.xflags=c&255,t.head.os=c>>8),t.flags&512&&t.wrap&4&&($[0]=c&255,$[1]=c>>>8&255,t.check=ne(t.check,$,2,0)),c=0,u=0,t.mode=uo;case uo:if(t.flags&1024){for(;u<16;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}t.length=c,t.head&&(t.head.extra_len=c),t.flags&512&&t.wrap&4&&($[0]=c&255,$[1]=c>>>8&255,t.check=ne(t.check,$,2,0)),c=0,u=0}else t.head&&(t.head.extra=null);t.mode=fo;case fo:if(t.flags&1024&&(w=t.length,w>s&&(w=s),w&&(t.head&&(_=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(a.subarray(l,l+w),_)),t.flags&512&&t.wrap&4&&(t.check=ne(t.check,a,w,l)),s-=w,l+=w,t.length-=w),t.length))break e;t.length=0,t.mode=ho;case ho:if(t.flags&2048){if(s===0)break e;w=0;do _=a[l+w++],t.head&&_&&t.length<65536&&(t.head.name+=String.fromCharCode(_));while(_&&w<s);if(t.flags&512&&t.wrap&4&&(t.check=ne(t.check,a,w,l)),s-=w,l+=w,_)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=_o;case _o:if(t.flags&4096){if(s===0)break e;w=0;do _=a[l+w++],t.head&&_&&t.length<65536&&(t.head.comment+=String.fromCharCode(_));while(_&&w<s);if(t.flags&512&&t.wrap&4&&(t.check=ne(t.check,a,w,l)),s-=w,l+=w,_)break e}else t.head&&(t.head.comment=null);t.mode=po;case po:if(t.flags&512){for(;u<16;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if(t.wrap&4&&c!==(t.check&65535)){e.msg="header crc mismatch",t.mode=G;break}c=0,u=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=Ue;break;case vo:for(;u<32;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}e.adler=t.check=Co(c),c=0,u=0,t.mode=Sn;case Sn:if(t.havedict===0)return e.next_out=r,e.avail_out=f,e.next_in=l,e.avail_in=s,t.hold=c,t.bits=u,Zc;e.adler=t.check=1,t.mode=Ue;case Ue:if(n===Fc||n===dn)break e;case Kn:if(t.last){c>>>=u&7,u-=u&7,t.mode=Yn;break}for(;u<3;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}switch(t.last=c&1,c>>>=1,u-=1,c&3){case 0:t.mode=go;break;case 1:if(Yc(t),t.mode=hn,n===dn){c>>>=2,u-=2;break e}break;case 2:t.mode=wo;break;case 3:e.msg="invalid block type",t.mode=G}c>>>=2,u-=2;break;case go:for(c>>>=u&7,u-=u&7;u<32;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if((c&65535)!==(c>>>16^65535)){e.msg="invalid stored block lengths",t.mode=G;break}if(t.length=c&65535,c=0,u=0,t.mode=Wn,n===dn)break e;case Wn:t.mode=mo;case mo:if(w=t.length,w){if(w>s&&(w=s),w>f&&(w=f),w===0)break e;i.set(a.subarray(l,l+w),r),s-=w,l+=w,f-=w,r+=w,t.length-=w;break}t.mode=Ue;break;case wo:for(;u<14;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if(t.nlen=(c&31)+257,c>>>=5,u-=5,t.ndist=(c&31)+1,c>>>=5,u-=5,t.ncode=(c&15)+4,c>>>=4,u-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=G;break}t.have=0,t.mode=xo;case xo:for(;t.have<t.ncode;){for(;u<3;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}t.lens[me[t.have++]]=c&7,c>>>=3,u-=3}for(;t.have<19;)t.lens[me[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,B={bits:t.lenbits},g=Dt($c,t.lens,0,19,t.lencode,0,t.work,B),t.lenbits=B.bits,g){e.msg="invalid code lengths set",t.mode=G;break}t.have=0,t.mode=yo;case yo:for(;t.have<t.nlen+t.ndist;){for(;E=t.lencode[c&(1<<t.lenbits)-1],k=E>>>24,M=E>>>16&255,S=E&65535,!(k<=u);){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if(S<16)c>>>=k,u-=k,t.lens[t.have++]=S;else{if(S===16){for(O=k+2;u<O;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if(c>>>=k,u-=k,t.have===0){e.msg="invalid bit length repeat",t.mode=G;break}_=t.lens[t.have-1],w=3+(c&3),c>>>=2,u-=2}else if(S===17){for(O=k+3;u<O;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}c>>>=k,u-=k,_=0,w=3+(c&7),c>>>=3,u-=3}else{for(O=k+7;u<O;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}c>>>=k,u-=k,_=0,w=11+(c&127),c>>>=7,u-=7}if(t.have+w>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=G;break}for(;w--;)t.lens[t.have++]=_}}if(t.mode===G)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=G;break}if(t.lenbits=9,B={bits:t.lenbits},g=Dt(ma,t.lens,0,t.nlen,t.lencode,0,t.work,B),t.lenbits=B.bits,g){e.msg="invalid literal/lengths set",t.mode=G;break}if(t.distbits=6,t.distcode=t.distdyn,B={bits:t.distbits},g=Dt(wa,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,B),t.distbits=B.bits,g){e.msg="invalid distances set",t.mode=G;break}if(t.mode=hn,n===dn)break e;case hn:t.mode=_n;case _n:if(s>=6&&f>=258){e.next_out=r,e.avail_out=f,e.next_in=l,e.avail_in=s,t.hold=c,t.bits=u,Mc(e,d),r=e.next_out,i=e.output,f=e.avail_out,l=e.next_in,a=e.input,s=e.avail_in,c=t.hold,u=t.bits,t.mode===Ue&&(t.back=-1);break}for(t.back=0;E=t.lencode[c&(1<<t.lenbits)-1],k=E>>>24,M=E>>>16&255,S=E&65535,!(k<=u);){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if(M&&!(M&240)){for(b=k,x=M,p=S;E=t.lencode[p+((c&(1<<b+x)-1)>>b)],k=E>>>24,M=E>>>16&255,S=E&65535,!(b+k<=u);){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}c>>>=b,u-=b,t.back+=b}if(c>>>=k,u-=k,t.back+=k,t.length=S,M===0){t.mode=Eo;break}if(M&32){t.back=-1,t.mode=Ue;break}if(M&64){e.msg="invalid literal/length code",t.mode=G;break}t.extra=M&15,t.mode=bo;case bo:if(t.extra){for(O=t.extra;u<O;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}t.length+=c&(1<<t.extra)-1,c>>>=t.extra,u-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=ko;case ko:for(;E=t.distcode[c&(1<<t.distbits)-1],k=E>>>24,M=E>>>16&255,S=E&65535,!(k<=u);){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if(!(M&240)){for(b=k,x=M,p=S;E=t.distcode[p+((c&(1<<b+x)-1)>>b)],k=E>>>24,M=E>>>16&255,S=E&65535,!(b+k<=u);){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}c>>>=b,u-=b,t.back+=b}if(c>>>=k,u-=k,t.back+=k,M&64){e.msg="invalid distance code",t.mode=G;break}t.offset=S,t.extra=M&15,t.mode=So;case So:if(t.extra){for(O=t.extra;u<O;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}t.offset+=c&(1<<t.extra)-1,c>>>=t.extra,u-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=G;break}t.mode=Ao;case Ao:if(f===0)break e;if(w=d-f,t.offset>w){if(w=t.offset-w,w>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=G;break}w>t.wnext?(w-=t.wnext,I=t.wsize-w):I=t.wnext-w,w>t.length&&(w=t.length),L=t.window}else L=i,I=r-t.offset,w=t.length;w>f&&(w=f),f-=w,t.length-=w;do i[r++]=L[I++];while(--w);t.length===0&&(t.mode=_n);break;case Eo:if(f===0)break e;i[r++]=t.length,f--,t.mode=_n;break;case Yn:if(t.wrap){for(;u<32;){if(s===0)break e;s--,c|=a[l++]<<u,u+=8}if(d-=f,e.total_out+=d,t.total+=d,t.wrap&4&&d&&(e.adler=t.check=t.flags?ne(t.check,i,d,r-d):jt(t.check,i,d,r-d)),d=f,t.wrap&4&&(t.flags?c:Co(c))!==t.check){e.msg="incorrect data check",t.mode=G;break}c=0,u=0}t.mode=Io;case Io:if(t.wrap&&t.flags){for(;u<32;){if(s===0)break e;s--,c+=a[l++]<<u,u+=8}if(t.wrap&4&&c!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=G;break}c=0,u=0}t.mode=To;case To:g=Nc;break e;case G:g=xa;break e;case ba:return ya;case ka:default:return Te}return e.next_out=r,e.avail_out=f,e.next_in=l,e.avail_in=s,t.hold=c,t.bits=u,(t.wsize||d!==e.avail_out&&t.mode<G&&(t.mode<Yn||n!==ao))&&Ta(e,e.output,e.next_out,d-e.avail_out),h-=e.avail_in,d-=e.avail_out,e.total_in+=h,e.total_out+=d,t.total+=d,t.wrap&4&&d&&(e.adler=t.check=t.flags?ne(t.check,i,d,e.next_out-d):jt(t.check,i,d,e.next_out-d)),e.data_type=t.bits+(t.last?64:0)+(t.mode===Ue?128:0)+(t.mode===hn||t.mode===Wn?256:0),(h===0&&d===0||n===ao)&&g===it&&(g=jc),g},Jc=e=>{if(ot(e))return Te;let n=e.state;return n.window&&(n.window=null),e.state=null,it},qc=(e,n)=>{if(ot(e))return Te;const t=e.state;return t.wrap&2?(t.head=n,n.done=!1,it):Te},Xc=(e,n)=>{const t=n.length;let a,i,l;return ot(e)||(a=e.state,a.wrap!==0&&a.mode!==Sn)?Te:a.mode===Sn&&(i=1,i=jt(i,n,t,0),i!==a.check)?xa:(l=Ta(e,n,t,t),l?(a.mode=ba,ya):(a.havedict=1,it))};var eu=Aa,tu=Ea,nu=Sa,iu=Wc,ou=Ia,au=Qc,lu=Jc,su=qc,ru=Xc,cu="pako inflate (from Nodeca project)",$e={inflateReset:eu,inflateReset2:tu,inflateResetKeep:nu,inflateInit:iu,inflateInit2:ou,inflate:au,inflateEnd:lu,inflateGetHeader:su,inflateSetDictionary:ru,inflateInfo:cu};function uu(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var fu=uu;const Ca=Object.prototype.toString,{Z_NO_FLUSH:du,Z_FINISH:hu,Z_OK:Vt,Z_STREAM_END:qn,Z_NEED_DICT:Xn,Z_STREAM_ERROR:_u,Z_DATA_ERROR:Ro,Z_MEM_ERROR:pu}=Jt;function Xt(e){this.options=Mn.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15||(n.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new va,this.strm.avail_out=0;let t=$e.inflateInit2(this.strm,n.windowBits);if(t!==Vt)throw new Error(vt[t]);if(this.header=new fu,$e.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=Ht.string2buf(n.dictionary):Ca.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=$e.inflateSetDictionary(this.strm,n.dictionary),t!==Vt)))throw new Error(vt[t])}Xt.prototype.push=function(e,n){const t=this.strm,a=this.options.chunkSize,i=this.options.dictionary;let l,r,s;if(this.ended)return!1;for(n===~~n?r=n:r=n===!0?hu:du,Ca.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(a),t.next_out=0,t.avail_out=a),l=$e.inflate(t,r),l===Xn&&i&&(l=$e.inflateSetDictionary(t,i),l===Vt?l=$e.inflate(t,r):l===Ro&&(l=Xn));t.avail_in>0&&l===qn&&t.state.wrap>0&&e[t.next_in]!==0;)$e.inflateReset(t),l=$e.inflate(t,r);switch(l){case _u:case Ro:case Xn:case pu:return this.onEnd(l),this.ended=!0,!1}if(s=t.avail_out,t.next_out&&(t.avail_out===0||l===qn))if(this.options.to==="string"){let f=Ht.utf8border(t.output,t.next_out),c=t.next_out-f,u=Ht.buf2string(t.output,f);t.next_out=c,t.avail_out=a-c,c&&t.output.set(t.output.subarray(f,f+c),0),this.onData(u)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(l===Vt&&s===0)){if(l===qn)return l=$e.inflateEnd(this.strm),this.onEnd(l),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};Xt.prototype.onData=function(e){this.chunks.push(e)};Xt.prototype.onEnd=function(e){e===Vt&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Mn.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function ki(e,n){const t=new Xt(n);if(t.push(e),t.err)throw t.msg||vt[t.err];return t.result}function vu(e,n){return n=n||{},n.raw=!0,ki(e,n)}var gu=Xt,mu=ki,wu=vu,xu=ki,yu=Jt,bu={Inflate:gu,inflate:mu,inflateRaw:wu,ungzip:xu,constants:yu};const{Inflate:ed,inflate:td,inflateRaw:nd,ungzip:ku}=bu;var Su=ku;function Au(e){return Eu(Ai(e))}function Eu(e){let n={};e:for(;!At(e);){let t=ee(e);switch(t>>>3){case 0:break e;case 1:{let a=Si(e);(n.messagesList||(n.messagesList=[])).push(Iu(e)),e.limit=a;break}case 8:{n.heartbeatDuration=He(e,!0);break}case 9:{n.needAck=!!pe(e);break}default:St(e,t&7)}}return n}function Iu(e){let n={};e:for(;!At(e);){let t=ee(e);switch(t>>>3){case 0:break e;case 1:{n.method=Qe(e,ee(e));break}case 2:{n.payload=Ma(e,ee(e));break}case 3:{n.msgId=He(e,!1);break}case 4:{n.msgType=ee(e);break}case 5:{n.offset=He(e,!1);break}case 6:{n.needWrdsStore=!!pe(e);break}case 7:{n.wrdsVersion=He(e,!1);break}case 8:{n.wrdsSubKey=Qe(e,ee(e));break}default:St(e,t&7)}}return n}function Tu(e){return Cu(Ai(e))}function Cu(e){let n={};e:for(;!At(e);){let t=ee(e);switch(t>>>3){case 0:break e;case 2:{let a=Si(e);n.user=zu(e),e.limit=a;break}case 3:{n.content=Qe(e,ee(e));break}default:St(e,t&7)}}return n}function zu(e){let n={};e:for(;!At(e);){let t=ee(e);switch(t>>>3){case 0:break e;case 3:{n.nickName=Qe(e,ee(e));break}default:St(e,t&7)}}return n}function Ru(e){let n=Ra();return Mu(e,n),Nu(n)}function Mu(e,n){let t=e.seqId;t!==void 0&&(be(n,8),pn(n,t));let a=e.logId;a!==void 0&&(be(n,16),pn(n,a));let i=e.service;i!==void 0&&(be(n,24),pn(n,i));let l=e.method;l!==void 0&&(be(n,32),pn(n,l));let r=e.headersList;if(r!==void 0)for(let u of r){be(n,42);let h=Ra();Du(u,h),be(n,h.limit),ju(n,h),Fu(h)}let s=e.payloadEncoding;s!==void 0&&(be(n,50),An(n,s));let f=e.payloadType;f!==void 0&&(be(n,58),An(n,f));let c=e.payload;c!==void 0&&(be(n,66),be(n,c.length),Zu(n,c))}function Ou(e){return Lu(Ai(e))}function Lu(e){let n={};e:for(;!At(e);){let t=ee(e);switch(t>>>3){case 0:break e;case 1:{n.seqId=He(e,!0);break}case 2:{n.logId=He(e,!0);break}case 3:{n.service=He(e,!0);break}case 4:{n.method=He(e,!0);break}case 5:{let a=Si(e);(n.headersList||(n.headersList=[])).push(Uu(e)),e.limit=a;break}case 6:{n.payloadEncoding=Qe(e,ee(e));break}case 7:{n.payloadType=Qe(e,ee(e));break}case 8:{n.payload=Ma(e,ee(e));break}default:St(e,t&7)}}return n}function Du(e,n){let t=e.key;t!==void 0&&(be(n,10),An(n,t));let a=e.value;a!==void 0&&(be(n,18),An(n,a))}function Uu(e){let n={};e:for(;!At(e);){let t=ee(e);switch(t>>>3){case 0:break e;case 1:{n.key=Qe(e,ee(e));break}case 2:{n.value=Qe(e,ee(e));break}default:St(e,t&7)}}return n}function Si(e){let n=ee(e),t=e.limit;return e.limit=e.offset+n,t}function St(e,n){switch(n){case 0:for(;pe(e)&128;);break;case 2:ei(e,ee(e));break;case 5:ei(e,4);break;case 1:ei(e,8);break;default:throw new Error("Unimplemented type: "+n)}}let Bu=new Float32Array(1);new Uint8Array(Bu.buffer);let $u=new Float64Array(1);new Uint8Array($u.buffer);let za=[];function Ra(){const e=za.pop();return e?(e.offset=e.limit=0,e):{bytes:new Uint8Array(64),offset:0,limit:0}}function Fu(e){za.push(e)}function Ai(e){return{bytes:e,offset:0,limit:e.length}}function Nu(e){let n=e.bytes,t=e.limit;return n.length===t?n:n.subarray(0,t)}function ei(e,n){if(e.offset+n>e.limit)throw new Error("Skip past limit");e.offset+=n}function At(e){return e.offset>=e.limit}function en(e,n){let t=e.bytes,a=e.offset,i=e.limit,l=a+n;if(l>t.length){let r=new Uint8Array(l*2);r.set(t),e.bytes=r}return e.offset=l,l>i&&(e.limit=l),a}function Ei(e,n){let t=e.offset;if(t+n>e.limit)throw new Error("Read past limit");return e.offset+=n,t}function Ma(e,n){let t=Ei(e,n);return e.bytes.subarray(t,t+n)}function Zu(e,n){let t=en(e,n.length);e.bytes.set(n,t)}function Qe(e,n){let t=Ei(e,n),a=String.fromCharCode,i=e.bytes,l="�",r="";for(let s=0;s<n;s++){let f=i[s+t],c,u,h,d;f&128?(f&224)===192?s+1>=n?r+=l:(c=i[s+t+1],(c&192)!==128?r+=l:(d=(f&31)<<6|c&63,d<128?r+=l:(r+=a(d),s++))):(f&240)==224?s+2>=n?r+=l:(c=i[s+t+1],u=i[s+t+2],((c|u<<8)&49344)!==32896?r+=l:(d=(f&15)<<12|(c&63)<<6|u&63,d<2048||d>=55296&&d<=57343?r+=l:(r+=a(d),s+=2))):(f&248)==240?s+3>=n?r+=l:(c=i[s+t+1],u=i[s+t+2],h=i[s+t+3],((c|u<<8|h<<16)&12632256)!==8421504?r+=l:(d=(f&7)<<18|(c&63)<<12|(u&63)<<6|h&63,d<65536||d>1114111?r+=l:(d-=65536,r+=a((d>>10)+55296,(d&1023)+56320),s+=3))):r+=l:r+=a(f)}return r}function An(e,n){let t=n.length,a=0;for(let r=0;r<t;r++){let s=n.charCodeAt(r);s>=55296&&s<=56319&&r+1<t&&(s=(s<<10)+n.charCodeAt(++r)-56613888),a+=s<128?1:s<2048?2:s<65536?3:4}be(e,a);let i=en(e,a),l=e.bytes;for(let r=0;r<t;r++){let s=n.charCodeAt(r);s>=55296&&s<=56319&&r+1<t&&(s=(s<<10)+n.charCodeAt(++r)-56613888),s<128?l[i++]=s:(s<2048?l[i++]=s>>6&31|192:(s<65536?l[i++]=s>>12&15|224:(l[i++]=s>>18&7|240,l[i++]=s>>12&63|128),l[i++]=s>>6&63|128),l[i++]=s&63|128)}}function ju(e,n){let t=en(e,n.limit),a=e.bytes,i=n.bytes;for(let l=0,r=n.limit;l<r;l++)a[l+t]=i[l]}function pe(e){return e.bytes[Ei(e,1)]}function Mo(e,n){let t=en(e,1);e.bytes[t]=n}function ee(e){let n=0,t=0,a;do a=pe(e),n<32&&(t|=(a&127)<<n),n+=7;while(a&128);return t}function be(e,n){for(n>>>=0;n>=128;)Mo(e,n&127|128),n>>>=7;Mo(e,n)}function He(e,n){let t=0,a=0,i=0,l;return l=pe(e),t=l&127,l&128&&(l=pe(e),t|=(l&127)<<7,l&128&&(l=pe(e),t|=(l&127)<<14,l&128&&(l=pe(e),t|=(l&127)<<21,l&128&&(l=pe(e),a=l&127,l&128&&(l=pe(e),a|=(l&127)<<7,l&128&&(l=pe(e),a|=(l&127)<<14,l&128&&(l=pe(e),a|=(l&127)<<21,l&128&&(l=pe(e),i=l&127,l&128&&(l=pe(e),i|=(l&127)<<7))))))))),{low:t|a<<28,high:a>>>4|i<<24,unsigned:n}}function pn(e,n){let t=n.low>>>0,a=(n.low>>>28|n.high<<4)>>>0,i=n.high>>>24,l=i===0?a===0?t<16384?t<128?1:2:t<1<<21?3:4:a<16384?a<128?5:6:a<1<<21?7:8:i<128?9:10,r=en(e,l),s=e.bytes;switch(l){case 10:s[r+9]=i>>>7&1;case 9:s[r+8]=l!==9?i|128:i&127;case 8:s[r+7]=l!==8?a>>>21|128:a>>>21&127;case 7:s[r+6]=l!==7?a>>>14|128:a>>>14&127;case 6:s[r+5]=l!==6?a>>>7|128:a>>>7&127;case 5:s[r+4]=l!==5?a|128:a&127;case 4:s[r+3]=l!==4?t>>>21|128:t>>>21&127;case 3:s[r+2]=l!==3?t>>>14|128:t>>>14&127;case 2:s[r+1]=l!==2?t>>>7|128:t>>>7&127;case 1:s[r]=l!==1?t|128:t&127}}var Pu=function(e,n){e.constructor==String?e=Wu(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var t=Yu(e),a=8*e.length,i=1732584193,l=-271733879,r=-1732584194,s=271733878,f=0;f<t.length;f++)t[f]=(t[f]<<8|t[f]>>>24)&16711935|(t[f]<<24|t[f]>>>8)&4278255360;t[a>>>5]|=128<<a%32,t[(a+64>>>9<<4)+14]=a;for(var c=Hu,u=Vu,h=Gu,d=Ku,f=0;f<t.length;f+=16){var w=i,I=l,L=r,E=s;i=c(i,l,r,s,t[f+0],7,-680876936),s=c(s,i,l,r,t[f+1],12,-389564586),r=c(r,s,i,l,t[f+2],17,606105819),l=c(l,r,s,i,t[f+3],22,-1044525330),i=c(i,l,r,s,t[f+4],7,-176418897),s=c(s,i,l,r,t[f+5],12,1200080426),r=c(r,s,i,l,t[f+6],17,-1473231341),l=c(l,r,s,i,t[f+7],22,-45705983),i=c(i,l,r,s,t[f+8],7,1770035416),s=c(s,i,l,r,t[f+9],12,-1958414417),r=c(r,s,i,l,t[f+10],17,-42063),l=c(l,r,s,i,t[f+11],22,-1990404162),i=c(i,l,r,s,t[f+12],7,1804603682),s=c(s,i,l,r,t[f+13],12,-40341101),r=c(r,s,i,l,t[f+14],17,-1502002290),l=c(l,r,s,i,t[f+15],22,1236535329),i=u(i,l,r,s,t[f+1],5,-165796510),s=u(s,i,l,r,t[f+6],9,-1069501632),r=u(r,s,i,l,t[f+11],14,643717713),l=u(l,r,s,i,t[f+0],20,-373897302),i=u(i,l,r,s,t[f+5],5,-701558691),s=u(s,i,l,r,t[f+10],9,38016083),r=u(r,s,i,l,t[f+15],14,-660478335),l=u(l,r,s,i,t[f+4],20,-405537848),i=u(i,l,r,s,t[f+9],5,568446438),s=u(s,i,l,r,t[f+14],9,-1019803690),r=u(r,s,i,l,t[f+3],14,-187363961),l=u(l,r,s,i,t[f+8],20,1163531501),i=u(i,l,r,s,t[f+13],5,-1444681467),s=u(s,i,l,r,t[f+2],9,-51403784),r=u(r,s,i,l,t[f+7],14,1735328473),l=u(l,r,s,i,t[f+12],20,-1926607734),i=h(i,l,r,s,t[f+5],4,-378558),s=h(s,i,l,r,t[f+8],11,-2022574463),r=h(r,s,i,l,t[f+11],16,1839030562),l=h(l,r,s,i,t[f+14],23,-35309556),i=h(i,l,r,s,t[f+1],4,-1530992060),s=h(s,i,l,r,t[f+4],11,1272893353),r=h(r,s,i,l,t[f+7],16,-155497632),l=h(l,r,s,i,t[f+10],23,-1094730640),i=h(i,l,r,s,t[f+13],4,681279174),s=h(s,i,l,r,t[f+0],11,-358537222),r=h(r,s,i,l,t[f+3],16,-722521979),l=h(l,r,s,i,t[f+6],23,76029189),i=h(i,l,r,s,t[f+9],4,-640364487),s=h(s,i,l,r,t[f+12],11,-421815835),r=h(r,s,i,l,t[f+15],16,530742520),l=h(l,r,s,i,t[f+2],23,-995338651),i=d(i,l,r,s,t[f+0],6,-198630844),s=d(s,i,l,r,t[f+7],10,1126891415),r=d(r,s,i,l,t[f+14],15,-1416354905),l=d(l,r,s,i,t[f+5],21,-57434055),i=d(i,l,r,s,t[f+12],6,1700485571),s=d(s,i,l,r,t[f+3],10,-1894986606),r=d(r,s,i,l,t[f+10],15,-1051523),l=d(l,r,s,i,t[f+1],21,-2054922799),i=d(i,l,r,s,t[f+8],6,1873313359),s=d(s,i,l,r,t[f+15],10,-30611744),r=d(r,s,i,l,t[f+6],15,-1560198380),l=d(l,r,s,i,t[f+13],21,1309151649),i=d(i,l,r,s,t[f+4],6,-145523070),s=d(s,i,l,r,t[f+11],10,-1120210379),r=d(r,s,i,l,t[f+2],15,718787259),l=d(l,r,s,i,t[f+9],21,-343485551),i=i+w>>>0,l=l+I>>>0,r=r+L>>>0,s=s+E>>>0}return Oa([i,l,r,s])};const Hu=function(e,n,t,a,i,l,r){var s=e+(n&t|~n&a)+(i>>>0)+r;return(s<<l|s>>>32-l)+n},Vu=function(e,n,t,a,i,l,r){var s=e+(n&a|t&~a)+(i>>>0)+r;return(s<<l|s>>>32-l)+n},Gu=function(e,n,t,a,i,l,r){var s=e+(n^t^a)+(i>>>0)+r;return(s<<l|s>>>32-l)+n},Ku=function(e,n,t,a,i,l,r){var s=e+(t^(n|~a))+(i>>>0)+r;return(s<<l|s>>>32-l)+n},Wu=function(e){for(var n=[],t=0;t<e.length;t++)n.push(255&e.charCodeAt(t));return n},Yu=function(e){for(var n=[],t=0,a=0;t<e.length;t++,a+=8)n[a>>>5]|=e[t]<<24-a%32;return n},Qu=function(e){for(var n=[],t=0;t<32*e.length;t+=8)n.push(e[t>>>5]>>>24-t%32&255);return n},Oa=function(e){if(e.constructor==Number)return 16711935&Oo(e,8)|4278255360&Oo(e,24);for(var n=0;n<e.length;n++)e[n]=Oa(e[n]);return e},Oo=function(e,n){return e<<n|e>>>32-n},Ju=function(e){for(var n=[],t=0;t<e.length;t++)n.push((e[t]>>>4).toString(16)),n.push((15&e[t]).toString(16));return n.join("")},qu=(e,n)=>{const a=`,live_id=1,aid=6383,version_code=180800,webcast_sdk_version=1.0.14-beta.0,room_id=${e},sub_room_id=,sub_channel_id=,did_rule=3,user_unique_id=${n},device_platform=web,device_type=,ac=,identity=audience`.substring(1),i=Pu(a),l=Qu(i),r=Ju(l);return window.byted_acrawler.frontierSign({"X-MS-STUB":r})["X-Bogus"]},Xu=(e,n)=>{const t=D();let a,i=new ResizeObserver(l=>{clearTimeout(a),a=setTimeout(()=>{t.value.resize()},500)});return wt(()=>{i.observe(e.value),n.canvas=e.value,t.value=new ef(n)}),In(()=>{i.unobserve(e.value),clearTimeout(a)}),t};class ef{constructor(n){he(this,"canvas");he(this,"colors");he(this,"ctx");he(this,"isdraw");he(this,"lines");he(this,"textList");he(this,"fontSize");he(this,"font");he(this,"rows");he(this,"gap");he(this,"speed");he(this,"opacity");he(this,"opacityStr");this.isdraw=!1,this.textList=[],this.canvas=n.canvas,this.ctx=this.canvas.getContext("2d"),this.speed=n.speed||2,this.setFont(n.fontSize||16),this.setGap(n.gap||8),this.setRows(n.rows||4),this.setOpacity(n.opacity||100),this.setColors(n.colors||["FFFFFF","#00FF80","#00FFFF","#FF00FF","#8000FF","#FF9933"]),this.resize()}resize(){this.canvas.width=this.canvas.getBoundingClientRect().width*window.devicePixelRatio,this.canvas.height=this.canvas.getBoundingClientRect().height*window.devicePixelRatio,this.initRows()}setOpacity(n){this.opacity=n;const t=Math.floor(2.55*n).toString(16);this.opacityStr=t.length==1?"0"+t:t}setRows(n){this.rows=n}setSpeed(n){this.speed=n}setFont(n){this.ctx.textBaseline="top",this.fontSize=n,this.font=`${n}px sans-serif`}setGap(n){this.gap=n}setColors(n){this.colors=n}clean(){this.textList=[],this.isdraw=!1}destory(){this.lines=[],this.clean()}add(n){const t=this.getLine();if(t==-1)return;const a=Math.ceil(this.ctx.measureText(n).width),i=this.canvas.width+a;this.lines[t].width=i,this.textList.push({value:n,width:a,line:t,left:this.canvas.width,color:this.colors[Math.floor(Math.random()*this.colors.length)]}),!this.isdraw&&(this.isdraw=!0,this.draw())}getLine(){let n=-1,t=this.lines.length;for(;++n<t;)if(this.lines[n].width==this.canvas.width)return n;return-1}initRows(){this.lines=[];let n=-1;const t=this.gap+this.fontSize;for(;++n<this.rows;)this.lines.push({top:this.gap+t*n,width:this.canvas.width})}draw(){this.ctx.textBaseline="top",this.ctx.font=this.font,this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);let n=-1,t=this.textList.length;const a=[];for(;++n<t;){const i=this.textList[n],l=i.left+i.width;if(l<=0)continue;this.ctx.fillStyle=i.color+this.opacityStr;const r=this.lines[i.line];r&&(this.ctx.fillText(i.value,i.left,this.lines[i.line].top),i.left-=this.speed,a.push(i),r.width=Math.max(l,this.canvas.width))}this.textList=a,a.length==0?this.isdraw=!1:requestAnimationFrame(this.draw.bind(this))}}const tf={"w-full":"","h-full":"",flex:"","flex-col":"","lg:flex-row":"","box-border":"","md:pb-2":""},nf={"lg:grow-5":"",flex:"","flex-col":""},of={flex:"","p-2":"","pt-1":"","gap-2":"","text-lg":"","md:pr-3":""},af={"hover:text-amber":"",grow:"","w-25":"","box-border":"","text-center":"",truncate:"","text-4":"","md:text-5":"","m-0":"","pr-6":"","sm:pr-2":"","lg:pr-0":""},lf={"aspect-ratio-video":""},sf={"w-full":"","h-full":"","pos-absolute":"","top-0":"","z-1":"",flex:"","justify-center":"","items-center":"","text-6":""},rf=["src"],cf={key:0},uf={class:"flex items-center gap-4 p-1"},ff={class:"flex items-center gap-4 p-1"},df={key:1,"h-0":"","w-0":""},hf={grow:"","min-h-50":"","lg:grow-0":"","lg:w-80":"","xl:w-100":"",flex:"","flex-col":"","lg:pr-0":"","pt-3":"","lg-pt-12":"","lg:ml-3":"","box-border":"","lg:b-l-solid":"",b:"","lg:b-l-gray-7":"","lg:pl-3":""},_f={flex:"","items-center":"","line-height-none":"","gap-4":"",b:"","b-y-solid":"","py-3":"","b-gray-7":"","px-4":""},pf=["src"],vf={"grow-1":"","w-20":""},gf={"h-4":"",truncate:""},mf={"h-4":"",flex:"","text-3":"","items-center":"","gap-1":""},wf=["src"],xf={"pos-absolute":"","top-0":"","right-4":"","text-4":"",flex:"","flex-col":"","gap-3":""},yf=["src"],bf=["href"],kf=["data-id","data-site","href"],Sf={flex:"","items-center":"","gap-2":""},Af={"w-5":"","h-5":"","rounded-5":"",alt:""},Ef=["onClick"],If={flex:"","flex-col":"",b:"","b-solid":"","b-gray-6":"","rounded-2":"","px-2":""},Tf={flex:"","justify-between":"","items-center":"","mx-2":"","py-2":""},Cf={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},zf={flex:"","justify-between":"","items-center":"","mx-2":"","py-2":""},Rf={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},Mf={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},Of={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},Lf={flex:"","flex-col":"",b:"","b-solid":"","b-gray-6":"","rounded-2":"","px-2":""},Df={flex:"","justify-between":"","items-center":"","mx-2":"","py-2":""},Uf={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},Bf={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},$f={flex:"","justify-between":"","items-center":"",b:"","b-t-gray-6":"","b-t-solid":"","mx-2":"","py-2":""},Ff={flex:"","flex-wrap":"",shadow:"",blur:"","bg-dark":"","p-2":"","box-border":"",b:"","b-solid":"","b-gray-7":"",style:{"box-shadow":"0 6px 15px 0 rgba(0, 0, 0, .5)"},rounded:""},Nf=["data-color"],Zf={"p-3":"","bg-sm":"",flex:"","justify-between":"","items-center":""},jf=le({__name:"play",setup(e){let n,t,a;const i=je({follow:!1,qn:0,line:0,notice:null,paused:!0,muted:!1,fullscreen:!1,webscreen:!1,showController:!0,pictureInPicture:!1}),l=pi(),r=D(),s=D(),f=D(),c=il(),u=J(()=>{var A,m;return c.value&&((m=(A=c.value)==null?void 0:A.stream)==null?void 0:m.length)>0?c.value.stream.map(F=>F.name):[]}),h=J(()=>u.value.length>0?c.value.stream[i.qn].lines.map(A=>A.name):[]),d=J(()=>h.value.length>0?c.value.stream[i.qn].lines[i.line].url:""),w=J(()=>W.map(A=>Object.values(A.follows)).flat().sort(A=>A.status?-1:0)),I=J(()=>{var A;return((A=c.value)==null?void 0:A.siteId)=="bilibili"?"hls":"flv"});let L;const E=J(()=>{var A;return((A=c.value)==null?void 0:A.siteId)=="huya"&&(["一起看","星秀","原创"].includes(c.value.category)||c.value.info.name.endsWith("-imgplus"))}),k=()=>{E.value&&(L=setInterval(()=>{const A=Fi(c.value.info);i.flv.switchURL(d.value+A,!0)},11e4))};we(d,()=>{var A,m;if(clearInterval(L),!!d.value){if(I.value=="flv"){const F=c.value.siteId=="huya"?d.value+Fi(c.value.info):d.value;if(i.flv)return(A=i.flv)==null||A.switchURL(F,!0),k();if(rn!=null&&rn.isSupported("video")){const N=new rn({media:s.value,seamlesslyReload:!0,isLive:!0,retryCount:0});return N.load(F),i.flv=N,k()}}if(i.hls)return(m=i.hls)==null?void 0:m.loadSource(d.value);if(cn!=null&&cn.isSupported()){const F=new cn;return F.attachMedia(s.value),F.loadSource(d.value),i.hls=F}return i.notice="播放失败",clearTimeout(t)}}),we(I,()=>{var A,m;if(I.value=="flv"){(A=i.hls)==null||A.destroy(),i.hls=void 0;return}(m=i.flv)==null||m.destroy(),i.flv=void 0});const M=()=>{f.value.scrollTop=0,me=0,f.value.innerHTML=""};let S,b=0,x=!0;const p=D(),_=Xu(p,{gap:C.canvasGap,rows:C.canvasRows,speed:C.canvasSpeed,opacity:C.canvasOpacity,colors:C.canvasColorOpen?C.colors:["#ffffff"]}),g=[];let $;function B(){$||($=setTimeout(()=>{let A=-1;const m=g.length>5?5:g.length;for(f.value.style.display="none";++A<m;)f.value.appendChild(g[A]);f.value.style.display="block",g.splice(0,5),x&&(f.value.scrollTop=f.value.scrollHeight),$=void 0},200))}const O=(A,m)=>{var qe;if(b++,C.blockOpen&&ji.value.length&&ji.value.some(st=>st.test(m))||(b%(C.sideClean||100)==0&&(f.value.innerHTML="",me=0),C.canvasOpen&&((qe=_.value)==null||qe.add(m)),!ft.value||!C.sideOpen))return;const F=document.createElement("div"),{sideColorOpen:N,sideFontsize:V,sideGap:te,colors:Ee}=C;F.style.margin=`${te}px 0`,F.style.fontSize=`${V}px`,N&&(F.style.color=Ee[Math.floor(Math.random()*Ee.length)]);const Ce=document.createElement("span");Ce.style.opacity="0.5",Ce.appendChild(document.createTextNode(A+":"));const lt=document.createElement("span");lt.appendChild(document.createTextNode(m)),F.appendChild(Ce),F.appendChild(lt),g.push(F),B()};let me=0;const Fe=()=>{if(f.value.scrollTop>=me)return me=f.value.scrollTop;me=f.value.scrollTop,x=!1,f.value.removeEventListener("scroll",Fe)},at=()=>{x=!0,f.value.scrollTop=f.value.scrollHeight,f.value.addEventListener("scroll",Fe,{passive:!1})};let se;const Ii=async()=>{var m,F;if(!((m=c.value)!=null&&m.ws)||S||!C.canvasOpen&&!C.sideOpen)return;let A=!0;if(c.value.siteId=="huya"){const N=(F=c.value)==null?void 0:F.ws;if(!N)return;S=new WebSocket(N),S.onopen=()=>{clearInterval(se),O("系统","开始连接弹幕服务器"),f.value.addEventListener("scroll",Fe),S==null||S.send(JSON.stringify({command:"subscribeNotice",data:["getMessageNotice"],reqId:Date.now().toString()})),se=setInterval(()=>{S.send("ping")},45e3)},S.onmessage=V=>{if(A)return O("系统","弹幕服务器连接成功"),A=!1;const{sendNick:te,content:Ee}=JSON.parse(V.data).data;O(te,Ee)},S.onerror=()=>{clearInterval(se),O("系统","弹幕服务器连接失败")}}else if(c.value.siteId=="douyu")S=new WebSocket("wss://danmuproxy.douyu.com:8506"),S.onopen=()=>{var N,V;clearInterval(se),O("系统","开始连接弹幕服务器"),f.value.addEventListener("scroll",Fe),S.send(tn(`type@=loginreq/roomid@=${(N=c.value)==null?void 0:N.roomId}`)),S.send(tn(`type@=joingroup/rid@=${(V=c.value)==null?void 0:V.roomId}/gid@=-9999`)),se=setInterval(()=>{S.send(tn("type@=mrkl/"))},45e3)},S.onmessage=async({data:N})=>{A&&(O("系统","弹幕服务器连接成功"),A=!1),(await N.text()).split(/type@=chatmsg\//).forEach(Ee=>{const Ce=Ee.match(/nn@=(.*)\/txt@=(.*)\/cid/);Ce!=null&&O(Ce[1],Ce[2])})},S.onerror=()=>{clearInterval(se),O("系统","弹幕服务器连接失败")};else if(c.value.siteId=="douyin"){const N=c.value.ws.split(","),V=N[0],te=N[1],Ee=qu(V,te);let Ce=`wss://webcast5-ws-web-lf.douyin.com/webcast/im/push/v2/?room_id=${V}&compress=gzip&version_code=180800&webcast_sdk_version=1.0.14-beta.0&live_id=1&did_rule=3&user_unique_id=${te}&identity=audience&signature=${Ee}&aid=6383&device_platform=web&browser_language=zh-CN&browser_platform=Win32&browser_name=Mozilla&browser_version=5.0+%28Windows+NT+10.0%3B+Win64%3B+x64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F126.0.0.0+Safari%2F537.36+Edg%2F126.0.0.0`;S=new WebSocket(Ce),S.binaryType="arraybuffer",S.onopen=()=>{clearInterval(se),O("系统","开始连接弹幕服务器"),f.value.addEventListener("scroll",Fe),se=setInterval(()=>{(S==null?void 0:S.readyState)==1&&S.send(Ru({payloadType:"bh"}))},1e4)},S.onmessage=lt=>{A&&(O("系统","弹幕服务器连接成功"),A=!1);const qe=Ou(new Uint8Array(lt.data)),st=Su(qe.payload),Ne=Au(new Uint8Array(st)).messagesList;if(!Ne||Ne.length==0)return;const an=Ne.length;let rt=-1;for(;++rt<an;){if(Ne[rt].method!="WebcastChatMessage")continue;const R=Tu(Ne[rt].payload);O(R.user.nickName,R.content)}},S.onerror=function(){clearInterval(se),O("系统","弹幕服务器连接失败")}}},Ti=new TextEncoder;function tn(A){let m=Ti.encode(A);const F=9+m.byteLength,N=[F,0,0,.1,F,0,0,0,177,2,0,0];m=Ti.encode(A+"\0");const V=new Uint8Array(12+m.byteLength);return V.set(N),V.set(m,12),V.buffer}const Ln=()=>{clearInterval(se),S&&(S.onmessage=null,Mi=="douyu"?S.send(tn("type@=logout")):S.close(),S=null,b=0,f.value&&nn==l.fullPath&&O("系统","弹幕服务器断开连接"))};we(c,()=>Ii()),we([()=>C.sideOpen,()=>C.canvasOpen],()=>{!C.sideOpen&&!C.canvasOpen&&Ln(),S||Ii()});const Dn=()=>{const{site:A,id:m}=l.meta,F=l.meta.site.follows[m];F&&(c.value=F,i.follow=!0),clearInterval(L),clearInterval(se),clearTimeout(t),i.notice="加载中...",Fn(()=>{O("系统","开始获取直播间信息")}),De(A.id,"getRoomDetail",{id:m}).then(N=>{if(c.value=N,i.follow&&Mt(N),Fn(()=>O("系统","直播间信息获取成功")),!N.status)return i.notice="未开播!";document.title=c.value.title},N=>{i.notice=N,Fn(()=>O("系统","直播间信息获取失败"))}).finally(()=>clearTimeout(t))},Ua=()=>{if(!c.value)return;const{id:A}=l.meta.site;i.follow=i.follow?ii(A,c.value.roomId):Mt(c.value)},Un=()=>{!c.value||!c.value.status||(clearTimeout(n),n=setTimeout(()=>{i.paused?s.value.play():s.value.pause()},200))},Ci=()=>{clearTimeout(n),i.fullscreen=!i.fullscreen,document.fullscreenElement?document.exitFullscreen():r.value.requestFullscreen()},Je=()=>{clearTimeout(a),i.showController=!0,a=setTimeout(()=>{var A,m;(A=s.value)!=null&&A.paused||!((m=s.value)!=null&&m.played.length)||(i.showController=!1)},3e3)},Ba=()=>{clearTimeout(n),i.webscreen=!i.webscreen,i.fullscreen&&(i.fullscreen=!1,document.exitFullscreen())},$a=()=>{i.paused=!1,Je()},Fa=()=>{i.paused=!0,Je()},zi=A=>{if(d.value)switch(A.code){case"ArrowDown":return ln(!1);case"ArrowUp":return ln(!0);case"Space":return Un()}},Na=()=>{var A;clearTimeout(n),clearTimeout(a),clearTimeout(t),clearTimeout($),clearInterval(L),Ln(),document.title="Lemon live",document.removeEventListener("keydown",zi),I.value&&!i.pictureInPicture&&((A=i[I.value])==null||A.destroy())};Dn();const Ri=Cn();let nn=l.fullPath;wt(()=>{r.value.style.filter=de.value==100?"":`brightness(${de.value/100})`,s.value.volume=xe.value/100,i.muted=s.value.muted,s.value.addEventListener("canplay",()=>{i.notice=null}),mn||(r.value.addEventListener("mousemove",Je),document.addEventListener("keydown",zi)),document.pictureInPictureElement&&document.exitPictureInPicture(),s.value.addEventListener("leavepictureinpicture",()=>{var A;if(!/play/.test(l.path))return Ri.push(nn);if(l.fullPath==nn)return i.pictureInPicture=!1;(A=i[I.value])==null||A.destroy()})});let Mi=l.meta.site.id;Al(A=>{var V;const{siteid:m,id:F}=A.params,N=ht.findIndex(te=>te==m);return N==-1?{name:"404"}:(A.meta.site=W[N],A.meta.id=F,I.value&&((V=i[I.value])==null||V.destroy(),i[I.value]=void 0),i.qn=0,i.line=0,i.follow=!1,c.value=void 0,!0)}),we(()=>l.params,()=>{var A;clearTimeout($),Ln(),M(),(A=_.value)==null||A.destory(),Mi=l.meta.site.id,nn=l.fullPath,Dn()}),In(Na);const Za=()=>Promise.all(yn(W,ni)),ja=async A=>{A==1&&await Za()},Pa=()=>i.showController?Un():Je(),Ha=()=>{i.pictureInPicture=!i.pictureInPicture,document.pictureInPictureElement?document.exitPictureInPicture():s.value.requestPictureInPicture()},Va=A=>{const m=A.target.dataset.color;if(!m)return;const F=C.colors.findIndex(N=>N==m);if(F==-1)return C.colors.push(m);C.colors.length!=1&&C.colors.splice(F,1)};we(()=>C.colors,()=>{var A;return(A=_.value)==null?void 0:A.setColors(C.colors)}),we(()=>C.canvasSpeed,()=>{var A;return(A=_.value)==null?void 0:A.setSpeed(C.canvasSpeed)}),we(()=>C.canvasOpacity,()=>{var A;return(A=_.value)==null?void 0:A.setOpacity(C.canvasOpacity)}),we(()=>C.canvasColorOpen,()=>{var A;return(A=_.value)==null?void 0:A.setColors(C.canvasColorOpen?C.colors:["#ffffff"])}),Gt(()=>{var A,m,F,N;(A=_.value)==null||A.setGap(C.canvasGap),(m=_.value)==null||m.setFont(C.canvasFontsize),(F=_.value)==null||F.setRows(C.canvasRows),(N=_.value)==null||N.resize()}),we(xe,()=>{Je(),clearTimeout(t),i.notice=`当前音量 ${xe.value}%`,s.value.volume=xe.value/100,pt("volume",xe.value),t=setTimeout(()=>i.notice=null,2e3)}),we(de,()=>{Je(),clearTimeout(t),i.notice=`当前亮度 ${de.value}%`,r.value.style.filter=de.value==100?"":`brightness(${de.value/100})`,pt("brightness",de.value),t=setTimeout(()=>i.notice=null,2e3)});let Bn;const on=D(),Ga=A=>{clearTimeout(Bn),Bn=setTimeout(()=>{const m=Et("id",A.target,on.value);if(!m)return;const F=Et("site",A.target,on.value);Ri.push(`/${F}/play/${m}`)},300)},Ka=A=>{var V;clearTimeout(Bn);const m=Et("id",A.target,on.value);if(!m)return;const N=`/${Et("site",A.target,on.value)}/play/${m}`;(V=window.open(N,"_blank"))==null||V.location},Et=(A,m,F)=>{if(m==F)return null;const N=m.dataset[A];return N||Et(A,m.parentElement,F)},Wa=()=>de.value=100;we(()=>i.muted,()=>{Je(),clearTimeout(t),i.notice=i.muted?"已静音":"已开启声音",t=setTimeout(()=>i.notice=null,2e3)});const Ya=()=>{if(s.value.muted){s.value.muted=!1,i.muted=!1;return}s.value.muted=!0,i.muted=!0};function Qa(A,m,F){F.stopPropagation(),F.preventDefault(),ii(A,m),A==c.value.siteId&&m==c.value.roomId&&(i.follow=!1)}return(A,m)=>{var qe,st,$n,Ne,an,rt;const F=Qs,N=Vs,V=Yt,te=js,Ee=Ns,Ce=Wt,lt=En("lazy");return T(),U("div",tf,[v("div",nf,[v("div",of,[v("div",{"hover:text-amber":"",onClick:m[0]||(m[0]=(...R)=>A.$router.back&&A.$router.back(...R)),class:"i-ri-arrow-left-line"}),v("h1",af,Z((qe=y(c))==null?void 0:qe.title),1),v("div",{onClick:m[1]||(m[1]=R=>ft.value=!y(ft)),hidden:"","lg:block":"",style:dt(y(ft)?"transform:rotate(180deg)":"margin-right:1.5rem"),class:"i-ri-arrow-right-s-fill"},null,4)]),v("div",{ref_key:"player",ref:r,"md:rounded-6px":"","text-4":"","text-white":"",onContextmenu:m[19]||(m[19]=q(()=>{},["prevent"])),"bg-black":"","cursor-default":"",class:Y({"cursor-none":!y(i).showController,"text-5":y(i).fullscreen,"text-5 !pos-fixed left-0 right-0 top-0 bottom-0 z-10 ":y(i).webscreen}),"pos-relative":"","w-full":"","overflow-hidden":"","select-none":"","h-full":"",onClick:Pa,onDblclick:Ci},[v("div",lf,[v("video",{playsinline:"","webkit-playsinline":"","x5-video-player-type":"h5",autoplay:"",ref_key:"video",ref:s,"w-full":"","h-full":"","pos-absolute":"",onPlay:$a,onPause:Fa},null,544)]),Q(v("div",sf,[v("span",null,Z(y(i).notice),1)],512),[[ke,y(i).notice]]),v("canvas",{ref_key:"canvas",ref:p,"pos-absolute":"","top-0":"",width:"0",height:"0","w-full":"","h-full":"","z-1":""},null,512),Q(v("div",{"pos-absolute":"","bottom-0":"","left-0":"","right-0":"","px-4":"","py-2":"","gap-3":"","z-20":"",flex:"","items-center":"",onClick:m[5]||(m[5]=q(()=>{},["stop"])),onDblclick:m[6]||(m[6]=q(()=>{},["stop"])),class:Y({"py-3":y(i).fullscreen||y(i).webscreen}),"bg-black":"","bg-op-30":""},[v("div",{onClick:Un,"hover:text-amber":"",class:Y(y(i).paused?"i-ri-play-large-fill":"i-ri-pause-large-fill")},null,2),v("div",{"hover:text-amber":"",onClick:Ua,class:Y(y(i).follow?"i-ri-heart-fill":"i-ri-heart-line")},null,2),v("div",{"hover:text-amber":"",onClick:Dn,class:"i-ri-refresh-line"}),v("img",{"w-1.5em":"","cursor-pointer":"",onClick:m[2]||(m[2]=()=>y(C).canvasOpen=!y(C).canvasOpen),src:y(C).canvasOpen?y(Pi):y(Hi)},null,8,rf),m[33]||(m[33]=v("div",{grow:""},null,-1)),y(u).length?(T(),U("div",cf,[H(F,{active:y(i).qn,"onUpdate:active":m[3]||(m[3]=R=>y(i).qn=R),list:y(u)},null,8,["active","list"]),H(F,{active:y(i).line,"onUpdate:active":m[4]||(m[4]=R=>y(i).line=R),list:y(h)},null,8,["active","list"]),y(mn)?Le("",!0):(T(),U("div",{key:0,"ml-2":"","hover:text-amber":"",onClick:Ha,class:Y(y(i).pictureInPicture?"i-ri-picture-in-picture-exit-line":"i-ri-picture-in-picture-2-line")},null,2))])):Le("",!0),v("div",{"hover:text-amber":"",onClick:Ba,class:"i-mdi-fit-to-screen"}),v("div",{"hover:text-amber":"",onClick:Ci,class:Y(y(i).fullscreen?"i-ri-fullscreen-exit-fill":"i-ri-fullscreen-fill")},null,2)],34),[[ke,y(i).showController]]),y(mn)?Q((T(),U("div",{key:0,class:Y({"py-3":y(i).fullscreen||y(i).webscreen}),"pos-absolute":"","top-0":"","left-0":"","right-0":"","px-4":"","py-2":"","gap-3":"","z-20":"",flex:"","justify-between":"","bg-black":"","bg-op-30":"",onClick:m[11]||(m[11]=q(()=>{},["stop"])),onDblclick:m[12]||(m[12]=q(()=>{},["stop"]))},[v("div",uf,[v("div",{onClick:m[7]||(m[7]=R=>y(Ni)(!1)),class:"i-ri-sun-line"}),v("div",null,Z(y(de)),1),v("div",{onClick:m[8]||(m[8]=R=>y(Ni)(!0)),class:"i-ri-sun-fill"})]),Q(v("div",{"flex-1":"","w-10":"",truncate:"","text-center":""},Z((st=y(c))==null?void 0:st.title),513),[[ke,y(i).fullscreen]]),v("div",ff,[v("div",{onClick:m[9]||(m[9]=R=>y(ln)(!1)),class:"i-ri-volume-down-fill"}),v("div",null,Z(y(xe)),1),v("div",{onClick:m[10]||(m[10]=R=>y(ln)(!0)),class:"i-ri-volume-up-fill"})])],34)),[[ke,y(i).showController]]):Q((T(),U("div",df,[v("div",{onClick:m[14]||(m[14]=q(()=>{},["stop"])),onDblclick:m[15]||(m[15]=q(()=>{},["stop"])),"pos-absolute":"",class:"top-50% left-4 flex items-center flex-col",style:{transform:"translateY(-50%)"},"z-20":""},[v("div",null,Z(y(de)),1),H(N,{value:y(de),"onUpdate:value":m[13]||(m[13]=R=>We(de)?de.value=R:null),max:200,min:50},null,8,["value"]),v("div",{onClick:q(Wa,["stop"]),class:"i-ri-sun-line"})],32),v("div",{onClick:m[17]||(m[17]=q(()=>{},["stop"])),onDblclick:m[18]||(m[18]=q(()=>{},["stop"])),"pos-absolute":"",class:"top-50% right-4 flex items-center flex-col",style:{transform:"translateY(-50%)"},"z-20":""},[Rt(Z(y(xe))+" ",1),H(N,{value:y(xe),"onUpdate:value":m[16]||(m[16]=R=>We(xe)?xe.value=R:null),max:100,min:0},null,8,["value"]),v("div",{onClick:q(Ya,["stop"]),class:Y(y(i).muted?"i-ri-volume-mute-line":"i-ri-volume-down-line")},null,2)],32)],512)),[[ke,y(i).showController]])],34)]),Q(v("div",hf,[v("div",_f,[v("img",{src:($n=y(c))==null?void 0:$n.avatar,"w-8":"","h-8":"",alt:"","rounded-4":""},null,8,pf),v("div",vf,[v("div",gf,Z((Ne=y(c))==null?void 0:Ne.nickname),1),v("div",mf,[v("img",{"w-4":"","h-4":"",src:A.$route.meta.site.icon},null,8,wf),Rt(" "+Z(A.$route.meta.site.name)+" "+Z((an=y(c))==null?void 0:an.category),1)])]),v("div",null,[m[34]||(m[34]=v("div",{"mx-1":"",class:"i-mdi-fire"},null,-1)),v("span",null,Z((rt=y(c))==null?void 0:rt.online),1)])]),H(Ce,{grow:!0,onTabClick:ja,class:"!h-[calc(100%-3.75rem)]"},{default:K(()=>[H(V,{title:"聊天","pos-relative":""},{default:K(()=>{var R;return[v("div",xf,[v("img",{"w-1.5em":"","cursor-pointer":"",onClick:m[20]||(m[20]=()=>y(C).sideOpen=!y(C).sideOpen),src:y(C).sideOpen?y(Pi):y(Hi)},null,8,yf),v("div",{"text-green-5":"",onClick:M,class:"i-ri-delete-bin-3-line"}),v("a",{"text-green-5":"",href:(R=y(c))==null?void 0:R.url,target:"_blank"},m[35]||(m[35]=[v("div",{class:"i-ri-link"},null,-1)]),8,bf),v("div",{onClick:at,"text-green-5":"",class:"i-ri-arrow-down-circle-line"})]),v("div",{ref_key:"dm",ref:f,"h-full":"","pl-2":"","box-border":"",class:"scrolly"},null,512)]}),_:1}),H(V,{title:"关注","box-border":"","px-4":""},{default:K(()=>[v("div",{onClick:q(Ga,["prevent"]),onDblclick:q(Ka,["prevent"])},[(T(!0),U(oe,null,ge(y(w),R=>{var Oi,Li;return T(),U("a",{"data-id":R.roomId,"data-site":R.siteId,class:Y({"text-amber":((Oi=y(c))==null?void 0:Oi.siteId)==R.siteId&&((Li=y(c))==null?void 0:Li.roomId)==R.roomId}),key:`${R.siteId}/${R.roomId}`,href:`/${R.siteId}/play/${R.roomId}`,flex:"","items-center":"","justify-between":"","gap-2":"","py-2":""},[v("div",Sf,[Q(v("img",Af,null,512),[[lt,R.avatar]]),v("div",null,Z(y(xl)[R.siteId]),1),v("div",null,Z(R.nickname),1),v("div",{"inline-block":"","w-3":"","h-3":"","rounded-3":"",class:Y([R.status?"bg-green":"bg-red"])},null,2),v("div",null,Z(R.status?"直播中":"未开播"),1)]),v("div",{"pos-relative":"","w-6":"","h-6":"","hover:text-amber":"",class:"i-mdi-heart-off-outline",onClick:Ja=>Qa(R.siteId,R.roomId,Ja)},null,8,Ef)],10,kf)}),128))],32)]),_:1}),H(V,{title:"设置","px-2":""},{default:K(()=>[m[47]||(m[47]=v("div",{"p-3":"","bg-sm":""},"弹幕",-1)),v("div",If,[v("div",Tf,[m[36]||(m[36]=v("div",null,"文字大小",-1)),H(te,{value:y(C).canvasFontsize,"onUpdate:value":m[21]||(m[21]=R=>y(C).canvasFontsize=R),max:80,min:8,step:1},null,8,["value"])]),v("div",Cf,[m[37]||(m[37]=v("div",null,"上下间隔",-1)),H(te,{value:y(C).canvasGap,"onUpdate:value":m[22]||(m[22]=R=>y(C).canvasGap=R),max:80,min:1,step:1},null,8,["value"])]),v("div",zf,[m[38]||(m[38]=v("div",null,"最大行数",-1)),H(te,{value:y(C).canvasRows,"onUpdate:value":m[23]||(m[23]=R=>y(C).canvasRows=R),max:50,min:1,step:1},null,8,["value"])]),v("div",Rf,[m[39]||(m[39]=v("div",null,"弹幕速度",-1)),H(te,{value:y(C).canvasSpeed,"onUpdate:value":m[24]||(m[24]=R=>y(C).canvasSpeed=R),max:32,min:.5,step:.5},null,8,["value"])]),v("div",Mf,[m[40]||(m[40]=v("div",null,"弹幕透明",-1)),H(te,{value:y(C).canvasOpacity,"onUpdate:value":m[25]||(m[25]=R=>y(C).canvasOpacity=R),max:100,min:10,step:10},null,8,["value"])]),v("div",Of,[m[41]||(m[41]=v("div",null,"彩色弹幕",-1)),H(Ee,{value:y(C).canvasColorOpen,"onUpdate:value":m[26]||(m[26]=R=>y(C).canvasColorOpen=R)},null,8,["value"])])]),m[48]||(m[48]=v("div",{"p-3":"","bg-sm":""},"聊天",-1)),v("div",Lf,[v("div",Df,[m[42]||(m[42]=v("div",null,"文字大小",-1)),H(te,{value:y(C).sideFontsize,"onUpdate:value":m[27]||(m[27]=R=>y(C).sideFontsize=R),max:80,min:8,step:1},null,8,["value"])]),v("div",Uf,[m[43]||(m[43]=v("div",null,"上下间隔",-1)),H(te,{value:y(C).sideGap,"onUpdate:value":m[28]||(m[28]=R=>y(C).sideGap=R),max:80,min:0,step:1},null,8,["value"])]),v("div",Bf,[m[44]||(m[44]=v("div",null,"自动清屏",-1)),H(te,{value:y(C).sideClean,"onUpdate:value":m[29]||(m[29]=R=>y(C).sideClean=R),max:500,min:10,step:10},null,8,["value"])]),v("div",$f,[m[45]||(m[45]=v("div",null,"彩色消息",-1)),H(Ee,{value:y(C).sideColorOpen,"onUpdate:value":m[30]||(m[30]=R=>y(C).sideColorOpen=R)},null,8,["value"])])]),m[49]||(m[49]=v("div",{"p-3":"","bg-sm":""},"颜色",-1)),v("div",Ff,[(T(!0),U(oe,null,ge(y(bl),R=>(T(),U("div",{onClick:Va},[v("div",{class:"w-4 h-4 rounded-2 m-2 shadow","box-border":"","data-color":R,"cursor-pointer":"",style:dt(`background:${R};${y(C).colors.includes(R)?"box-shadow:0 0 0px 2px white":""}`)},null,12,Nf)]))),256))]),v("div",Zf,[m[46]||(m[46]=Rt("屏蔽 ")),H(Ee,{value:y(C).blockOpen,"onUpdate:value":m[31]||(m[31]=R=>y(C).blockOpen=R)},null,8,["value"])]),Q(v("textarea",{"outline-none":"","w-full":"","onUpdate:modelValue":m[32]||(m[32]=R=>y(C).blockWords=R),"text-white":"",b:"","b-solid":"","b-gray-7":"","p-2":"","box-border":"",rows:"5","bg-dark":"",shadow:"","rounded-1":"",placeholder:"以空格分隔"},null,512),[[hi,y(C).blockWords,void 0,{trim:!0}]])]),_:1})]),_:1})],512),[[ke,y(ft)]])])}}}),La=(e,n)=>{const t=e.__vccOpts||e;for(const[a,i]of n)t[a]=i;return t},Pf={},Hf={"h-full":"","box-border":"","py-2":"",class:"scrolly"};function Vf(e,n){return T(),U("div",Hf,n[0]||(n[0]=[v("div",{"text-xl":"","p-4":""},"支持",-1),v("div",{"ml-4":""},[v("img",{"h-50":"","mr-5":"",src:"https://i0.hdslb.com/bfs/article/828b4686d0bcd7a427939b1f121f322898845873.png@1e_1c.webp"}),v("img",{"h-50":"",src:"https://i0.hdslb.com/bfs/article/d07b5e8cbae76f0fc38a8049c433d3d598845873.jpg@1e_1c.webp"})],-1)]))}const Gf=La(Pf,[["render",Vf]]),Kf={},Wf={"h-full":"",flex:"","justify-center":"","items-center":""};function Yf(e,n){return T(),U("div",Wf,n[0]||(n[0]=[v("div",{"text-center":"","text-8":"","line-height-8":""},[v("div",{"font-900":""},"404"),v("div",{"mt-4":""},"页面未找到")],-1)]))}const Qf=La(Kf,[["render",Yf]]);async function Tt(e){const{siteid:n,id:t}=e.params,a=W.findIndex(i=>i.id==n);return a==-1?{name:"404"}:(e.meta.site=W[a],e.meta.id=t,e.meta.index=a,ie.value=a,!0)}const Jf=kl({history:Sl(),routes:[{path:"/",redirect:()=>`/${ht[ie.value]}`},{path:"/follow",component:$s},{path:"/user",component:Gf},{path:"/category",redirect:()=>`/${ht[ie.value]}/category`},{path:"/search",redirect:()=>`/${ht[ie.value]}/search`},{path:"/:siteid",component:Fs,beforeEnter:Tt},{path:"/:siteid/category",component:us,beforeEnter:Tt},{path:"/:siteid/category/:id",component:Ql,beforeEnter:Tt},{path:"/:siteid/play/:id",component:jf,beforeEnter:Tt},{path:"/:siteid/search",component:vs,beforeEnter:Tt},{path:"/:pathMatch(.*)*",name:"404",component:Qf}]}),qf={install(e){e.directive("lazy",{mounted(n,t){n.src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41IiBkPSJtMi4yNSAxNS43NWw1LjE1OS01LjE1OWEyLjI1IDIuMjUgMCAwIDEgMy4xODIgMGw1LjE1OSA1LjE1OW0tMS41LTEuNWwxLjQwOS0xLjQwOWEyLjI1IDIuMjUgMCAwIDEgMy4xODIgMGwyLjkwOSAyLjkwOW0tMTggMy43NWgxNi41YTEuNSAxLjUgMCAwIDAgMS41LTEuNVY2YTEuNSAxLjUgMCAwIDAtMS41LTEuNUgzLjc1QTEuNSAxLjUgMCAwIDAgMi4yNSA2djEyYTEuNSAxLjUgMCAwIDAgMS41IDEuNW0xMC41LTExLjI1aC4wMDh2LjAwOGgtLjAwOHptLjM3NSAwYS4zNzUuMzc1IDAgMSAxLS43NSAwYS4zNzUuMzc1IDAgMCAxIC43NSAwIi8+PC9zdmc+";const a=new IntersectionObserver(i=>{Vo(i,l=>{if(l.isIntersecting){const r=new Image;r.src=t.value,r.onload=()=>n.src=t.value,a.unobserve(l.target)}})});a.observe(n)}})}},Da=el(Cl);Da.use(Jf).use(qf);Da.mount("#app");
|
package/package.json
CHANGED
package/README.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# Vue 3 + TypeScript + Vite
|
2
|
-
|
3
|
-
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
4
|
-
|
5
|
-
## Recommended Setup
|
6
|
-
|
7
|
-
- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (previously Volar) and disable Vetur
|
8
|
-
|
9
|
-
- Use [vue-tsc](https://github.com/vuejs/language-tools/tree/master/packages/tsc) for performing the same type checking from the command line, or for generating d.ts files for SFCs.
|