@polyv/product-ui 1.0.0-rc-20250612.3

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.
Files changed (76) hide show
  1. package/address-edit.cjs.js +8 -0
  2. package/address-edit.es.d.ts +3 -0
  3. package/address-edit.es.js +5908 -0
  4. package/address-edit.umd.js +8 -0
  5. package/address-item.cjs.js +8 -0
  6. package/address-item.es.d.ts +3 -0
  7. package/address-item.es.js +425 -0
  8. package/address-item.umd.js +8 -0
  9. package/address-list.cjs.js +9 -0
  10. package/address-list.es.d.ts +3 -0
  11. package/address-list.es.js +1908 -0
  12. package/address-list.umd.js +9 -0
  13. package/index.cjs.js +8 -0
  14. package/index.es.js +15347 -0
  15. package/index.umd.js +8 -0
  16. package/mobile-product-pendant.cjs.js +8 -0
  17. package/mobile-product-pendant.es.d.ts +3 -0
  18. package/mobile-product-pendant.es.js +813 -0
  19. package/mobile-product-pendant.umd.js +8 -0
  20. package/order-confirm.cjs.js +9 -0
  21. package/order-confirm.es.d.ts +3 -0
  22. package/order-confirm.es.js +5254 -0
  23. package/order-confirm.umd.js +9 -0
  24. package/order-detail.cjs.js +8 -0
  25. package/order-detail.es.d.ts +3 -0
  26. package/order-detail.es.js +2474 -0
  27. package/order-detail.umd.js +8 -0
  28. package/order-item.cjs.js +8 -0
  29. package/order-item.es.d.ts +3 -0
  30. package/order-item.es.js +1448 -0
  31. package/order-item.umd.js +8 -0
  32. package/order-list-popup.cjs.js +9 -0
  33. package/order-list-popup.es.d.ts +3 -0
  34. package/order-list-popup.es.js +4114 -0
  35. package/order-list-popup.umd.js +9 -0
  36. package/order-list.cjs.js +8 -0
  37. package/order-list.es.d.ts +3 -0
  38. package/order-list.es.js +2572 -0
  39. package/order-list.umd.js +9 -0
  40. package/order-popup.cjs.js +9 -0
  41. package/order-popup.es.d.ts +3 -0
  42. package/order-popup.es.js +8050 -0
  43. package/order-popup.umd.js +9 -0
  44. package/package.json +28 -0
  45. package/pc-product-pendant.cjs.js +9 -0
  46. package/pc-product-pendant.es.d.ts +3 -0
  47. package/pc-product-pendant.es.js +1604 -0
  48. package/pc-product-pendant.umd.js +9 -0
  49. package/product-button.cjs.js +9 -0
  50. package/product-button.es.d.ts +3 -0
  51. package/product-button.es.js +1882 -0
  52. package/product-button.umd.js +9 -0
  53. package/product-detail-popup.cjs.js +9 -0
  54. package/product-detail-popup.es.d.ts +3 -0
  55. package/product-detail-popup.es.js +8250 -0
  56. package/product-detail-popup.umd.js +9 -0
  57. package/product-detail.cjs.js +9 -0
  58. package/product-detail.es.d.ts +3 -0
  59. package/product-detail.es.js +8082 -0
  60. package/product-detail.umd.js +9 -0
  61. package/product-iframe-link-popup.cjs.js +9 -0
  62. package/product-iframe-link-popup.es.d.ts +3 -0
  63. package/product-iframe-link-popup.es.js +2209 -0
  64. package/product-iframe-link-popup.umd.js +9 -0
  65. package/product-item.cjs.js +8 -0
  66. package/product-item.es.d.ts +3 -0
  67. package/product-item.es.js +3700 -0
  68. package/product-item.umd.js +9 -0
  69. package/product-list-popup.cjs.js +9 -0
  70. package/product-list-popup.es.d.ts +3 -0
  71. package/product-list-popup.es.js +5302 -0
  72. package/product-list-popup.umd.js +9 -0
  73. package/product-list.cjs.js +9 -0
  74. package/product-list.es.d.ts +3 -0
  75. package/product-list.es.js +5189 -0
  76. package/product-list.umd.js +9 -0
@@ -0,0 +1,4114 @@
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('.plv-radio{cursor:pointer;line-height:16px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:30px;-webkit-box-sizing:border-box;box-sizing:border-box}.plv-radio:last-of-type{margin-right:0}.plv-radio .plv-radio__inner{-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box;width:16px;height:16px;border-radius:8px;border:1px solid #e5e5e5;-webkit-transition:border-color .35s;transition:border-color .35s;vertical-align:middle}.plv-radio .plv-radio__label{color:#1d2129;font-size:14px;padding-left:8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;line-height:16px;word-break:break-word}.plv-radio:hover .plv-radio__inner{border-color:#3f76fc}.plv-radio.plv-radio--checked .plv-radio__inner{border-width:4px;border-color:#3f76fc}.plv-radio.plv-radio--disabled{cursor:not-allowed}.plv-radio.plv-radio--disabled .plv-radio__inner{border-color:#e5e5e5;background:#f9fafd}.plv-radio.plv-radio--disabled .plv-radio__label{color:#969ba5}.plv-radio.plv-radio--disabled.plv-radio--checked .plv-radio__inner{background:#f9fafd}.plv-radio.plv-radio--readonly{cursor:default}.plv-radio.plv-radio--readonly:hover .plv-radio__inner{border-color:#e5e5e5}.plv-radio.plv-radio--readonly:hover .plv-radio__inner.plv-radio__inner--checked{border-color:#3f76fc}.plv-radio--border{min-width:80px;height:36px!important;padding:0 16px;border-radius:2px;border:1px solid #e5e5e5;-webkit-transition:border-color .35s;transition:border-color .35s;position:relative;margin-right:16px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.plv-radio--border:hover{border-color:#3f76fc}.plv-radio--border .plv-radio__label{padding-left:0;font-size:12px;float:none}.plv-radio--border.plv-radio--checked{border-width:2px;border-color:#3f76fc}.plv-radio--border .plv-radio__corner{position:absolute;right:-1px;bottom:-1px;width:18px;height:18px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAJiklEQVR4Xu3du4ucVRjH8TOE7LRWVhZWioraWKlg0MJSEHJTsPAf8B9QDAiiIFpZipVgl8Q/QUSwjWhh1EqsZDdo2M3FXWV2d7I793Pec3suX8v4vuc85/c8n8w7M9lkFPiPBEhgaQKPfv7PlRHZkAAJLCZwiGMU3gcI00ECcwlMcUx+GSCMBwmcSuA0DoAwGiSwBgdAGA8SOE5g/pVjGgyPWIyI+wRW4eAVxP1oEMA6HABhPlwnsAkHQFyPh+/Dx+AAiO8ZcXv6WBwAcTsifg+eggMgfufE5clTcQDE5Zj4PPQQHADxOSvuTj0UB0DcjYq/A+fgAIi/eXF14lwcAHE1Lr4OWwIHQHzNjJvTlsIBEDcj4+egJXEAxM/cuDhpaRwAcTE2Pg5ZAwdAfMyO+VPWwgEQ86Nj/4A1cQDE/vyYPmFtHAAxPT62D9cCB0Bsz5DZ07XCARCzI2T3YC1xAMTuHJk8WWscADE5RjYP1QMHQGzOkrlT9cIBEHOjZO9APXEAxN48mTpRbxwAMTVOtg4jAQdAbM2UmdNIwQEQMyNl5yCScADEzlyZOIk0HAAxMVY2DiERB0BszJb6U0jFARD1o6X/AJJxAET/fKk+gXQcAFE9XrqL14ADILpnTG31WnAARO2I6S1cEw6A6J0zlZVrwwEQlWOms2iNOACic9bUVa0VB0DUjZq+gjXjAIi+eVNVsXYcAFE1brqKtYADILpmTk21VnAARM3I6SnUEg6A6Jk7FZVawwEQFWOno0iLOACiY/bEV2kVB0DEj578Ai3jAIj8+RNdoXUcABE9frKL84ADILJnUGx1XnAAROwIyi3MEw6AyJ1DkZV5wwEQkWMosyiPOAAicxbFVeUVB0DEjaK8gjzjAIi8eRRVkXccABE1jrKKAcdRP0ay2kI1EhIAx0kXACJhIgXVAI7ZZgBE0HD2LgUcix0ASO+pFLI/OJY3AiBCBrRnGeBYnT5Aek6mgL3Bsb4JABEwpL1KAMfm5AGyOSOTV4Ajrq0AicvJ1FXgiG8nQOKzMnElONLaCJC0vFRfDY709gEkPTOVd4BjWNsAMiw3VXeBY3i7ADI8OxV3giOvTQDJy0/03eDIbw9A8jMUuQI4yrQFIGVyFLUKOMq1AyDlshSxEjjKtgEgZfPsuho4yscPkPKZdlkRHHViB0idXJuuCo56cQOkXrZNVgZH3ZgBUjffqquDo2q8h4sDpH7GVXYAR5VYFxYFSJuci+4CjqJxrl0MIO2yLrITOIrEGL0IQKKj6n8hONr3ACDtMx+0IzgGxZZ9E0CyI6y/ADjqZ7xqB4D0yz5qZ3BExVTtIoBUizZ/YXDkZ5i7AkByE6x0PzgqBZu4LEASA2txOThapBy3B0Dicmp2FTiaRR21EUCiYmpzETja5JyyC0BS0qp4LTgqhpuxNEAywit1KzhKJVl+HYCUzzRpRXAkxdX8YoA0j/xkQ3B0DD9ya4BEBlX6MnCUTrTOegCpk+vaVcHRIfSBWwJkYHBDbwPH0OT63AeQhrmDo2HYhbYCSKEgNy0Djk0Jyfz/AGnQF3A0CLnSFgCpFOx0WXBUDrjy8gCpGDA48sJ9/pEz4fs/9vMWybwbIJkBrrodHHnBXnlxK7z19Fb44Lu74csf7+ctlnE3QDLCA0eF8EIIUxzT1XsiAUjhHvPKkRfoPI7eSACS18+Zu8GRF+YqHD2RACSvpw/uBkdekJtwTFd/79s74auf/s3bLOFugCSExXuOAmEtWSIWRw8kAMnsOa8ceQGm4miNBCAZ/QVHRnhLPq1KXa3F4xZAUrtyfD04BgZ3fNvQV475XWsjAciAPoNjQGinbimFo8XjFkASew2OxMDmLi+NozYSgCT0GxwJYRX4tCp1txqPWwCJ7AI4IoNacVmtV47a70kAEtF3cESEtOaSVjhqPG4BZEPvwaELR2kkAFnTfwk43nluK3xx4364fe+/vEntcPe7L2yFt5/Z6rBzCDd3DsKrX+9m7w2QFRH2xjFpzKevjMNrj50NP/+1Hy5d2wu3+/1YRPKgtX6sOl3gbzsH4eK13bB9J7nshRsAsiRDSTim5WlCYgXHJHuAzAGRiEMTEks4AKIIhwYk1nAA5BQQya8c80+BEh+3PnxpHC49eTb/oX/ACiXfc8xvzyNWCEETDomvJFZx8AqiFIckJJZxuAei8ZVj2ePWG9f3wt/3BjybZN5iHYdrIBZwTOf7l+39cOFqWyQecLgFYglHDyRecLgEYhFHSySecLgDYhlHCyTecLgC4gFHTSQecbgB0hvHJOjPjv/gYeYHR9G3l3zj7hWHCyAScHx8bhzOP9H+W+YSSDzjMA9EAo5JyJ+8PA6vP94eyGTvHCTecZgGIgXH9JmoN5LL1/fCTsLPR4DjqHMm/yyWNBwSkPx+6yCcv7obhQQcJ2/1zAGRikMLEnDMfg5iCoh0HNKRgGPxQ0IzQLTgkIoEHMs/QTcBRBsOaUjAsfrrJfVAtOKYtuSjc+NwocN3JJP9f905CD/8uR/efKrPR9A3tw/C5W/2wvae3L/SSDUQ7TgkvJJEfzVf+MKaPyZbslS1QKzg8IhECw6134NYw+EJiSYcKoFYxeEBiTYc6oBYx2EZiUYcqoB4wWERiVYcaoB4w2EJiWYcKoB4xWEBiXYc4oF4x6EZiQUcooGAY/brrp4/T5L6xZsVHGKBgGP5SGpAYgmHSCDgWP/7tWQk1nCIAwKOuIcZiUgs4hAFBBxxOCS+cbeKQwwQcKThkITEMg4RQMAxDIcEJNZxdAcCjjwcPZF4wNEVCDjK4OiBxAuObkDAURZHSySecHQBAo46OFog8YajORBw1MVRE4lHHE2BgKMNjhpIvOJoBgQcbXGUROIZRxMg4OiDowQS7ziqAwFHXxw5SMBxlF61vxcLHDJwDEECjpPeVQECDlk4UpCAY7Z3xYGAQyaOGCTgWOxdUSDgkI1jHRJwLO9dMSDg0IFjGRJwrO5dESDg0IXjNJJnHz4TLl7bDdsJ/8CnztMOqzobCDiGBS/lrofGo3Drrtx/n6N3TllAwNG7fexfO4HBQMBRuzWsLyGBQUDAIaF11NAigWQg4GjRFvaQkkASEHBIaRt1tEogGgg4WrWEfSQlEAUEHJJaRi0tE9gIBBwt28Fe0hJYCwQc0tpFPa0TWAkEHK1bwX4SE1gKBBwSW0VNPRJYAAKOHm1gT6kJzAABh9Q2UVevBB4AAUevFrCv5AQOgYBDcouorWcCI3D0jJ+9pSfwP3eG5IxiNQqFAAAAAElFTkSuQmCC);background-size:100% 100%}.plv-radio--border.plv-radio--disabled{background:#f9fafd;border-color:#e5e5e5!important}.plv-radio--border.plv-radio--disabled:hover,.plv-radio--border.plv-radio--readonly{border-color:#e5e5e5}.plv-radio--border.plv-radio--readonly.plv-radio--checked{border-color:#3f76fc}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-common-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:#0006}.plv-product-common-popup__body{position:absolute;display:flex;flex-direction:column;width:100%;max-height:90%;overflow:hidden;border-radius:16px 16px 0 0;background:#fff}.plv-product-common-popup__header{position:relative;z-index:2;display:flex;flex-shrink:0;justify-content:center;align-items:center;padding:0 54px}.plv-product-common-popup__back{position:absolute;top:50%;left:18px;display:flex;justify-content:center;align-items:center;box-sizing:border-box;font-size:20px;transform:translateY(-50%);cursor:pointer}.plv-product-common-popup__title{color:#000c;font-size:16px;font-weight:500;text-align:center}.plv-product-common-popup__header-right{position:absolute;top:50%;right:12px;display:flex;align-items:center;transform:translateY(-50%)}.plv-product-common-popup__close{display:flex;color:#0009;font-size:24px;cursor:pointer}.plv-product-common-popup__content{position:relative;z-index:2;display:flex;flex:1;overflow:hidden}.plv-product-common-popup__inner{flex:1;overflow-y:auto}.plv-product-common-popup__body--bg1{background:linear-gradient(180deg,#fee5e1,#fef9f4)}.plv-product-common-popup__body--bg1:before{position:absolute;top:-26px;right:-87px;z-index:1;width:176px;height:168px;background:#fdf0d5;pointer-events:none;content:"";filter:blur(80px)}.plv-product-common-popup__body--bg1 .plv-product-common-popup__content{padding:0 12px 30px}.plv-product-common-popup__body--bg1 .plv-product-common-popup__inner{border-radius:12px;background:#fff}.plv-product-common-popup--hide-modal{background:none;pointer-events:none}.plv-product-common-popup--hide-modal .plv-product-common-popup__body{pointer-events:initial}.plv-product-common-popup--fill-body .plv-product-common-popup__content{height:90%}.plv-product-common-popup--mobile .plv-product-common-popup__body{border-radius:16px 16px 0 0}.plv-product-common-popup--position-bottom .plv-product-common-popup__body{--plv-product-popup-animation-start: translate(0, 100%);--plv-product-popup-animation-end: translate(0, 0);bottom:0;left:0}.plv-product-common-popup--position-left .plv-product-common-popup__body{--plv-product-popup-animation-start: translate(-100%, 0);--plv-product-popup-animation-end: translate(0, 0);top:0;left:0;height:100%;max-height:100%}.plv-product-common-popup--position-right .plv-product-common-popup__body{--plv-product-popup-animation-start: translate(100%, 0);--plv-product-popup-animation-end: translate(0, 0);top:0;right:0;height:100%;max-height:100%}.plv-product-common-popup--position-center .plv-product-common-popup__body{top:50%;left:50%;max-height:90%;animation:none!important;transform:translate(-50%,-50%)}.plv-product-common-popup--horizontal-screen .plv-product-common-popup__body{border-radius:0}.plv-product-common-popup--page-fullscreen{top:50%;left:50%;width:100vh;height:100vw;transform:translate(-50%,-50%) rotate(90deg)}.plv-product-common-popup--hide-scrollbar .plv-product-common-popup__body,.plv-product-common-popup--hide-scrollbar .plv-product-common-popup__content{overflow:initial}.plv-product-common-popup--hide-scrollbar .plv-product-common-popup__inner{overflow-y:initial}.plv-product-common-popup-slide-enter-active{animation:plv-product-common-popup-slide-in .2s ease-in-out}.plv-product-common-popup-slide-leave-active{animation:plv-product-common-popup-slide-in .15s reverse ease-in-out}@keyframes plv-product-common-popup-slide-in{0%{transform:var(--plv-product-popup-animation-start)}to{transform:var(--plv-product-popup-animation-end)}}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-c-item__tag-container{box-sizing:border-box;margin-right:4px;padding:0 1px;border:.5px solid rgba(0,0,0,.2);border-radius:2px;color:#0009;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-product-c-item__tag{display:inline-block;transform:scale(.833);user-select:none}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-c-purchase-product{display:flex;overflow:hidden;padding:10px 12px;border-radius:8px;background:#fff}.plv-product-c-purchase-product__image{flex:none;width:100px;height:100px;margin-right:8px;border-radius:4px;object-fit:cover}.plv-product-c-purchase-product__info{display:flex;flex:1;flex-direction:column;justify-content:space-between;min-width:0}.plv-product-c-purchase-product__name{color:#000c;font-size:14px;font-weight:500;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.plv-product-c-purchase-product__tags{display:flex;margin-top:6px}.plv-product-c-purchase-product__description{margin-top:6px;color:#0006;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-product-c-purchase-product__price-symbol{color:#333;font-size:12px}.plv-product-c-purchase-product__price-value{color:#333;font-size:18px}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-c-pay-status{display:flex;flex-direction:column;justify-content:center;align-items:center}.plv-product-c-pay-status__text{color:#000c;font-size:20px;font-weight:500}.plv-product-c-pay-status__actions{display:flex;justify-content:center;align-items:center;margin-top:4px;margin-bottom:18px;color:#999;font-size:14px}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-c-customer-qrcode{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:18px;padding:20px 0;border-radius:8px;background:#fff}.plv-product-c-customer-qrcode__img-wrap{position:relative;display:flex;justify-content:center;align-items:center;padding:10px;border:1px solid #CCC;border-radius:4px}.plv-product-c-customer-qrcode__img-text{position:absolute;color:#0006;font-size:14px}.plv-product-c-customer-qrcode__img,.plv-product-c-customer-qrcode__img--expired{width:120px;height:120px}.plv-product-c-customer-qrcode__tips{margin-top:12px;color:#0006;font-size:14px}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-address-item{box-sizing:border-box;padding:12px 16px;border-radius:8px;background:#fff}.plv-product-address-item__top{display:flex;justify-content:space-between;align-items:center}.plv-product-address-item__content{flex:1;min-width:0}.plv-product-address-item__header{color:#000c;font-size:14px}.plv-product-address-item__header-phone{margin-left:4px}.plv-product-address-item__address{margin-top:4px;color:#0006;font-size:14px;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.plv-product-address-item__icon-wrapper{display:flex;flex-shrink:0;align-items:center;margin-left:40px}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-c-phone-info{display:flex;align-items:center;box-sizing:border-box;height:52px;padding-left:12px;border-radius:8px;background:#fff;color:#000c;font-size:14px}.plv-product-c-phone-info__text{margin-left:12px}.plv-product-c-payment-methods{margin-bottom:8px;padding:10px 12px;border-radius:8px;background-color:$plv-color-white}.plv-product-c-payment-methods__title{margin-bottom:10px;color:$plv-color-black-opacity-40;font-size:12px}.plv-product-c-payment-methods__list{display:flex;flex-direction:column}.plv-product-c-payment-methods__item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}.plv-product-c-payment-methods__item-info{display:flex;align-items:center}.plv-product-c-payment-methods__item-icon{display:flex;justify-content:center;align-items:center;width:24px;height:24px;margin-right:8px}.plv-product-c-payment-methods__item-icon img{max-width:100%;max-height:100%}.plv-product-c-payment-methods__item-label{color:$plv-color-black-opacity-80;font-size:14px}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-c-order-info__text{display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;height:44px;padding:12px 14px 12px 16px;color:#000c;font-size:12px}.plv-product-c-order-info__text>span:first-child{color:#0006}.plv-product-c-order-info__amount{color:#ff5252}.plv-product-c-order-info__amount-symbol{font-size:12px}.plv-product-c-order-info__amount-value{font-size:18px}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-c-bottom-operate-panel{display:flex;justify-content:flex-end;box-sizing:border-box;width:100%;padding:10px 12px;background-color:#fff;padding-bottom:calc(env(safe-area-inset-bottom) + 16px)}@supports not (padding-bottom: calc(env(safe-area-inset-bottom) + 16px)){.plv-product-c-bottom-operate-panel{padding-bottom:16px}}.plv-product-c-bottom-operate-panel__item{display:flex;justify-content:center;align-items:center}.plv-product-c-bottom-operate-panel__btn{box-sizing:border-box;height:40px;padding:9px 32px;border-radius:22px;background:#ff5252;color:#fff;font-size:16px;white-space:nowrap}.plv-product-c-bottom-operate-panel__btn-refund{border:1px solid rgba(0,0,0,.1);background:transparent;color:#000c}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-order-detail{display:flex;flex-direction:column;height:100%}.plv-product-order-detail__content{flex:1;padding:0 12px}.plv-product-order-detail__info{margin-top:8px;border-radius:8px;background:#fff}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-c-order-status-tab{display:flex;gap:4px;align-items:center;height:auto;min-height:36px;overflow:auto hidden;margin:0 -12px;padding:8px 12px;color:#999;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}.plv-product-c-order-status-tab::-webkit-scrollbar{display:none}.plv-product-c-order-status-tab__item{position:relative;flex:none;padding:8px 16px;background-color:transparent;color:#999;font-size:14px;white-space:nowrap;cursor:pointer}.plv-product-c-order-status-tab__item--active{color:#333}.plv-product-c-order-status-tab__item--active:after{position:absolute;bottom:1px;left:50%;width:16px;height:2px;border-radius:2px;background-color:#ff5252;transform:translate(-50%);content:""}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-order-item{margin:8px 12px;padding:10px 12px 16px;border-radius:8px;background-color:#fff}.plv-product-order-item:first-child{margin-top:0}.plv-product-order-item__main .plv-product-c-purchase-product{padding:0}.plv-product-order-item__footer{padding-top:10px}.plv-product-order-item__actions-summary{display:flex;justify-content:space-between;align-items:center}.plv-product-order-item__left{display:flex;align-items:center}.plv-product-order-item__status-text{color:#666;font-size:14px}.plv-product-order-item__status-text--highlight{color:#ff5252}.plv-product-order-item__countdown{margin-left:8px;color:#ff5252}.plv-product-order-item__total{margin-bottom:12px;text-align:right}.plv-product-order-item__total-symbol{margin-right:2px;color:#999;font-size:14px;vertical-align:middle}.plv-product-order-item__total-value{color:#333;font-size:18px;vertical-align:middle}.plv-product-order-item__buttons{display:flex;gap:8px}.plv-product-order-item__button{box-sizing:border-box;max-width:150px;height:32px;padding:0 20px;border:1px solid rgba(0,0,0,.1);border-radius:22px;background-color:transparent;color:#000c;font-size:14px;line-height:32px;text-align:center;cursor:pointer;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-product-order-item__button--highlight{border-color:#ff5252;background:#ff5252;color:#fff}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-product-order-list{display:flex;flex-direction:column;height:100%;overflow:hidden auto}.plv-product-order-list__status-tab{position:sticky;top:0;z-index:1;flex-shrink:0;background:#f7f8fa}.plv-product-order-list__items-container{position:relative;flex:1;min-height:0;padding-top:8px}.plv-product-order-list__empty{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;min-height:300px}.plv-product-order-list__empty-icon{display:flex;justify-content:center;color:#e1e5e8;font-size:70px}.plv-product-order-list__empty-text{margin-top:16px;color:#999;font-size:12px;text-align:center}@font-face{font-family:D-DIN-PRO-Regular;src:url(https://s4.videocc.net/font/D-DIN-PRO-400-Regular.otf)}@font-face{font-family:D-DIN-PRO-Medium;src:url(https://s4.videocc.net/font/D-DIN-PRO-500-Medium.otf)}@font-face{font-family:D-DIN-PRO-Bold;src:url(https://s4.videocc.net/font/D-DIN-PRO-700-Bold.otf)}.plv-font-din-pro-regular{font-family:D-DIN-PRO-Regular,sans-serif}.plv-font-din-pro-medium{font-family:D-DIN-PRO-Medium,sans-serif}.plv-font-din-pro-bold{font-family:D-DIN-PRO-Bold,sans-serif}.plv-product-order-list-popup__wrap{position:relative;box-sizing:border-box;width:100%;height:100%;overflow:hidden}.plv-product-order-list-popup__order-list,.plv-product-order-list-popup__order-detail{height:100%}.plv-product-order-list-popup__order-detail{position:absolute;top:0;left:0;box-sizing:border-box;width:100%}.plv-product-order-list-popup__fade-enter-active,.plv-product-order-list-popup__fade-leave-active{transition:opacity .3s cubic-bezier(.25,.8,.5,1)}.plv-product-order-list-popup__fade-enter-from,.plv-product-order-list-popup__fade-leave-to{opacity:0%}')),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
8
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __spreadValues = (a2, b2) => {
10
+ for (var prop in b2 || (b2 = {}))
11
+ if (__hasOwnProp.call(b2, prop))
12
+ __defNormalProp(a2, prop, b2[prop]);
13
+ if (__getOwnPropSymbols)
14
+ for (var prop of __getOwnPropSymbols(b2)) {
15
+ if (__propIsEnum.call(b2, prop))
16
+ __defNormalProp(a2, prop, b2[prop]);
17
+ }
18
+ return a2;
19
+ };
20
+ var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
21
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
22
+ var __async = (__this, __arguments, generator) => {
23
+ return new Promise((resolve, reject) => {
24
+ var fulfilled = (value) => {
25
+ try {
26
+ step(generator.next(value));
27
+ } catch (e) {
28
+ reject(e);
29
+ }
30
+ };
31
+ var rejected = (value) => {
32
+ try {
33
+ step(generator.throw(value));
34
+ } catch (e) {
35
+ reject(e);
36
+ }
37
+ };
38
+ var step = (x2) => x2.done ? resolve(x2.value) : Promise.resolve(x2.value).then(fulfilled, rejected);
39
+ step((generator = generator.apply(__this, __arguments)).next());
40
+ });
41
+ };
42
+ import { computed, unref, watch, onBeforeUnmount, inject, onMounted, ref, defineComponent, nextTick, provide, onBeforeUpdate } from "vue";
43
+ function getDefaultExportFromCjs(x2) {
44
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
45
+ }
46
+ var popperManager;
47
+ var hasRequiredPopperManager;
48
+ function requirePopperManager() {
49
+ if (hasRequiredPopperManager) return popperManager;
50
+ hasRequiredPopperManager = 1;
51
+ popperManager = function(e) {
52
+ var n2 = {};
53
+ function t2(r2) {
54
+ if (n2[r2]) return n2[r2].exports;
55
+ var o2 = n2[r2] = { i: r2, l: false, exports: {} };
56
+ return e[r2].call(o2.exports, o2, o2.exports, t2), o2.l = true, o2.exports;
57
+ }
58
+ return t2.m = e, t2.c = n2, t2.d = function(e2, n3, r2) {
59
+ t2.o(e2, n3) || Object.defineProperty(e2, n3, { enumerable: true, get: r2 });
60
+ }, t2.r = function(e2) {
61
+ "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
62
+ }, t2.t = function(e2, n3) {
63
+ if (1 & n3 && (e2 = t2(e2)), 8 & n3) return e2;
64
+ if (4 & n3 && "object" == typeof e2 && e2 && e2.__esModule) return e2;
65
+ var r2 = /* @__PURE__ */ Object.create(null);
66
+ if (t2.r(r2), Object.defineProperty(r2, "default", { enumerable: true, value: e2 }), 2 & n3 && "string" != typeof e2) for (var o2 in e2) t2.d(r2, o2, function(n4) {
67
+ return e2[n4];
68
+ }.bind(null, o2));
69
+ return r2;
70
+ }, t2.n = function(e2) {
71
+ var n3 = e2 && e2.__esModule ? function() {
72
+ return e2.default;
73
+ } : function() {
74
+ return e2;
75
+ };
76
+ return t2.d(n3, "a", n3), n3;
77
+ }, t2.o = function(e2, n3) {
78
+ return Object.prototype.hasOwnProperty.call(e2, n3);
79
+ }, t2.p = "", t2(t2.s = 14);
80
+ }({ 14: function(e, n2, t2) {
81
+ t2.r(n2);
82
+ t2(41);
83
+ var r2 = "@@polyvAdminUIzIndex", o2 = { ctx: r2, openPopper: function(e2) {
84
+ o2.zIndex++, e2.style.zIndex = o2.zIndex;
85
+ }, install: function(e2) {
86
+ var n3 = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, t3 = n3.defaultZIndex, o3 = void 0 === t3 ? 3e3 : t3;
87
+ window[r2] = o3;
88
+ } };
89
+ Object.defineProperty(o2, "zIndex", { configurable: true, get: function() {
90
+ return window[r2] || (window[r2] = 3e3), window[r2];
91
+ }, set: function(e2) {
92
+ window[r2] = e2;
93
+ } }), n2.default = o2;
94
+ }, 41: function(e, n2, t2) {
95
+ } }).default;
96
+ return popperManager;
97
+ }
98
+ var popperManagerExports = requirePopperManager();
99
+ const PlvPopperManager = /* @__PURE__ */ getDefaultExportFromCjs(popperManagerExports);
100
+ var radio;
101
+ var hasRequiredRadio;
102
+ function requireRadio() {
103
+ if (hasRequiredRadio) return radio;
104
+ hasRequiredRadio = 1;
105
+ radio = function(t2) {
106
+ var e = {};
107
+ function r2(n2) {
108
+ if (e[n2]) return e[n2].exports;
109
+ var o2 = e[n2] = { i: n2, l: false, exports: {} };
110
+ return t2[n2].call(o2.exports, o2, o2.exports, r2), o2.l = true, o2.exports;
111
+ }
112
+ return r2.m = t2, r2.c = e, r2.d = function(t3, e2, n2) {
113
+ r2.o(t3, e2) || Object.defineProperty(t3, e2, { enumerable: true, get: n2 });
114
+ }, r2.r = function(t3) {
115
+ "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t3, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t3, "__esModule", { value: true });
116
+ }, r2.t = function(t3, e2) {
117
+ if (1 & e2 && (t3 = r2(t3)), 8 & e2) return t3;
118
+ if (4 & e2 && "object" == typeof t3 && t3 && t3.__esModule) return t3;
119
+ var n2 = /* @__PURE__ */ Object.create(null);
120
+ if (r2.r(n2), Object.defineProperty(n2, "default", { enumerable: true, value: t3 }), 2 & e2 && "string" != typeof t3) for (var o2 in t3) r2.d(n2, o2, function(e3) {
121
+ return t3[e3];
122
+ }.bind(null, o2));
123
+ return n2;
124
+ }, r2.n = function(t3) {
125
+ var e2 = t3 && t3.__esModule ? function() {
126
+ return t3.default;
127
+ } : function() {
128
+ return t3;
129
+ };
130
+ return r2.d(e2, "a", e2), e2;
131
+ }, r2.o = function(t3, e2) {
132
+ return Object.prototype.hasOwnProperty.call(t3, e2);
133
+ }, r2.p = "", r2(r2.s = 298);
134
+ }({ 0: function(t2, e, r2) {
135
+ function n2(t3, e2, r3, n3, o2, i2, a2, s2) {
136
+ var u2, c2 = "function" == typeof t3 ? t3.options : t3;
137
+ if (e2 && (c2.render = e2, c2.staticRenderFns = r3, c2._compiled = true), n3 && (c2.functional = true), i2 && (c2._scopeId = "data-v-" + i2), a2 ? (u2 = function(t4) {
138
+ (t4 = t4 || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || "undefined" == typeof __VUE_SSR_CONTEXT__ || (t4 = __VUE_SSR_CONTEXT__), o2 && o2.call(this, t4), t4 && t4._registeredComponents && t4._registeredComponents.add(a2);
139
+ }, c2._ssrRegister = u2) : o2 && (u2 = s2 ? function() {
140
+ o2.call(this, this.$root.$options.shadowRoot);
141
+ } : o2), u2) if (c2.functional) {
142
+ c2._injectStyles = u2;
143
+ var l2 = c2.render;
144
+ c2.render = function(t4, e3) {
145
+ return u2.call(e3), l2(t4, e3);
146
+ };
147
+ } else {
148
+ var f2 = c2.beforeCreate;
149
+ c2.beforeCreate = f2 ? [].concat(f2, u2) : [u2];
150
+ }
151
+ return { exports: t3, options: c2 };
152
+ }
153
+ r2.d(e, "a", function() {
154
+ return n2;
155
+ });
156
+ }, 115: function(t2, e, r2) {
157
+ var n2 = { name: "plv-radio", mixins: [r2(15).a], inject: { radioGroup: { default: "" } }, props: { checked: { type: Boolean, default: false }, value: [String, Number, Boolean], label: String, trueLabel: String, falseLabel: String, type: { type: String, default: "", validator: function(t3) {
158
+ return -1 !== ["", "border"].indexOf(t3);
159
+ } }, disabled: { type: Boolean, default: false }, readonly: { type: Boolean, default: false }, corner: { type: Boolean, default: false } }, model: { prop: "checked", event: "change" }, computed: { inGroup: function() {
160
+ return !!this.radioGroup;
161
+ }, isChecked: function() {
162
+ return this.inGroup ? this.radioGroup.value === this.value : this.checked;
163
+ }, isDisabled: function() {
164
+ return this.disabled || this.inGroup && this.radioGroup.disabled;
165
+ }, isReadonly: function() {
166
+ return this.readonly || this.radioGroup.readonly;
167
+ }, radioLabel: function() {
168
+ return this.isChecked ? this.trueLabel || this.label : this.falseLabel || this.label;
169
+ }, radioType: function() {
170
+ return this.type || this.radioGroup.type;
171
+ }, isHasSlot: function() {
172
+ return this.$slots.default || this.$slots.trueLabel || this.$slots.falseLabel;
173
+ } }, methods: { emitChange: function(t3) {
174
+ this.$emit("change", t3);
175
+ }, handleClick: function() {
176
+ this.isDisabled || this.isReadonly || (this.inGroup ? this.radioGroup.radioClick(this.value) : this.checked || this.emitChange(true), this.blurToValidateItem());
177
+ } } }, o2 = (r2(354), r2(355), r2(0)), i2 = Object(o2.a)(n2, function() {
178
+ var t3 = this, e2 = t3.$createElement, r3 = t3._self._c || e2;
179
+ return r3("label", { staticClass: "plv-radio", class: { "plv-radio--checked": t3.isChecked, "plv-radio--disabled": t3.isDisabled, "plv-radio--readonly": t3.isReadonly, "plv-radio--border": "border" === t3.radioType }, on: { click: t3.handleClick } }, ["border" !== t3.radioType ? r3("span", { staticClass: "plv-radio__inner", class: { "plv-radio__inner--checked": t3.isChecked } }) : t3._e(), t3._v(" "), t3.radioLabel || t3.isHasSlot ? r3("span", { staticClass: "plv-radio__label" }, [t3.isChecked ? [t3.$slots.trueLabel ? [t3._t("trueLabel", [t3._v(t3._s(t3.trueLabel))])] : [t3._t("default", [t3._v(t3._s(t3.radioLabel))])]] : [t3.$slots.falseLabel ? [t3._t("falseLabel", [t3._v(t3._s(t3.falseLabel))])] : [t3._t("default", [t3._v(t3._s(t3.radioLabel))])]]], 2) : t3._e(), t3._v(" "), "border" === t3.type && t3.isChecked && t3.corner ? r3("div", { staticClass: "plv-radio__corner" }) : t3._e()]);
180
+ }, [], false, null, null, null);
181
+ e.a = i2.exports;
182
+ }, 147: function(t2, e, r2) {
183
+ }, 148: function(t2, e, r2) {
184
+ }, 15: function(t2, e, r2) {
185
+ r2.d(e, "a", function() {
186
+ return i2;
187
+ });
188
+ var n2 = r2(2), o2 = r2.n(n2), i2 = { inject: { formItem: { default: void 0 } }, computed: { formItemIsError: function() {
189
+ return !!this.formItem && this.formItem.formItemIsError;
190
+ } }, watch: { showPopper: function() {
191
+ this.showPopper ? this.focusToRemoveError() : this.blurToValidateItem();
192
+ } }, methods: { validateCurrentFormItem: function() {
193
+ if (this.formItem) return this.formItem.validate();
194
+ }, blurToValidateItem: function() {
195
+ return o2.a.async(function(t3) {
196
+ for (; ; ) switch (t3.prev = t3.next) {
197
+ case 0:
198
+ return t3.prev = 0, t3.next = 3, o2.a.awrap(this.validateCurrentFormItem());
199
+ case 3:
200
+ t3.next = 8;
201
+ break;
202
+ case 5:
203
+ t3.prev = 5, t3.t0 = t3.catch(0), console.error("blur-validate", t3.t0.message);
204
+ case 8:
205
+ case "end":
206
+ return t3.stop();
207
+ }
208
+ }, null, this, [[0, 5]]);
209
+ }, focusToRemoveError: function() {
210
+ this.formItem && this.formItem.removeErrorMessage();
211
+ } } };
212
+ }, 2: function(t2, e, r2) {
213
+ t2.exports = r2(24);
214
+ }, 24: function(t2, e, r2) {
215
+ var n2 = function(t3) {
216
+ var e2, r3 = Object.prototype, n3 = r3.hasOwnProperty, o2 = "function" == typeof Symbol ? Symbol : {}, i2 = o2.iterator || "@@iterator", a2 = o2.asyncIterator || "@@asyncIterator", s2 = o2.toStringTag || "@@toStringTag";
217
+ function u2(t4, e3, r4) {
218
+ return Object.defineProperty(t4, e3, { value: r4, enumerable: true, configurable: true, writable: true }), t4[e3];
219
+ }
220
+ try {
221
+ u2({}, "");
222
+ } catch (t4) {
223
+ u2 = function(t5, e3, r4) {
224
+ return t5[e3] = r4;
225
+ };
226
+ }
227
+ function c2(t4, e3, r4, n4) {
228
+ var o3 = e3 && e3.prototype instanceof y2 ? e3 : y2, i3 = Object.create(o3.prototype), a3 = new O2(n4 || []);
229
+ return i3._invoke = /* @__PURE__ */ function(t5, e4, r5) {
230
+ var n5 = f2;
231
+ return function(o4, i4) {
232
+ if (n5 === d2) throw new Error("Generator is already running");
233
+ if (n5 === p2) {
234
+ if ("throw" === o4) throw i4;
235
+ return T2();
236
+ }
237
+ for (r5.method = o4, r5.arg = i4; ; ) {
238
+ var a4 = r5.delegate;
239
+ if (a4) {
240
+ var s3 = k2(a4, r5);
241
+ if (s3) {
242
+ if (s3 === v2) continue;
243
+ return s3;
244
+ }
245
+ }
246
+ if ("next" === r5.method) r5.sent = r5._sent = r5.arg;
247
+ else if ("throw" === r5.method) {
248
+ if (n5 === f2) throw n5 = p2, r5.arg;
249
+ r5.dispatchException(r5.arg);
250
+ } else "return" === r5.method && r5.abrupt("return", r5.arg);
251
+ n5 = d2;
252
+ var u3 = l2(t5, e4, r5);
253
+ if ("normal" === u3.type) {
254
+ if (n5 = r5.done ? p2 : h2, u3.arg === v2) continue;
255
+ return { value: u3.arg, done: r5.done };
256
+ }
257
+ "throw" === u3.type && (n5 = p2, r5.method = "throw", r5.arg = u3.arg);
258
+ }
259
+ };
260
+ }(t4, r4, a3), i3;
261
+ }
262
+ function l2(t4, e3, r4) {
263
+ try {
264
+ return { type: "normal", arg: t4.call(e3, r4) };
265
+ } catch (t5) {
266
+ return { type: "throw", arg: t5 };
267
+ }
268
+ }
269
+ t3.wrap = c2;
270
+ var f2 = "suspendedStart", h2 = "suspendedYield", d2 = "executing", p2 = "completed", v2 = {};
271
+ function y2() {
272
+ }
273
+ function m2() {
274
+ }
275
+ function g2() {
276
+ }
277
+ var b2 = {};
278
+ u2(b2, i2, function() {
279
+ return this;
280
+ });
281
+ var _2 = Object.getPrototypeOf, w2 = _2 && _2(_2(S2([])));
282
+ w2 && w2 !== r3 && n3.call(w2, i2) && (b2 = w2);
283
+ var L2 = g2.prototype = y2.prototype = Object.create(b2);
284
+ function x2(t4) {
285
+ ["next", "throw", "return"].forEach(function(e3) {
286
+ u2(t4, e3, function(t5) {
287
+ return this._invoke(e3, t5);
288
+ });
289
+ });
290
+ }
291
+ function E2(t4, e3) {
292
+ var r4;
293
+ this._invoke = function(o3, i3) {
294
+ function a3() {
295
+ return new e3(function(r5, a4) {
296
+ !function r6(o4, i4, a5, s3) {
297
+ var u3 = l2(t4[o4], t4, i4);
298
+ if ("throw" !== u3.type) {
299
+ var c3 = u3.arg, f3 = c3.value;
300
+ return f3 && "object" == typeof f3 && n3.call(f3, "__await") ? e3.resolve(f3.__await).then(function(t5) {
301
+ r6("next", t5, a5, s3);
302
+ }, function(t5) {
303
+ r6("throw", t5, a5, s3);
304
+ }) : e3.resolve(f3).then(function(t5) {
305
+ c3.value = t5, a5(c3);
306
+ }, function(t5) {
307
+ return r6("throw", t5, a5, s3);
308
+ });
309
+ }
310
+ s3(u3.arg);
311
+ }(o3, i3, r5, a4);
312
+ });
313
+ }
314
+ return r4 = r4 ? r4.then(a3, a3) : a3();
315
+ };
316
+ }
317
+ function k2(t4, r4) {
318
+ var n4 = t4.iterator[r4.method];
319
+ if (n4 === e2) {
320
+ if (r4.delegate = null, "throw" === r4.method) {
321
+ if (t4.iterator.return && (r4.method = "return", r4.arg = e2, k2(t4, r4), "throw" === r4.method)) return v2;
322
+ r4.method = "throw", r4.arg = new TypeError("The iterator does not provide a 'throw' method");
323
+ }
324
+ return v2;
325
+ }
326
+ var o3 = l2(n4, t4.iterator, r4.arg);
327
+ if ("throw" === o3.type) return r4.method = "throw", r4.arg = o3.arg, r4.delegate = null, v2;
328
+ var i3 = o3.arg;
329
+ return i3 ? i3.done ? (r4[t4.resultName] = i3.value, r4.next = t4.nextLoc, "return" !== r4.method && (r4.method = "next", r4.arg = e2), r4.delegate = null, v2) : i3 : (r4.method = "throw", r4.arg = new TypeError("iterator result is not an object"), r4.delegate = null, v2);
330
+ }
331
+ function C(t4) {
332
+ var e3 = { tryLoc: t4[0] };
333
+ 1 in t4 && (e3.catchLoc = t4[1]), 2 in t4 && (e3.finallyLoc = t4[2], e3.afterLoc = t4[3]), this.tryEntries.push(e3);
334
+ }
335
+ function j2(t4) {
336
+ var e3 = t4.completion || {};
337
+ e3.type = "normal", delete e3.arg, t4.completion = e3;
338
+ }
339
+ function O2(t4) {
340
+ this.tryEntries = [{ tryLoc: "root" }], t4.forEach(C, this), this.reset(true);
341
+ }
342
+ function S2(t4) {
343
+ if (t4) {
344
+ var r4 = t4[i2];
345
+ if (r4) return r4.call(t4);
346
+ if ("function" == typeof t4.next) return t4;
347
+ if (!isNaN(t4.length)) {
348
+ var o3 = -1, a3 = function r5() {
349
+ for (; ++o3 < t4.length; ) if (n3.call(t4, o3)) return r5.value = t4[o3], r5.done = false, r5;
350
+ return r5.value = e2, r5.done = true, r5;
351
+ };
352
+ return a3.next = a3;
353
+ }
354
+ }
355
+ return { next: T2 };
356
+ }
357
+ function T2() {
358
+ return { value: e2, done: true };
359
+ }
360
+ return m2.prototype = g2, u2(L2, "constructor", g2), u2(g2, "constructor", m2), m2.displayName = u2(g2, s2, "GeneratorFunction"), t3.isGeneratorFunction = function(t4) {
361
+ var e3 = "function" == typeof t4 && t4.constructor;
362
+ return !!e3 && (e3 === m2 || "GeneratorFunction" === (e3.displayName || e3.name));
363
+ }, t3.mark = function(t4) {
364
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t4, g2) : (t4.__proto__ = g2, u2(t4, s2, "GeneratorFunction")), t4.prototype = Object.create(L2), t4;
365
+ }, t3.awrap = function(t4) {
366
+ return { __await: t4 };
367
+ }, x2(E2.prototype), u2(E2.prototype, a2, function() {
368
+ return this;
369
+ }), t3.AsyncIterator = E2, t3.async = function(e3, r4, n4, o3, i3) {
370
+ void 0 === i3 && (i3 = Promise);
371
+ var a3 = new E2(c2(e3, r4, n4, o3), i3);
372
+ return t3.isGeneratorFunction(r4) ? a3 : a3.next().then(function(t4) {
373
+ return t4.done ? t4.value : a3.next();
374
+ });
375
+ }, x2(L2), u2(L2, s2, "Generator"), u2(L2, i2, function() {
376
+ return this;
377
+ }), u2(L2, "toString", function() {
378
+ return "[object Generator]";
379
+ }), t3.keys = function(t4) {
380
+ var e3 = [];
381
+ for (var r4 in t4) e3.push(r4);
382
+ return e3.reverse(), function r5() {
383
+ for (; e3.length; ) {
384
+ var n4 = e3.pop();
385
+ if (n4 in t4) return r5.value = n4, r5.done = false, r5;
386
+ }
387
+ return r5.done = true, r5;
388
+ };
389
+ }, t3.values = S2, O2.prototype = { constructor: O2, reset: function(t4) {
390
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = e2, this.done = false, this.delegate = null, this.method = "next", this.arg = e2, this.tryEntries.forEach(j2), !t4) for (var r4 in this) "t" === r4.charAt(0) && n3.call(this, r4) && !isNaN(+r4.slice(1)) && (this[r4] = e2);
391
+ }, stop: function() {
392
+ this.done = true;
393
+ var t4 = this.tryEntries[0].completion;
394
+ if ("throw" === t4.type) throw t4.arg;
395
+ return this.rval;
396
+ }, dispatchException: function(t4) {
397
+ if (this.done) throw t4;
398
+ var r4 = this;
399
+ function o3(n4, o4) {
400
+ return s3.type = "throw", s3.arg = t4, r4.next = n4, o4 && (r4.method = "next", r4.arg = e2), !!o4;
401
+ }
402
+ for (var i3 = this.tryEntries.length - 1; i3 >= 0; --i3) {
403
+ var a3 = this.tryEntries[i3], s3 = a3.completion;
404
+ if ("root" === a3.tryLoc) return o3("end");
405
+ if (a3.tryLoc <= this.prev) {
406
+ var u3 = n3.call(a3, "catchLoc"), c3 = n3.call(a3, "finallyLoc");
407
+ if (u3 && c3) {
408
+ if (this.prev < a3.catchLoc) return o3(a3.catchLoc, true);
409
+ if (this.prev < a3.finallyLoc) return o3(a3.finallyLoc);
410
+ } else if (u3) {
411
+ if (this.prev < a3.catchLoc) return o3(a3.catchLoc, true);
412
+ } else {
413
+ if (!c3) throw new Error("try statement without catch or finally");
414
+ if (this.prev < a3.finallyLoc) return o3(a3.finallyLoc);
415
+ }
416
+ }
417
+ }
418
+ }, abrupt: function(t4, e3) {
419
+ for (var r4 = this.tryEntries.length - 1; r4 >= 0; --r4) {
420
+ var o3 = this.tryEntries[r4];
421
+ if (o3.tryLoc <= this.prev && n3.call(o3, "finallyLoc") && this.prev < o3.finallyLoc) {
422
+ var i3 = o3;
423
+ break;
424
+ }
425
+ }
426
+ i3 && ("break" === t4 || "continue" === t4) && i3.tryLoc <= e3 && e3 <= i3.finallyLoc && (i3 = null);
427
+ var a3 = i3 ? i3.completion : {};
428
+ return a3.type = t4, a3.arg = e3, i3 ? (this.method = "next", this.next = i3.finallyLoc, v2) : this.complete(a3);
429
+ }, complete: function(t4, e3) {
430
+ if ("throw" === t4.type) throw t4.arg;
431
+ return "break" === t4.type || "continue" === t4.type ? this.next = t4.arg : "return" === t4.type ? (this.rval = this.arg = t4.arg, this.method = "return", this.next = "end") : "normal" === t4.type && e3 && (this.next = e3), v2;
432
+ }, finish: function(t4) {
433
+ for (var e3 = this.tryEntries.length - 1; e3 >= 0; --e3) {
434
+ var r4 = this.tryEntries[e3];
435
+ if (r4.finallyLoc === t4) return this.complete(r4.completion, r4.afterLoc), j2(r4), v2;
436
+ }
437
+ }, catch: function(t4) {
438
+ for (var e3 = this.tryEntries.length - 1; e3 >= 0; --e3) {
439
+ var r4 = this.tryEntries[e3];
440
+ if (r4.tryLoc === t4) {
441
+ var n4 = r4.completion;
442
+ if ("throw" === n4.type) {
443
+ var o3 = n4.arg;
444
+ j2(r4);
445
+ }
446
+ return o3;
447
+ }
448
+ }
449
+ throw new Error("illegal catch attempt");
450
+ }, delegateYield: function(t4, r4, n4) {
451
+ return this.delegate = { iterator: S2(t4), resultName: r4, nextLoc: n4 }, "next" === this.method && (this.arg = e2), v2;
452
+ } }, t3;
453
+ }(t2.exports);
454
+ try {
455
+ regeneratorRuntime = n2;
456
+ } catch (t3) {
457
+ "object" == typeof globalThis ? globalThis.regeneratorRuntime = n2 : Function("r", "regeneratorRuntime = r")(n2);
458
+ }
459
+ }, 298: function(t2, e, r2) {
460
+ r2.r(e);
461
+ var n2 = r2(115);
462
+ n2.a.install = function(t3) {
463
+ t3.component(n2.a.name, n2.a);
464
+ }, e.default = n2.a;
465
+ }, 354: function(t2, e, r2) {
466
+ var n2 = r2(147);
467
+ r2.n(n2).a;
468
+ }, 355: function(t2, e, r2) {
469
+ var n2 = r2(148);
470
+ r2.n(n2).a;
471
+ } }).default;
472
+ return radio;
473
+ }
474
+ var radioExports = requireRadio();
475
+ const PlvRadio = /* @__PURE__ */ getDefaultExportFromCjs(radioExports);
476
+ var iconBuilder = {};
477
+ var interfaces = {};
478
+ var hasRequiredInterfaces;
479
+ function requireInterfaces() {
480
+ if (hasRequiredInterfaces) return interfaces;
481
+ hasRequiredInterfaces = 1;
482
+ (function(exports) {
483
+ Object.defineProperty(exports, "__esModule", { value: true });
484
+ exports.getColorDescription = exports.defaultIconConfig = exports.currentColor = void 0;
485
+ exports.currentColor = "currentColor";
486
+ exports.defaultIconConfig = {
487
+ size: "1em",
488
+ type: "outline",
489
+ strokeLinecap: "round",
490
+ strokeLinejoin: "round",
491
+ colors: {
492
+ outline: {
493
+ background: "none"
494
+ },
495
+ filled: {
496
+ background: "#FFF"
497
+ },
498
+ twoTone: {
499
+ stroke: "#333",
500
+ fill: "#2F88FF"
501
+ },
502
+ multiColor: {
503
+ outStroke: "#333",
504
+ outFill: "#2F88FF",
505
+ innerStroke: "#FFF",
506
+ innerFill: "#43CCF8"
507
+ }
508
+ }
509
+ };
510
+ var getColorDescription = function(colorProp, iconType) {
511
+ var color = typeof colorProp === "string" ? [colorProp] : colorProp || [];
512
+ var colorDesc = [exports.currentColor, exports.currentColor, exports.currentColor, exports.currentColor];
513
+ switch (iconType) {
514
+ case "outline": {
515
+ colorDesc[0] = typeof color[0] === "string" ? color[0] : exports.currentColor;
516
+ colorDesc[1] = "none";
517
+ colorDesc[2] = typeof color[0] === "string" ? color[0] : exports.currentColor;
518
+ colorDesc[3] = "none";
519
+ break;
520
+ }
521
+ case "filled": {
522
+ colorDesc[0] = typeof color[0] === "string" ? color[0] : exports.currentColor;
523
+ colorDesc[1] = typeof color[0] === "string" ? color[0] : exports.currentColor;
524
+ colorDesc[2] = "#FFF";
525
+ colorDesc[3] = "#FFF";
526
+ break;
527
+ }
528
+ case "two-tone": {
529
+ var _a = exports.defaultIconConfig.colors.twoTone, stroke = _a.stroke, fill = _a.fill;
530
+ colorDesc[0] = typeof color[0] === "string" ? color[0] : stroke;
531
+ colorDesc[1] = typeof color[1] === "string" ? color[1] : fill;
532
+ colorDesc[2] = typeof color[0] === "string" ? color[0] : stroke;
533
+ colorDesc[3] = typeof color[1] === "string" ? color[1] : fill;
534
+ break;
535
+ }
536
+ case "multi-color": {
537
+ var _b = exports.defaultIconConfig.colors.multiColor, outStroke = _b.outStroke, outFill = _b.outFill, innerStroke = _b.innerStroke, innerFill = _b.innerFill;
538
+ colorDesc[0] = typeof color[0] === "string" ? color[0] : outStroke;
539
+ colorDesc[1] = typeof color[1] === "string" ? color[1] : outFill;
540
+ colorDesc[2] = typeof color[2] === "string" ? color[2] : innerStroke;
541
+ colorDesc[3] = typeof color[3] === "string" ? color[3] : innerFill;
542
+ break;
543
+ }
544
+ }
545
+ return colorDesc;
546
+ };
547
+ exports.getColorDescription = getColorDescription;
548
+ })(interfaces);
549
+ return interfaces;
550
+ }
551
+ var utils = {};
552
+ var config = {};
553
+ var hasRequiredConfig;
554
+ function requireConfig() {
555
+ if (hasRequiredConfig) return config;
556
+ hasRequiredConfig = 1;
557
+ Object.defineProperty(config, "__esModule", { value: true });
558
+ config.CLASS_NAME_PREFIX = void 0;
559
+ config.CLASS_NAME_PREFIX = "polyv";
560
+ return config;
561
+ }
562
+ var hasRequiredUtils;
563
+ function requireUtils() {
564
+ if (hasRequiredUtils) return utils;
565
+ hasRequiredUtils = 1;
566
+ Object.defineProperty(utils, "__esModule", { value: true });
567
+ utils.line2UpperCase = utils.createClsName = void 0;
568
+ var config_1 = requireConfig();
569
+ var createClsName = function(name) {
570
+ return "".concat(config_1.CLASS_NAME_PREFIX, "-").concat(name);
571
+ };
572
+ utils.createClsName = createClsName;
573
+ var line2UpperCase = function(text) {
574
+ return text.replace(/(^\w|-\w)/g, function(c2) {
575
+ return c2.slice(-1).toUpperCase();
576
+ });
577
+ };
578
+ utils.line2UpperCase = line2UpperCase;
579
+ return utils;
580
+ }
581
+ var hasRequiredIconBuilder;
582
+ function requireIconBuilder() {
583
+ if (hasRequiredIconBuilder) return iconBuilder;
584
+ hasRequiredIconBuilder = 1;
585
+ Object.defineProperty(iconBuilder, "__esModule", { value: true });
586
+ iconBuilder.IconBuilder = void 0;
587
+ var interfaces_1 = requireInterfaces();
588
+ var utils_1 = requireUtils();
589
+ var IconBuilder = function(lineName, render17) {
590
+ var IconComponent = {
591
+ name: lineName,
592
+ props: ["size", "type", "color", "strokeLinecap", "strokeLinejoin"],
593
+ computed: {
594
+ renderData: function() {
595
+ var colorProp = this.color;
596
+ var iconType = this.type || interfaces_1.defaultIconConfig.type;
597
+ var size = this.size || interfaces_1.defaultIconConfig.size;
598
+ var strokeLinecap = this.strokeLinecap || interfaces_1.defaultIconConfig.strokeLinecap;
599
+ var strokeLinejoin = this.strokeLinejoin || interfaces_1.defaultIconConfig.strokeLinejoin;
600
+ var colorDesc = (0, interfaces_1.getColorDescription)(colorProp, iconType);
601
+ return {
602
+ size,
603
+ colorDesc,
604
+ strokeLinecap,
605
+ strokeLinejoin
606
+ };
607
+ }
608
+ },
609
+ render: function(h2) {
610
+ var renderData = this.renderData;
611
+ var classes = [
612
+ (0, utils_1.createClsName)("icon"),
613
+ (0, utils_1.createClsName)("icon-".concat(lineName))
614
+ ];
615
+ var styles = {};
616
+ if (renderData.size) {
617
+ styles.fontSize = "".concat(renderData.size, "px");
618
+ }
619
+ return h2("span", {
620
+ class: classes.join(" "),
621
+ style: styles,
622
+ on: this.$listeners,
623
+ attrs: this.$attrs,
624
+ domProps: {
625
+ innerHTML: render17(renderData)
626
+ }
627
+ });
628
+ }
629
+ };
630
+ return IconComponent;
631
+ };
632
+ iconBuilder.IconBuilder = IconBuilder;
633
+ return iconBuilder;
634
+ }
635
+ var iconBuilderExports = requireIconBuilder();
636
+ iconBuilderExports.IconBuilder(
637
+ "arrow-down",
638
+ (data) => `
639
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 16 16">
640
+ <g>
641
+ <g />
642
+ <g>
643
+ <path
644
+ fill="${data.colorDesc[0]}"
645
+ fill-opacity="1"
646
+ fill-rule="evenodd"
647
+ d="M2.868623,4.662188L8,10.26005L13.1313,4.6623L13.1314,4.662138Q13.2025,4.584652,13.2987,4.542326Q13.3949,4.5,13.5,4.5Q13.5492,4.5,13.5975,4.509607Q13.6458,4.519215,13.6913,4.53806Q13.7368,4.556906,13.7778,4.584265Q13.8187,4.611625,13.8536,4.646447Q13.8884,4.681269,13.9157,4.722215Q13.9431,4.763161,13.9619,4.808658Q13.9808,4.854155,13.9904,4.9024549Q14,4.9507543,14,5Q14,5.0938219,13.966,5.181262Q13.932,5.268701,13.8686,5.337862L13.8684,5.338025L8.36858,11.33786Q8.35389,11.35389,8.33786,11.36858Q8.26455,11.435780000000001,8.1711,11.46982Q8.077639999999999,11.50385,7.97828,11.49953Q7.87892,11.49521,7.78877,11.45319Q7.69863,11.41118,7.63142,11.33786L2.131469,5.337913L2.131423,5.337862Q2.068025,5.268701,2.034013,5.181261Q2,5.0938219,2,5Q2,4.9507543,2.009607,4.9024549Q2.019215,4.854155,2.0380599999999998,4.808658Q2.056906,4.763161,2.084265,4.722215Q2.111625,4.681269,2.146447,4.646447Q2.181269,4.611625,2.222215,4.584265Q2.263161,4.556906,2.308658,4.53806Q2.354155,4.519215,2.4024549,4.509607Q2.4507543,4.5,2.5,4.5Q2.605115,4.5,2.701332,4.542326Q2.797548,4.584652,2.868577,4.662138L2.868623,4.662188Z"
648
+ />
649
+ </g>
650
+ </g>
651
+ </svg>
652
+ `
653
+ );
654
+ const ProductIconArrowLeft = iconBuilderExports.IconBuilder(
655
+ "arrow-left",
656
+ (data) => `
657
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 20 20">
658
+ <g>
659
+ <g>
660
+ <g />
661
+ <g
662
+ transform="matrix(0,0.9999999403953552,-0.9999999403953552,0,16.874999813735485,-10.624999180436134)"
663
+ >
664
+ <path
665
+ fill="${data.colorDesc[0]}"
666
+ fill-opacity="0.6000000238418579"
667
+ fill-rule="evenodd"
668
+ d="M14.302944,2.618292L20.625,9.515080000000001L26.9471,2.618207Q27.0537,2.5019780000000003,27.198,2.438489Q27.3423,2.375,27.5,2.375Q27.573900000000002,2.375,27.6463,2.389411Q27.7188,2.403822,27.787,2.43209Q27.8553,2.460359,27.9167,2.501398Q27.978099999999998,2.542437,28.0303,2.59467Q28.0826,2.646903,28.1236,2.708322Q28.1646,2.769742,28.1929,2.837987Q28.2212,2.906233,28.235599999999998,2.978682Q28.25,3.0511315,28.25,3.125Q28.25,3.265733,28.198999999999998,3.3968920000000002Q28.148,3.528052,28.0529,3.631794L28.052300000000002,3.632367L21.17787,11.13179Q21.15583,11.15583,21.13179,11.17786Q21.021819999999998,11.27867,20.88164,11.32972Q20.74147,11.38077,20.59242,11.37429Q20.44338,11.36781,20.30816,11.30479Q20.17294,11.24176,20.07213,11.13179L13.197134,3.631793Q13.102038,3.528052,13.051019,3.3968920000000002Q13,3.265733,13,3.125Q13,3.0511315,13.014410999999999,2.978682Q13.028822,2.906233,13.05709,2.837987Q13.085359,2.769742,13.126398,2.708322Q13.167437,2.646903,13.21967,2.59467Q13.271903,2.542437,13.333322,2.501398Q13.394742,2.460359,13.462987,2.43209Q13.531233,2.403822,13.603682,2.389411Q13.6761315,2.375,13.75,2.375Q13.907672,2.375,14.051997,2.438489Q14.196322,2.5019780000000003,14.302866,2.618207L14.302944,2.618292Z"
669
+ />
670
+ </g>
671
+ </g>
672
+ </g>
673
+ </svg>
674
+ `
675
+ );
676
+ iconBuilderExports.IconBuilder(
677
+ "arrow-right",
678
+ (data) => `
679
+ <svg
680
+ width="${data.size}"
681
+ height="${data.size}"
682
+ fill="${data.colorDesc[0]}"
683
+ viewBox="0 0 1024 1024"
684
+ >
685
+ <path
686
+ d="M373.504 770.56a31.744 31.744 0 0 1-10.24-23.04c0-8.78933301 3.669333-17.066667 10.24-23.210667L587.946667 522.75200001l-211.541334-198.65600001c-13.568-12.8-13.568-33.536 0-46.336 13.653333-12.8 35.754667-12.79999999 49.322667 0L660.309333 498.005333a31.232 31.232 0 0 1 5.034667 40.277334 32.170667 32.170667 0 0 1-8.106667 12.117333L422.741333 770.56a36.437333 36.437333 0 0 1-49.237333 0z"
687
+ />
688
+ </svg>
689
+ `
690
+ );
691
+ iconBuilderExports.IconBuilder(
692
+ "choose-address",
693
+ (data) => `
694
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 13.5 10">
695
+ <g>
696
+ <path
697
+ fill="${data.colorDesc[0]}"
698
+ fill-opacity="1"
699
+ fill-rule="evenodd"
700
+ d="M13.2295,1.683941Q13.3599,1.544932,13.4299,1.3677380000000001Q13.5,1.190545,13.5,1Q13.5,0.9015086,13.4808,0.80491Q13.4616,0.708311,13.4239,0.617317Q13.3862,0.526322,13.3315,0.44443Q13.2767,0.362537,13.2071,0.29289299999999996Q13.1375,0.22324900000000003,13.0556,0.16852999999999996Q12.9737,0.11381200000000002,12.8827,0.076121Q12.7917,0.038429999999999964,12.6951,0.019214999999999982Q12.5985,0,12.5,0Q12.2927,0,12.1025,0.08241100000000001Q11.9122,0.164821,11.7705,0.316059L11.7701,0.316446L4.97682,7.56261L1.7071070000000002,4.29289Q1.566455,4.15224,1.382683,4.0761199999999995Q1.198912,4,1,4Q0.9015086,4,0.80491,4.01921Q0.708311,4.03843,0.617317,4.0761199999999995Q0.526322,4.11381,0.44443,4.1685300000000005Q0.362537,4.22325,0.29289299999999996,4.29289Q0.22324900000000003,4.36254,0.16852999999999996,4.4444300000000005Q0.11381200000000002,4.52632,0.076121,4.617319999999999Q0.038429999999999964,4.70831,0.019214999999999982,4.80491Q0,4.90151,0,5Q0,5.19891,0.07611999999999997,5.38268Q0.15224099999999996,5.56645,0.29289299999999996,5.70711L0.293268,5.70748L4.29289,9.70711Q4.3043,9.71851,4.31606,9.72954Q4.46117,9.86558,4.6472999999999995,9.93574Q4.83343,10.00589,5.03224,9.99948Q5.23105,9.99307,5.41227,9.91106Q5.59349,9.82905,5.72954,9.68394L13.2292,1.684328L13.2295,1.683941L13.2295,1.683941Z"
701
+ />
702
+ </g>
703
+ </svg>
704
+ `
705
+ );
706
+ const ProductIconClose = iconBuilderExports.IconBuilder(
707
+ "close",
708
+ (data) => `
709
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 24 24">
710
+ <g>
711
+ <g />
712
+ <g>
713
+ <path
714
+ fill="${data.colorDesc[0]}"
715
+ fill-rule="evenodd"
716
+ d="M13.06067779937744,12.72779953125L18.894417799377443,6.89409953125Q18.99981779937744,6.78860953125,19.05691779937744,6.65077953125Q19.114017799377443,6.51295353125,19.114017799377443,6.36376953125Q19.114017799377443,6.21458553125,19.05691779937744,6.07675653125Q18.99981779937744,5.93892853125,18.894417799377443,5.83343953125Q18.788917799377444,5.72795053125,18.651017799377442,5.67085993125Q18.513217799377443,5.61376953125,18.364017799377443,5.61376953125Q18.214817799377442,5.61376953125,18.077017799377444,5.67085993125Q17.93921779937744,5.72795053125,17.83371779937744,5.83343953125L12.000017799377442,11.667139531250001L6.166317799377442,5.83343953125Q6.114087799377441,5.78120653125,6.052667799377441,5.74016753125Q5.991247799377441,5.69912813125,5.922997799377441,5.67085993125Q5.854753799377441,5.64259163125,5.7823047993774415,5.62818063125Q5.709855799377442,5.6137695661656,5.6359867993774415,5.6137695661656Q5.5621187993774415,5.6137695661656,5.489669799377442,5.62818063125Q5.417219799377442,5.64259163125,5.348974799377442,5.67085993125Q5.280728799377441,5.69912813125,5.2193097993774415,5.74016753125Q5.1578897993774415,5.78120653125,5.105656799377441,5.83343953125Q5.053423799377441,5.88567253125,5.0123847993774415,5.94709153125Q4.971345899377441,6.00851153125,4.943077699377441,6.07675653125Q4.914809399377441,6.14500253125,4.900398399377441,6.21745153125Q4.885987318077442,6.28990053125,4.885987318077442,6.36376953125Q4.885987318077442,6.43763753125,4.900398399377441,6.51008753125Q4.914809399377441,6.58253653125,4.943077699377441,6.65077953125Q4.971345899377441,6.7190295312499995,5.0123847993774415,6.7804495312499995Q5.053423799377441,6.8418695312499995,5.105656799377441,6.89409953125L10.939357799377442,12.72779953125L5.105793799377442,18.56136953125Q5.053560799377442,18.61356953125,5.012521799377441,18.67496953125Q4.971482499377442,18.736469531250002,4.943214099377442,18.80466953125Q4.914945799377441,18.87296953125,4.900534699377442,18.94536953125Q4.886123590377442,19.01786953125,4.886123523377441,19.091669531249998Q4.886123457377441,19.16556953125,4.900534399377442,19.237969531250002Q4.914945399377442,19.31046953125,4.943213599377441,19.37866953125Q4.971481799377441,19.446969531249998,5.012520799377441,19.50836953125Q5.0535597993774415,19.56976953125,5.105792799377442,19.62206953125Q5.158025799377441,19.674269531249998,5.219445799377441,19.71526953125Q5.280864799377442,19.75636953125,5.349110799377441,19.78456953125Q5.417355799377441,19.81286953125,5.489804799377441,19.82726953125Q5.562254799377442,19.841669531249998,5.636122799377441,19.841669531249998Q5.709991799377441,19.841669531249998,5.782440799377442,19.82726953125Q5.854889799377442,19.81286953125,5.923137799377441,19.78456953125Q5.9913777993774415,19.75636953125,6.052797799377442,19.71526953125Q6.114217799377442,19.674269531249998,6.166457799377442,19.62206953125L12.000017799377442,13.78845953125L17.833617799377443,19.62206953125Q17.885817799377442,19.674269531249998,17.94721779937744,19.71526953125Q18.00861779937744,19.75636953125,18.07691779937744,19.78456953125Q18.14511779937744,19.81286953125,18.217617799377443,19.82726953125Q18.29001779937744,19.841669531249998,18.36391779937744,19.841669531249998Q18.43781779937744,19.841669531249998,18.510217799377443,19.82726953125Q18.58271779937744,19.81286953125,18.650917799377442,19.78456953125Q18.719117799377443,19.75636953125,18.780617799377442,19.71526953125Q18.84201779937744,19.674269531249998,18.894217799377444,19.62206953125Q18.94651779937744,19.56976953125,18.987517799377443,19.50836953125Q19.02851779937744,19.446969531249998,19.05681779937744,19.37866953125Q19.085117799377443,19.31046953125,19.09951779937744,19.237969531250002Q19.11391779937744,19.16556953125,19.11391779937744,19.091669531249998Q19.11391779937744,19.01786953125,19.09951779937744,18.94536953125Q19.085117799377443,18.87296953125,19.05681779937744,18.80466953125Q19.02851779937744,18.736469531250002,18.987517799377443,18.67496953125Q18.94651779937744,18.61356953125,18.894217799377444,18.56136953125L13.06067779937744,12.72779953125Z"
717
+ />
718
+ </g>
719
+ </g>
720
+ </svg>
721
+ `
722
+ );
723
+ iconBuilderExports.IconBuilder(
724
+ "close-round-fill",
725
+ (data) => `
726
+ <svg
727
+ width="${data.size}"
728
+ height="${data.size}"
729
+ fill="${data.colorDesc[0]}"
730
+ viewBox="0 0 1024 1024"
731
+ >
732
+ <path
733
+ d="M512 0c282.7776 0 512 229.2224 512 512s-229.2224 512-512 512S0 794.7776 0 512 229.2224 0 512 0zM376.5248 319.0784a40.6528 40.6528 0 0 0-57.344 57.4976l143.872 144.0256-143.872 143.872a40.6016 40.6016 0 1 0 57.4464 57.5488l143.872-143.9744 143.9232 143.9744a40.6528 40.6528 0 0 0 57.4464-57.4976l-143.872-143.9232L721.92 376.576a40.6016 40.6016 0 1 0-57.3952-57.4976l-143.9744 144.0256z"
734
+ />
735
+ </svg>
736
+ `
737
+ );
738
+ iconBuilderExports.IconBuilder(
739
+ "img-placeholder",
740
+ (data) => `
741
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 80 80">
742
+ <defs>
743
+ <clipPath><rect width="80" height="80" x="0" y="0" rx="0" /></clipPath>
744
+ </defs>
745
+ <g clip-path="url(#master_svg0_6_25301/6_23777)">
746
+ <g>
747
+ <path
748
+ fill="${data.colorDesc[0]}"
749
+ fill-opacity="0.10000000149011612"
750
+ fill-rule="evenodd"
751
+ d="M4.000041484832764,21.999980926513672L4.000041484832764,57.99998092651367Q4.000041484832764,61.72788092651367,6.636081484832763,64.36398092651368Q9.272121484832763,66.99998092651367,13.000041484832764,66.99998092651367L65.00004148483276,66.99998092651367Q68.72794148483277,66.99998092651367,71.36404148483277,64.36398092651368Q74.00004148483276,61.72788092651367,74.00004148483276,57.99998092651367L74.00004148483276,21.999980926513672Q74.00004148483276,18.27206092651367,71.36404148483277,15.636020926513671Q68.72794148483277,12.999980926513672,65.00004148483276,12.999980926513672L13.000041484832764,12.999980926513672Q9.272121484832763,12.999980926513672,6.636081484832763,15.636020926513671Q4.000041484832764,18.27206092651367,4.000041484832764,21.999980926513672ZM7.000041484832764,21.999980926513672L7.000041484832764,46.84138092651367Q7.026161484832764,46.83008092651367,7.0526914848327635,46.81978092651367Q14.100341484832764,44.08258092651367,20.035341484832763,46.00858092651367Q24.706041484832763,47.52428092651367,28.582441484832763,50.861780926513674Q32.89634148483276,38.45178092651367,44.86384148483276,33.90138092651367Q57.276841484832765,29.18148092651367,71.00004148483276,36.75598092651367L71.00004148483276,21.999980926513672Q71.00004148483276,21.852690926513674,70.99284148483277,21.705570926513673Q70.98554148483277,21.55846092651367,70.97114148483277,21.41188092651367Q70.95674148483276,21.26530092651367,70.93514148483277,21.11960092651367Q70.91354148483276,20.97390092651367,70.88474148483276,20.829440926513673Q70.85604148483276,20.68498092651367,70.82024148483276,20.542100926513672Q70.78444148483277,20.39922092651367,70.74164148483277,20.25827092651367Q70.69894148483276,20.11732092651367,70.64934148483276,19.97864092651367Q70.59964148483276,19.839960926513672,70.54334148483277,19.703880926513673Q70.48694148483277,19.567800926513673,70.42394148483277,19.434650926513672Q70.36094148483276,19.301500926513672,70.29154148483276,19.171600926513673Q70.22214148483276,19.04170092651367,70.14644148483276,18.91536092651367Q70.07064148483276,18.78903092651367,69.98884148483276,18.66656092651367Q69.90704148483276,18.54409092651367,69.81924148483276,18.42578092651367Q69.73154148483276,18.307480926513673,69.63814148483276,18.193620926513674Q69.54464148483277,18.07976092651367,69.44574148483277,17.97063092651367Q69.34684148483277,17.86149092651367,69.24264148483276,17.75734092651367Q69.13854148483276,17.653190926513673,69.02944148483276,17.554270926513674Q68.92024148483276,17.45536092651367,68.80644148483276,17.361920926513672Q68.69254148483276,17.26848092651367,68.57424148483277,17.18073092651367Q68.45594148483276,17.09299092651367,68.33344148483276,17.01116092651367Q68.21094148483276,16.92933092651367,68.08464148483276,16.85361092651367Q67.95834148483277,16.77788092651367,67.82844148483277,16.70845092651367Q67.69854148483276,16.639020926513673,67.56534148483277,16.57604092651367Q67.43224148483276,16.51307092651367,67.29614148483276,16.456700926513673Q67.16004148483276,16.40034092651367,67.02134148483276,16.350720926513674Q66.88264148483276,16.301090926513673,66.74174148483277,16.25834092651367Q66.60074148483277,16.21558092651367,66.45794148483276,16.17979092651367Q66.31504148483276,16.144000926513673,66.17054148483277,16.115270926513674Q66.02614148483276,16.08653092651367,65.88044148483277,16.064920926513672Q65.73474148483277,16.043310926513673,65.58814148483276,16.028870926513672Q65.44154148483275,16.014430926513672,65.29444148483276,16.00721092651367Q65.14734148483276,15.999980926513672,65.00004148483276,15.999980926513672L13.000041484832764,15.999980926513672Q12.852751484832764,15.999980926513672,12.705631484832764,16.00721092651367Q12.558521484832763,16.014430926513672,12.411941484832763,16.028870926513672Q12.265361484832763,16.043310926513673,12.119661484832763,16.064920926513672Q11.973961484832763,16.08653092651367,11.829501484832765,16.115270926513674Q11.685041484832762,16.144000926513673,11.542161484832764,16.17979092651367Q11.399281484832763,16.21558092651367,11.258331484832762,16.25834092651367Q11.117381484832764,16.301090926513673,10.978701484832763,16.350720926513674Q10.840021484832764,16.40034092651367,10.703941484832765,16.456700926513673Q10.567861484832765,16.51307092651367,10.434711484832764,16.57604092651367Q10.301561484832764,16.639020926513673,10.171661484832764,16.70845092651367Q10.041761484832763,16.77789092651367,9.915421484832763,16.85361092651367Q9.789091484832763,16.92933092651367,9.666621484832763,17.01116092651367Q9.544151484832764,17.09299092651367,9.425841484832763,17.18073092651367Q9.307541484832765,17.26848092651367,9.193681484832764,17.361920926513672Q9.079821484832763,17.45536092651367,8.970691484832763,17.554270926513674Q8.861551484832763,17.653190926513673,8.757401484832764,17.75734092651367Q8.653251484832763,17.86149092651367,8.554331484832764,17.97063092651367Q8.455421484832764,18.07976092651367,8.361981484832764,18.193620926513674Q8.268541484832763,18.307480926513673,8.180791484832763,18.42578092651367Q8.093051484832763,18.54409092651367,8.011221484832763,18.66656092651367Q7.929391484832763,18.78903092651367,7.853671484832764,18.91536092651367Q7.7779414848327635,19.04170092651367,7.708511484832764,19.171600926513673Q7.639081484832763,19.301500926513672,7.576101484832764,19.434650926513672Q7.513131484832764,19.567800926513673,7.4567614848327635,19.703880926513673Q7.400401484832764,19.839960926513672,7.350781484832764,19.97864092651367Q7.301151484832763,20.11732092651367,7.258401484832763,20.25827092651367Q7.215641484832764,20.39922092651367,7.1798514848327635,20.542100926513672Q7.144061484832763,20.68498092651367,7.115331484832764,20.829440926513673Q7.086591484832764,20.97390092651367,7.064981484832764,21.11960092651367Q7.043371484832764,21.26530092651367,7.028931484832764,21.41188092651367Q7.014491484832764,21.55846092651367,7.0072714848327635,21.705570926513673Q7.000041484832764,21.852690926513674,7.000041484832764,21.999980926513672ZM23.595741484832764,37.59568092651367Q23.718441484832763,37.59568092651367,23.841041484832765,37.58968092651367Q23.963641484832763,37.58368092651367,24.085841484832763,37.571580926513676Q24.207941484832762,37.559580926513675,24.329441484832763,37.541580926513674Q24.450841484832765,37.523580926513674,24.571241484832765,37.49958092651367Q24.691541484832765,37.475680926513675,24.810641484832765,37.445880926513674Q24.929741484832764,37.41598092651367,25.047141484832764,37.38038092651367Q25.164641484832764,37.34478092651367,25.280141484832765,37.30338092651367Q25.395741484832765,37.262080926513676,25.509141484832764,37.21508092651367Q25.622541484832762,37.16808092651367,25.733541484832763,37.11558092651367Q25.844441484832764,37.06318092651367,25.952741484832764,37.00528092651367Q26.060941484832764,36.947380926513674,26.166241484832764,36.88428092651367Q26.271541484832763,36.82118092651368,26.373641484832763,36.75298092651367Q26.475641484832764,36.68488092651367,26.574241484832765,36.61168092651367Q26.672841484832762,36.538580926513674,26.767741484832765,36.46078092651367Q26.862641484832764,36.38288092651367,26.953541484832762,36.30048092651367Q27.044441484832763,36.217980926513675,27.131241484832763,36.13118092651367Q27.218041484832764,36.04438092651367,27.300541484832763,35.95348092651367Q27.382941484832763,35.86258092651367,27.460841484832763,35.76768092651368Q27.538641484832763,35.67278092651367,27.611741484832763,35.57418092651368Q27.684941484832763,35.47558092651367,27.753041484832764,35.37358092651367Q27.821241484832765,35.271480926513675,27.884341484832763,35.166180926513675Q27.947441484832762,35.060880926513676,28.005341484832762,34.95268092651367Q28.063241484832762,34.84438092651367,28.115641484832764,34.73348092651367Q28.168141484832763,34.622480926513674,28.215141484832763,34.509080926513676Q28.262141484832764,34.39568092651368,28.303441484832764,34.28018092651367Q28.344841484832763,34.16458092651367,28.380441484832765,34.04708092651367Q28.416041484832764,33.92968092651367,28.445941484832765,33.81058092651367Q28.475741484832763,33.69148092651368,28.499641484832765,33.57118092651368Q28.523641484832762,33.45078092651367,28.541641484832763,33.32938092651367Q28.559641484832763,33.20788092651367,28.571641484832764,33.08578092651367Q28.583741484832764,32.96358092651367,28.589741484832764,32.84098092651367Q28.595741484832764,32.718380926513674,28.595741484832764,32.59568092651367Q28.595741484832764,32.47298092651367,28.589741484832764,32.35038092651367Q28.583741484832764,32.227780926513674,28.571641484832764,32.10558092651367Q28.559641484832763,31.98348092651367,28.541641484832763,31.862080926513674Q28.523641484832762,31.740580926513672,28.499641484832765,31.620180926513672Q28.475741484832763,31.499880926513672,28.445941484832765,31.380780926513673Q28.416041484832764,31.261680926513673,28.380441484832765,31.144280926513673Q28.344841484832763,31.026780926513673,28.303441484832764,30.911280926513673Q28.262141484832764,30.795680926513672,28.215141484832763,30.682280926513673Q28.168141484832763,30.56888092651367,28.115641484832764,30.45788092651367Q28.063241484832762,30.346980926513673,28.005341484832762,30.238680926513673Q27.947441484832762,30.130480926513673,27.884341484832763,30.025180926513674Q27.821241484832765,29.91988092651367,27.753041484832764,29.81778092651367Q27.684941484832763,29.715780926513673,27.611741484832763,29.617180926513672Q27.538641484832763,29.51858092651367,27.460841484832763,29.423680926513672Q27.382941484832763,29.328880926513673,27.300541484832763,29.23788092651367Q27.218041484832764,29.14698092651367,27.131241484832763,29.06018092651367Q27.044441484832763,28.97338092651367,26.953541484832762,28.890880926513674Q26.862641484832764,28.808480926513674,26.767741484832765,28.730580926513674Q26.672841484832762,28.65278092651367,26.574241484832765,28.579680926513674Q26.475641484832764,28.506480926513674,26.373641484832763,28.438380926513673Q26.271541484832763,28.370180926513672,26.166241484832764,28.30708092651367Q26.060941484832764,28.24398092651367,25.952741484832764,28.18608092651367Q25.844441484832764,28.12818092651367,25.733541484832763,28.075780926513673Q25.622541484832762,28.02328092651367,25.509141484832764,27.976280926513674Q25.395741484832765,27.92928092651367,25.280241484832764,27.88798092651367Q25.164641484832764,27.846580926513674,25.047141484832764,27.810980926513672Q24.929741484832764,27.77538092651367,24.810641484832765,27.74548092651367Q24.691541484832765,27.71568092651367,24.571241484832765,27.691780926513673Q24.450841484832765,27.66778092651367,24.329441484832763,27.64978092651367Q24.207941484832762,27.63178092651367,24.085841484832763,27.61978092651367Q23.963641484832763,27.607680926513673,23.841041484832765,27.601680926513673Q23.718441484832763,27.595680926513673,23.595741484832764,27.595680926513673Q23.473041484832763,27.595680926513673,23.350441484832764,27.601680926513673Q23.227841484832762,27.607680926513673,23.105641484832763,27.61978092651367Q22.983541484832763,27.63178092651367,22.862141484832765,27.64978092651367Q22.740641484832764,27.66778092651367,22.620241484832764,27.691780926513673Q22.499941484832764,27.71568092651367,22.380841484832764,27.74548092651367Q22.261741484832765,27.77538092651367,22.144341484832765,27.810980926513672Q22.026841484832765,27.846580926513674,21.911341484832764,27.88798092651367Q21.795741484832764,27.92928092651367,21.682341484832765,27.976280926513674Q21.568941484832763,28.02328092651367,21.457941484832762,28.075780926513673Q21.347041484832765,28.12818092651367,21.238741484832765,28.18608092651367Q21.130541484832765,28.24398092651367,21.025241484832765,28.30708092651367Q20.919941484832762,28.370180926513672,20.817841484832762,28.438380926513673Q20.715841484832765,28.506480926513674,20.617241484832764,28.579680926513674Q20.518641484832763,28.65278092651367,20.423741484832764,28.730580926513674Q20.328941484832765,28.808480926513674,20.237941484832763,28.890880926513674Q20.147041484832762,28.97338092651367,20.060241484832762,29.06018092651367Q19.97344148483276,29.14698092651367,19.890941484832766,29.23788092651367Q19.808541484832766,29.328880926513673,19.730641484832766,29.423680926513672Q19.652841484832763,29.51858092651367,19.579741484832766,29.617180926513672Q19.506541484832766,29.715780926513673,19.438441484832765,29.81778092651367Q19.370241484832764,29.91988092651367,19.307141484832762,30.025180926513674Q19.244041484832763,30.130480926513673,19.186141484832763,30.238680926513673Q19.128241484832763,30.346980926513673,19.075841484832765,30.45788092651367Q19.023341484832763,30.56888092651367,18.976341484832766,30.682280926513673Q18.92934148483276,30.795680926513672,18.888041484832762,30.911280926513673Q18.846641484832766,31.026780926513673,18.811041484832764,31.144280926513673Q18.77544148483276,31.261680926513673,18.745541484832764,31.380780926513673Q18.715741484832762,31.499880926513672,18.691841484832764,31.620180926513672Q18.667841484832763,31.740580926513672,18.649841484832763,31.86198092651367Q18.631841484832762,31.98348092651367,18.61984148483276,32.10558092651367Q18.607741484832765,32.227780926513674,18.601741484832765,32.35038092651367Q18.595741484832764,32.47298092651367,18.595741484832764,32.59568092651367Q18.595741484832764,32.718380926513674,18.601741484832765,32.84098092651367Q18.607741484832765,32.96358092651367,18.61984148483276,33.08578092651367Q18.631841484832762,33.20788092651367,18.649841484832763,33.32938092651367Q18.667841484832763,33.45078092651367,18.691841484832764,33.57118092651368Q18.715741484832762,33.69148092651368,18.745541484832764,33.81058092651367Q18.77544148483276,33.92968092651367,18.811041484832764,34.04708092651367Q18.846641484832766,34.16458092651367,18.888041484832762,34.280080926513676Q18.92934148483276,34.39568092651368,18.976341484832766,34.509080926513676Q19.023341484832763,34.622480926513674,19.075841484832765,34.73348092651367Q19.128241484832763,34.84438092651367,19.186141484832763,34.95268092651367Q19.244041484832763,35.060880926513676,19.307141484832762,35.166180926513675Q19.370241484832764,35.271480926513675,19.438441484832765,35.37358092651367Q19.506541484832766,35.47558092651367,19.579741484832766,35.57418092651368Q19.652841484832763,35.67278092651367,19.730641484832766,35.76768092651368Q19.808541484832766,35.86258092651367,19.890941484832766,35.95348092651367Q19.97344148483276,36.04438092651367,20.060241484832762,36.13118092651367Q20.147041484832762,36.217980926513675,20.237941484832763,36.30048092651367Q20.328941484832765,36.38288092651367,20.423741484832764,36.46078092651367Q20.518641484832763,36.538580926513674,20.617241484832764,36.61168092651367Q20.715841484832765,36.68488092651367,20.817841484832762,36.75298092651367Q20.919941484832762,36.82118092651368,21.025241484832765,36.88428092651367Q21.130541484832765,36.947380926513674,21.238741484832765,37.00528092651367Q21.347041484832765,37.06318092651367,21.457941484832762,37.11558092651367Q21.568941484832763,37.16808092651367,21.682341484832765,37.21508092651367Q21.795741484832764,37.262080926513676,21.911341484832764,37.30338092651367Q22.026841484832765,37.34478092651367,22.144341484832765,37.38038092651367Q22.261741484832765,37.41598092651367,22.380841484832764,37.445880926513674Q22.499941484832764,37.475680926513675,22.620241484832764,37.49958092651367Q22.740641484832764,37.523580926513674,22.862041484832762,37.541580926513674Q22.983541484832763,37.559580926513675,23.105641484832763,37.571580926513676Q23.227841484832762,37.58368092651367,23.350441484832764,37.58968092651367Q23.473041484832763,37.59568092651367,23.595741484832764,37.59568092651367ZM23.595741484832764,30.595680926513673Q23.694041484832763,30.595680926513673,23.791741484832762,30.60528092651367Q23.889541484832765,30.61498092651367,23.985941484832765,30.634080926513672Q24.082241484832764,30.653280926513673,24.176341484832765,30.68178092651367Q24.270341484832763,30.710280926513672,24.361141484832764,30.747880926513673Q24.451841484832762,30.78548092651367,24.538541484832763,30.831880926513673Q24.625141484832763,30.87818092651367,24.706841484832765,30.932780926513672Q24.788541484832763,30.987380926513673,24.864541484832763,31.049680926513673Q24.940441484832764,31.11198092651367,25.009941484832762,31.18148092651367Q25.079441484832763,31.250980926513673,25.141741484832764,31.32688092651367Q25.204141484832764,31.40288092651367,25.258641484832765,31.484580926513672Q25.313241484832762,31.56628092651367,25.359541484832764,31.65288092651367Q25.405941484832763,31.73958092651367,25.443541484832764,31.830280926513673Q25.481141484832765,31.92108092651367,25.509641484832763,32.015080926513676Q25.538141484832764,32.10918092651367,25.557341484832765,32.20548092651367Q25.576441484832763,32.301880926513675,25.586141484832762,32.39968092651367Q25.595741484832764,32.49738092651367,25.595741484832764,32.59568092651367Q25.595741484832764,32.693980926513674,25.586141484832762,32.79168092651367Q25.576441484832763,32.88948092651367,25.557341484832765,32.98588092651367Q25.538141484832764,33.08218092651367,25.509641484832763,33.17628092651367Q25.481141484832765,33.27028092651367,25.443541484832764,33.36108092651367Q25.405941484832763,33.45178092651367,25.359541484832764,33.53848092651367Q25.313241484832762,33.625080926513675,25.258641484832765,33.70678092651367Q25.204141484832764,33.78848092651367,25.141741484832764,33.86448092651367Q25.079441484832763,33.94038092651367,25.009941484832762,34.009880926513674Q24.940441484832764,34.07938092651367,24.864541484832763,34.14168092651367Q24.788541484832763,34.20408092651367,24.706841484832765,34.25858092651367Q24.625141484832763,34.31318092651367,24.538541484832763,34.35948092651367Q24.451841484832762,34.405880926513674,24.361141484832764,34.44348092651367Q24.270341484832763,34.48108092651367,24.176341484832765,34.50958092651367Q24.082241484832764,34.53808092651367,23.985941484832765,34.55728092651367Q23.889541484832765,34.57638092651367,23.791741484832762,34.586080926513674Q23.694041484832763,34.59568092651367,23.595741484832764,34.59568092651367Q23.497441484832763,34.59568092651367,23.399741484832763,34.586080926513674Q23.301941484832764,34.57638092651367,23.205541484832764,34.55728092651367Q23.109241484832765,34.53808092651367,23.015141484832764,34.50958092651367Q22.921141484832763,34.48108092651367,22.830341484832765,34.44348092651367Q22.739641484832763,34.405880926513674,22.652941484832763,34.35948092651367Q22.566341484832762,34.31318092651367,22.484641484832764,34.25858092651367Q22.402941484832763,34.20408092651367,22.326941484832762,34.14168092651367Q22.251041484832765,34.07938092651367,22.181541484832763,34.009880926513674Q22.112041484832762,33.94038092651367,22.049741484832765,33.86448092651367Q21.987441484832765,33.78848092651367,21.932841484832764,33.70678092651367Q21.878241484832763,33.625080926513675,21.831941484832765,33.53848092651367Q21.785541484832763,33.45178092651367,21.747941484832765,33.36108092651367Q21.710341484832764,33.27028092651367,21.681841484832763,33.17628092651367Q21.653341484832765,33.08218092651367,21.634141484832764,32.98588092651367Q21.615041484832762,32.88948092651367,21.605341484832763,32.79168092651367Q21.595741484832764,32.693980926513674,21.595741484832764,32.59568092651367Q21.595741484832764,32.49738092651367,21.605341484832763,32.39968092651367Q21.615041484832762,32.301880926513675,21.634141484832764,32.20548092651367Q21.653341484832765,32.10918092651367,21.681841484832763,32.015080926513676Q21.710341484832764,31.92108092651367,21.747941484832765,31.830280926513673Q21.785541484832763,31.73958092651367,21.831941484832765,31.65288092651367Q21.878241484832763,31.56628092651367,21.932841484832764,31.484580926513672Q21.987441484832765,31.40288092651367,22.049741484832765,31.32688092651367Q22.112041484832762,31.250980926513673,22.181541484832763,31.18148092651367Q22.251041484832765,31.11198092651367,22.326941484832762,31.049680926513673Q22.402941484832763,30.987380926513673,22.484641484832764,30.932780926513672Q22.566341484832762,30.87818092651367,22.652941484832763,30.831880926513673Q22.739641484832763,30.78548092651367,22.830341484832765,30.747880926513673Q22.921141484832763,30.710280926513672,23.015141484832764,30.68178092651367Q23.109241484832765,30.653280926513673,23.205541484832764,30.634080926513672Q23.301941484832764,30.61498092651367,23.399741484832763,30.60528092651367Q23.497441484832763,30.595680926513673,23.595741484832764,30.595680926513673ZM7.000041484832764,57.99998092651367L7.000041484832764,49.594680926513675Q7.2851214848327634,49.717980926513675,7.595741484832764,49.717980926513675Q7.876801484832764,49.717980926513675,8.138801484832765,49.616280926513674Q14.190541484832764,47.265880926513674,19.10934148483276,48.86208092651367Q24.185241484832762,50.50918092651367,28.231341484832765,54.64468092651367Q28.514741484832765,54.93438092651367,28.905441484832764,55.04188092651367Q28.976541484832765,55.061480926513674,29.049141484832763,55.07398092651367Q29.121741484832764,55.08648092651367,29.195241484832763,55.09178092651367Q29.268741484832763,55.09708092651367,29.342441484832765,55.09518092651367Q29.416041484832764,55.09328092651367,29.489241484832764,55.084180926513675Q29.562341484832764,55.074980926513675,29.634241484832764,55.05878092651367Q29.706041484832763,55.04258092651367,29.776041484832763,55.01928092651367Q29.845941484832764,54.99608092651367,29.913341484832763,54.96618092651367Q29.980641484832763,54.93618092651367,30.044741484832763,54.89978092651367Q30.108741484832763,54.86338092651367,30.168941484832764,54.820880926513674Q30.229141484832763,54.77838092651367,30.284841484832764,54.730180926513675Q30.340641484832762,54.681980926513674,30.391341484832765,54.628480926513674Q30.442041484832764,54.57508092651367,30.487341484832765,54.51688092651367Q30.532641484832762,54.45878092651367,30.571941484832763,54.396480926513675Q30.611241484832764,54.33408092651367,30.644341484832765,54.268280926513675Q30.677341484832763,54.20238092651367,30.703741484832765,54.13358092651367Q30.730241484832764,54.06478092651367,30.749741484832764,53.99378092651367Q34.290341484832766,41.13128092651367,45.93004148483276,36.70548092651367Q57.604541484832765,32.26648092651367,70.83024148483277,40.11548092651367Q70.91234148483277,40.16428092651367,71.00004148483276,40.20218092651368L71.00004148483276,57.99998092651367Q71.00004148483276,58.14728092651367,70.99284148483277,58.294380926513675Q70.98554148483277,58.44148092651367,70.97114148483277,58.58808092651367Q70.95674148483276,58.73468092651367,70.93514148483277,58.88038092651367Q70.91354148483276,59.02608092651367,70.88474148483276,59.17048092651367Q70.85604148483276,59.31498092651367,70.82024148483276,59.457880926513674Q70.78444148483277,59.60078092651367,70.74164148483277,59.74168092651367Q70.69894148483276,59.88268092651367,70.64934148483276,60.02128092651367Q70.59964148483276,60.15998092651367,70.54334148483277,60.296080926513675Q70.48694148483277,60.432180926513674,70.42394148483277,60.56528092651367Q70.36094148483276,60.698480926513675,70.29154148483276,60.828380926513674Q70.22214148483276,60.95828092651367,70.14644148483276,61.084580926513674Q70.07064148483276,61.210880926513674,69.98884148483276,61.33338092651367Q69.90704148483276,61.45588092651367,69.81924148483276,61.57418092651367Q69.73154148483276,61.692480926513674,69.63814148483276,61.80638092651367Q69.54464148483277,61.92018092651367,69.44574148483277,62.029380926513674Q69.34684148483277,62.13848092651367,69.24264148483276,62.242580926513675Q69.13854148483276,62.346780926513674,69.02944148483276,62.445680926513674Q68.92024148483276,62.544580926513675,68.80644148483276,62.63808092651367Q68.69254148483276,62.73148092651367,68.57424148483277,62.819180926513674Q68.45594148483276,62.90698092651367,68.33344148483276,62.98878092651367Q68.21094148483276,63.07058092651367,68.08464148483276,63.14638092651367Q67.95834148483277,63.22208092651367,67.82844148483277,63.29148092651367Q67.69854148483276,63.36098092651367,67.56534148483277,63.423880926513675Q67.43224148483276,63.48688092651367,67.29614148483276,63.543280926513674Q67.16004148483276,63.599580926513674,67.02134148483276,63.64928092651367Q66.88264148483276,63.698880926513674,66.74174148483277,63.74158092651367Q66.60074148483277,63.78438092651367,66.45794148483276,63.82018092651367Q66.31504148483276,63.85598092651367,66.17054148483277,63.884680926513674Q66.02614148483276,63.913380926513675,65.88044148483277,63.93508092651367Q65.73474148483277,63.95668092651367,65.58814148483276,63.97108092651367Q65.44154148483275,63.985480926513674,65.29444148483276,63.992780926513674Q65.14734148483276,63.99998092651367,65.00004148483276,63.99998092651367L13.000041484832764,63.99998092651367Q12.852751484832764,63.99998092651367,12.705631484832764,63.992780926513674Q12.558521484832763,63.985480926513674,12.411941484832763,63.97108092651367Q12.265361484832763,63.95668092651367,12.119661484832763,63.93508092651367Q11.973961484832763,63.913380926513675,11.829501484832765,63.884680926513674Q11.685041484832762,63.85598092651367,11.542161484832764,63.82018092651367Q11.399281484832763,63.78438092651367,11.258331484832762,63.74158092651367Q11.117381484832764,63.698880926513674,10.978701484832763,63.64928092651367Q10.840021484832764,63.599580926513674,10.703941484832765,63.543280926513674Q10.567861484832765,63.48688092651367,10.434711484832764,63.423880926513675Q10.301561484832764,63.36098092651367,10.171661484832764,63.29148092651367Q10.041761484832763,63.22208092651367,9.915421484832763,63.14638092651367Q9.789091484832763,63.07058092651367,9.666621484832763,62.98878092651367Q9.544151484832764,62.90698092651367,9.425841484832763,62.819180926513674Q9.307541484832765,62.73148092651367,9.193681484832764,62.63808092651367Q9.079821484832763,62.544580926513675,8.970691484832763,62.445680926513674Q8.861551484832763,62.346780926513674,8.757401484832764,62.242580926513675Q8.653251484832763,62.13848092651367,8.554331484832764,62.029380926513674Q8.455421484832764,61.92018092651367,8.361981484832764,61.80638092651367Q8.268541484832763,61.692480926513674,8.180791484832763,61.57418092651367Q8.093051484832763,61.45588092651367,8.011221484832763,61.33338092651367Q7.929391484832763,61.210880926513674,7.853671484832764,61.084580926513674Q7.7779414848327635,60.95828092651367,7.708511484832764,60.828380926513674Q7.639081484832763,60.698480926513675,7.576101484832764,60.56528092651367Q7.513131484832764,60.432180926513674,7.4567614848327635,60.296080926513675Q7.400401484832764,60.15998092651367,7.350781484832764,60.02128092651367Q7.301151484832763,59.88268092651367,7.258401484832763,59.74168092651367Q7.215641484832764,59.60078092651367,7.1798514848327635,59.457880926513674Q7.144061484832763,59.31498092651367,7.115331484832764,59.17048092651367Q7.086591484832764,59.02608092651367,7.064981484832764,58.88038092651367Q7.043371484832764,58.73468092651367,7.028931484832764,58.58808092651367Q7.014491484832764,58.44148092651367,7.0072714848327635,58.294380926513675Q7.000041484832764,58.14728092651367,7.000041484832764,57.99998092651367Z"
752
+ />
753
+ </g>
754
+ </g>
755
+ </svg>
756
+ `
757
+ );
758
+ const ProductIconOrderEmpty = iconBuilderExports.IconBuilder(
759
+ "order-empty",
760
+ (data) => `
761
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 70 70">
762
+ <defs>
763
+ <clipPath><rect width="70" height="70" x="0" y="0" rx="0" /></clipPath>
764
+ </defs>
765
+ <g clip-path="url(#master_svg0_1_6828)">
766
+ <g>
767
+ <g>
768
+ <path
769
+ fill="${data.colorDesc[0]}"
770
+ fill-opacity="1"
771
+ d="M53.562049403381344,33.934721223754885C53.43764940338135,32.172721223754884,52.055249403381346,30.844301223754883,50.34594940338135,30.844301223754883L18.827749403381347,30.844301223754883C17.132259403381347,30.844301223754883,15.699349403381348,32.29193122375488,15.699349403381348,34.005171223754886C15.699349403381348,35.71809122375488,17.132259403381347,37.16539122375488,18.827749403381347,37.16539122375488L50.43544940338135,37.16539122375488C52.13154940338135,37.16539122375488,53.564449403381346,35.71809122375488,53.564449403381346,34.005171223754886L53.562049403381344,33.934721223754885Z"
772
+ />
773
+ </g>
774
+ <g>
775
+ <path
776
+ fill="${data.colorDesc[0]}"
777
+ fill-opacity="1"
778
+ d="M27.334229237670897,9.39679L42.0187092376709,9.39679C44.2485092376709,9.39679,46.1324092376709,7.24512,46.1324092376709,4.69827C46.1324092376709,2.1076,44.2467092376709,0,41.9290092376709,0L27.334229237670897,0C25.0164992376709,0,23.1311092376709,2.10752,23.1311092376709,4.69827C23.1311092376709,7.28902,25.0165892376709,9.39679,27.334229237670897,9.39679Z"
779
+ />
780
+ </g>
781
+ <g>
782
+ <path
783
+ fill="${data.colorDesc[0]}"
784
+ fill-opacity="1"
785
+ d="M50.43544940338135,19.085237503051758L18.827749403381347,19.085237503051758C17.132259403381347,19.085237503051758,15.699349403381348,20.532537503051756,15.699349403381348,22.246107503051757C15.699349403381348,23.959357503051756,17.132259403381347,25.406657503051758,18.827749403381347,25.406657503051758L50.43544940338135,25.406657503051758C52.13154940338135,25.406657503051758,53.564449403381346,23.959357503051756,53.564449403381346,22.246107503051757C53.56434940338135,20.532537503051756,52.131449403381346,19.085237503051758,50.43544940338135,19.085237503051758Z"
786
+ />
787
+ </g>
788
+ <g>
789
+ <path
790
+ fill="${data.colorDesc[0]}"
791
+ fill-opacity="1"
792
+ d="M50.34594940338135,43.59782409667969L18.827749403381347,43.59782409667969C17.132259403381347,43.59782409667969,15.699349403381348,45.045454096679684,15.699349403381348,46.75869409667969C15.699349403381348,48.47161409667969,17.132259403381347,49.918914096679686,18.827749403381347,49.918914096679686L50.43544940338135,49.918914096679686C52.13154940338135,49.918914096679686,53.564449403381346,48.47161409667969,53.564449403381346,46.75869409667969L53.562049403381344,46.68824409667969C53.43764940338135,44.92633409667969,52.05514940338135,43.59782409667969,50.34594940338135,43.59782409667969Z"
793
+ />
794
+ </g>
795
+ <g>
796
+ <path
797
+ fill="${data.colorDesc[0]}"
798
+ fill-opacity="1"
799
+ d="M64.75030000000001,4.860395980682373C63.0699,3.042334980682373,60.6587,2.081305980682373,57.7776,2.081305980682373L53.5692,2.081305980682373C51.8921,2.081305980682373,50.0824,3.186115980682373,50.0824,4.9703959806823725C50.0824,6.657005980682373,51.8094,8.312295980682373,53.5692,8.312295980682373L57.7776,8.312295980682373C59.7387,8.312295980682373,61.0061,9.592295980682373,61.0061,11.573625980682372L61.0061,60.507705980682374C61.0061,62.48900598068237,59.7386,63.76900598068237,57.7776,63.76900598068237L12.4706,63.76900598068237C10.43963,63.76900598068237,8.16793,62.374405980682376,8.16793,60.507705980682374L8.16793,11.573705980682373C8.16793,9.592375980682373,9.43511,8.312375980682372,11.39646,8.312375980682372L16.6792,8.312375980682372C18.2292,8.312375980682372,19.2706,6.969235980682373,19.2706,4.970475980682373C19.2706,3.161375980682373,18.3018,2.081388112482373,16.6792,2.081388112482373L11.39646,2.081388112482373C5.512560000000001,2.081388112482373,2,5.663835980682373,2,11.664135980682373L2,60.05540598068237C2,66.09640598068238,5.86401,70.00000598068237,11.8441,70.00000598068237L57.3296,70.00000598068237C63.678,70.00000598068237,67.174,66.46810598068237,67.174,60.05540598068237L67.174,11.664055980682374C67.174,8.928455980682372,66.3361,6.575785980682373,64.75030000000001,4.860395980682373Z"
800
+ />
801
+ </g>
802
+ </g>
803
+ </g>
804
+ </svg>
805
+ `
806
+ );
807
+ iconBuilderExports.IconBuilder(
808
+ "order-enter",
809
+ (data) => `
810
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 16 16">
811
+ <defs>
812
+ <clipPath><rect width="16" height="16" x="0" y="0" rx="0" /></clipPath>
813
+ </defs>
814
+ <g clip-path="url(#master_svg0_1_00794/1_4215)">
815
+ <g>
816
+ <rect
817
+ width="10.666666626930237"
818
+ height="12.000000596046448"
819
+ x="2.67"
820
+ y="2"
821
+ fill="none"
822
+ stroke="${data.colorDesc[0]}"
823
+ stroke-opacity="1"
824
+ stroke-width="1.3333333730697632"
825
+ rx="0"
826
+ />
827
+ </g>
828
+ <g>
829
+ <path
830
+ fill="${data.colorDesc[0]}"
831
+ fill-opacity="1"
832
+ fill-rule="evenodd"
833
+ d="M10.666581953125,6.0000410234375L5.333251953125,6.0000410234375L5.333251953125,4.6667070234375L10.666581953125,4.6667070234375L10.666581953125,6.0000410234375Z"
834
+ />
835
+ </g>
836
+ <g>
837
+ <path
838
+ fill="${data.colorDesc[0]}"
839
+ fill-opacity="1"
840
+ fill-rule="evenodd"
841
+ d="M10.666581953125,8.666667L5.333251953125,8.666667L5.333251953125,7.333333L10.666581953125,7.333333L10.666581953125,8.666667Z"
842
+ />
843
+ </g>
844
+ <g>
845
+ <path
846
+ fill="${data.colorDesc[0]}"
847
+ fill-opacity="1"
848
+ fill-rule="evenodd"
849
+ d="M9.333251953125,11.3332929765625L5.333251953125,11.3332929765625L5.333251953125,9.9999589765625L9.333251953125,9.9999589765625L9.333251953125,11.3332929765625Z"
850
+ />
851
+ </g>
852
+ </g>
853
+ </svg>
854
+ `
855
+ );
856
+ iconBuilderExports.IconBuilder(
857
+ "product",
858
+ (data) => `
859
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 12 12">
860
+ <g style="mix-blend-mode: passthrough">
861
+ <g style="mix-blend-mode: passthrough">
862
+ <g style="mix-blend-mode: passthrough">
863
+ <g style="mix-blend-mode: passthrough">
864
+ <path
865
+ fill="${data.colorDesc[0]}"
866
+ fill-opacity="1"
867
+ fill-rule="evenodd"
868
+ d="M2.16316,1.26412Q2.4502,1,2.84027,1L9.15973,1Q9.5498,1,9.83684,1.26412Q10.1239,1.52824,10.1563,1.91695L10.8229,9.91695Q10.8594,10.3542,10.5623,10.6771Q10.2652,11,9.8264,11L2.1736,11Q1.73482,11,1.43772,10.6771Q1.14061,10.3542,1.17705,9.91695L1.84372,1.91695Q1.87611,1.52824,2.16316,1.26412ZM9.15973,0L2.84027,0C1.80009,0,0.933556,0.797325,0.847174,1.83391L0.180508,9.83391C0.0833377,10.9999,1.00352,12,2.1736,12L9.8264,12C10.9965,12,11.9167,10.9999,11.8195,9.83391L11.1528,1.83391C11.0664,0.797325,10.1999,0,9.15973,0Z"
869
+ />
870
+ </g>
871
+ <g style="mix-blend-mode: passthrough">
872
+ <path
873
+ fill="${data.colorDesc[0]}"
874
+ fill-opacity="1"
875
+ d="M9.5,3Q9.5,4.44975,8.47487,5.47487Q7.44975,6.5,6,6.5Q4.55025,6.5,3.525126,5.47487Q2.5,4.44975,2.5,2.999999559137L3.5,2.999999487188Q3.5,4.03553,4.2322299999999995,4.7677700000000005Q4.96447,5.5,6,5.5Q7.03553,5.5,7.76777,4.7677700000000005Q8.5,4.03553,8.5,3L9.5,3ZM9.5,3Q9.5,3.0492457,9.49039,3.0975451Q9.48078,3.145845,9.46194,3.191342Q9.44309,3.236839,9.41573,3.277785Q9.38837,3.318731,9.35355,3.353553Q9.31873,3.388375,9.27778,3.415735Q9.23684,3.443094,9.19134,3.4619400000000002Q9.14584,3.480785,9.09755,3.490393Q9.04925,3.5,9,3.5Q8.95075,3.5,8.90245,3.490393Q8.85415,3.480785,8.80866,3.4619400000000002Q8.76316,3.443094,8.72221,3.415735Q8.68127,3.388375,8.64645,3.353553Q8.61162,3.318731,8.58426,3.277785Q8.55691,3.236839,8.53806,3.191342Q8.519210000000001,3.145845,8.50961,3.0975451Q8.5,3.0492457,8.5,3Q8.5,2.9507543,8.50961,2.9024549Q8.519210000000001,2.854155,8.53806,2.808658Q8.55691,2.763161,8.58426,2.722215Q8.61162,2.681269,8.64645,2.646447Q8.68127,2.611625,8.72221,2.584265Q8.76316,2.556906,8.80866,2.5380599999999998Q8.85415,2.519215,8.90245,2.509607Q8.95075,2.5,9,2.5Q9.04925,2.5,9.09755,2.509607Q9.14584,2.519215,9.19134,2.5380599999999998Q9.23684,2.556906,9.27778,2.584265Q9.31873,2.611625,9.35355,2.646447Q9.38837,2.681269,9.41573,2.722215Q9.44309,2.763161,9.46194,2.808658Q9.48078,2.854155,9.49039,2.9024549Q9.5,2.9507543,9.5,3ZM3.5,3Q3.5,3.0492457,3.490393,3.0975451Q3.480785,3.145845,3.4619400000000002,3.191342Q3.443094,3.236839,3.415735,3.277785Q3.388375,3.318731,3.353553,3.353553Q3.318731,3.388375,3.277785,3.415735Q3.236839,3.443094,3.191342,3.4619400000000002Q3.145845,3.480785,3.0975451,3.490393Q3.0492457,3.5,3,3.5Q2.9507543,3.5,2.9024549,3.490393Q2.854155,3.480785,2.808658,3.4619400000000002Q2.763161,3.443094,2.722215,3.415735Q2.681269,3.388375,2.646447,3.353553Q2.611625,3.318731,2.584265,3.277785Q2.556906,3.236839,2.5380599999999998,3.191342Q2.519215,3.145845,2.509607,3.0975451Q2.5,3.0492457,2.5,3Q2.5,2.9507543,2.509607,2.9024549Q2.519215,2.854155,2.5380599999999998,2.808658Q2.556906,2.763161,2.584265,2.722215Q2.611625,2.681269,2.646447,2.646447Q2.681269,2.611625,2.722215,2.584265Q2.763161,2.556906,2.808658,2.5380599999999998Q2.854155,2.519215,2.9024549,2.509607Q2.9507543,2.5,3,2.5Q3.0492457,2.5,3.0975451,2.509607Q3.145845,2.519215,3.191342,2.5380599999999998Q3.236839,2.556906,3.277785,2.584265Q3.318731,2.611625,3.353553,2.646447Q3.388375,2.681269,3.415735,2.722215Q3.443094,2.763161,3.4619400000000002,2.808658Q3.480785,2.854155,3.490393,2.9024549Q3.5,2.9507543,3.5,3Z"
876
+ />
877
+ </g>
878
+ </g>
879
+ </g>
880
+ </g>
881
+ </svg>
882
+ `
883
+ );
884
+ iconBuilderExports.IconBuilder(
885
+ "search",
886
+ (data) => `
887
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 16 16">
888
+ <g>
889
+ <g>
890
+ <g>
891
+ <path
892
+ fill="${data.colorDesc[0]}"
893
+ fill-rule="evenodd"
894
+ d="M11.5814,10.87433Q11.9223,10.47129,12.1875,10.01494Q12.4527,9.55858,12.6342,9.06293Q12.8157,8.56728,12.9078,8.04756Q13,7.52783,13,7Q13,6.85271,12.9928,6.70559Q12.9855,6.55848,12.9711,6.4119Q12.9567,6.26531,12.9351,6.11962Q12.9134,5.97392,12.8847,5.82946Q12.856,5.685,12.8202,5.54212Q12.7844,5.39924,12.7416,5.25829Q12.6989,5.11734,12.6493,4.97866Q12.5996,4.839980000000001,12.5433,4.7039Q12.4869,4.56782,12.4239,4.434670000000001Q12.361,4.30152,12.2915,4.17162Q12.2221,4.04172,12.1464,3.91538Q12.0706,3.78905,11.9888,3.66658Q11.907,3.54411,11.8192,3.4258Q11.7315,3.3075,11.6381,3.19364Q11.5446,3.07978,11.4457,2.97065Q11.3468,2.86151,11.2426,2.7573600000000003Q11.1385,2.65321,11.0294,2.55429Q10.92022,2.45538,10.80636,2.3619399999999997Q10.6925,2.2685,10.57419,2.1807499999999997Q10.45589,2.09301,10.33342,2.01118Q10.21095,1.929351,10.08462,1.853628Q9.95828,1.777905,9.82838,1.708472Q9.69848,1.63904,9.56533,1.5760640000000001Q9.43218,1.513089,9.2961,1.456723Q9.16002,1.400357,9.02134,1.350736Q8.88266,1.301114,8.741710000000001,1.2583579999999999Q8.600760000000001,1.215601,8.45788,1.179812Q8.315000000000001,1.144023,8.170539999999999,1.115288Q8.02608,1.0865531,7.88038,1.0649409Q7.73469,1.0433288,7.5881,1.0288916Q7.44152,1.0144545,7.29441,1.00722726Q7.14729,1,7,1Q6.85271,1,6.70559,1.00722726Q6.55848,1.0144545,6.4119,1.0288916Q6.26531,1.0433288,6.11962,1.0649409Q5.97392,1.0865531,5.82946,1.115288Q5.685,1.144023,5.54212,1.179812Q5.39924,1.215601,5.25829,1.2583579999999999Q5.11734,1.301114,4.97866,1.350736Q4.839980000000001,1.400357,4.7039,1.456723Q4.56782,1.513089,4.434670000000001,1.5760640000000001Q4.30152,1.63904,4.17162,1.708472Q4.04172,1.777905,3.91538,1.853628Q3.78905,1.929351,3.66658,2.01118Q3.54411,2.09301,3.4258,2.1807499999999997Q3.3075,2.2685,3.19364,2.3619399999999997Q3.07978,2.45538,2.97065,2.55429Q2.86151,2.65321,2.7573600000000003,2.7573600000000003Q2.65321,2.86151,2.55429,2.97065Q2.45538,3.07978,2.3619399999999997,3.19364Q2.2685,3.3075,2.1807499999999997,3.4258Q2.09301,3.54411,2.01118,3.66658Q1.929351,3.78905,1.853628,3.91538Q1.777905,4.04172,1.708472,4.17162Q1.63904,4.30152,1.5760640000000001,4.434670000000001Q1.513089,4.56782,1.456723,4.7039Q1.400357,4.839980000000001,1.350736,4.97866Q1.301114,5.11734,1.2583579999999999,5.25829Q1.215601,5.39924,1.179812,5.54212Q1.144023,5.685,1.115288,5.82946Q1.0865531,5.97392,1.0649409,6.11962Q1.0433288,6.26532,1.0288916,6.4119Q1.0144545,6.55848,1.00722726,6.70559Q1,6.85271,1,7Q1,7.14729,1.00722726,7.29441Q1.0144545,7.44152,1.0288916,7.5881Q1.0433288,7.73469,1.0649409,7.88038Q1.0865531,8.02608,1.115288,8.170539999999999Q1.144023,8.315000000000001,1.179812,8.45788Q1.215601,8.600760000000001,1.2583579999999999,8.741710000000001Q1.301114,8.88266,1.350736,9.02134Q1.400357,9.16002,1.456723,9.2961Q1.513089,9.43218,1.5760640000000001,9.56533Q1.63904,9.69848,1.708472,9.82838Q1.777905,9.95828,1.853628,10.08462Q1.929351,10.21095,2.01118,10.33342Q2.09301,10.45589,2.1807499999999997,10.5742Q2.2685,10.6925,2.3619399999999997,10.80636Q2.45538,10.92022,2.55429,11.0294Q2.65321,11.1385,2.7573600000000003,11.2426Q2.86151,11.3468,2.97065,11.4457Q3.07978,11.5446,3.19364,11.6381Q3.3075,11.7315,3.4258,11.8192Q3.54411,11.907,3.66658,11.9888Q3.78905,12.0706,3.91538,12.1464Q4.04172,12.2221,4.17162,12.2915Q4.30152,12.361,4.434670000000001,12.4239Q4.56782,12.4869,4.7039,12.5433Q4.839980000000001,12.5996,4.97866,12.6493Q5.11734,12.6989,5.25829,12.7416Q5.39924,12.7844,5.54212,12.8202Q5.685,12.856,5.82946,12.8847Q5.97392,12.9134,6.11962,12.9351Q6.26532,12.9567,6.4119,12.9711Q6.55848,12.9855,6.70559,12.9928Q6.85271,13,7,13Q7.52783,13,8.04756,12.9078Q8.56728,12.8157,9.06293,12.6342Q9.55858,12.4527,10.01494,12.1875Q10.47129,11.9223,10.87433,11.5814L13.4749,14.182Q13.5452,14.2523,13.6371,14.2904Q13.729,14.3284,13.8284,14.3284Q13.9279,14.3284,14.0198,14.2904Q14.1117,14.2523,14.182,14.182Q14.2523,14.1117,14.2904,14.0198Q14.3284,13.9279,14.3284,13.8284Q14.3284,13.729,14.2904,13.6371Q14.2523,13.5452,14.182,13.4749L11.5814,10.87433ZM7,2Q7.12274,2,7.24534,2.00602Q7.36793,2.01205,7.49009,2.02408Q7.61224,2.03611,7.73365,2.05412Q7.85507,2.07213,7.97545,2.09607Q8.095839999999999,2.1200200000000002,8.2149,2.14984Q8.33397,2.1796699999999998,8.451419999999999,2.2153Q8.56888,2.2509300000000003,8.68445,2.29228Q8.80002,2.3336300000000003,8.91342,2.3806000000000003Q9.02682,2.4275700000000002,9.13777,2.4800500000000003Q9.24873,2.53253,9.35698,2.59039Q9.46523,2.64825,9.57051,2.71136Q9.67579,2.77446,9.77785,2.84265Q9.87991,2.9108400000000003,9.9785,2.9839599999999997Q10.07708,3.05708,10.17197,3.13495Q10.26685,3.21281,10.35779,3.29524Q10.44874,3.37767,10.53553,3.46447Q10.62233,3.55126,10.70475,3.6422Q10.78718,3.73315,10.86505,3.82803Q10.94292,3.92291,11.016,4.0215Q11.0892,4.120089999999999,11.1573,4.22215Q11.2255,4.32421,11.2886,4.4294899999999995Q11.3517,4.53477,11.4096,4.64302Q11.4675,4.75127,11.5199,4.862220000000001Q11.5724,4.97318,11.6194,5.08658Q11.6664,5.19998,11.7077,5.31555Q11.7491,5.43112,11.7847,5.54858Q11.8203,5.66603,11.8502,5.7851Q11.88,5.90416,11.9039,6.02455Q11.9279,6.14493,11.9459,6.26635Q11.9639,6.38776,11.9759,6.50991Q11.988,6.63207,11.994,6.75466Q12,6.87726,12,7Q12,7.12274,11.994,7.24534Q11.988,7.36793,11.9759,7.49009Q11.9639,7.61224,11.9459,7.73365Q11.9279,7.85507,11.9039,7.97545Q11.88,8.095839999999999,11.8502,8.2149Q11.8203,8.33397,11.7847,8.451419999999999Q11.7491,8.56888,11.7077,8.68445Q11.6664,8.80002,11.6194,8.91342Q11.5724,9.02682,11.5199,9.13777Q11.4675,9.24873,11.4096,9.35698Q11.3517,9.46523,11.2886,9.57051Q11.2255,9.67579,11.1573,9.77785Q11.0892,9.87991,11.016,9.9785Q10.94292,10.07708,10.86505,10.17197Q10.78718,10.26685,10.70475,10.35779Q10.62233,10.44874,10.53553,10.53553Q10.44874,10.62233,10.35779,10.70475Q10.26685,10.78718,10.17197,10.86505Q10.07708,10.94292,9.9785,11.016Q9.87991,11.0892,9.77785,11.1573Q9.67579,11.2255,9.57051,11.2886Q9.46523,11.3517,9.35698,11.4096Q9.24873,11.4675,9.13777,11.5199Q9.02682,11.5724,8.91342,11.6194Q8.80002,11.6664,8.68445,11.7077Q8.56888,11.7491,8.451419999999999,11.7847Q8.333960000000001,11.8203,8.2149,11.8502Q8.095839999999999,11.88,7.97545,11.9039Q7.85507,11.9279,7.73365,11.9459Q7.61224,11.9639,7.49009,11.9759Q7.36793,11.988,7.24534,11.994Q7.12274,12,7,12Q6.87726,12,6.75466,11.994Q6.63207,11.988,6.50991,11.9759Q6.38776,11.9639,6.26635,11.9459Q6.14493,11.9279,6.02455,11.9039Q5.90416,11.88,5.7851,11.8502Q5.66603,11.8203,5.54858,11.7847Q5.43112,11.7491,5.31555,11.7077Q5.19998,11.6664,5.08658,11.6194Q4.97318,11.5724,4.862220000000001,11.5199Q4.75127,11.4675,4.64302,11.4096Q4.53477,11.3517,4.4294899999999995,11.2886Q4.32421,11.2255,4.22215,11.1573Q4.120089999999999,11.0892,4.0215,11.016Q3.92292,10.94292,3.82803,10.86505Q3.73315,10.78718,3.6422,10.70475Q3.55126,10.62233,3.46447,10.53553Q3.37767,10.44874,3.29524,10.35779Q3.21281,10.26685,3.13495,10.17197Q3.05708,10.07708,2.9839599999999997,9.9785Q2.9108400000000003,9.87991,2.84265,9.77785Q2.77446,9.67579,2.71136,9.57051Q2.64825,9.46523,2.59039,9.35698Q2.53253,9.24873,2.4800500000000003,9.13777Q2.4275700000000002,9.02682,2.3806000000000003,8.91342Q2.3336300000000003,8.80002,2.29228,8.68445Q2.2509300000000003,8.56888,2.2153,8.451419999999999Q2.1796699999999998,8.333960000000001,2.14984,8.2149Q2.1200200000000002,8.095839999999999,2.09607,7.97545Q2.07213,7.85507,2.05412,7.73365Q2.03611,7.61224,2.02408,7.49009Q2.01205,7.36793,2.00602,7.24534Q2,7.12274,2,7Q2,6.87726,2.00602,6.75466Q2.01205,6.63207,2.02408,6.50991Q2.03611,6.38776,2.05412,6.26635Q2.07213,6.14493,2.09607,6.02455Q2.1200200000000002,5.90416,2.14984,5.7851Q2.1796699999999998,5.66603,2.2153,5.54858Q2.2509300000000003,5.43112,2.29228,5.31555Q2.3336300000000003,5.19998,2.3806000000000003,5.08658Q2.4275700000000002,4.97318,2.4800500000000003,4.862220000000001Q2.53253,4.75127,2.59039,4.64302Q2.64825,4.53477,2.71136,4.4294899999999995Q2.77446,4.32421,2.84265,4.22215Q2.9108400000000003,4.120089999999999,2.9839599999999997,4.0215Q3.05708,3.92292,3.13495,3.82803Q3.21281,3.73315,3.29524,3.6422Q3.37767,3.55126,3.46447,3.46447Q3.55126,3.37767,3.6422,3.29524Q3.73315,3.21281,3.82803,3.13495Q3.92291,3.05708,4.0215,2.9839599999999997Q4.120089999999999,2.9108400000000003,4.22215,2.84265Q4.32421,2.77446,4.4294899999999995,2.71136Q4.53477,2.64825,4.64302,2.59039Q4.75127,2.53253,4.862220000000001,2.4800500000000003Q4.97318,2.4275700000000002,5.08658,2.3806000000000003Q5.19998,2.3336300000000003,5.31555,2.29228Q5.43112,2.2509300000000003,5.54858,2.2153Q5.66603,2.1796699999999998,5.7851,2.14984Q5.90416,2.1200200000000002,6.02455,2.09607Q6.14493,2.07213,6.26635,2.05412Q6.38776,2.03611,6.50991,2.02408Q6.63207,2.01205,6.75466,2.00602Q6.87726,2,7,2Z"
895
+ />
896
+ </g>
897
+ </g>
898
+ </g>
899
+ </svg>
900
+ `
901
+ );
902
+ iconBuilderExports.IconBuilder(
903
+ "search-empty",
904
+ (data) => `
905
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 70 70">
906
+ <defs>
907
+ <clipPath><rect width="70" height="70" x="0" y="0" rx="0" /></clipPath>
908
+ </defs>
909
+ <g clip-path="url(#master_svg0_1_05361)">
910
+ <g>
911
+ <path
912
+ fill="${data.colorDesc[0]}"
913
+ fill-opacity="1"
914
+ d="M34.99823296875,13.078125C34.11226296875,13.078125,33.39404296875,13.796345,33.39404296875,14.682315C33.39404296875,15.568285,34.11226296875,16.286505,34.99823296875,16.286505C42.63643296875,16.286505,48.82844296875,22.478485,48.82844296875,30.116725C48.82964296875,31.001825,49.54754296875,31.718625,50.43264296875,31.718625C51.31774296875,31.718625,52.03554296875,31.001825,52.03684296875,30.116725C52.041142968749995,20.707835,44.41144296875,13.078125,34.99823296875,13.078125Z"
915
+ />
916
+ </g>
917
+ <g>
918
+ <path
919
+ fill="${data.colorDesc[0]}"
920
+ fill-opacity="1"
921
+ d="M68.995683984375,65.5144796875L57.182683984375,53.7013796875C73.022783984375,35.3662796875,63.929183984375,6.7689296875,40.408483984375,0.9499226875C16.887683984375,-4.8690803125,-4.490606015625,16.1894796875,0.973315984375,39.7952796875C6.437253984375,63.4009796875,34.894283984375,72.9244796875,53.466083984375,57.3624796875L65.306883984375,69.2032796875C66.320183984375,70.2521796875,67.996583984375,70.2665796875,69.027783984375,69.2353796875C70.058983984375,68.2040796875,70.044583984375,66.5277796875,68.995683984375,65.5144796875ZM32.551983984375,59.3597796875C17.711083984375,59.3267796875,5.707163984375,47.2683796875,5.741543984375,32.4273796875C5.775923984375,17.5863796875,17.835483984375,5.5836996875,32.676483984375,5.6195196875C47.517483984375,5.6553396875,59.518983984375,17.7160796875,59.481783984375,32.5570796875C59.444483984375,47.3939796875,47.388883984375,59.3926796875,32.551983984375,59.3597796875Z"
922
+ />
923
+ </g>
924
+ </g>
925
+ </svg>
926
+ `
927
+ );
928
+ iconBuilderExports.IconBuilder(
929
+ "video-placeholder",
930
+ (data) => `
931
+ <svg width="${data.size}" height="${data.size}" fill="none" viewBox="0 0 80 80">
932
+ <defs>
933
+ <clipPath><rect width="80" height="80" x="0" y="0" rx="0" /></clipPath>
934
+ </defs>
935
+ <g clip-path="url(#master_svg0_6_23777)">
936
+ <g>
937
+ <path
938
+ fill="${data.colorDesc[0]}"
939
+ fill-opacity="0.10000000149011612"
940
+ fill-rule="evenodd"
941
+ d="M5,22L5,58Q5,61.7279,7.6360399999999995,64.364Q10.272079999999999,67,14,67L66,67Q69.7279,67,72.364,64.364Q75,61.7279,75,58L75,22Q75,18.27208,72.364,15.63604Q69.7279,13,66,13L14,13Q10.272079999999999,13,7.6360399999999995,15.63604Q5,18.27208,5,22ZM20.1631,30.5754L8,30.5754L8,22Q8,21.852710000000002,8.00723,21.70559Q8.01445,21.55848,8.02889,21.4119Q8.043330000000001,21.26532,8.06494,21.119619999999998Q8.086549999999999,20.97392,8.11529,20.82946Q8.14402,20.685,8.17981,20.54212Q8.2156,20.39924,8.25836,20.25829Q8.30111,20.11734,8.35074,19.978659999999998Q8.40036,19.83998,8.45672,19.7039Q8.51309,19.56782,8.57606,19.43467Q8.63904,19.30152,8.70847,19.17162Q8.77791,19.041719999999998,8.853629999999999,18.91538Q8.92935,18.78905,9.01118,18.66658Q9.09301,18.54411,9.18075,18.4258Q9.2685,18.3075,9.36194,18.193640000000002Q9.45538,18.07978,9.55429,17.97065Q9.65321,17.86151,9.75736,17.75736Q9.861509999999999,17.65321,9.97065,17.55429Q10.07978,17.455379999999998,10.19364,17.36194Q10.307500000000001,17.2685,10.425799999999999,17.18075Q10.54411,17.09301,10.66658,17.01118Q10.78905,16.92935,10.915379999999999,16.85363Q11.04172,16.7779,11.17162,16.70847Q11.30152,16.63904,11.43467,16.57606Q11.567820000000001,16.51309,11.7039,16.45672Q11.83998,16.40036,11.97866,16.350740000000002Q12.11734,16.30111,12.258289999999999,16.25836Q12.399239999999999,16.2156,12.54212,16.17981Q12.684999999999999,16.14402,12.829460000000001,16.11529Q12.97392,16.08655,13.11962,16.06494Q13.26532,16.04333,13.4119,16.02889Q13.55848,16.01445,13.70559,16.00723Q13.85271,16,14,16L20.1631,16L20.1631,30.5754ZM23.1631,16L56.334,16L56.334,64L23.1631,64L23.1631,16ZM72,22L72,29.7717L59.334,29.7717L59.334,16L66,16Q66.1473,16,66.2944,16.00723Q66.44149999999999,16.01445,66.5881,16.02889Q66.7347,16.04333,66.88040000000001,16.06494Q67.0261,16.08655,67.1705,16.11529Q67.315,16.14402,67.4579,16.17981Q67.6007,16.2156,67.74170000000001,16.25836Q67.8826,16.30111,68.0213,16.350740000000002Q68.16,16.40036,68.2961,16.45672Q68.4322,16.51309,68.56530000000001,16.57606Q68.6985,16.63904,68.8284,16.70847Q68.95830000000001,16.77791,69.0846,16.85363Q69.2109,16.92935,69.3334,17.01118Q69.4559,17.09301,69.5742,17.18075Q69.6925,17.2685,69.8064,17.36194Q69.9202,17.455379999999998,70.0294,17.55429Q70.1385,17.65321,70.2426,17.75736Q70.3468,17.86151,70.4457,17.97065Q70.5446,18.07978,70.6381,18.193640000000002Q70.7315,18.3075,70.8192,18.4258Q70.907,18.54411,70.9888,18.66658Q71.0706,18.78905,71.1464,18.91538Q71.2221,19.041719999999998,71.2915,19.17162Q71.3609,19.30152,71.4239,19.43467Q71.4869,19.56782,71.5433,19.7039Q71.5996,19.83998,71.6493,19.978659999999998Q71.6989,20.11734,71.7416,20.25829Q71.7844,20.39924,71.8202,20.54212Q71.856,20.685,71.8847,20.82946Q71.9135,20.97392,71.9351,21.119619999999998Q71.9567,21.26532,71.9711,21.4119Q71.9855,21.55848,71.9928,21.70559Q72,21.852710000000002,72,22ZM35.75,47.3612Q38,48.6603,40.25,47.3612L46.25,43.897099999999995Q48.5,42.5981,48.5,40Q48.5,37.4019,46.25,36.102900000000005L40.25,32.6388Q38,31.3397,35.75,32.6388Q33.5,33.937799999999996,33.5,36.5359L33.5,43.4641Q33.5,46.0622,35.75,47.3612ZM72,32.771699999999996L72,45.8474L59.334,45.8474L59.334,32.771699999999996L72,32.771699999999996ZM20.1631,46.6511L8,46.6511L8,33.5754L20.1631,33.5754L20.1631,46.6511ZM44.75,41.299L38.75,44.7631Q38,45.1962,37.25,44.7631Q36.5,44.3301,36.5,43.4641L36.5,36.5359Q36.5,35.6699,37.25,35.2369Q38,34.803799999999995,38.75,35.2369L44.75,38.701Q45.5,39.134,45.5,40Q45.5,40.866,44.75,41.299ZM66,64L59.334,64L59.334,48.8474L72,48.8474L72,58Q72,58.1473,71.9928,58.2944Q71.9855,58.4415,71.9711,58.5881Q71.9567,58.7347,71.9351,58.8804Q71.9135,59.0261,71.8847,59.1705Q71.856,59.315,71.8202,59.4579Q71.7844,59.6008,71.7416,59.7417Q71.6989,59.8827,71.6493,60.0213Q71.5996,60.16,71.5433,60.2961Q71.4869,60.4322,71.4239,60.5653Q71.3609,60.6985,71.2915,60.8284Q71.2221,60.9583,71.1464,61.0846Q71.0706,61.2109,70.9888,61.3334Q70.907,61.4559,70.8192,61.5742Q70.7315,61.6925,70.6381,61.8064Q70.5446,61.9202,70.4457,62.0294Q70.3468,62.1385,70.2426,62.2426Q70.1385,62.3468,70.0294,62.4457Q69.9202,62.5446,69.8064,62.6381Q69.6925,62.7315,69.5742,62.8192Q69.4559,62.907,69.3334,62.9888Q69.2109,63.0706,69.0846,63.1464Q68.95830000000001,63.2221,68.8284,63.2915Q68.6985,63.361,68.56530000000001,63.4239Q68.4322,63.4869,68.2961,63.5433Q68.16,63.5996,68.0213,63.6493Q67.8826,63.6989,67.74170000000001,63.7416Q67.6007,63.7844,67.4579,63.8202Q67.315,63.856,67.1705,63.8847Q67.0261,63.9134,66.88040000000001,63.9351Q66.7347,63.9567,66.5881,63.9711Q66.44149999999999,63.9855,66.2944,63.9928Q66.1473,64,66,64ZM20.1631,49.6511L20.1631,64L14,64Q13.85271,64,13.70559,63.9928Q13.55848,63.9855,13.4119,63.9711Q13.26532,63.9567,13.11962,63.9351Q12.97392,63.9134,12.829460000000001,63.8847Q12.684999999999999,63.856,12.54212,63.8202Q12.399239999999999,63.7844,12.258289999999999,63.7416Q12.11734,63.6989,11.97866,63.6493Q11.83998,63.5996,11.7039,63.5433Q11.567820000000001,63.4869,11.43467,63.4239Q11.30152,63.361,11.17162,63.2915Q11.04172,63.2221,10.915379999999999,63.1464Q10.78905,63.0706,10.66658,62.9888Q10.54411,62.907,10.425799999999999,62.8192Q10.307500000000001,62.7315,10.19364,62.6381Q10.07978,62.5446,9.97065,62.4457Q9.861509999999999,62.3468,9.75736,62.2426Q9.65321,62.1385,9.55429,62.0294Q9.45538,61.9202,9.36194,61.8064Q9.2685,61.6925,9.18075,61.5742Q9.09301,61.4559,9.01118,61.3334Q8.92935,61.2109,8.853629999999999,61.0846Q8.777899999999999,60.9583,8.70847,60.8284Q8.63904,60.6985,8.57606,60.5653Q8.51309,60.4322,8.45672,60.2961Q8.40036,60.16,8.35074,60.0213Q8.30111,59.8827,8.25836,59.7417Q8.2156,59.6008,8.17981,59.4579Q8.14402,59.315,8.11529,59.1705Q8.086549999999999,59.0261,8.06494,58.8804Q8.043330000000001,58.7347,8.02889,58.5881Q8.01445,58.4415,8.00723,58.2944Q8,58.1473,8,58L8,49.6511L20.1631,49.6511Z"
942
+ />
943
+ </g>
944
+ </g>
945
+ </svg>
946
+ `
947
+ );
948
+ const useAppendTo = (elemRef, parentRef) => {
949
+ function getBodyElement() {
950
+ return document.body;
951
+ }
952
+ const appendToParent = computed(() => {
953
+ let _parentRef = getBodyElement();
954
+ if (unref(parentRef)) {
955
+ _parentRef = unref(parentRef);
956
+ }
957
+ return _parentRef;
958
+ });
959
+ function setAppend() {
960
+ const elem = unref(elemRef);
961
+ const parentElem = unref(appendToParent);
962
+ if (!elem || !parentElem) {
963
+ return;
964
+ }
965
+ parentElem.appendChild(elem);
966
+ }
967
+ watch(
968
+ () => [unref(elemRef), unref(appendToParent)],
969
+ () => {
970
+ setAppend();
971
+ },
972
+ {
973
+ immediate: true
974
+ }
975
+ );
976
+ onBeforeUnmount(() => {
977
+ const elem = unref(elemRef);
978
+ if (elem && elem.parentNode) {
979
+ elem.parentNode.removeChild(elem);
980
+ }
981
+ });
982
+ };
983
+ const emitFunc = () => () => true;
984
+ /*!
985
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
986
+ *
987
+ * Copyright (c) 2014-2017, Jon Schlinkert.
988
+ * Released under the MIT License.
989
+ */
990
+ function isObject$1(o2) {
991
+ return Object.prototype.toString.call(o2) === "[object Object]";
992
+ }
993
+ function isPlainObject(o2) {
994
+ var ctor, prot;
995
+ if (isObject$1(o2) === false) return false;
996
+ ctor = o2.constructor;
997
+ if (ctor === void 0) return true;
998
+ prot = ctor.prototype;
999
+ if (isObject$1(prot) === false) return false;
1000
+ if (prot.hasOwnProperty("isPrototypeOf") === false) {
1001
+ return false;
1002
+ }
1003
+ return true;
1004
+ }
1005
+ var define_process_env_default = {};
1006
+ function t() {
1007
+ return t = Object.assign ? Object.assign.bind() : function(e2) {
1008
+ for (var t2 = 1; t2 < arguments.length; t2++) {
1009
+ var n2 = arguments[t2];
1010
+ for (var r2 in n2) Object.prototype.hasOwnProperty.call(n2, r2) && (e2[r2] = n2[r2]);
1011
+ }
1012
+ return e2;
1013
+ }, t.apply(this, arguments);
1014
+ }
1015
+ function n(e2, t2) {
1016
+ if (null == e2) return {};
1017
+ var n2 = {};
1018
+ for (var r2 in e2) if (Object.prototype.hasOwnProperty.call(e2, r2)) {
1019
+ if (t2.indexOf(r2) >= 0) continue;
1020
+ n2[r2] = e2[r2];
1021
+ }
1022
+ return n2;
1023
+ }
1024
+ const r = { silent: false, logLevel: "warn" }, i = ["validator"], o = Object.prototype, a = o.toString, s = o.hasOwnProperty, u = /^\s*function (\w+)/;
1025
+ function l(e2) {
1026
+ var t2;
1027
+ const n2 = null !== (t2 = null == e2 ? void 0 : e2.type) && void 0 !== t2 ? t2 : e2;
1028
+ if (n2) {
1029
+ const e3 = n2.toString().match(u);
1030
+ return e3 ? e3[1] : "";
1031
+ }
1032
+ return "";
1033
+ }
1034
+ const c = isPlainObject;
1035
+ function f() {
1036
+ }
1037
+ let d = f;
1038
+ if ("production" !== define_process_env_default.NODE_ENV) {
1039
+ const e2 = "undefined" != typeof console;
1040
+ d = e2 ? function(e3, t2 = r.logLevel) {
1041
+ false === r.silent && console[t2](`[VueTypes warn]: ${e3}`);
1042
+ } : f;
1043
+ }
1044
+ const p = (e2, t2) => s.call(e2, t2), y = Number.isInteger || function(e2) {
1045
+ return "number" == typeof e2 && isFinite(e2) && Math.floor(e2) === e2;
1046
+ }, v = Array.isArray || function(e2) {
1047
+ return "[object Array]" === a.call(e2);
1048
+ }, h = (e2) => "[object Function]" === a.call(e2), b = (e2, t2) => c(e2) && p(e2, "_vueTypes_name") && (!t2 || e2._vueTypes_name === t2), g = (e2) => c(e2) && (p(e2, "type") || ["_vueTypes_name", "validator", "default", "required"].some((t2) => p(e2, t2)));
1049
+ function O(e2, t2) {
1050
+ return Object.defineProperty(e2.bind(t2), "__original", { value: e2 });
1051
+ }
1052
+ function m(e2, t2, n2 = false) {
1053
+ let r2, i2 = true, o2 = "";
1054
+ r2 = c(e2) ? e2 : { type: e2 };
1055
+ const a2 = b(r2) ? r2._vueTypes_name + " - " : "";
1056
+ if (g(r2) && null !== r2.type) {
1057
+ if (void 0 === r2.type || true === r2.type) return i2;
1058
+ if (!r2.required && null == t2) return i2;
1059
+ v(r2.type) ? (i2 = r2.type.some((e3) => true === m(e3, t2, true)), o2 = r2.type.map((e3) => l(e3)).join(" or ")) : (o2 = l(r2), i2 = "Array" === o2 ? v(t2) : "Object" === o2 ? c(t2) : "String" === o2 || "Number" === o2 || "Boolean" === o2 || "Function" === o2 ? function(e3) {
1060
+ if (null == e3) return "";
1061
+ const t3 = e3.constructor.toString().match(u);
1062
+ return t3 ? t3[1].replace(/^Async/, "") : "";
1063
+ }(t2) === o2 : t2 instanceof r2.type);
1064
+ }
1065
+ if (!i2) {
1066
+ const e3 = `${a2}value "${t2}" should be of type "${o2}"`;
1067
+ return false === n2 ? (d(e3), false) : e3;
1068
+ }
1069
+ if (p(r2, "validator") && h(r2.validator)) {
1070
+ const e3 = d, o3 = [];
1071
+ if (d = (e4) => {
1072
+ o3.push(e4);
1073
+ }, i2 = r2.validator(t2), d = e3, !i2) {
1074
+ const e4 = (o3.length > 1 ? "* " : "") + o3.join("\n* ");
1075
+ return o3.length = 0, false === n2 ? (d(e4), i2) : e4;
1076
+ }
1077
+ }
1078
+ return i2;
1079
+ }
1080
+ function j(e2, t2) {
1081
+ const n2 = Object.defineProperties(t2, { _vueTypes_name: { value: e2, writable: true }, isRequired: { get() {
1082
+ return this.required = true, this;
1083
+ } }, def: { value(e3) {
1084
+ return void 0 === e3 ? this.type === Boolean || Array.isArray(this.type) && this.type.includes(Boolean) ? void (this.default = void 0) : (p(this, "default") && delete this.default, this) : h(e3) || true === m(this, e3, true) ? (this.default = v(e3) ? () => [...e3] : c(e3) ? () => Object.assign({}, e3) : e3, this) : (d(`${this._vueTypes_name} - invalid default value: "${e3}"`), this);
1085
+ } } }), { validator: r2 } = n2;
1086
+ return h(r2) && (n2.validator = O(r2, n2)), n2;
1087
+ }
1088
+ function _(e2, t2) {
1089
+ const n2 = j(e2, t2);
1090
+ return Object.defineProperty(n2, "validate", { value(e3) {
1091
+ return h(this.validator) && d(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:
1092
+ ${JSON.stringify(this)}`), this.validator = O(e3, this), this;
1093
+ } });
1094
+ }
1095
+ function T(e2, t2, r2) {
1096
+ const o2 = function(e3) {
1097
+ const t3 = {};
1098
+ return Object.getOwnPropertyNames(e3).forEach((n2) => {
1099
+ t3[n2] = Object.getOwnPropertyDescriptor(e3, n2);
1100
+ }), Object.defineProperties({}, t3);
1101
+ }(t2);
1102
+ if (o2._vueTypes_name = e2, !c(r2)) return o2;
1103
+ const { validator: a2 } = r2, s2 = n(r2, i);
1104
+ if (h(a2)) {
1105
+ let { validator: e3 } = o2;
1106
+ e3 && (e3 = null !== (l2 = (u2 = e3).__original) && void 0 !== l2 ? l2 : u2), o2.validator = O(e3 ? function(t3) {
1107
+ return e3.call(this, t3) && a2.call(this, t3);
1108
+ } : a2, o2);
1109
+ }
1110
+ var u2, l2;
1111
+ return Object.assign(o2, s2);
1112
+ }
1113
+ function $(e2) {
1114
+ return e2.replace(/^(?!\s*$)/gm, " ");
1115
+ }
1116
+ const w = () => _("any", {}), x = () => _("function", { type: Function }), P = () => _("boolean", { type: Boolean }), A = () => _("string", { type: String }), E = () => _("number", { type: Number }), S = () => _("array", { type: Array }), N = () => _("object", { type: Object }), V = () => j("integer", { type: Number, validator(e2) {
1117
+ const t2 = y(e2);
1118
+ return false === t2 && d(`integer - "${e2}" is not an integer`), t2;
1119
+ } }), q = () => j("symbol", { validator(e2) {
1120
+ const t2 = "symbol" == typeof e2;
1121
+ return false === t2 && d(`symbol - invalid value "${e2}"`), t2;
1122
+ } }), k = () => Object.defineProperty({ type: null, validator(e2) {
1123
+ const t2 = null === e2;
1124
+ return false === t2 && d("nullable - value should be null"), t2;
1125
+ } }, "_vueTypes_name", { value: "nullable" });
1126
+ function D(e2, t2 = "custom validation failed") {
1127
+ if ("function" != typeof e2) throw new TypeError("[VueTypes error]: You must provide a function as argument");
1128
+ return j(e2.name || "<<anonymous function>>", { type: null, validator(n2) {
1129
+ const r2 = e2(n2);
1130
+ return r2 || d(`${this._vueTypes_name} - ${t2}`), r2;
1131
+ } });
1132
+ }
1133
+ function L(e2) {
1134
+ if (!v(e2)) throw new TypeError("[VueTypes error]: You must provide an array as argument.");
1135
+ const t2 = `oneOf - value should be one of "${e2.map((e3) => "symbol" == typeof e3 ? e3.toString() : e3).join('", "')}".`, n2 = { validator(n3) {
1136
+ const r2 = -1 !== e2.indexOf(n3);
1137
+ return r2 || d(t2), r2;
1138
+ } };
1139
+ if (-1 === e2.indexOf(null)) {
1140
+ const t3 = e2.reduce((e3, t4) => {
1141
+ if (null != t4) {
1142
+ const n3 = t4.constructor;
1143
+ -1 === e3.indexOf(n3) && e3.push(n3);
1144
+ }
1145
+ return e3;
1146
+ }, []);
1147
+ t3.length > 0 && (n2.type = t3);
1148
+ }
1149
+ return j("oneOf", n2);
1150
+ }
1151
+ function B(e2) {
1152
+ if (!v(e2)) throw new TypeError("[VueTypes error]: You must provide an array as argument");
1153
+ let t2 = false, n2 = false, r2 = [];
1154
+ for (let i3 = 0; i3 < e2.length; i3 += 1) {
1155
+ const o2 = e2[i3];
1156
+ if (g(o2)) {
1157
+ if (h(o2.validator) && (t2 = true), b(o2, "oneOf") && o2.type) {
1158
+ r2 = r2.concat(o2.type);
1159
+ continue;
1160
+ }
1161
+ if (b(o2, "nullable")) {
1162
+ n2 = true;
1163
+ continue;
1164
+ }
1165
+ if (true === o2.type || !o2.type) {
1166
+ d('oneOfType - invalid usage of "true" and "null" as types.');
1167
+ continue;
1168
+ }
1169
+ r2 = r2.concat(o2.type);
1170
+ } else r2.push(o2);
1171
+ }
1172
+ r2 = r2.filter((e3, t3) => r2.indexOf(e3) === t3);
1173
+ const i2 = false === n2 && r2.length > 0 ? r2 : null;
1174
+ return j("oneOfType", t2 ? { type: i2, validator(t3) {
1175
+ const n3 = [], r3 = e2.some((e3) => {
1176
+ const r4 = m(e3, t3, true);
1177
+ return "string" == typeof r4 && n3.push(r4), true === r4;
1178
+ });
1179
+ return r3 || d(`oneOfType - provided value does not match any of the ${n3.length} passed-in validators:
1180
+ ${$(n3.join("\n"))}`), r3;
1181
+ } } : { type: i2 });
1182
+ }
1183
+ function F(e2) {
1184
+ return j("arrayOf", { type: Array, validator(t2) {
1185
+ let n2 = "";
1186
+ const r2 = t2.every((t3) => (n2 = m(e2, t3, true), true === n2));
1187
+ return r2 || d(`arrayOf - value validation error:
1188
+ ${$(n2)}`), r2;
1189
+ } });
1190
+ }
1191
+ function Y(e2) {
1192
+ return j("instanceOf", { type: e2 });
1193
+ }
1194
+ function I(e2) {
1195
+ return j("objectOf", { type: Object, validator(t2) {
1196
+ let n2 = "";
1197
+ const r2 = Object.keys(t2).every((r3) => (n2 = m(e2, t2[r3], true), true === n2));
1198
+ return r2 || d(`objectOf - value validation error:
1199
+ ${$(n2)}`), r2;
1200
+ } });
1201
+ }
1202
+ function J(e2) {
1203
+ const t2 = Object.keys(e2), n2 = t2.filter((t3) => {
1204
+ var n3;
1205
+ return !(null === (n3 = e2[t3]) || void 0 === n3 || !n3.required);
1206
+ }), r2 = j("shape", { type: Object, validator(r3) {
1207
+ if (!c(r3)) return false;
1208
+ const i2 = Object.keys(r3);
1209
+ if (n2.length > 0 && n2.some((e3) => -1 === i2.indexOf(e3))) {
1210
+ const e3 = n2.filter((e4) => -1 === i2.indexOf(e4));
1211
+ return d(1 === e3.length ? `shape - required property "${e3[0]}" is not defined.` : `shape - required properties "${e3.join('", "')}" are not defined.`), false;
1212
+ }
1213
+ return i2.every((n3) => {
1214
+ if (-1 === t2.indexOf(n3)) return true === this._vueTypes_isLoose || (d(`shape - shape definition does not include a "${n3}" property. Allowed keys: "${t2.join('", "')}".`), false);
1215
+ const i3 = m(e2[n3], r3[n3], true);
1216
+ return "string" == typeof i3 && d(`shape - "${n3}" property validation error:
1217
+ ${$(i3)}`), true === i3;
1218
+ });
1219
+ } });
1220
+ return Object.defineProperty(r2, "_vueTypes_isLoose", { writable: true, value: false }), Object.defineProperty(r2, "loose", { get() {
1221
+ return this._vueTypes_isLoose = true, this;
1222
+ } }), r2;
1223
+ }
1224
+ const M = ["name", "validate", "getter"], R = /* @__PURE__ */ ((e2) => ((e2 = class {
1225
+ static get any() {
1226
+ return w();
1227
+ }
1228
+ static get func() {
1229
+ return x().def(this.defaults.func);
1230
+ }
1231
+ static get bool() {
1232
+ return void 0 === this.defaults.bool ? P() : P().def(this.defaults.bool);
1233
+ }
1234
+ static get string() {
1235
+ return A().def(this.defaults.string);
1236
+ }
1237
+ static get number() {
1238
+ return E().def(this.defaults.number);
1239
+ }
1240
+ static get array() {
1241
+ return S().def(this.defaults.array);
1242
+ }
1243
+ static get object() {
1244
+ return N().def(this.defaults.object);
1245
+ }
1246
+ static get integer() {
1247
+ return V().def(this.defaults.integer);
1248
+ }
1249
+ static get symbol() {
1250
+ return q();
1251
+ }
1252
+ static get nullable() {
1253
+ return k();
1254
+ }
1255
+ static extend(e3) {
1256
+ if (d("VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details."), v(e3)) return e3.forEach((e4) => this.extend(e4)), this;
1257
+ const { name: t2, validate: r2 = false, getter: i2 = false } = e3, o2 = n(e3, M);
1258
+ if (p(this, t2)) throw new TypeError(`[VueTypes error]: Type "${t2}" already defined`);
1259
+ const { type: a2 } = o2;
1260
+ if (b(a2)) return delete o2.type, Object.defineProperty(this, t2, i2 ? { get: () => T(t2, a2, o2) } : { value(...e4) {
1261
+ const n2 = T(t2, a2, o2);
1262
+ return n2.validator && (n2.validator = n2.validator.bind(n2, ...e4)), n2;
1263
+ } });
1264
+ let s2;
1265
+ return s2 = i2 ? { get() {
1266
+ const e4 = Object.assign({}, o2);
1267
+ return r2 ? _(t2, e4) : j(t2, e4);
1268
+ }, enumerable: true } : { value(...e4) {
1269
+ const n2 = Object.assign({}, o2);
1270
+ let i3;
1271
+ return i3 = r2 ? _(t2, n2) : j(t2, n2), n2.validator && (i3.validator = n2.validator.bind(i3, ...e4)), i3;
1272
+ }, enumerable: true }, Object.defineProperty(this, t2, s2);
1273
+ }
1274
+ }).defaults = {}, e2.sensibleDefaults = void 0, e2.config = r, e2.custom = D, e2.oneOf = L, e2.instanceOf = Y, e2.oneOfType = B, e2.arrayOf = F, e2.objectOf = I, e2.shape = J, e2.utils = { validate: (e3, t2) => true === m(t2, e3, true), toType: (e3, t2, n2 = false) => n2 ? _(e3, t2) : j(e3, t2) }, e2))();
1275
+ function U(e2 = { func: () => {
1276
+ }, bool: true, string: "", number: 0, array: () => [], object: () => ({}), integer: 0 }) {
1277
+ var n2;
1278
+ return (n2 = class extends R {
1279
+ static get sensibleDefaults() {
1280
+ return t({}, this.defaults);
1281
+ }
1282
+ static set sensibleDefaults(n3) {
1283
+ this.defaults = false !== n3 ? t({}, true !== n3 ? n3 : e2) : {};
1284
+ }
1285
+ }).defaults = t({}, e2), n2;
1286
+ }
1287
+ class z extends U() {
1288
+ }
1289
+ class PropUtils {
1290
+ /** String 类型,默认:'' */
1291
+ static get string() {
1292
+ return A().def("");
1293
+ }
1294
+ /** String 类型,默认:undefined */
1295
+ static get looseString() {
1296
+ return A();
1297
+ }
1298
+ /** Number 类型,默认:0 */
1299
+ static get number() {
1300
+ return E().def(0);
1301
+ }
1302
+ /** Number 类型,默认:undefined */
1303
+ static get looseNumber() {
1304
+ return E();
1305
+ }
1306
+ /** Boolean 类型,默认:true */
1307
+ static get bool() {
1308
+ return P().def(true);
1309
+ }
1310
+ static get looseBool() {
1311
+ return B([]).def(void 0);
1312
+ }
1313
+ static get looseElement() {
1314
+ return B([]).def(void 0);
1315
+ }
1316
+ }
1317
+ __publicField(PropUtils, "objectType", N);
1318
+ /** Array 类型,默认:[] */
1319
+ __publicField(PropUtils, "array", () => {
1320
+ return S().def([]);
1321
+ });
1322
+ /** Object 类型 */
1323
+ __publicField(PropUtils, "object", N);
1324
+ /** Function 类型 */
1325
+ __publicField(PropUtils, "func", x);
1326
+ /** 指定为数组中的值 */
1327
+ __publicField(PropUtils, "oneOf", L);
1328
+ /** 自定义类型 */
1329
+ __publicField(PropUtils, "oneOfType", B);
1330
+ /** 枚举类型 */
1331
+ __publicField(PropUtils, "enum", A);
1332
+ /** 任意类型 */
1333
+ __publicField(PropUtils, "any", w);
1334
+ function canMatchKeywords(e, t2) {
1335
+ e = e.toLowerCase();
1336
+ const n2 = /[/\s;_-]/, s2 = /[/\s;_-]/;
1337
+ return t2.some((t3) => {
1338
+ const o2 = e.indexOf(t3.toLowerCase());
1339
+ if (-1 !== o2 && (n2.test(e[o2 - 1]) || 0 === o2) && (s2.test(e[o2 + t3.length]) || o2 + t3.length >= e.length)) return true;
1340
+ });
1341
+ }
1342
+ function canMatchModelRule(e, t2) {
1343
+ return !!/;\s*([^;)]*?)(?:\s+Build\/[^;)]+)?(?:;(?:\s*wv)?)?\)/.test(e) && t2.test(RegExp.$1);
1344
+ }
1345
+ function execRules(e, t2) {
1346
+ let n2;
1347
+ return t2.some((t3) => {
1348
+ let s2, o2 = false;
1349
+ return t3.regExp ? (o2 = t3.regExp.test(e), o2 && (s2 = RegExp.$1)) : t3.keywords ? o2 = canMatchKeywords(e, t3.keywords) : t3.modelRegExp && (o2 = canMatchModelRule(e, t3.modelRegExp)), o2 && (n2 = { name: t3.name, version: s2 }), o2;
1350
+ }), n2;
1351
+ }
1352
+ const osRules = [{ name: "windows", regExp: /\bWindows\s?NT\s?(([\d.]+))\b/ }, { name: "ios", regExp: /\bOS(?:\s([\d_.]+))?\slike\sMac\sOS\sX\b/ }, { name: "macos", regExp: /\bMac\sOS\sX(?:\s([\d_.]+))?/ }, { name: "openharmony", regExp: /\bOpenHarmony\s([\d.]+)\b/ }, { name: "android", regExp: /\bAndroid;?(?:[-/\s]([\d.]+))?(?:\b|_)/ }, { name: "android", regExp: /\bAdr\s([\d.]+)(?:\b|_)/ }];
1353
+ function compareVersions(r2, e) {
1354
+ const t2 = /(\.0+)+$/, n2 = String(r2).replace(t2, "").split("."), s2 = String(e).replace(t2, "").split("."), i2 = Math.min(n2.length, s2.length);
1355
+ for (let r3 = 0; r3 < i2; r3++) {
1356
+ const e2 = parseInt(n2[r3]) - parseInt(s2[r3]);
1357
+ if (e2) return e2;
1358
+ }
1359
+ return n2.length - s2.length;
1360
+ }
1361
+ class Version {
1362
+ constructor(r2) {
1363
+ this._ver = (r2 || "").replace(/_/g, ".").replace(/\.+$/, ""), Object.freeze(this);
1364
+ }
1365
+ _compare(r2, e) {
1366
+ if (!this._ver || !r2) return false;
1367
+ const t2 = Array.isArray(e) ? e : [e], n2 = compareVersions(this._ver, r2);
1368
+ return t2.some(function(r3) {
1369
+ return n2 * r3 > 0 || 0 === n2 && 0 === r3;
1370
+ });
1371
+ }
1372
+ gt(r2) {
1373
+ return this._compare(r2, 1);
1374
+ }
1375
+ gte(r2) {
1376
+ return this._compare(r2, [1, 0]);
1377
+ }
1378
+ lt(r2) {
1379
+ return this._compare(r2, -1);
1380
+ }
1381
+ lte(r2) {
1382
+ return this._compare(r2, [-1, 0]);
1383
+ }
1384
+ eq(r2) {
1385
+ return this._compare(r2, 0);
1386
+ }
1387
+ toString() {
1388
+ return this._ver;
1389
+ }
1390
+ }
1391
+ const propMap$3 = { ios: "isIOS", openharmony: "isOpenHarmony", android: "isAndroid", windows: "isWindows", macos: "isMacOS" };
1392
+ function platformToOS(s2) {
1393
+ switch (s2) {
1394
+ case "Android":
1395
+ return "android";
1396
+ case "iPad":
1397
+ case "iPhone":
1398
+ case "iPod":
1399
+ return "ios";
1400
+ case "MacIntel":
1401
+ return "macos";
1402
+ case "Win32":
1403
+ return "windows";
1404
+ }
1405
+ }
1406
+ class OSInfo {
1407
+ constructor(s2, o2) {
1408
+ var i2;
1409
+ let e;
1410
+ if (this.isIOS = false, this.isAndroid = false, this.isHarmonyOS = false, this.isOpenHarmony = false, this.isWindows = false, this.isMacOS = false, null == o2 ? void 0 : o2.platform) {
1411
+ const s3 = platformToOS(o2.platform);
1412
+ void 0 !== s3 && (e = { name: s3, version: "" });
1413
+ }
1414
+ let n2 = null !== (i2 = execRules(s2, osRules)) && void 0 !== i2 ? i2 : e;
1415
+ n2 ? (e && e.name !== n2.name && (n2 = e), "macos" === n2.name && (null == o2 ? void 0 : o2.maxTouchPoints) && (n2.name = "ios", n2.version = ""), this[propMap$3[n2.name]] = true, this.version = new Version(n2.version), this.isAndroid && /\bHarmonyOS\b/.test(s2) && (this.isHarmonyOS = true), Object.freeze(this)) : this.version = Object.freeze(new Version(""));
1416
+ }
1417
+ }
1418
+ const appleRules = [{ name: "ipad", regExp: /iPad/ }, { name: "ipod", regExp: /iPod/ }, { name: "iphone", regExp: /iPhone/ }];
1419
+ const androidRules = [{ name: "huawei", regExp: /\b(?:huawei|honor)/i }, { name: "huawei", keywords: ["ideahub", "figi"] }, { name: "vivo", keywords: ["vivo"] }, { name: "oppo", keywords: ["oppo"] }, { name: "mi", keywords: ["redmi", "hongmi", "shark", "Mi", "MIX", "POCO", "POCOPHONE"] }, { name: "mi", regExp: /\bxiaomi/i }, { name: "samsung", keywords: ["samsung", "galaxy"] }, { name: "oneplus", keywords: ["oneplus", "one"] }, { name: "huawei", modelRegExp: /^Mate\s*\d{2}/i }, { name: "huawei", modelRegExp: /^Nova\s\d$/ }, { name: "huawei", regExp: /\b(?:Hi)?MatePad/i }, { name: "huawei", regExp: /\b(?:Liantong|UNICOMVSENS)VP\d{3}\b/ }, { name: "huawei", regExp: /\bCMDCSP\d{3}\b/ }, { name: "huawei", regExp: /\bTDTECH/i }, { name: "huawei", modelRegExp: /^[A-Z]{3}\d?-W[0-5]9[A-Z]*$/ }, { name: "huawei", modelRegExp: /^[A-Z][A-Za-z]{2,3}-(?:AN|BD|BX|AL|TL)\d{2}[A-Za-z]*$/ }, { name: "huawei", modelRegExp: /^TYH\d+[A-Z]?$/ }, { name: "huawei", modelRegExp: /^H60-L0[12]$/ }, { name: "mi", modelRegExp: /^MI\s?(?:\d|CC|Note|MAX|PLAY|PAD)/i }, { name: "mi", modelRegExp: /^(?:AWM|SKR|SKW|DLT)-/ }, { name: "mi", modelRegExp: /^XIG\d{2}$/ }, { name: "mi", modelRegExp: /^M\d{4}[A-Z]\d{1,2}[A-Z]{1,3}$/ }, { name: "mi", modelRegExp: /^2\d{3}[A-Z0-9]{6}$/ }, { name: "mi", modelRegExp: /^2\d{5}[0-9A-Z]{2}[A-Z]$/ }, { name: "mi", modelRegExp: /^2\d{6}[A-Z]$/ }, { name: "mi", modelRegExp: /^2\d{7}[A-Z]{2,3}$/ }, { name: "samsung", modelRegExp: /^S(?:M|[CGP]H)-[A-Za-z0-9]+$/ }, { name: "samsung", modelRegExp: /^SCV3\d$/ }, { name: "samsung", modelRegExp: /^SC-\d{2}[A-Z]$/ }, { name: "samsung", modelRegExp: /^SH[WV]-/ }, { name: "samsung", modelRegExp: /^GT[-_][A-Z][A-Z0-9]{3,}$/i }, { name: "oppo", modelRegExp: /^(?:CPH|OPD|iPA)\d{4}$/ }, { name: "oppo", modelRegExp: /^OPG\d{2}$/ }, { name: "oppo", modelRegExp: /^A[1-5]0[1-9]OP$/ }, { name: "oneplus", modelRegExp: /^(?:KB|HD|IN|GM|NE|LE|MT)\d{4}$/ }, { name: "vivo", modelRegExp: /^V[12]\d{3}[A-Z]{0,2}$/ }];
1420
+ const propMap$2 = { ipod: "isIPod", iphone: "isIPhone", ipad: "isIPad", huawei: "isHuawei", mi: "isMi", oppo: "isOppo", vivo: "isVivo", oneplus: "isOnePlus", samsung: "isSamsung" };
1421
+ class BrandInfo {
1422
+ constructor(i2, s2) {
1423
+ let e;
1424
+ if (this.isHuawei = false, this.isMi = false, this.isOppo = false, this.isVivo = false, this.isOnePlus = false, this.isSamsung = false, this.isIPod = false, this.isIPhone = false, this.isIPad = false, this.isMac = false, this.isApple = false, s2.isIOS ? (e = appleRules, this.isApple = true) : s2.isMacOS ? (this.isMac = true, this.isApple = true) : (s2.isAndroid || s2.isOpenHarmony) && (e = androidRules), e) {
1425
+ const o2 = execRules(i2, e);
1426
+ o2 ? this[propMap$2[o2.name]] = true : s2.isIOS && (this.isIPad = true);
1427
+ }
1428
+ Object.freeze(this);
1429
+ }
1430
+ }
1431
+ const browserRules = [{ name: "edge", regExp: /\bEdge\/([\d.]+)/ }, { name: "chrome", regExp: /\b(?:Chrome|CrMo|CriOS)\/([\d.]+)/ }, { name: "safari", regExp: /\b(?:Version\/([\d.]+).*\s?)?Safari\b/ }, { name: "ie", regExp: /\bMSIE\s(\d+)/i }, { name: "ie", regExp: /\bTrident\/.*;\srv:(\d+)/ }, { name: "firefox", regExp: /\bFirefox\/([\d.]+)/ }, { name: "opera-presto", regExp: /\bOpera\/([\d.]+)/ }];
1432
+ const propMap$1 = { chrome: "isChrome", safari: "isSafari", edge: "isEdge", ie: "isIE", firefox: "isFirefox", "opera-presto": "isPrestoOpera" };
1433
+ class BrowserInfo {
1434
+ constructor(e) {
1435
+ this.isChrome = false, this.isSafari = false, this.isEdge = false, this.isIE = false, this.isFirefox = false, this.isPrestoOpera = false;
1436
+ const s2 = execRules(e, browserRules);
1437
+ s2 ? (this[propMap$1[s2.name]] = true, this.version = new Version(s2.version)) : this.version = new Version(""), Object.freeze(this);
1438
+ }
1439
+ }
1440
+ let clientRules = [{ name: "wxwork", regExp: /\bwxwork\/([\d.]+)/ }, { name: "wx", regExp: /\bMicroMessenger\/([\d.]+)/ }, { name: "ding", regExp: /\bDingTalk\/([\d.]+)/ }, { name: "qq", regExp: /\bQQ\/([\d.]+)/ }, { name: "qq", regExp: /\bIPadQQ\b/ }, { name: "weibo", regExp: /(?:\b|_)Weibo(?:\b|_)/i }, { name: "edge", regExp: /\bEdge?\/([\d.]+)/ }, { name: "opera-blink", regExp: /\bOPR\/([\d.]+)/ }, { name: "qqbrowser", regExp: /\bM?QQBrowser(?:\/([\d.]+))?/i }, { name: "ucbrowser", regExp: /\b(?:UCBrowser|UCWEB)(?:-CMCC)?\/?\s?([\d.]+)/ }, { name: "ucbrowser", regExp: /\bUC\b/ }, { name: "quark", regExp: /\bQuark\/([\d.]+)/ }, { name: "maxthon", regExp: /\b(?:Maxthon|MxBrowser)(?:[/\s]([\d.]+))?/ }, { name: "theworld", regExp: /\bTheWorld(?:\s([\d.]+))?/i }, { name: "baidubrowser", regExp: /\b(?:baidubrowser|bdbrowser_i18n|BIDUBrowser)(?:[/\s]([\d.]+))?/i }, { name: "baidubrowser", regExp: /\bbaidubrowserpad\b/ }, { name: "baiduapp", regExp: /\bbaiduboxapp\b\/([\d.]+)?/i }, { name: "baiduapp", regExp: /\bbaiduboxpad\b/i }];
1441
+ clientRules = clientRules.concat(browserRules);
1442
+ const propMap = { wxwork: "isWxWork", wx: "isWx", ding: "isDing", qq: "isQQ", weibo: "isWeibo", edge: "isEdge", "opera-blink": "isOpera", "opera-presto": "isOpera", qqbrowser: "isQQBrowser", ucbrowser: "isUCBrowser", quark: "isQuark", maxthon: "isMaxthon", theworld: "isTheWorld", baidubrowser: "isBaiduBrowser", baiduapp: "isBaiduApp", chrome: "isChrome", safari: "isSafari", ie: "isIE", firefox: "isFirefox" };
1443
+ class ClientInfo {
1444
+ constructor(i2) {
1445
+ this.isWxWork = false, this.isWx = false, this.isWxMiniProgram = false, this.isDing = false, this.isQQ = false, this.isWeibo = false, this.isEdge = false, this.isOpera = false, this.isQQBrowser = false, this.isUCBrowser = false, this.isQuark = false, this.isMaxthon = false, this.isTheWorld = false, this.isBaiduBrowser = false, this.isBaiduApp = false, this.isChrome = false, this.isSafari = false, this.isIE = false, this.isFirefox = false;
1446
+ const s2 = execRules(i2, clientRules);
1447
+ s2 ? (this[propMap[s2.name]] = true, this.version = new Version(s2.version)) : this.version = new Version(""), this.isWxMiniProgram = (this.isWx || this.isWxWork) && /\bMiniProgramEnv\b/.test(i2), Object.freeze(this);
1448
+ }
1449
+ }
1450
+ class UAInfo {
1451
+ constructor(t2, i2) {
1452
+ this.os = Object.freeze(new OSInfo(t2, i2)), this.brand = Object.freeze(new BrandInfo(t2, this.os)), this.browser = Object.freeze(new BrowserInfo(t2)), this.client = Object.freeze(new ClientInfo(t2)), this.isTablet = this.brand.isIPad || /\bTablet\b/i.test(t2) || this.os.isAndroid && !/\bMobile\b/i.test(t2), this.os.isIOS || this.os.isAndroid || this.isTablet ? this.isPortable = true : /\(X11[;)]/i.test(t2) || /\b(Windows\sNT|Macintosh)\b/.test(t2) ? this.isPortable = false : this.isPortable = /mobile|android/i.test(t2), Object.freeze(this);
1453
+ }
1454
+ }
1455
+ let currentUAInfo;
1456
+ function getCurrentUAInfo() {
1457
+ return currentUAInfo || (currentUAInfo = Object.freeze("undefined" != typeof window ? new UAInfo(window.navigator.userAgent, window.navigator) : new UAInfo(""))), currentUAInfo;
1458
+ }
1459
+ const ua = navigator.userAgent.toLowerCase();
1460
+ const uaInfo = getCurrentUAInfo();
1461
+ uaInfo.os.isAndroid;
1462
+ uaInfo.os.isIOS;
1463
+ uaInfo.client.version;
1464
+ const isWeixin = uaInfo.client.isWx;
1465
+ const isWorkWeixin = uaInfo.client.isWxWork;
1466
+ const isPcMiniProgram = (isWeixin || isWorkWeixin) && /miniprogramenv/.test(ua);
1467
+ function __isMobile() {
1468
+ const ua2 = navigator.userAgent;
1469
+ if (/mobile|android/i.test(ua2)) {
1470
+ return true;
1471
+ } else {
1472
+ if (/\b(Windows\sNT|Macintosh|x86(_(32|64))?|amd64|i[1-6]86)\b/.test(ua2) || !("onorientationchange" in window)) {
1473
+ return false;
1474
+ } else {
1475
+ return true;
1476
+ }
1477
+ }
1478
+ }
1479
+ function __isTablet() {
1480
+ const ua2 = navigator.userAgent;
1481
+ if (/(?:iPad|PlayBook)/.test(ua2)) return true;
1482
+ if (uaInfo.os.isAndroid && !/(?:Mobile)/.test(ua2) || /(?:Tablet)/.test(ua2)) return true;
1483
+ return false;
1484
+ }
1485
+ const isMob = __isMobile();
1486
+ isMob && __isTablet();
1487
+ const isMobile = /* @__PURE__ */ (() => {
1488
+ return isMob || isPcMiniProgram;
1489
+ })();
1490
+ function mitt(n2) {
1491
+ return { all: n2 = n2 || /* @__PURE__ */ new Map(), on: function(t2, e) {
1492
+ var i2 = n2.get(t2);
1493
+ i2 ? i2.push(e) : n2.set(t2, [e]);
1494
+ }, off: function(t2, e) {
1495
+ var i2 = n2.get(t2);
1496
+ i2 && (e ? i2.splice(i2.indexOf(e) >>> 0, 1) : n2.set(t2, []));
1497
+ }, emit: function(t2, e) {
1498
+ var i2 = n2.get(t2);
1499
+ i2 && i2.slice().map(function(n3) {
1500
+ n3(e);
1501
+ }), (i2 = n2.get("*")) && i2.slice().map(function(n3) {
1502
+ n3(t2, e);
1503
+ });
1504
+ } };
1505
+ }
1506
+ var LangType = /* @__PURE__ */ ((LangType2) => {
1507
+ LangType2["ZH_CN"] = "zh_CN";
1508
+ LangType2["ZH_TW"] = "zh_TW";
1509
+ LangType2["English"] = "en";
1510
+ LangType2["Japanese"] = "ja";
1511
+ LangType2["Korean"] = "ko";
1512
+ LangType2["Russian"] = "ru";
1513
+ return LangType2;
1514
+ })(LangType || {});
1515
+ const ProductInjectKey = "interactGlobalConfigV2";
1516
+ const useGlobalInject = () => {
1517
+ const injectData = inject(ProductInjectKey, {
1518
+ globalLang: LangType.ZH_CN
1519
+ });
1520
+ const toast = (msg) => {
1521
+ if (injectData.toast) {
1522
+ injectData.toast(msg);
1523
+ }
1524
+ };
1525
+ function getEmitter() {
1526
+ if (injectData.getEmitter) {
1527
+ return injectData.getEmitter();
1528
+ }
1529
+ return createEmitter();
1530
+ }
1531
+ const messageBox = (options) => {
1532
+ if (injectData.messageBox) {
1533
+ return injectData.messageBox(options);
1534
+ }
1535
+ return Promise.resolve(false);
1536
+ };
1537
+ return {
1538
+ injectData,
1539
+ toast,
1540
+ getEmitter,
1541
+ messageBox
1542
+ };
1543
+ };
1544
+ const globalKey = "__product-event-emitter-key";
1545
+ function createEmitter() {
1546
+ if (window[globalKey]) {
1547
+ return window[globalKey];
1548
+ }
1549
+ const emitter = mitt();
1550
+ window[globalKey] = emitter;
1551
+ return emitter;
1552
+ }
1553
+ const useEventBusListener = (event, callback) => {
1554
+ const { getEmitter } = useGlobalInject();
1555
+ onMounted(() => {
1556
+ getEmitter().on(event, callback);
1557
+ });
1558
+ onBeforeUnmount(() => {
1559
+ getEmitter().off(event, callback);
1560
+ });
1561
+ };
1562
+ const useScreenOrientHook = (params = {}) => {
1563
+ const { autoListen = true, autoListenCb = () => {
1564
+ } } = params;
1565
+ const { injectData } = useGlobalInject();
1566
+ const screenOrientationMode = ref(
1567
+ "Vertical"
1568
+ /* Vertical */
1569
+ );
1570
+ const pageFullscreen = computed(() => {
1571
+ var _a;
1572
+ return (_a = injectData.pageFullscreen) != null ? _a : false;
1573
+ });
1574
+ const isVerticalScreenOrientation = computed(() => {
1575
+ if (!isMobile) {
1576
+ return false;
1577
+ }
1578
+ return screenOrientationMode.value === "Vertical";
1579
+ });
1580
+ const isHorizontalScreenOrientation = computed(() => {
1581
+ if (!isMobile) {
1582
+ return false;
1583
+ }
1584
+ if (pageFullscreen.value) {
1585
+ return true;
1586
+ }
1587
+ return screenOrientationMode.value === "Horizontal";
1588
+ });
1589
+ function resetScreenOrientationModeByWindow() {
1590
+ if (window.innerWidth < window.innerHeight) {
1591
+ screenOrientationMode.value = "Vertical";
1592
+ }
1593
+ }
1594
+ function updateScreenOrientationModeManually() {
1595
+ if (window.orientation === 180 || window.orientation === 0) {
1596
+ screenOrientationMode.value = "Vertical";
1597
+ }
1598
+ if (window.orientation === 90 || window.orientation === -90) {
1599
+ screenOrientationMode.value = "Horizontal";
1600
+ }
1601
+ resetScreenOrientationModeByWindow();
1602
+ }
1603
+ function onOrientationChange() {
1604
+ setTimeout(() => {
1605
+ const mql = window.matchMedia("(orientation: portrait)");
1606
+ if (mql == null ? void 0 : mql.matches) {
1607
+ screenOrientationMode.value = "Vertical";
1608
+ } else {
1609
+ screenOrientationMode.value = "Horizontal";
1610
+ }
1611
+ resetScreenOrientationModeByWindow();
1612
+ autoListenCb(screenOrientationMode.value);
1613
+ }, 200);
1614
+ }
1615
+ function listenOrientationEvent() {
1616
+ window.addEventListener(
1617
+ "onorientationchange" in window ? "orientationchange" : "resize",
1618
+ onOrientationChange,
1619
+ false
1620
+ );
1621
+ }
1622
+ function unlistenOrientationEvent() {
1623
+ window.removeEventListener(
1624
+ "onorientationchange" in window ? "orientationchange" : "resize",
1625
+ onOrientationChange,
1626
+ false
1627
+ );
1628
+ }
1629
+ onMounted(() => {
1630
+ if (autoListen) {
1631
+ listenOrientationEvent();
1632
+ onOrientationChange();
1633
+ }
1634
+ });
1635
+ onBeforeUnmount(() => {
1636
+ unlistenOrientationEvent();
1637
+ });
1638
+ return {
1639
+ screenOrientationMode,
1640
+ isVerticalScreenOrientation,
1641
+ isHorizontalScreenOrientation,
1642
+ pageFullscreen,
1643
+ listenOrientationEvent,
1644
+ updateScreenOrientationModeManually
1645
+ };
1646
+ };
1647
+ const useFullscreenApi = () => {
1648
+ const apis = [
1649
+ {
1650
+ enabledField: "fullscreenEnabled",
1651
+ elementField: "fullscreenElement",
1652
+ requestApiField: "requestFullscreen",
1653
+ exitApiField: "exitFullscreen",
1654
+ fullscreenChangeEvent: "fullscreenchange"
1655
+ },
1656
+ // New WebKit
1657
+ {
1658
+ enabledField: "webkitFullscreenEnabled",
1659
+ elementField: "webkitFullscreenElement",
1660
+ requestApiField: "webkitRequestFullscreen",
1661
+ exitApiField: "webkitExitFullscreen",
1662
+ fullscreenChangeEvent: "webkitfullscreenchange"
1663
+ },
1664
+ // Old WebKit
1665
+ {
1666
+ enabledField: "webkitCancelFullScreen",
1667
+ elementField: "webkitCurrentFullScreenElement",
1668
+ requestApiField: "webkitRequestFullScreen",
1669
+ exitApiField: "webkitCancelFullScreen",
1670
+ fullscreenChangeEvent: "webkitfullscreenchange"
1671
+ },
1672
+ {
1673
+ enabledField: "mozFullScreenEnabled",
1674
+ elementField: "mozFullScreenElement",
1675
+ requestApiField: "mozRequestFullScreen",
1676
+ exitApiField: "mozCancelFullScreen",
1677
+ fullscreenChangeEvent: "mozfullscreenchange"
1678
+ },
1679
+ {
1680
+ enabledField: "msFullscreenEnabled",
1681
+ elementField: "msFullscreenElement",
1682
+ requestApiField: "msRequestFullscreen",
1683
+ exitApiField: "msExitFullscreen",
1684
+ fullscreenChangeEvent: "MSFullscreenChange"
1685
+ }
1686
+ ];
1687
+ let fieldData;
1688
+ for (let i2 = 0; i2 < apis.length; i2++) {
1689
+ const item = apis[i2];
1690
+ if (item.enabledField in document) {
1691
+ fieldData = item;
1692
+ break;
1693
+ }
1694
+ }
1695
+ return {
1696
+ fieldData
1697
+ };
1698
+ };
1699
+ const useFullscreen = (elementRef = document.documentElement) => {
1700
+ const { fieldData } = useFullscreenApi();
1701
+ const isFullscreen = ref(false);
1702
+ const fullscreenElement = ref(null);
1703
+ const supportFullscreen = computed(() => !!fieldData);
1704
+ const getFullscreenTargetElement = () => {
1705
+ if (typeof elementRef === "function") {
1706
+ const res = elementRef();
1707
+ return unref(res) || document.documentElement;
1708
+ }
1709
+ return unref(elementRef) || document.documentElement;
1710
+ };
1711
+ function requestFullscreen() {
1712
+ const element = getFullscreenTargetElement();
1713
+ if (!fieldData || !element[fieldData.requestApiField]) {
1714
+ return;
1715
+ }
1716
+ element[fieldData.requestApiField]();
1717
+ }
1718
+ function exitFullscreen() {
1719
+ if (!fieldData) {
1720
+ return;
1721
+ }
1722
+ document[fieldData.exitApiField]();
1723
+ }
1724
+ function toggleFullscreen() {
1725
+ if (!fieldData) {
1726
+ return;
1727
+ }
1728
+ if (!document[fieldData.elementField]) {
1729
+ requestFullscreen();
1730
+ } else {
1731
+ exitFullscreen();
1732
+ }
1733
+ }
1734
+ function onFullscreenChange() {
1735
+ if (!fieldData) {
1736
+ return;
1737
+ }
1738
+ if (document[fieldData.elementField]) {
1739
+ isFullscreen.value = true;
1740
+ } else {
1741
+ isFullscreen.value = false;
1742
+ }
1743
+ fullscreenElement.value = document[fieldData.elementField];
1744
+ }
1745
+ onMounted(() => {
1746
+ if (fieldData) {
1747
+ document.addEventListener(fieldData.fullscreenChangeEvent, onFullscreenChange);
1748
+ if (document[fieldData.elementField]) {
1749
+ onFullscreenChange();
1750
+ }
1751
+ }
1752
+ });
1753
+ onBeforeUnmount(() => {
1754
+ if (!fieldData) {
1755
+ return;
1756
+ }
1757
+ document.removeEventListener(fieldData.fullscreenChangeEvent, onFullscreenChange);
1758
+ });
1759
+ return {
1760
+ isFullscreen,
1761
+ supportFullscreen,
1762
+ requestFullscreen,
1763
+ exitFullscreen,
1764
+ toggleFullscreen
1765
+ };
1766
+ };
1767
+ const popupPositionList = ["bottom", "left", "right", "center"];
1768
+ const COMMON_POPUP_PROVIDE_KEY = Symbol("plv-product-common-popup");
1769
+ const useCommonPopupInject = () => {
1770
+ const injectData = inject(COMMON_POPUP_PROVIDE_KEY, {});
1771
+ return injectData;
1772
+ };
1773
+ const useDynamicHeight = (options) => {
1774
+ const { initHeightRatio = 0.7, maxHeightRatio = 0.85 } = options || {};
1775
+ const prevScrollTop = ref(0);
1776
+ const dynamicHeightIncrementRatio = ref(0);
1777
+ const rafId = ref(null);
1778
+ const dynamicContentHeightPercent = computed(() => {
1779
+ return Math.min(initHeightRatio + dynamicHeightIncrementRatio.value, maxHeightRatio);
1780
+ });
1781
+ const isReachMaxHeight = computed(() => {
1782
+ return dynamicHeightIncrementRatio.value + initHeightRatio >= maxHeightRatio;
1783
+ });
1784
+ function handleScroll(event) {
1785
+ if (rafId.value !== null) return;
1786
+ rafId.value = requestAnimationFrame(() => {
1787
+ const target = event.target;
1788
+ const scrollTop = target.scrollTop;
1789
+ const scrollHeight = target.scrollHeight;
1790
+ const clientHeight = target.clientHeight;
1791
+ if (!isReachMaxHeight.value && scrollTop > prevScrollTop.value) {
1792
+ dynamicHeightIncrementRatio.value += (scrollTop - prevScrollTop.value) / (scrollHeight - clientHeight);
1793
+ prevScrollTop.value = scrollTop;
1794
+ }
1795
+ rafId.value = null;
1796
+ });
1797
+ }
1798
+ function reset() {
1799
+ dynamicHeightIncrementRatio.value = 0;
1800
+ prevScrollTop.value = 0;
1801
+ if (rafId.value !== null) {
1802
+ cancelAnimationFrame(rafId.value);
1803
+ rafId.value = null;
1804
+ }
1805
+ }
1806
+ return {
1807
+ dynamicContentHeightPercent,
1808
+ handleScroll,
1809
+ reset
1810
+ };
1811
+ };
1812
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1813
+ __name: "index",
1814
+ props: {
1815
+ value: PropUtils.bool.def(false),
1816
+ /** 标题 */
1817
+ title: PropUtils.string.def(""),
1818
+ /** 背景模式 */
1819
+ backgroundMode: PropUtils.oneOf(["bg1"]),
1820
+ /** 背景 */
1821
+ background: PropUtils.string,
1822
+ /** 显示关闭 */
1823
+ closeable: PropUtils.bool.def(true),
1824
+ /** 填充 */
1825
+ fillBody: PropUtils.bool.def(false),
1826
+ /** 是否显示返回按钮 */
1827
+ backable: PropUtils.bool.def(false),
1828
+ /** 头部高度 */
1829
+ headerHeight: PropUtils.string.def("52px"),
1830
+ /** 使用页面高度百分比,0 ~ 1,当 enableDynamicHeight 为 true 时,该配置无效 */
1831
+ contentHeightPercent: PropUtils.oneOfType([Boolean, Number]).def(0.7),
1832
+ /** 是否显示头部 */
1833
+ showHeader: PropUtils.bool.def(true),
1834
+ /** 打开事件 */
1835
+ openEvent: PropUtils.looseString,
1836
+ /** 位置 */
1837
+ position: PropUtils.oneOf(popupPositionList),
1838
+ /** 在屏幕横屏时,强制使用的位置 */
1839
+ horizontalScreenPosition: PropUtils.oneOf(popupPositionList).def("right"),
1840
+ /** 在屏幕横屏时,弹层 className */
1841
+ horizontalScreenClassName: PropUtils.string,
1842
+ /** 宽度 */
1843
+ width: PropUtils.looseString,
1844
+ /** 插入到的节点 */
1845
+ appendTo: PropUtils.looseElement,
1846
+ /** 是否显示遮罩层 */
1847
+ showModal: PropUtils.looseBool,
1848
+ /** 配置 */
1849
+ popupConfig: PropUtils.object(),
1850
+ /** 是否显示滚动条 */
1851
+ showScrollbar: PropUtils.bool.def(true),
1852
+ /** 点击遮罩是否关闭 */
1853
+ closeOnMask: PropUtils.bool.def(true),
1854
+ /** 自定义关闭弹层 */
1855
+ customClose: PropUtils.func(),
1856
+ /** 自定义返回 */
1857
+ customBack: PropUtils.func(),
1858
+ /** 开启后,滑动内容区域,弹层高度会逐渐增大 */
1859
+ enableDynamicHeight: PropUtils.bool.def(false),
1860
+ /** 动态高度配置 */
1861
+ dynamicHeightOptions: PropUtils.object()
1862
+ },
1863
+ emits: {
1864
+ input: emitFunc(),
1865
+ "after-leave": emitFunc()
1866
+ },
1867
+ setup(__props, { expose, emit }) {
1868
+ const props = __props;
1869
+ const { injectData: globalInjectData } = useGlobalInject();
1870
+ const popupInjectData = useCommonPopupInject();
1871
+ const { isHorizontalScreenOrientation, pageFullscreen } = useScreenOrientHook();
1872
+ const { isFullscreen } = useFullscreen();
1873
+ const { dynamicContentHeightPercent, handleScroll, reset: resetContentHeight } = useDynamicHeight(props.dynamicHeightOptions);
1874
+ function getOriginAppendTo() {
1875
+ var _a, _b, _c, _d;
1876
+ return (_d = (_b = props.appendTo) != null ? _b : (_a = props.popupConfig) == null ? void 0 : _a.appendTo) != null ? _d : (_c = unref(popupInjectData.popupConfig)) == null ? void 0 : _c.appendTo;
1877
+ }
1878
+ const popupAppendTo = computed(() => {
1879
+ let appendToElem = getOriginAppendTo();
1880
+ if (isFullscreen.value && unref(globalInjectData.fullscreenElement)) {
1881
+ let fullscreenElement = unref(globalInjectData.fullscreenElement);
1882
+ if (typeof fullscreenElement === "string") {
1883
+ fullscreenElement = document.querySelector(fullscreenElement) || void 0;
1884
+ } else {
1885
+ fullscreenElement = fullscreenElement;
1886
+ }
1887
+ if (fullscreenElement) {
1888
+ appendToElem = fullscreenElement;
1889
+ }
1890
+ }
1891
+ return appendToElem;
1892
+ });
1893
+ const popupShowModal = computed(() => {
1894
+ var _a, _b, _c, _d, _e;
1895
+ return (_e = (_d = (_b = props.showModal) != null ? _b : (_a = props.popupConfig) == null ? void 0 : _a.showModal) != null ? _d : (_c = unref(popupInjectData.popupConfig)) == null ? void 0 : _c.showModal) != null ? _e : true;
1896
+ });
1897
+ function getOriginPosition() {
1898
+ var _a, _b;
1899
+ let originPosition = props.position || ((_a = props.popupConfig) == null ? void 0 : _a.position) || ((_b = unref(popupInjectData.popupConfig)) == null ? void 0 : _b.position);
1900
+ if (originPosition) {
1901
+ return originPosition;
1902
+ }
1903
+ if (isMobile) {
1904
+ originPosition = "bottom";
1905
+ } else {
1906
+ originPosition = "center";
1907
+ }
1908
+ return originPosition;
1909
+ }
1910
+ const popupPosition = computed(() => {
1911
+ let originPosition = getOriginPosition();
1912
+ if (originPosition === "bottom" && isHorizontalScreenOrientation.value) {
1913
+ originPosition = props.horizontalScreenPosition;
1914
+ }
1915
+ return originPosition;
1916
+ });
1917
+ const wrapClass = computed(() => {
1918
+ const cls = [];
1919
+ if (props.fillBody) {
1920
+ cls.push("plv-product-common-popup--fill-body");
1921
+ }
1922
+ if (popupPosition.value) {
1923
+ cls.push(`plv-product-common-popup--position-${popupPosition.value}`);
1924
+ }
1925
+ if (isMobile) {
1926
+ cls.push("plv-product-common-popup--mobile");
1927
+ }
1928
+ if (!popupShowModal.value) {
1929
+ cls.push("plv-product-common-popup--hide-modal");
1930
+ }
1931
+ if (!props.showScrollbar) {
1932
+ cls.push("plv-product-common-popup--hide-scrollbar");
1933
+ }
1934
+ if (isHorizontalScreenOrientation.value) {
1935
+ cls.push("plv-product-common-popup--horizontal-screen");
1936
+ if (props.horizontalScreenClassName) {
1937
+ cls.push(props.horizontalScreenClassName);
1938
+ }
1939
+ }
1940
+ if (pageFullscreen.value) {
1941
+ cls.push("plv-product-common-popup--page-fullscreen");
1942
+ }
1943
+ return cls;
1944
+ });
1945
+ const wrapStyle = computed(() => {
1946
+ const styles = {};
1947
+ if (popupAppendTo.value && popupAppendTo.value !== document.body) {
1948
+ styles.position = "absolute";
1949
+ }
1950
+ return styles;
1951
+ });
1952
+ const headerStyle = computed(() => {
1953
+ const styles = {};
1954
+ if (props.headerHeight) {
1955
+ styles.height = props.headerHeight;
1956
+ }
1957
+ return styles;
1958
+ });
1959
+ const bodyWidth = computed(() => {
1960
+ var _a, _b;
1961
+ let width = props.width || ((_a = props.popupConfig) == null ? void 0 : _a.width) || ((_b = unref(popupInjectData.popupConfig)) == null ? void 0 : _b.width);
1962
+ if (width) {
1963
+ return width;
1964
+ }
1965
+ width = "100%";
1966
+ switch (popupPosition.value) {
1967
+ case "bottom":
1968
+ width = "100%";
1969
+ break;
1970
+ case "left":
1971
+ width = "375px";
1972
+ break;
1973
+ case "right":
1974
+ width = "375px";
1975
+ break;
1976
+ case "center":
1977
+ width = "375px";
1978
+ break;
1979
+ }
1980
+ return width;
1981
+ });
1982
+ const bodyHeight = computed(() => {
1983
+ if (props.fillBody) {
1984
+ return "90%";
1985
+ }
1986
+ if (props.enableDynamicHeight) {
1987
+ return document.documentElement.clientHeight * dynamicContentHeightPercent.value;
1988
+ }
1989
+ if (typeof props.contentHeightPercent === "number") {
1990
+ return document.documentElement.clientHeight * props.contentHeightPercent;
1991
+ }
1992
+ return null;
1993
+ });
1994
+ const bodyClass = computed(() => {
1995
+ const cls = [];
1996
+ if (props.backgroundMode) {
1997
+ cls.push(`plv-product-common-popup__body--${props.backgroundMode}`);
1998
+ }
1999
+ return cls;
2000
+ });
2001
+ const bodyStyle = computed(() => {
2002
+ const styles = {};
2003
+ if (props.background) {
2004
+ styles.background = props.background;
2005
+ }
2006
+ if (bodyWidth.value) {
2007
+ styles.width = bodyWidth.value;
2008
+ }
2009
+ if (bodyHeight.value) {
2010
+ styles.height = `${bodyHeight.value}px`;
2011
+ }
2012
+ return styles;
2013
+ });
2014
+ const wrapVisible = ref(false);
2015
+ const bodyVisible = ref(false);
2016
+ const wrapRef = ref();
2017
+ const innerRef = ref();
2018
+ useAppendTo(wrapRef, popupAppendTo);
2019
+ function topicPopup() {
2020
+ return __async(this, null, function* () {
2021
+ yield nextTick();
2022
+ if (wrapRef.value) {
2023
+ PlvPopperManager.openPopper(wrapRef.value);
2024
+ }
2025
+ });
2026
+ }
2027
+ if (props.openEvent) {
2028
+ useEventBusListener(props.openEvent, () => {
2029
+ topicPopup();
2030
+ });
2031
+ }
2032
+ function onBodyScroll(event) {
2033
+ if (props.enableDynamicHeight) {
2034
+ handleScroll(event);
2035
+ }
2036
+ }
2037
+ function open() {
2038
+ wrapVisible.value = true;
2039
+ bodyVisible.value = true;
2040
+ topicPopup();
2041
+ }
2042
+ function closeBody() {
2043
+ bodyVisible.value = false;
2044
+ emit("input", false);
2045
+ }
2046
+ function close() {
2047
+ if (props.customClose) {
2048
+ props.customClose({ closeBody });
2049
+ return;
2050
+ }
2051
+ closeBody();
2052
+ }
2053
+ function onClickMask() {
2054
+ if (!props.closeOnMask) {
2055
+ return;
2056
+ }
2057
+ close();
2058
+ }
2059
+ function back() {
2060
+ if (props.customBack) {
2061
+ props.customBack({ closeBody });
2062
+ return;
2063
+ }
2064
+ closeBody();
2065
+ }
2066
+ function onAfterLeave() {
2067
+ wrapVisible.value = false;
2068
+ emit("after-leave");
2069
+ if (props.enableDynamicHeight) {
2070
+ resetContentHeight();
2071
+ }
2072
+ }
2073
+ function resetScroll() {
2074
+ if (innerRef.value) {
2075
+ innerRef.value.scrollTop = 0;
2076
+ }
2077
+ }
2078
+ watch(
2079
+ () => props.value,
2080
+ () => {
2081
+ if (props.value) {
2082
+ open();
2083
+ } else {
2084
+ closeBody();
2085
+ }
2086
+ }
2087
+ );
2088
+ onMounted(() => {
2089
+ if (props.value) {
2090
+ open();
2091
+ }
2092
+ });
2093
+ expose({
2094
+ resetScroll
2095
+ });
2096
+ return { __sfc: true, props, emit, globalInjectData, popupInjectData, isHorizontalScreenOrientation, pageFullscreen, isFullscreen, dynamicContentHeightPercent, handleScroll, resetContentHeight, getOriginAppendTo, popupAppendTo, popupShowModal, getOriginPosition, popupPosition, wrapClass, wrapStyle, headerStyle, bodyWidth, bodyHeight, bodyClass, bodyStyle, wrapVisible, bodyVisible, wrapRef, innerRef, topicPopup, onBodyScroll, open, closeBody, close, onClickMask, back, onAfterLeave, resetScroll, ProductIconClose, ProductIconArrowLeft };
2097
+ }
2098
+ });
2099
+ function normalizeComponent(scriptExports, render17, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
2100
+ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
2101
+ if (render17) {
2102
+ options.render = render17;
2103
+ options.staticRenderFns = staticRenderFns;
2104
+ options._compiled = true;
2105
+ }
2106
+ return {
2107
+ exports: scriptExports,
2108
+ options
2109
+ };
2110
+ }
2111
+ var _sfc_render$f = function render() {
2112
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
2113
+ return _c("div", { directives: [{ name: "show", rawName: "v-show", value: _setup.wrapVisible, expression: "wrapVisible" }], ref: "wrapRef", staticClass: "plv-product-common-popup", class: _setup.wrapClass, style: _setup.wrapStyle, on: { "click": _setup.onClickMask } }, [_c("transition", { attrs: { "name": "plv-product-common-popup-slide" }, on: { "after-leave": _setup.onAfterLeave } }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _setup.bodyVisible, expression: "bodyVisible" }], staticClass: "plv-product-common-popup__body", class: _setup.bodyClass, style: _setup.bodyStyle, on: { "click": function($event) {
2114
+ $event.stopPropagation();
2115
+ } } }, [_vm.showHeader ? [_vm._t("header", function() {
2116
+ return [_c("div", { staticClass: "plv-product-common-popup__header", style: _setup.headerStyle }, [_vm.backable ? _c(_setup.ProductIconArrowLeft, { staticClass: "plv-product-common-popup__back", on: { "click": function($event) {
2117
+ $event.stopPropagation();
2118
+ return _setup.back.apply(null, arguments);
2119
+ } } }) : _vm._e(), _vm.title ? _c("div", { staticClass: "plv-product-common-popup__title" }, [_vm._v(" " + _vm._s(_vm.title) + " ")]) : _vm._e(), _c("div", { staticClass: "plv-product-common-popup__header-right" }, [_vm._t("header-right", function() {
2120
+ return [_vm.closeable ? _c(_setup.ProductIconClose, { staticClass: "plv-product-common-popup__close", on: { "click": _setup.close } }) : _vm._e()];
2121
+ })], 2)], 1)];
2122
+ })] : _vm._e(), _c("div", { staticClass: "plv-product-common-popup__content" }, [_c("div", { ref: "innerRef", staticClass: "plv-product-common-popup__inner", on: { "scroll": _setup.onBodyScroll } }, [_vm._t("default")], 2)])], 2)])], 1);
2123
+ };
2124
+ var _sfc_staticRenderFns$f = [];
2125
+ var __component__$f = /* @__PURE__ */ normalizeComponent(
2126
+ _sfc_main$f,
2127
+ _sfc_render$f,
2128
+ _sfc_staticRenderFns$f
2129
+ );
2130
+ const CommonPopup = __component__$f.exports;
2131
+ const productEvents = {
2132
+ /**
2133
+ * 打开商品列表弹层
2134
+ */
2135
+ OpenProductListPopup: "openProductListPopup",
2136
+ /**
2137
+ * 打开商品详情弹层
2138
+ */
2139
+ OpenProductDetailPopup: "openProductDetailPopup",
2140
+ /**
2141
+ * 关闭商品详情弹层
2142
+ */
2143
+ CloseProductDetailPopup: "closeProductDetailPopup",
2144
+ /**
2145
+ * 打开订单列表弹层
2146
+ */
2147
+ OpenProductOrderListPopup: "openProductOrderListPopup",
2148
+ /**
2149
+ * 打开订单详情弹层
2150
+ */
2151
+ OpenProductOrderDetailPopup: "openProductOrderDetailPopup",
2152
+ /**
2153
+ * 刷新订单列表状态
2154
+ */
2155
+ RefreshProductOrderListStatus: "refreshProductOrderListStatus",
2156
+ /**
2157
+ * 刷新订单详情状态
2158
+ */
2159
+ RefreshProductOrderDetailStatus: "refreshProductOrderDetailStatus",
2160
+ /**
2161
+ * 打开订单弹层
2162
+ */
2163
+ OpenProductOrderPopup: "openProductOrderPopup",
2164
+ /**
2165
+ * 打开收货地址列表弹层
2166
+ */
2167
+ OpenProductAddressListPopup: "openProductAddressListPopup",
2168
+ /**
2169
+ * 打开收货地址编辑弹层
2170
+ */
2171
+ OpenProductAddressEditPopup: "openProductAddressEditPopup",
2172
+ /**
2173
+ * 选择地址事件
2174
+ * @description
2175
+ * 1. 收货地址列表页触发
2176
+ * 2. 订单页首次添加地址触发
2177
+ */
2178
+ ChooseAddress: "chooseAddress",
2179
+ /**
2180
+ * 打开 iframe 链接弹层
2181
+ */
2182
+ OpenProductIframeLinkPopup: "openProductIframeLinkPopup"
2183
+ };
2184
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
2185
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
2186
+ var root = freeGlobal || freeSelf || Function("return this")();
2187
+ var Symbol$1 = root.Symbol;
2188
+ var objectProto$4 = Object.prototype;
2189
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
2190
+ var nativeObjectToString$1 = objectProto$4.toString;
2191
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
2192
+ function getRawTag(value) {
2193
+ var isOwn = hasOwnProperty$3.call(value, symToStringTag$1), tag = value[symToStringTag$1];
2194
+ try {
2195
+ value[symToStringTag$1] = void 0;
2196
+ var unmasked = true;
2197
+ } catch (e) {
2198
+ }
2199
+ var result = nativeObjectToString$1.call(value);
2200
+ if (unmasked) {
2201
+ if (isOwn) {
2202
+ value[symToStringTag$1] = tag;
2203
+ } else {
2204
+ delete value[symToStringTag$1];
2205
+ }
2206
+ }
2207
+ return result;
2208
+ }
2209
+ var objectProto$3 = Object.prototype;
2210
+ var nativeObjectToString = objectProto$3.toString;
2211
+ function objectToString(value) {
2212
+ return nativeObjectToString.call(value);
2213
+ }
2214
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
2215
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
2216
+ function baseGetTag(value) {
2217
+ if (value == null) {
2218
+ return value === void 0 ? undefinedTag : nullTag;
2219
+ }
2220
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
2221
+ }
2222
+ function isObjectLike(value) {
2223
+ return value != null && typeof value == "object";
2224
+ }
2225
+ var symbolTag = "[object Symbol]";
2226
+ function isSymbol(value) {
2227
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
2228
+ }
2229
+ function arrayMap(array, iteratee) {
2230
+ var index = -1, length = array == null ? 0 : array.length, result = Array(length);
2231
+ while (++index < length) {
2232
+ result[index] = iteratee(array[index], index, array);
2233
+ }
2234
+ return result;
2235
+ }
2236
+ var isArray = Array.isArray;
2237
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
2238
+ function baseToString(value) {
2239
+ if (typeof value == "string") {
2240
+ return value;
2241
+ }
2242
+ if (isArray(value)) {
2243
+ return arrayMap(value, baseToString) + "";
2244
+ }
2245
+ if (isSymbol(value)) {
2246
+ return symbolToString ? symbolToString.call(value) : "";
2247
+ }
2248
+ var result = value + "";
2249
+ return result == "0" && 1 / value == -Infinity ? "-0" : result;
2250
+ }
2251
+ var reWhitespace = /\s/;
2252
+ function trimmedEndIndex(string) {
2253
+ var index = string.length;
2254
+ while (index-- && reWhitespace.test(string.charAt(index))) {
2255
+ }
2256
+ return index;
2257
+ }
2258
+ var reTrimStart = /^\s+/;
2259
+ function baseTrim(string) {
2260
+ return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
2261
+ }
2262
+ function isObject(value) {
2263
+ var type = typeof value;
2264
+ return value != null && (type == "object" || type == "function");
2265
+ }
2266
+ var NAN = 0 / 0;
2267
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
2268
+ var reIsBinary = /^0b[01]+$/i;
2269
+ var reIsOctal = /^0o[0-7]+$/i;
2270
+ var freeParseInt = parseInt;
2271
+ function toNumber(value) {
2272
+ if (typeof value == "number") {
2273
+ return value;
2274
+ }
2275
+ if (isSymbol(value)) {
2276
+ return NAN;
2277
+ }
2278
+ if (isObject(value)) {
2279
+ var other = typeof value.valueOf == "function" ? value.valueOf() : value;
2280
+ value = isObject(other) ? other + "" : other;
2281
+ }
2282
+ if (typeof value != "string") {
2283
+ return value === 0 ? value : +value;
2284
+ }
2285
+ value = baseTrim(value);
2286
+ var isBinary = reIsBinary.test(value);
2287
+ return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
2288
+ }
2289
+ var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
2290
+ function isFunction(value) {
2291
+ if (!isObject(value)) {
2292
+ return false;
2293
+ }
2294
+ var tag = baseGetTag(value);
2295
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
2296
+ }
2297
+ var coreJsData = root["__core-js_shared__"];
2298
+ var maskSrcKey = function() {
2299
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
2300
+ return uid ? "Symbol(src)_1." + uid : "";
2301
+ }();
2302
+ function isMasked(func) {
2303
+ return !!maskSrcKey && maskSrcKey in func;
2304
+ }
2305
+ var funcProto$1 = Function.prototype;
2306
+ var funcToString$1 = funcProto$1.toString;
2307
+ function toSource(func) {
2308
+ if (func != null) {
2309
+ try {
2310
+ return funcToString$1.call(func);
2311
+ } catch (e) {
2312
+ }
2313
+ try {
2314
+ return func + "";
2315
+ } catch (e) {
2316
+ }
2317
+ }
2318
+ return "";
2319
+ }
2320
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
2321
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
2322
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
2323
+ var funcToString = funcProto.toString;
2324
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
2325
+ var reIsNative = RegExp(
2326
+ "^" + funcToString.call(hasOwnProperty$2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2327
+ );
2328
+ function baseIsNative(value) {
2329
+ if (!isObject(value) || isMasked(value)) {
2330
+ return false;
2331
+ }
2332
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
2333
+ return pattern.test(toSource(value));
2334
+ }
2335
+ function getValue(object, key) {
2336
+ return object == null ? void 0 : object[key];
2337
+ }
2338
+ function getNative(object, key) {
2339
+ var value = getValue(object, key);
2340
+ return baseIsNative(value) ? value : void 0;
2341
+ }
2342
+ function eq(value, other) {
2343
+ return value === other || value !== value && other !== other;
2344
+ }
2345
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
2346
+ function isKey(value, object) {
2347
+ if (isArray(value)) {
2348
+ return false;
2349
+ }
2350
+ var type = typeof value;
2351
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) {
2352
+ return true;
2353
+ }
2354
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
2355
+ }
2356
+ var nativeCreate = getNative(Object, "create");
2357
+ function hashClear() {
2358
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
2359
+ this.size = 0;
2360
+ }
2361
+ function hashDelete(key) {
2362
+ var result = this.has(key) && delete this.__data__[key];
2363
+ this.size -= result ? 1 : 0;
2364
+ return result;
2365
+ }
2366
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
2367
+ var objectProto$1 = Object.prototype;
2368
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
2369
+ function hashGet(key) {
2370
+ var data = this.__data__;
2371
+ if (nativeCreate) {
2372
+ var result = data[key];
2373
+ return result === HASH_UNDEFINED$1 ? void 0 : result;
2374
+ }
2375
+ return hasOwnProperty$1.call(data, key) ? data[key] : void 0;
2376
+ }
2377
+ var objectProto = Object.prototype;
2378
+ var hasOwnProperty = objectProto.hasOwnProperty;
2379
+ function hashHas(key) {
2380
+ var data = this.__data__;
2381
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
2382
+ }
2383
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
2384
+ function hashSet(key, value) {
2385
+ var data = this.__data__;
2386
+ this.size += this.has(key) ? 0 : 1;
2387
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
2388
+ return this;
2389
+ }
2390
+ function Hash(entries) {
2391
+ var index = -1, length = entries == null ? 0 : entries.length;
2392
+ this.clear();
2393
+ while (++index < length) {
2394
+ var entry = entries[index];
2395
+ this.set(entry[0], entry[1]);
2396
+ }
2397
+ }
2398
+ Hash.prototype.clear = hashClear;
2399
+ Hash.prototype["delete"] = hashDelete;
2400
+ Hash.prototype.get = hashGet;
2401
+ Hash.prototype.has = hashHas;
2402
+ Hash.prototype.set = hashSet;
2403
+ function listCacheClear() {
2404
+ this.__data__ = [];
2405
+ this.size = 0;
2406
+ }
2407
+ function assocIndexOf(array, key) {
2408
+ var length = array.length;
2409
+ while (length--) {
2410
+ if (eq(array[length][0], key)) {
2411
+ return length;
2412
+ }
2413
+ }
2414
+ return -1;
2415
+ }
2416
+ var arrayProto = Array.prototype;
2417
+ var splice = arrayProto.splice;
2418
+ function listCacheDelete(key) {
2419
+ var data = this.__data__, index = assocIndexOf(data, key);
2420
+ if (index < 0) {
2421
+ return false;
2422
+ }
2423
+ var lastIndex = data.length - 1;
2424
+ if (index == lastIndex) {
2425
+ data.pop();
2426
+ } else {
2427
+ splice.call(data, index, 1);
2428
+ }
2429
+ --this.size;
2430
+ return true;
2431
+ }
2432
+ function listCacheGet(key) {
2433
+ var data = this.__data__, index = assocIndexOf(data, key);
2434
+ return index < 0 ? void 0 : data[index][1];
2435
+ }
2436
+ function listCacheHas(key) {
2437
+ return assocIndexOf(this.__data__, key) > -1;
2438
+ }
2439
+ function listCacheSet(key, value) {
2440
+ var data = this.__data__, index = assocIndexOf(data, key);
2441
+ if (index < 0) {
2442
+ ++this.size;
2443
+ data.push([key, value]);
2444
+ } else {
2445
+ data[index][1] = value;
2446
+ }
2447
+ return this;
2448
+ }
2449
+ function ListCache(entries) {
2450
+ var index = -1, length = entries == null ? 0 : entries.length;
2451
+ this.clear();
2452
+ while (++index < length) {
2453
+ var entry = entries[index];
2454
+ this.set(entry[0], entry[1]);
2455
+ }
2456
+ }
2457
+ ListCache.prototype.clear = listCacheClear;
2458
+ ListCache.prototype["delete"] = listCacheDelete;
2459
+ ListCache.prototype.get = listCacheGet;
2460
+ ListCache.prototype.has = listCacheHas;
2461
+ ListCache.prototype.set = listCacheSet;
2462
+ var Map$1 = getNative(root, "Map");
2463
+ function mapCacheClear() {
2464
+ this.size = 0;
2465
+ this.__data__ = {
2466
+ "hash": new Hash(),
2467
+ "map": new (Map$1 || ListCache)(),
2468
+ "string": new Hash()
2469
+ };
2470
+ }
2471
+ function isKeyable(value) {
2472
+ var type = typeof value;
2473
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
2474
+ }
2475
+ function getMapData(map, key) {
2476
+ var data = map.__data__;
2477
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
2478
+ }
2479
+ function mapCacheDelete(key) {
2480
+ var result = getMapData(this, key)["delete"](key);
2481
+ this.size -= result ? 1 : 0;
2482
+ return result;
2483
+ }
2484
+ function mapCacheGet(key) {
2485
+ return getMapData(this, key).get(key);
2486
+ }
2487
+ function mapCacheHas(key) {
2488
+ return getMapData(this, key).has(key);
2489
+ }
2490
+ function mapCacheSet(key, value) {
2491
+ var data = getMapData(this, key), size = data.size;
2492
+ data.set(key, value);
2493
+ this.size += data.size == size ? 0 : 1;
2494
+ return this;
2495
+ }
2496
+ function MapCache(entries) {
2497
+ var index = -1, length = entries == null ? 0 : entries.length;
2498
+ this.clear();
2499
+ while (++index < length) {
2500
+ var entry = entries[index];
2501
+ this.set(entry[0], entry[1]);
2502
+ }
2503
+ }
2504
+ MapCache.prototype.clear = mapCacheClear;
2505
+ MapCache.prototype["delete"] = mapCacheDelete;
2506
+ MapCache.prototype.get = mapCacheGet;
2507
+ MapCache.prototype.has = mapCacheHas;
2508
+ MapCache.prototype.set = mapCacheSet;
2509
+ var FUNC_ERROR_TEXT$1 = "Expected a function";
2510
+ function memoize(func, resolver) {
2511
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") {
2512
+ throw new TypeError(FUNC_ERROR_TEXT$1);
2513
+ }
2514
+ var memoized = function() {
2515
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
2516
+ if (cache.has(key)) {
2517
+ return cache.get(key);
2518
+ }
2519
+ var result = func.apply(this, args);
2520
+ memoized.cache = cache.set(key, result) || cache;
2521
+ return result;
2522
+ };
2523
+ memoized.cache = new (memoize.Cache || MapCache)();
2524
+ return memoized;
2525
+ }
2526
+ memoize.Cache = MapCache;
2527
+ var MAX_MEMOIZE_SIZE = 500;
2528
+ function memoizeCapped(func) {
2529
+ var result = memoize(func, function(key) {
2530
+ if (cache.size === MAX_MEMOIZE_SIZE) {
2531
+ cache.clear();
2532
+ }
2533
+ return key;
2534
+ });
2535
+ var cache = result.cache;
2536
+ return result;
2537
+ }
2538
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
2539
+ var reEscapeChar = /\\(\\)?/g;
2540
+ var stringToPath = memoizeCapped(function(string) {
2541
+ var result = [];
2542
+ if (string.charCodeAt(0) === 46) {
2543
+ result.push("");
2544
+ }
2545
+ string.replace(rePropName, function(match, number, quote, subString) {
2546
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
2547
+ });
2548
+ return result;
2549
+ });
2550
+ function toString(value) {
2551
+ return value == null ? "" : baseToString(value);
2552
+ }
2553
+ function castPath(value, object) {
2554
+ if (isArray(value)) {
2555
+ return value;
2556
+ }
2557
+ return isKey(value, object) ? [value] : stringToPath(toString(value));
2558
+ }
2559
+ function toKey(value) {
2560
+ if (typeof value == "string" || isSymbol(value)) {
2561
+ return value;
2562
+ }
2563
+ var result = value + "";
2564
+ return result == "0" && 1 / value == -Infinity ? "-0" : result;
2565
+ }
2566
+ function baseGet(object, path) {
2567
+ path = castPath(path, object);
2568
+ var index = 0, length = path.length;
2569
+ while (object != null && index < length) {
2570
+ object = object[toKey(path[index++])];
2571
+ }
2572
+ return index && index == length ? object : void 0;
2573
+ }
2574
+ function get(object, path, defaultValue) {
2575
+ var result = object == null ? void 0 : baseGet(object, path);
2576
+ return result === void 0 ? defaultValue : result;
2577
+ }
2578
+ var now = function() {
2579
+ return root.Date.now();
2580
+ };
2581
+ var FUNC_ERROR_TEXT = "Expected a function";
2582
+ var nativeMax = Math.max, nativeMin = Math.min;
2583
+ function debounce(func, wait, options) {
2584
+ var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
2585
+ if (typeof func != "function") {
2586
+ throw new TypeError(FUNC_ERROR_TEXT);
2587
+ }
2588
+ wait = toNumber(wait) || 0;
2589
+ if (isObject(options)) {
2590
+ leading = !!options.leading;
2591
+ maxing = "maxWait" in options;
2592
+ maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
2593
+ trailing = "trailing" in options ? !!options.trailing : trailing;
2594
+ }
2595
+ function invokeFunc(time) {
2596
+ var args = lastArgs, thisArg = lastThis;
2597
+ lastArgs = lastThis = void 0;
2598
+ lastInvokeTime = time;
2599
+ result = func.apply(thisArg, args);
2600
+ return result;
2601
+ }
2602
+ function leadingEdge(time) {
2603
+ lastInvokeTime = time;
2604
+ timerId = setTimeout(timerExpired, wait);
2605
+ return leading ? invokeFunc(time) : result;
2606
+ }
2607
+ function remainingWait(time) {
2608
+ var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
2609
+ return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
2610
+ }
2611
+ function shouldInvoke(time) {
2612
+ var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
2613
+ return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
2614
+ }
2615
+ function timerExpired() {
2616
+ var time = now();
2617
+ if (shouldInvoke(time)) {
2618
+ return trailingEdge(time);
2619
+ }
2620
+ timerId = setTimeout(timerExpired, remainingWait(time));
2621
+ }
2622
+ function trailingEdge(time) {
2623
+ timerId = void 0;
2624
+ if (trailing && lastArgs) {
2625
+ return invokeFunc(time);
2626
+ }
2627
+ lastArgs = lastThis = void 0;
2628
+ return result;
2629
+ }
2630
+ function cancel() {
2631
+ if (timerId !== void 0) {
2632
+ clearTimeout(timerId);
2633
+ }
2634
+ lastInvokeTime = 0;
2635
+ lastArgs = lastCallTime = lastThis = timerId = void 0;
2636
+ }
2637
+ function flush() {
2638
+ return timerId === void 0 ? result : trailingEdge(now());
2639
+ }
2640
+ function debounced() {
2641
+ var time = now(), isInvoking = shouldInvoke(time);
2642
+ lastArgs = arguments;
2643
+ lastThis = this;
2644
+ lastCallTime = time;
2645
+ if (isInvoking) {
2646
+ if (timerId === void 0) {
2647
+ return leadingEdge(lastCallTime);
2648
+ }
2649
+ if (maxing) {
2650
+ clearTimeout(timerId);
2651
+ timerId = setTimeout(timerExpired, wait);
2652
+ return invokeFunc(lastCallTime);
2653
+ }
2654
+ }
2655
+ if (timerId === void 0) {
2656
+ timerId = setTimeout(timerExpired, wait);
2657
+ }
2658
+ return result;
2659
+ }
2660
+ debounced.cancel = cancel;
2661
+ debounced.flush = flush;
2662
+ return debounced;
2663
+ }
2664
+ const order$5 = { "title": "订单中心", "chooseAddress": "请添加收货地址", "add": "去添加", "phone": "手机号码:", "phonePlaceholder": "请输入手机号码", "submitOrder": "提交订单", "addAddress": "添加地址", "applyRefund": "申请退款", "refundTips": "退款金额 ", "confirmRefund": "退款", "refundFailed": "退款失败", "failed": "发起失败", "list": { "all": "全部", "waitPay": "待支付", "waitDelivery": "待发货", "delivering": "待收货", "finish": "已完成", "close": "已取消", "refunding": "退款中", "refunded": "已退款", "total": "合计", "waitPayBtnText": "立即支付", "waitDeliveryBtnText": "查看详情", "deliveringBtnText": "确认收货", "finishBtnText": "查看详情", "closeBtnText": "查看详情", "emptyText": "暂无订单" }, "detail": { "orderNo": "订单号", "createTime": "下单时间", "payTime": "支付时间", "deliveryTime": "发货时间", "finishTime": "完成时间", "actualPay": "实付", "payNow": "立即支付", "confirmReceipt": "确认收货", "expired": "已失效", "payAutoCancel": " 后自动取消", "cancelReason": "取消原因", "payTimeOut": "超时未支付", "refundTips": "退款金额原路返回", "qrCodeTips": "长按识别或截图保存,联系客服", "qrCodeExpiredTips": "二维码已失效,暂时无法联系客服", "paymentMethod": "支付方式", "wechat": "微信", "alipay": "支付宝" }, "confirmOrder": "确认订单", "shippingAddress": "收货地址", "noAddressTips": "请填写收货地址", "paySuccess": "支付成功", "cancelPay": "取消支付", "payFailed": "支付失败", "createOrderFailed": "无法创建订单,请稍后重试", "wechatPayTips": "请在微信中打开本页进行支付", "confirmReceiptTips": "请确认已经收到包裹", "confirmedReceipt": "已确认收货" };
2665
+ const addressEdit$5 = { "name": "联系人", "namePlaceholder": "请填写联系人姓名", "choiceAddress": "选择地区", "addressPlaceholder": "请选择地区", "phone": "手机号码", "phonePlaceholder": "请填写手机号码", "phoneError": "请输入正确的手机号", "addressDetail": "详细地址", "addressDetailPlaceholder": "请填写详细地址", "error": "请完善信息", "submit": "保存", "deleteConfirm": "确定要删除该地址吗?", "addAddress": "添加地址", "editAddress": "修改地址", "deleteAddress": "删除地址", "addSuccess": "保存成功", "addError": "保存失败", "editSuccess": "修改成功", "editError": "修改失败" };
2666
+ const zhCNLang = {
2667
+ "common.confirm": "确认",
2668
+ "common.cancel": "取消",
2669
+ "common.delete": "删除",
2670
+ "common.edit": "修改",
2671
+ "common.submitSuccess": "提交成功",
2672
+ "product.button.normal": "去购买",
2673
+ "product.button.finance": "立即了解",
2674
+ "product.button.position": "投递简历",
2675
+ "product.all": "全部",
2676
+ "product.searchPlaceholder": "输入商品名称搜索",
2677
+ "product.explaining": "讲解中",
2678
+ "product.watchExplain": "看讲解",
2679
+ "product.notExplained": "待讲解",
2680
+ "product.detail.title": "商品详情",
2681
+ "product.detail.video": "视频",
2682
+ "product.detail.image": "图片",
2683
+ "product.detail.job": "职位详情",
2684
+ "product.price.free": "免费",
2685
+ "product.empty": "暂无内容",
2686
+ "product.price.hidden": "待开价",
2687
+ "product.order": "订单",
2688
+ "product.num": "数量",
2689
+ "product.disableBuy": "暂不支持购买",
2690
+ "product.allProduct": "全部商品",
2691
+ "product.stock.soldOut": "已抢光",
2692
+ order: order$5,
2693
+ addressEdit: addressEdit$5
2694
+ };
2695
+ const order$4 = { "title": "訂單中心", "chooseAddress": "請添加收貨地址", "add": "去添加", "phone": "手機號碼:", "phonePlaceholder": "請輸入手機號碼", "submitOrder": "提交訂單", "addAddress": "添加地址", "applyRefund": "申請退款", "refundTips": "退款金額 ", "confirmRefund": "退款", "refundFailed": "退款失敗", "failed": "发起失敗", "list": { "all": "全部", "waitPay": "待支付", "waitDelivery": "待發貨", "delivering": "待收貨", "finish": "已完成", "close": "已取消", "refunding": "退款中", "refunded": "已退款", "total": "合計", "waitPayBtnText": "立即支付", "waitDeliveryBtnText": "查看詳情", "deliveringBtnText": "確認收貨", "finishBtnText": "查看詳情", "closeBtnText": "查看詳情", "emptyText": "暫無訂單" }, "detail": { "orderNo": "訂單號", "createTime": "下單時間", "payTime": "支付時間", "deliveryTime": "發貨時間", "finishTime": "完成時間", "actualPay": "實付", "payNow": "立即支付", "confirmReceipt": "確認收貨", "expired": "已失效", "payAutoCancel": " 後自動取消", "cancelReason": "取消原因", "payTimeOut": "超時未支付", "refundTips": "退款金額原路返回", "qrCodeTips": "長按識別或截圖保存,聯繫客服", "qrCodeExpiredTips": "二維碼已失效,暫時無法聯繫客服", "paymentMethod": "支付方式", "wechat": "微信", "alipay": "支付寶" }, "confirmOrder": "確認訂單", "shippingAddress": "收貨地址", "noAddressTips": "請填寫收貨地址", "paySuccess": "支付成功", "payFailed": "支付失敗", "cancelPay": "取消支付", "createOrderFailed": "無法創建訂單,請稍後重試", "wechatPayTips": "請在微信中打開本頁進行支付", "confirmReceiptTips": "請確認已經收到包裹", "confirmedReceipt": "已確認收貨" };
2696
+ const addressEdit$4 = { "name": "聯絡人", "namePlaceholder": "請填寫聯絡人", "choiceAddress": "選擇地區", "addressPlaceholder": "請選擇地區", "phone": "手機號碼", "phonePlaceholder": "請填寫手機號碼", "phoneError": "請輸入正確的手機號", "addressDetail": "詳細地址", "addressDetailPlaceholder": "請填寫詳細地址", "error": "請完善信息", "submit": "保存", "deleteConfirm": "確定要刪除該地址嗎?", "deleteAddress": "刪除地址", "addAddress": "添加地址", "editAddress": "修改地址", "addSuccess": "保存成功", "addError": "保存失敗", "editSuccess": "修改成功", "editError": "修改失敗" };
2697
+ const zhTWLang = {
2698
+ "common.confirm": "確認",
2699
+ "common.cancel": "取消",
2700
+ "common.delete": "刪除",
2701
+ "common.edit": "修改",
2702
+ "common.submitSuccess": "提交成功",
2703
+ "product.button.normal": "去購買",
2704
+ "product.button.finance": "立即瞭解",
2705
+ "product.button.position": "投遞簡歷",
2706
+ "product.all": "全部",
2707
+ "product.searchPlaceholder": "輸入商品名稱搜索",
2708
+ "product.explaining": "講解中",
2709
+ "product.watchExplain": "看講解",
2710
+ "product.notExplained": "待講解",
2711
+ "product.detail.title": "商品詳情",
2712
+ "product.detail.video": "視頻",
2713
+ "product.detail.image": "圖片",
2714
+ "product.detail.job": "職位詳情",
2715
+ "product.price.free": "免費",
2716
+ "product.empty": "暫無內容",
2717
+ "product.price.hidden": "待開價",
2718
+ "product.order": "訂單",
2719
+ "product.num": "數量",
2720
+ "product.disableBuy": "暫不支持購買",
2721
+ "product.allProduct": "全部商品",
2722
+ "product.stock.soldOut": "已搶光",
2723
+ order: order$4,
2724
+ addressEdit: addressEdit$4
2725
+ };
2726
+ const order$3 = { "title": "Order Center", "chooseAddress": "Add Shipping Address", "add": "Add Shipping Address", "phone": "Phone:", "phonePlaceholder": "Enter Phone", "submitOrder": "Submit", "addAddress": "Add Address", "applyRefund": "Apply Refund", "refundTips": "Refund Amount ", "confirmRefund": "Refund", "refundFailed": "Refund Failed", "failed": "Failed", "list": { "all": "All", "waitPay": "Wait Payment", "waitDelivery": "Wait Delivery", "delivering": "Delivering", "finish": "Finished", "close": "Closed", "refunding": "Refunding", "refunded": "Refunded", "total": "Total", "waitPayBtnText": "Pay Now", "waitDeliveryBtnText": "View Details", "deliveringBtnText": "Confirm Receipt", "finishBtnText": "View Details", "closeBtnText": "View Details", "emptyText": "No Order History" }, "detail": { "orderNo": "Order Number", "createTime": "Order Time", "payTime": "Payment Time", "deliveryTime": "Delivery Time", "finishTime": "Completion Time", "actualPay": "Total Amount", "payNow": "Pay Now", "confirmReceipt": "Confirm Receipt", "expired": "Expired", "payAutoCancel": "Cancel", "cancelReason": "Cancel Reason", "payTimeOut": "Pay Time Out", "refundTips": "Refund amount returned to the original path", "qrCodeTips": "Long press to scan or save screenshot for support", "qrCodeExpiredTips": "QR code expired, support unavailable", "paymentMethod": "Payment Method", "wechat": "Wechat", "alipay": "Alipay" }, "confirmOrder": "Confirm Order", "shippingAddress": "Shipping Address", "noAddressTips": "Please fill in the shipping address", "paySuccess": "Payment Success", "cancelPay": "Cancel Payment", "payFailed": "Payment Failed", "createOrderFailed": "Failed to create order, please try again later", "wechatPayTips": "Please open this page in WeChat to pay", "confirmReceiptTips": "Have you received the package?", "confirmedReceipt": "Confirmed Receipt" };
2727
+ const addressEdit$3 = { "name": "Name", "namePlaceholder": "Enter Name", "choiceAddress": "Select Area", "addressPlaceholder": "Select Area", "phone": "Phone", "phonePlaceholder": "Enter Phone", "phoneError": "Please enter a valid phone number", "addressDetail": "Address Detail", "addressDetailPlaceholder": "Enter Address Detail", "error": "Please fill in all required fields", "submit": "Save", "deleteConfirm": "Delete this address?", "deleteAddress": "Yes", "addAddress": "Add Address", "editAddress": "Edit Address", "addSuccess": "Save Success", "addError": "Save Failed", "editSuccess": "Edit Success", "editError": "Edit Failed" };
2728
+ const enLang = {
2729
+ "common.confirm": "Confirm",
2730
+ "common.cancel": "Cancel",
2731
+ "common.delete": "Delete",
2732
+ "common.edit": "Edit",
2733
+ "common.submitSuccess": "Submit Success",
2734
+ "product.button.normal": "Buy Now",
2735
+ "product.button.finance": "Learn More",
2736
+ "product.button.position": "Submit Resume",
2737
+ "product.all": "All",
2738
+ "product.searchPlaceholder": "Search by product name",
2739
+ "product.explaining": "Explaining",
2740
+ "product.watchExplain": "Watch Now",
2741
+ "product.notExplained": "Pending",
2742
+ "product.detail.title": "Product Details",
2743
+ "product.detail.video": "Video",
2744
+ "product.detail.image": "Image",
2745
+ "product.detail.job": "Job Details",
2746
+ "product.price.free": "Free",
2747
+ "product.empty": "No Content",
2748
+ "product.price.hidden": "Pending Price",
2749
+ "product.order": "Order",
2750
+ "product.num": "Quantity",
2751
+ "product.disableBuy": "Purchase not supported",
2752
+ "product.allProduct": "Products",
2753
+ "product.stock.soldOut": "Sold Out",
2754
+ order: order$3,
2755
+ addressEdit: addressEdit$3
2756
+ };
2757
+ const order$2 = { "title": "注文中心", "chooseAddress": "配送先を追加", "add": "配送先を追加", "phone": "電話番号:", "phonePlaceholder": "電話番号を入力", "submitOrder": "注文を提出", "addAddress": "配送先を追加", "applyRefund": "退款申請", "refundTips": "退款金額 ", "confirmRefund": "退款", "refundFailed": "退款失敗", "failed": "失敗", "list": { "all": "全て", "waitPay": "支払い待ち", "waitDelivery": "発送待ち", "delivering": "配送中", "finish": "完了", "close": "キャンセル", "refunding": "退款中", "refunded": "退款完了", "total": "合計", "waitPayBtnText": "支払い", "waitDeliveryBtnText": "詳細を見る", "deliveringBtnText": "確認受け取り", "finishBtnText": "詳細を見る", "closeBtnText": "詳細を見る", "emptyText": "注文履歴がありません" }, "detail": { "orderNo": "注文番号", "createTime": "注文日時", "payTime": "支払い日時", "deliveryTime": "発送日時", "finishTime": "完了日時", "actualPay": "実払い", "payNow": "支払い", "confirmReceipt": "確認受け取り", "expired": "失効", "payAutoCancel": " 後自動キャンセル", "cancelReason": "キャンセル理由", "payTimeOut": "超時未支払い", "refundTips": "退款金額原路返回", "qrCodeTips": "長押し識別またはスクリーンショット保存、サポートにお問い合わせください", "qrCodeExpiredTips": "QRコードは失効しました。暫時的にサポートに連絡できません", "paymentMethod": "支払い方法", "wechat": "ウェブアプリ", "alipay": "アリペイ" }, "confirmOrder": "注文を確認", "shippingAddress": "配送先", "noAddressTips": "配送先を入力してください", "paySuccess": "支払い成功", "cancelPay": "支払いをキャンセル", "payFailed": "支払い失敗", "createOrderFailed": "注文の作成に失敗しました。後で再試行してください。", "wechatPayTips": "WeChatでこのページを開いて支払いしてください", "confirmReceiptTips": "パッケージを確認しましたか?", "confirmedReceipt": "確認受け取り完了" };
2758
+ const addressEdit$2 = { "name": "連絡先", "namePlaceholder": "連絡先を入力", "choiceAddress": "地域を選択", "addressPlaceholder": "地域を選択", "phone": "電話番号", "phonePlaceholder": "電話番号を入力", "phoneError": "正しい電話番号を入力してください", "addressDetail": "詳細住所", "addressDetailPlaceholder": "詳細住所を入力", "error": "情報を入力してください", "submit": "保存", "deleteConfirm": "この住所を削除しますか?", "deleteAddress": "住所を削除", "addAddress": "住所を追加", "editAddress": "住所を編集", "addSuccess": "保存成功", "addError": "保存失敗", "editSuccess": "編集成功", "editError": "編集失敗" };
2759
+ const jaLang = {
2760
+ "common.confirm": "確認",
2761
+ "common.cancel": "キャンセル",
2762
+ "common.delete": "削除",
2763
+ "common.edit": "編集",
2764
+ "common.submitSuccess": "提出成功",
2765
+ "product.button.normal": "購入する",
2766
+ "product.button.finance": "今すぐ詳細を見る",
2767
+ "product.button.position": "履歴書を送信",
2768
+ "product.all": "すべて",
2769
+ "product.searchPlaceholder": "商品名を検索",
2770
+ "product.explaining": "解説中",
2771
+ "product.watchExplain": "解説を見る",
2772
+ "product.notExplained": "解説なし",
2773
+ "product.detail.title": "商品詳細",
2774
+ "product.detail.video": "ビデオ",
2775
+ "product.detail.image": "画像",
2776
+ "product.detail.job": "職務詳細",
2777
+ "product.price.free": "無料",
2778
+ "product.empty": "内容なし",
2779
+ "product.price.hidden": "価格非公開",
2780
+ "product.order": "注文",
2781
+ "product.num": "数量",
2782
+ "product.disableBuy": "購入不可",
2783
+ "product.allProduct": "すべての商品",
2784
+ "product.stock.soldOut": "売り切れ",
2785
+ order: order$2,
2786
+ addressEdit: addressEdit$2
2787
+ };
2788
+ const order$1 = { "title": "주문 센터", "chooseAddress": "주문 주소 추가", "add": "주문 주소 추가", "phone": "전화번호:", "phonePlaceholder": "전화번호 입력", "submitOrder": "주문 제출", "addAddress": "주문 주소 추가", "applyRefund": "환불 신청", "refundTips": "환불 금액 ", "confirmRefund": "환불", "refundFailed": "환불 실패", "failed": "실패", "list": { "all": "전체", "waitPay": "결제 대기", "waitDelivery": "배송 대기", "delivering": "배송 중", "finish": "완료", "close": "취소", "refunding": "환불 중", "refunded": "환불 완료", "total": "총 금액", "waitPayBtnText": "결제하기", "waitDeliveryBtnText": "상세 보기", "deliveringBtnText": "확인 받기", "finishBtnText": "상세 보기", "closeBtnText": "상세 보기", "emptyText": "주문 내역이 없습니다." }, "detail": { "orderNo": "주문번호", "createTime": "주문일시", "payTime": "결제일시", "deliveryTime": "배송일시", "finishTime": "완료일시", "actualPay": "총 금액", "payNow": "결제하기", "confirmReceipt": "확인 받기", "expired": "만료", "payAutoCancel": " 후 자동 취소", "cancelReason": "취소 사유", "payTimeOut": "결제 시간 초과", "refundTips": "환불 금액 원래 경로로 반환", "qrCodeTips": "장치 인식 또는 스크린샷 저장 후 문의", "qrCodeExpiredTips": "이미 만료되었습니다. 잠시 후 다시 시도해주세요.", "paymentMethod": "결제 방법", "wechat": "웹앱", "alipay": "알리페이" }, "confirmOrder": "주문 확인", "shippingAddress": "배송 주소", "noAddressTips": "배송 주소를 입력해주세요", "paySuccess": "결제 성공", "cancelPay": "결제 취소", "payFailed": "결제 실패", "createOrderFailed": "주문 생성에 실패했습니다. 나중에 다시 시도해주세요.", "wechatPayTips": "카카오톡에서 이 페이지를 열어 결제해주세요", "confirmReceiptTips": "패키지를 확인하셨습니까?", "confirmedReceipt": "확인 받기 완료" };
2789
+ const addressEdit$1 = { "name": "연락처", "namePlaceholder": "연락처 입력", "choiceAddress": "지역 선택", "addressPlaceholder": "지역 선택", "phone": "전화번호", "phonePlaceholder": "전화번호 입력", "phoneError": "올바른 전화번호를 입력해주세요", "addressDetail": "상세 주소", "addressDetailPlaceholder": "상세 주소 입력", "error": "정보를 입력해주세요.", "submit": "저장", "deleteConfirm": "주소를 삭제하시겠습니까?", "deleteAddress": "주소 삭제", "addAddress": "주소 추가", "editAddress": "주소 수정", "addSuccess": "저장 성공", "addError": "저장 실패", "editSuccess": "수정 성공", "editError": "수정 실패" };
2790
+ const koLang = {
2791
+ "common.confirm": "확인",
2792
+ "common.cancel": "취소",
2793
+ "common.delete": "삭제",
2794
+ "common.edit": "수정",
2795
+ "common.submitSuccess": "제출 성공",
2796
+ "product.button.normal": "구매하기",
2797
+ "product.button.finance": "지금 알아보기",
2798
+ "product.button.position": "이력서 제출",
2799
+ "product.all": "모든",
2800
+ "product.searchPlaceholder": "상품 이름 검색",
2801
+ "product.explaining": "설명중",
2802
+ "product.watchExplain": "설명 보기",
2803
+ "product.notExplained": "설명 없음",
2804
+ "product.detail.title": "상품 상세",
2805
+ "product.detail.video": "비디오",
2806
+ "product.detail.image": "이미지",
2807
+ "product.detail.job": "직무 상세",
2808
+ "product.price.free": "무료",
2809
+ "product.empty": "내용 없음",
2810
+ "product.price.hidden": "가격 미공개",
2811
+ "product.order": "주문",
2812
+ "product.num": "수량",
2813
+ "product.disableBuy": "구매 불가",
2814
+ "product.allProduct": "모든 상품",
2815
+ "product.stock.soldOut": "품절",
2816
+ order: order$1,
2817
+ addressEdit: addressEdit$1
2818
+ };
2819
+ const order = { "title": "Центр заказов", "chooseAddress": "Пожалуйста, добавьте адрес доставки", "add": "Добавить", "phone": "Номер телефона:", "phonePlaceholder": "Пожалуйста, введите номер телефона", "submitOrder": "Отправить заказ", "addAddress": "Добавить адрес", "applyRefund": "Заявить о возврате", "refundTips": "Сумма возврата ", "confirmRefund": "Возврат", "refundFailed": "Возврат не удался", "failed": "Не удалось инициировать", "list": { "all": "Все", "waitPay": "Ожидает оплаты", "waitDelivery": "Ожидает отправки", "delivering": "Ожидает получения", "finish": "Завершено", "close": "Отменено", "refunding": "В процессе возврата", "refunded": "Возвращено", "total": "Итого", "waitPayBtnText": "Оплатить сейчас", "waitDeliveryBtnText": "Посмотреть детали", "deliveringBtnText": "Подтвердить получение", "finishBtnText": "Посмотреть детали", "closeBtnText": "Посмотреть детали", "emptyText": "Пока нет заказов" }, "detail": { "orderNo": "Номер заказа", "createTime": "Время создания заказа", "payTime": "Время оплаты", "deliveryTime": "Время отправки", "finishTime": "Время завершения", "actualPay": "Фактически оплачено", "payNow": "Оплатить сейчас", "confirmReceipt": "Подтвердить получение", "expired": "Истек срок действия", "payAutoCancel": " автоматическая отмена", "cancelReason": "Причина отмены", "payTimeOut": "Время оплаты истекло", "refundTips": "Сумма возврата вернется тем же способом", "qrCodeTips": "Долго нажмите для распознавания или сохраните скриншот, свяжитесь с сервисом", "qrCodeExpiredTips": "QR-код истек, временно невозможно связаться с сервисом", "paymentMethod": "Способ оплаты", "wechat": "Веб-приложение", "alipay": "АлиПай" }, "confirmOrder": "Подтвердить заказ", "shippingAddress": "Адрес доставки", "noAddressTips": "Пожалуйста, заполните адрес доставки", "paySuccess": "Оплата успешна", "cancelPay": "Отменить оплату", "payFailed": "Оплата не удалась", "createOrderFailed": "Не удается создать заказ, попробуйте позже", "wechatPayTips": "Пожалуйста, откройте эту страницу в WeChat для оплаты", "confirmReceiptTips": "Пожалуйста, подтвердите, что посылка получена", "confirmedReceipt": "Получение подтверждено" };
2820
+ const addressEdit = { "name": "Контактное лицо", "namePlaceholder": "Пожалуйста, введите имя контактного лица", "choiceAddress": "Выберите регион", "addressPlaceholder": "Пожалуйста, выберите регион", "phone": "Номер телефона", "phonePlaceholder": "Пожалуйста, введите номер телефона", "phoneError": "Пожалуйста, введите правильный номер телефона", "addressDetail": "Подробный адрес", "addressDetailPlaceholder": "Пожалуйста, заполните подробный адрес", "error": "Пожалуйста, дополните информацию", "submit": "Сохранить", "deleteConfirm": "Вы уверены, что хотите удалить этот адрес?", "addAddress": "Добавить адрес", "editAddress": "Изменить адрес", "deleteAddress": "Удалить адрес", "addSuccess": "Успешно сохранено", "addError": "Не удалось сохранить", "editSuccess": "Успешно изменено", "editError": "Не удалось изменить" };
2821
+ const ruLang = {
2822
+ "common.confirm": "Подтвердить",
2823
+ "common.cancel": "Отмена",
2824
+ "common.delete": "Удалить",
2825
+ "common.edit": "Изменить",
2826
+ "common.submitSuccess": "Успешно отправлено",
2827
+ "product.button.normal": "Купить",
2828
+ "product.button.finance": "Узнать подробнее",
2829
+ "product.button.position": "Подать резюме",
2830
+ "product.all": "Все",
2831
+ "product.searchPlaceholder": "Введите название товара для поиска",
2832
+ "product.explaining": "В процессе объяснения",
2833
+ "product.watchExplain": "Посмотреть объяснение",
2834
+ "product.notExplained": "Ожидает объяснения",
2835
+ "product.detail.title": "Детали товара",
2836
+ "product.detail.video": "Видео",
2837
+ "product.detail.image": "Изображение",
2838
+ "product.detail.job": "Детали вакансии",
2839
+ "product.price.free": "Бесплатно",
2840
+ "product.empty": "Пока нет содержимого",
2841
+ "product.price.hidden": "Цена уточняется",
2842
+ "product.order": "Заказ",
2843
+ "product.num": "Количество",
2844
+ "product.disableBuy": "Покупка временно недоступна",
2845
+ "product.allProduct": "Все товары",
2846
+ "product.stock.soldOut": "Распродано",
2847
+ order,
2848
+ addressEdit
2849
+ };
2850
+ const fullI18nData = {
2851
+ [LangType.ZH_CN]: zhCNLang,
2852
+ [LangType.ZH_TW]: zhTWLang,
2853
+ [LangType.English]: enLang,
2854
+ [LangType.Japanese]: jaLang,
2855
+ [LangType.Korean]: koLang,
2856
+ [LangType.Russian]: ruLang
2857
+ };
2858
+ const useI18n = () => {
2859
+ const { injectData } = useGlobalInject();
2860
+ const langValueToKeyMap = {
2861
+ "zh_CN": LangType.ZH_CN,
2862
+ "zh_TW": LangType.ZH_TW,
2863
+ "en": LangType.English,
2864
+ "ja": LangType.Japanese,
2865
+ "ko": LangType.Korean,
2866
+ "ru": LangType.Russian
2867
+ };
2868
+ const currentLang = computed(() => {
2869
+ const injectedLang = injectData.globalLang || LangType.ZH_CN;
2870
+ if (typeof injectedLang === "string" && langValueToKeyMap[injectedLang]) {
2871
+ const mappedLang = langValueToKeyMap[injectedLang];
2872
+ return mappedLang;
2873
+ }
2874
+ return injectedLang;
2875
+ });
2876
+ const currentLangData = computed(() => {
2877
+ const langKey = currentLang.value;
2878
+ const data = fullI18nData[langKey];
2879
+ if (!data) {
2880
+ console.warn(`Language data not found for: ${langKey}, falling back to zh_CN`);
2881
+ return fullI18nData[LangType.ZH_CN];
2882
+ }
2883
+ return data;
2884
+ });
2885
+ const isZhCN = computed(() => {
2886
+ const lang = currentLang.value;
2887
+ return lang === LangType.ZH_CN || lang === LangType.ZH_TW;
2888
+ });
2889
+ function replace(key, value, str) {
2890
+ return str.replace(new RegExp("\\{" + key + "}", "g"), value);
2891
+ }
2892
+ function $t(key, options = {}) {
2893
+ const langData = currentLangData.value;
2894
+ let text = get(langData, key);
2895
+ if (text === void 0 || typeof text !== "string") {
2896
+ console.warn(`Translation key not found: ${key}, current lang: ${currentLang.value}`);
2897
+ return key;
2898
+ }
2899
+ if (options) {
2900
+ const optionKeys = Object.keys(options);
2901
+ for (const optKey of optionKeys) {
2902
+ const value = options[optKey].toString();
2903
+ text = replace(optKey, value, text);
2904
+ }
2905
+ }
2906
+ return text;
2907
+ }
2908
+ return {
2909
+ currentLang,
2910
+ isZhCN,
2911
+ $t
2912
+ };
2913
+ };
2914
+ const paymentProps = () => ({
2915
+ /** 支付实例 */
2916
+ paymentTarget: PropUtils.object().isRequired
2917
+ });
2918
+ function getPaymentTargetExport(paymentTarget) {
2919
+ return {
2920
+ PaymentProvider: paymentTarget.PaymentProvider
2921
+ };
2922
+ }
2923
+ const usePayment = (options) => {
2924
+ const { props } = options;
2925
+ const { PaymentProvider } = getPaymentTargetExport(props.paymentTarget);
2926
+ const { injectData } = useGlobalInject();
2927
+ const { $t } = useI18n();
2928
+ const supportPayProviders = ref([]);
2929
+ const isSupportPay = computed(() => {
2930
+ const supportAlipay = supportPayProviders.value.includes(PaymentProvider.Alipay);
2931
+ return isMobile && (isWeixin || supportAlipay);
2932
+ });
2933
+ const onlySupportAlipay = computed(() => {
2934
+ return supportPayProviders.value.length === 1 && supportPayProviders.value[0] === PaymentProvider.Alipay;
2935
+ });
2936
+ const onlySupportWechatPay = computed(() => {
2937
+ return supportPayProviders.value.length === 1 && supportPayProviders.value[0] === PaymentProvider.Wechat;
2938
+ });
2939
+ function getPayProviders() {
2940
+ return __async(this, null, function* () {
2941
+ const data = yield props.paymentTarget.getPayProviders();
2942
+ supportPayProviders.value = data;
2943
+ });
2944
+ }
2945
+ function payWithWechat(payInfo) {
2946
+ return __async(this, null, function* () {
2947
+ return new Promise((resolve) => __async(null, null, function* () {
2948
+ if (!isWeixin) {
2949
+ return resolve({ success: false, failReason: "notInWechatBrowser", failMessage: $t("order.wechatPayTips") });
2950
+ }
2951
+ if (!injectData.getWeixinSdk) {
2952
+ return resolve({ success: false, failReason: "sdkNotAvailable", failMessage: $t("order.payFailed") });
2953
+ }
2954
+ let wx;
2955
+ try {
2956
+ wx = yield injectData.getWeixinSdk();
2957
+ } catch (err) {
2958
+ return resolve({ success: false, failReason: "sdkNotAvailable", failMessage: $t("order.payFailed") });
2959
+ }
2960
+ if (!wx) {
2961
+ return resolve({ success: false, failReason: "sdkNotAvailable", failMessage: $t("order.payFailed") });
2962
+ }
2963
+ wx.chooseWXPay({
2964
+ timestamp: payInfo.timestamp,
2965
+ nonceStr: payInfo.nonceStr,
2966
+ package: payInfo.package,
2967
+ signType: payInfo.signType,
2968
+ paySign: payInfo.paySign,
2969
+ success: (res) => {
2970
+ resolve({ success: true, data: res || {} });
2971
+ },
2972
+ cancel: () => {
2973
+ resolve({ success: false, failReason: "userCancelled", failMessage: $t("order.cancelPay") });
2974
+ },
2975
+ fail: (res) => {
2976
+ props.paymentTarget.iarCore.logger.error("wx", "choose-wx-pay-fail", JSON.stringify(res));
2977
+ resolve({ success: false, failReason: "payFailed", failMessage: (res == null ? void 0 : res.errMsg) || $t("order.payFailed") });
2978
+ }
2979
+ });
2980
+ }));
2981
+ });
2982
+ }
2983
+ function payWithAli(url) {
2984
+ const a2 = document.createElement("a");
2985
+ a2.href = url;
2986
+ a2.click();
2987
+ }
2988
+ return {
2989
+ supportPayProviders,
2990
+ isSupportPay,
2991
+ onlySupportAlipay,
2992
+ onlySupportWechatPay,
2993
+ getPayProviders,
2994
+ payWithWechat,
2995
+ payWithAli
2996
+ };
2997
+ };
2998
+ var OrderButtonAction = /* @__PURE__ */ ((OrderButtonAction2) => {
2999
+ OrderButtonAction2["ApplyRefund"] = "applyRefund";
3000
+ OrderButtonAction2["Pay"] = "pay";
3001
+ OrderButtonAction2["ViewDetail"] = "viewDetail";
3002
+ OrderButtonAction2["ConfirmReceipt"] = "confirmReceipt";
3003
+ return OrderButtonAction2;
3004
+ })(OrderButtonAction || {});
3005
+ var OrderListPopupRoute = /* @__PURE__ */ ((OrderListPopupRoute2) => {
3006
+ OrderListPopupRoute2["OrderList"] = "orderList";
3007
+ OrderListPopupRoute2["OrderDetail"] = "orderDetail";
3008
+ return OrderListPopupRoute2;
3009
+ })(OrderListPopupRoute || {});
3010
+ const orderProps = () => __spreadProps(__spreadValues({}, paymentProps()), {
3011
+ /** 订单 SDK 实例 */
3012
+ orderTarget: PropUtils.object().isRequired
3013
+ });
3014
+ function getOrderTargetExport(orderTarget) {
3015
+ return {
3016
+ OrderStatus: orderTarget.OrderStatus,
3017
+ PayStatus: orderTarget.PayStatus,
3018
+ PaymentProvider: orderTarget.PaymentProvider,
3019
+ ProductDeliveryType: orderTarget.ProductDeliveryType,
3020
+ ProductType: orderTarget.ProductType,
3021
+ ProductBuyType: orderTarget.ProductBuyType,
3022
+ RefundStatus: orderTarget.RefundStatus,
3023
+ CreateOrderFailReason: orderTarget.CreateOrderFailReason
3024
+ };
3025
+ }
3026
+ const ORDER_PROVIDE_KEY = Symbol("ORDER_PROVIDE_KEY");
3027
+ const useOrderProvide = (props) => {
3028
+ provide(ORDER_PROVIDE_KEY, {
3029
+ getOrderTarget: () => props.orderTarget
3030
+ });
3031
+ const orderTarget = props.orderTarget;
3032
+ const orderTargetExport = getOrderTargetExport(orderTarget);
3033
+ const { OrderStatus, PayStatus: PayStatus2, PaymentProvider, RefundStatus } = orderTargetExport;
3034
+ const { supportPayProviders, onlySupportAlipay, payWithWechat, payWithAli, getPayProviders } = usePayment({ props });
3035
+ const { getEmitter, messageBox, toast } = useGlobalInject();
3036
+ const { $t } = useI18n();
3037
+ function navToOrderDetail(orderNo) {
3038
+ getEmitter().emit(productEvents.OpenProductOrderDetailPopup, orderNo);
3039
+ }
3040
+ function emitRefreshEvents(params, syncPayStatus = false) {
3041
+ if (params.route === "orderList") {
3042
+ getEmitter().emit(productEvents.RefreshProductOrderListStatus, params.orderNo);
3043
+ } else {
3044
+ getEmitter().emit(productEvents.RefreshProductOrderDetailStatus, {
3045
+ orderNo: params.orderNo,
3046
+ syncPayStatus
3047
+ });
3048
+ }
3049
+ }
3050
+ function handleConfirmReceipt(params) {
3051
+ return __async(this, null, function* () {
3052
+ if (params.orderStatus !== OrderStatus.Delivering) return;
3053
+ const confirm = yield messageBox({
3054
+ content: $t("order.confirmReceiptTips"),
3055
+ confirmButtonText: $t("common.confirm"),
3056
+ cancelButtonText: $t("common.cancel")
3057
+ });
3058
+ if (!confirm) return;
3059
+ yield props.orderTarget.confirmOrder(params.orderNo);
3060
+ toast($t("order.confirmedReceipt"));
3061
+ emitRefreshEvents(params);
3062
+ });
3063
+ }
3064
+ function handleRePay(params) {
3065
+ return __async(this, null, function* () {
3066
+ if (params.route === "orderList") {
3067
+ if (supportPayProviders.value.length > 1 || onlySupportAlipay.value) {
3068
+ navToOrderDetail(params.orderNo);
3069
+ return;
3070
+ }
3071
+ }
3072
+ const payOrderParams = yield props.paymentTarget.getPayOrderParams({
3073
+ orderNo: params.orderNo,
3074
+ payProvider: params.payProvider || PaymentProvider.Wechat
3075
+ });
3076
+ if (payOrderParams.payStatus === PayStatus2.Free) {
3077
+ toast($t("order.paySuccess"));
3078
+ emitRefreshEvents(params, true);
3079
+ return;
3080
+ }
3081
+ if (params.payProvider && params.payProvider === PaymentProvider.Alipay) {
3082
+ payWithAli(payOrderParams.aliPayLink);
3083
+ emitRefreshEvents(params, true);
3084
+ return;
3085
+ }
3086
+ const res = yield payWithWechat({
3087
+ timestamp: payOrderParams.timeStamp,
3088
+ nonceStr: payOrderParams.nonceStr,
3089
+ package: payOrderParams.package,
3090
+ signType: payOrderParams.signType,
3091
+ paySign: payOrderParams.paySign
3092
+ });
3093
+ if (res.success) {
3094
+ toast($t("order.paySuccess"));
3095
+ emitRefreshEvents(params, true);
3096
+ } else {
3097
+ toast(res.failMessage);
3098
+ }
3099
+ });
3100
+ }
3101
+ function handleOrderRefund(params) {
3102
+ return __async(this, null, function* () {
3103
+ if (params.orderStatus !== OrderStatus.WaitDelivery) return;
3104
+ const text = $t("order.refundTips");
3105
+ const amount = params.orderAmount || "";
3106
+ const confirm = yield messageBox({
3107
+ content: `<div style="font-size: 16px; color: #3D3D3D;">${text}<span style="color: #FF5252;">¥${amount}</span></div>`,
3108
+ cancelButtonText: $t("common.cancel"),
3109
+ confirmButtonText: $t("order.confirmRefund")
3110
+ });
3111
+ if (!confirm) return;
3112
+ const res = yield props.orderTarget.applyOrderRefund(params.orderNo);
3113
+ if (!res.success) {
3114
+ toast($t("order.failed"));
3115
+ return;
3116
+ }
3117
+ if (res.refundStatus === RefundStatus.Fail) {
3118
+ toast($t("order.refundFailed"));
3119
+ }
3120
+ emitRefreshEvents(params);
3121
+ });
3122
+ }
3123
+ function handleOrderBtnClick(params) {
3124
+ switch (params.action) {
3125
+ case "pay":
3126
+ handleRePay(params);
3127
+ break;
3128
+ case "viewDetail":
3129
+ navToOrderDetail(params.orderNo);
3130
+ break;
3131
+ case "confirmReceipt":
3132
+ handleConfirmReceipt(params);
3133
+ break;
3134
+ case "applyRefund":
3135
+ handleOrderRefund(params);
3136
+ break;
3137
+ }
3138
+ }
3139
+ return __spreadValues({
3140
+ orderTarget,
3141
+ supportPayProviders,
3142
+ onlySupportAlipay,
3143
+ getPayProviders,
3144
+ handleRePay,
3145
+ handleConfirmReceipt,
3146
+ navToOrderDetail,
3147
+ handleOrderBtnClick
3148
+ }, orderTargetExport);
3149
+ };
3150
+ const useOrderInject = () => {
3151
+ const data = inject(ORDER_PROVIDE_KEY);
3152
+ const { $t } = useI18n();
3153
+ const orderTarget = data.getOrderTarget();
3154
+ const orderTargetExport = getOrderTargetExport(orderTarget);
3155
+ const { OrderStatus } = orderTargetExport;
3156
+ function getOrderStatusText(status) {
3157
+ switch (status) {
3158
+ case OrderStatus.WaitPay:
3159
+ return $t("order.list.waitPay");
3160
+ case OrderStatus.WaitDelivery:
3161
+ return $t("order.list.waitDelivery");
3162
+ case OrderStatus.Delivering:
3163
+ return $t("order.list.delivering");
3164
+ case OrderStatus.Finish:
3165
+ return $t("order.list.finish");
3166
+ case OrderStatus.Close:
3167
+ return $t("order.list.close");
3168
+ case OrderStatus.Refunding:
3169
+ return $t("order.list.refunding");
3170
+ case OrderStatus.Refunded:
3171
+ return $t("order.list.refunded");
3172
+ default:
3173
+ return "";
3174
+ }
3175
+ }
3176
+ return __spreadValues({
3177
+ orderTarget,
3178
+ getOrderStatusText
3179
+ }, orderTargetExport);
3180
+ };
3181
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
3182
+ __name: "product-feature-tag",
3183
+ props: {
3184
+ tag: PropUtils.string.def(""),
3185
+ maxWidth: PropUtils.number.def(88)
3186
+ },
3187
+ setup(__props) {
3188
+ const props = __props;
3189
+ const containerStyle = computed(() => ({
3190
+ maxWidth: `${props.maxWidth}px`
3191
+ }));
3192
+ return { __sfc: true, props, containerStyle };
3193
+ }
3194
+ });
3195
+ var _sfc_render$e = function render2() {
3196
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3197
+ return _c("div", { staticClass: "plv-product-c-item__tag-container", style: _setup.containerStyle, attrs: { "title": _vm.tag } }, [_vm.tag ? _c("span", { staticClass: "plv-product-c-item__tag" }, [_vm._v(_vm._s(_vm.tag))]) : _vm._e()]);
3198
+ };
3199
+ var _sfc_staticRenderFns$e = [];
3200
+ var __component__$e = /* @__PURE__ */ normalizeComponent(
3201
+ _sfc_main$e,
3202
+ _sfc_render$e,
3203
+ _sfc_staticRenderFns$e
3204
+ );
3205
+ const ProductFeatureTag = __component__$e.exports;
3206
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3207
+ __name: "purchase-product",
3208
+ props: {
3209
+ product: PropUtils.object().isRequired
3210
+ },
3211
+ emits: {
3212
+ "click-purchase-product": emitFunc()
3213
+ },
3214
+ setup(__props, { emit }) {
3215
+ const props = __props;
3216
+ const { $t } = useI18n();
3217
+ const displayTotalPrice = computed(() => {
3218
+ if (props.product.realPrice === 0) return $t("product.price.free");
3219
+ return props.product.realPrice;
3220
+ });
3221
+ function onOrderProductClick() {
3222
+ emit("click-purchase-product");
3223
+ }
3224
+ return { __sfc: true, props, $t, displayTotalPrice, emit, onOrderProductClick, ProductFeatureTag };
3225
+ }
3226
+ });
3227
+ var _sfc_render$d = function render3() {
3228
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3229
+ return _c("div", { staticClass: "plv-product-c-purchase-product", on: { "click": _setup.onOrderProductClick } }, [_c("img", { staticClass: "plv-product-c-purchase-product__image", attrs: { "src": _vm.product.cover, "alt": _vm.product.name } }), _c("div", { staticClass: "plv-product-c-purchase-product__info" }, [_c("div", { staticClass: "plv-product-c-purchase-product__name" }, [_vm._v(" " + _vm._s(_vm.product.name) + " ")]), _vm.product.featureTags ? _c("div", { staticClass: "plv-product-c-purchase-product__tags" }, _vm._l(_vm.product.featureTags, function(tag, index) {
3230
+ return _c(_setup.ProductFeatureTag, { key: index, attrs: { "tag": tag } });
3231
+ }), 1) : _vm._e(), _vm.product.description ? _c("div", { staticClass: "plv-product-c-purchase-product__description" }, [_vm._v(" " + _vm._s(_vm.product.description) + " ")]) : _vm._e(), _c("div", { staticClass: "plv-product-c-purchase-product__price" }, [_vm.product.realPrice > 0 ? _c("span", { staticClass: "plv-product-c-purchase-product__price-symbol" }, [_vm._v("¥")]) : _vm._e(), _c("span", { staticClass: "plv-product-c-purchase-product__price-value plv-font-din-pro-regular" }, [_vm._v(_vm._s(_setup.displayTotalPrice))])])])]);
3232
+ };
3233
+ var _sfc_staticRenderFns$d = [];
3234
+ var __component__$d = /* @__PURE__ */ normalizeComponent(
3235
+ _sfc_main$d,
3236
+ _sfc_render$d,
3237
+ _sfc_staticRenderFns$d
3238
+ );
3239
+ const PurchaseProduct = __component__$d.exports;
3240
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3241
+ __name: "order-pay-countdown",
3242
+ props: {
3243
+ endTime: PropUtils.number.isRequired
3244
+ },
3245
+ emits: {
3246
+ "count-down-end": emitFunc()
3247
+ },
3248
+ setup(__props, { emit }) {
3249
+ const props = __props;
3250
+ const timeStr = ref("");
3251
+ const intervalId = ref(null);
3252
+ function clearCountdown() {
3253
+ if (intervalId.value !== null) {
3254
+ clearInterval(intervalId.value);
3255
+ intervalId.value = null;
3256
+ }
3257
+ }
3258
+ function formattedTime() {
3259
+ if (!props.endTime || props.endTime - Date.now() <= 0) {
3260
+ emit("count-down-end");
3261
+ clearCountdown();
3262
+ return "00:00";
3263
+ }
3264
+ const remainingTime = props.endTime - Date.now();
3265
+ const minutes = Math.floor(remainingTime / (60 * 1e3));
3266
+ const seconds = Math.floor(remainingTime % (60 * 1e3) / 1e3);
3267
+ if (minutes < 0 || seconds < 0) {
3268
+ emit("count-down-end");
3269
+ clearCountdown();
3270
+ return "00:00";
3271
+ }
3272
+ return `${String(minutes).padStart(2, "0")}:${String(seconds).padStart(2, "0")}`;
3273
+ }
3274
+ onMounted(() => {
3275
+ timeStr.value = formattedTime();
3276
+ if (props.endTime > Date.now()) {
3277
+ intervalId.value = setInterval(() => {
3278
+ timeStr.value = formattedTime();
3279
+ }, 1e3);
3280
+ }
3281
+ });
3282
+ onBeforeUnmount(() => {
3283
+ clearCountdown();
3284
+ });
3285
+ return { __sfc: true, props, emit, timeStr, intervalId, clearCountdown, formattedTime };
3286
+ }
3287
+ });
3288
+ var _sfc_render$c = function render4() {
3289
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3290
+ return _c("span", [_vm._v(_vm._s(_setup.timeStr))]);
3291
+ };
3292
+ var _sfc_staticRenderFns$c = [];
3293
+ var __component__$c = /* @__PURE__ */ normalizeComponent(
3294
+ _sfc_main$c,
3295
+ _sfc_render$c,
3296
+ _sfc_staticRenderFns$c
3297
+ );
3298
+ const OrderPayCountdown = __component__$c.exports;
3299
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3300
+ __name: "pay-status",
3301
+ setup(__props) {
3302
+ const { getEmitter } = useGlobalInject();
3303
+ const { $t } = useI18n();
3304
+ const { getOrderStatusText, OrderStatus } = useOrderInject();
3305
+ const orderDetail = inject("orderDetail");
3306
+ const orderNo = computed(() => (orderDetail == null ? void 0 : orderDetail.value.orderNo) || "");
3307
+ function handleCountDownEnd() {
3308
+ getEmitter().emit(productEvents.RefreshProductOrderListStatus, orderNo.value);
3309
+ }
3310
+ return { __sfc: true, getEmitter, $t, getOrderStatusText, OrderStatus, orderDetail, orderNo, handleCountDownEnd, OrderPayCountdown };
3311
+ }
3312
+ });
3313
+ var _sfc_render$b = function render5() {
3314
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3315
+ return _setup.orderDetail ? _c("div", { staticClass: "plv-product-c-pay-status" }, [_c("span", { staticClass: "plv-product-c-pay-status__text" }, [_vm._v(" " + _vm._s(_setup.getOrderStatusText(_setup.orderDetail.status)) + " ")]), _c("div", { staticClass: "plv-product-c-pay-status__actions" }, [_setup.orderDetail.status === _setup.OrderStatus.WaitPay ? _c("div", [_c(_setup.OrderPayCountdown, { attrs: { "end-time": _setup.orderDetail.expiredAt }, on: { "count-down-end": _setup.handleCountDownEnd } }), _c("span", [_vm._v(_vm._s(_setup.$t("order.detail.payAutoCancel")))])], 1) : _setup.orderDetail.status === _setup.OrderStatus.Close ? _c("div", [_c("span", [_vm._v(_vm._s(_setup.$t("order.detail.cancelReason")))]), _c("span", [_vm._v(": ")]), _c("span", [_vm._v(_vm._s(_setup.$t("order.detail.payTimeOut")))])]) : _setup.orderDetail.status === _setup.OrderStatus.Refunded ? _c("div", [_c("span", [_vm._v(_vm._s(_setup.$t("order.detail.refundTips")))])]) : _vm._e()])]) : _vm._e();
3316
+ };
3317
+ var _sfc_staticRenderFns$b = [];
3318
+ var __component__$b = /* @__PURE__ */ normalizeComponent(
3319
+ _sfc_main$b,
3320
+ _sfc_render$b,
3321
+ _sfc_staticRenderFns$b
3322
+ );
3323
+ const PayStatus = __component__$b.exports;
3324
+ const qrcodeExpiredImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAn3SURBVHic7d1PUttIG4DxlrtF22OHhEqcqpyBS7DlAO8K7GV2c4ecI6tUCMWiD8A2l8gZpiouCr6MHSysP9/iIzNTX2oIltqWXvz81khqEz22cNTq5PT09I3BWrIsuwkh3D7mZ0Vkz3v/ctNj2pQsy/4MIcw3fRwRGXjvX2z6OE9Nr+0BAKiPgAHFCBhQjIABxQgYUIyAAcUIGFCMgAHFCBhQjIABxQgYUIyAAcUIGFDMtT0AdNtwOHQisldn2xDCyhhTRR4S/oGA8aA8zwfe+0GdbUXkKoRwF3tM+BuX0IBiBAwoFu0SOkmSb8vlchVrf5vgnDuw1m71TSuEsBKRq20e0xhjnHP71tp028dtW1EUZZ7n122P4yH9fj+tqmo/xr6iBbxcLldd/3tnMplUVbX171SqNn4v0+m0Ksty24dtnXOuuri46PR5KCLGex9lX1xCA4oRMKAYAQOKETCgGAEDihEwoBgBA4oRMKAYAQOKtTIbSUSsMabWFLV/ms/n5eXlZRZhSJ309u3b9Pr6uta/kbW2t4t3Yq3r+PjYj0ajGB9kdyGEIsJ+1tLWdMK9GCvRDQaDO2PMkw34+vrae++f1dl2ter0bemdMR6PR2VZNv4wybLsxhjzqBUrY+ISGlCMgAHFeCIHHrStBb5RD5/AgGIEDChGwIBiBAwoRsCAYgQMKEbAgGIEDChGwIBiBAwoRsCAYgQMKEbAgGKtzEaaz+fl/WT8RoqiYNb6IxRFUaZpmtfdPOpgOqYoipW1tvF+5vN5K48/aSXg+8fgPNknaXRNmqb5x48ft75Cogbn5+ff2h5DE1xCA4oRMKAYAQOKETCgGAEDihEwoBgBA4oRMKAYAQOKETCgWLRbKZ1zB5PJpIq1v02oqqr5Ta8K9Xq9dDKZvK65+eLs7GwRdUAbVFWVbfBatyLP8yTWvqIFbK3tVVWn+91Z9ydMrTevLMuinWzb0vU36hiTJ37gEhpQjMXNOmw4HOaLxeJ7nW2dc31rLW/QTxwBd9iHDx+WxphlnW2n06mLsXA1uo13aEAxAgYUI2BAMQIGFCNgQDECBhQjYEAxAgYUI2BAMQIGFCNgQDECBhQjYEAxl2XZTduDUKjxyor4yR3n4vpcCOG27UEAIYTCGMO5uCYuoQHFCBhQjIABxQgYUIyAAcUIGFCMgAHFCBhQjIABxZqse5OISBptJDUcHBxU79+/Xz3250UkyoPODw8P83fv3pUx9vUQEbGm5ppGzrl9a23jfx/n3G3d1SHaEkLYyq2usc6nEMLKGFNrYbHaKzOISOq9f1l3+xiWy+WdMebqsT/f7/dfxFj46suXLzdmO7f9Dbz3z7ZwnH+V5/nAez9ocwzrSJKkMMZ83caxYp3/InJV902HS2hAMQIGFCNgQDECBhQjYEAxAgYUI2BAMQIGFCNgQDECBhQjYEAxAgYUI2BAMSciozobDodDl+d57PGspaoqu8748zxPrG08Gcmkadq/n+q3UYPBwJflxmctQjFXd7pa2/Ea87+A25hu1+v1+t77/qaPQ7z4FS6hAcUIGFCs9hM5/l+WZbWfKrAOEXnuvf9t08fpok+fPv3R9hg2RUQG3vsXbY9DGz6BAcUIGFCMgAHFCBhQjIABxQgYUIyAAcUIGFCMgAHFCBhQLNqtlOiWk5OTKKsTbou1trdaPXqhyQf3M51Ot7LoXqzZYs65/el0ut3VCdFt1tq0LMsoy19uQ6wY8jxPjDFqXrcxf/1b1dqWS2hAMdfr9aLMIDo4OKh1CVBDUXfMvV4vvX+HbiRN07woCmbb4y/rnBOr1SqJ9edN45NZk8lk8jrGAt9Zlt2EELaxwHdt0+n0paZLaO3WOSdEZC/W4uBcQgOKETCgGAEDihEwoBgBA4oRMKAYAQOKETCgGAEDihEwoJg7PT19E2NH21qZAcDf+AQGFCNgQDEm9D9Rt7e3340xWZ1tY6257Jy7XSwW7S8kvQUHBwfrvM4iy7I/YxyXgJ+oJtMdT09PowS8WCy+873Iz0IIhTFmHmNfXEIDihEwoBgBA4oRMKAYAQOKETCgGAEDihEwoBgBA4pxJ9bmJSIS5Y3y/g4eTayI1HqQvsLX2goC3jARSWM9hd8Y80ek/WyF9/5F3W1F5CsR/xqX0IBiBAwo5rIsu4qxoxBC89WZN2y5XN7E2M/h4WEeQoixK6ARt0vTvWK9VuJFV3AJDShGwIBiBAwoRsCAYgQMKEbAgGIEDChGwIBiBAwo5kRk0PYgFLpjpkw3HB0ducFgYEej0U5+GLkmU752VZZlN8aY2isfoJFERPppmvb3Viufe5+0PaA2MR8YWiQiMnTODa21PWOMyb1ve0ytI2B03u/Hx/7m1avnVVXVerrHU0bA+EmWZV/bHsOP7xhEZHTt/TNTVW0PqZMIGD/pyhd0Jycn+0mSDNseR5ft5Dd36D4RGRHvrxEwOuf342Mfa5Hxp46A0TXJzatXz9sehBYEjE4RkSHfNj8eAaNLEuccf/eugYDRGSLS/3GTBh6HXxY6I03Tfttj0IaA0Rl7qxX3Rq6JgNEJR0dHbtcnJtTBnViKiIiq/16ZzWaLz58/54/52cFgwDfPNRCwIt7739oewzrG4/Gjp1zu6nzepvilAYpF+wQuiqJ0znV6ygg3COyGJEk6MRnj3+R5nsT677JoAed5fn1xcdHphdImk8lrIn7akiQpzs7OWp8O+RAR2bPWRln0nUtoQDECBhQjYEAxAgYUI2BAMQIGFCNgQDECBhQjYEAxAgYUa2U20vHxsR+Px6Om+ymKYnV+fv4txpiwm05OTvattWnT/cxms/nl5WUWY0zraCXg0WjUK8tyr+l+rOW2ZjRjrU1jnIttTYfkEhpQjAn9GzabzcrxePy9zrbOuTTG5V1RFGWe58um+1nXbDYrt33MXUPAG3b/SJn/1NlWREYxAk7TNL+4uKg1BnQbl9CAYgQMKEbAgGIEDChGwIBiBAwoRsCAYgQMKEbAgGIEDCjGrZQbJiJ73vsoT+HfltPT0zcx9pNl2VUIodOrdWjHJzCgGAEDirV1CX2XZdlN053M53Omq6GR2Ww2jzQZv5U/FVoJOIRQGGMevfgzsCltPAYnJi6hAcUIGFCMgAHFCBhQjIABxQgYUIyAAcUIGFCMgAHFot2J1e/3UxGJtbuNyPM82cX1lFarVSIijdf/0SDP886/1n6/n1ZVFWVf0QKuqmrfex9rd4jIWptaa1VNaazLWtvr+muNFa8xXEIDqhEwoBhP5NiwEMJKRK62fVznXJSFq51zt4vFotbqiiGEVdPj42EEvHlVG4+VmU6nVVk2ny69WCxyHovTXVxCA4oRMKAYAQOKETCgGAEDihEwoBgBA4oRMKAYAQOKETCgGAEDihEwoBgBA4r9Fxq7kfeQM+15AAAAAElFTkSuQmCC";
3325
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3326
+ __name: "customer-qrcode",
3327
+ setup(__props) {
3328
+ const { $t } = useI18n();
3329
+ const orderDetail = inject("orderDetail");
3330
+ const customerServiceTips = computed(() => {
3331
+ var _a;
3332
+ if ((_a = orderDetail == null ? void 0 : orderDetail.value.products) == null ? void 0 : _a[0].customerServiceContact) {
3333
+ return $t("order.detail.qrCodeTips");
3334
+ }
3335
+ return $t("order.detail.qrCodeExpiredTips");
3336
+ });
3337
+ return { __sfc: true, $t, orderDetail, customerServiceTips, qrcodeExpiredImage };
3338
+ }
3339
+ });
3340
+ var _sfc_render$a = function render6() {
3341
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3342
+ return _c("div", { staticClass: "plv-product-c-customer-qrcode" }, [_c("div", { staticClass: "plv-product-c-customer-qrcode__img-wrap" }, [_setup.orderDetail && _setup.orderDetail.products[0].customerServiceContact ? [_c("img", { staticClass: "plv-product-c-customer-qrcode__img", attrs: { "src": _setup.orderDetail.products[0].customerServiceContact } })] : [_c("img", { staticClass: "plv-product-c-customer-qrcode__img--expired", attrs: { "src": _setup.qrcodeExpiredImage, "alt": "expired" } }), _c("span", { staticClass: "plv-product-c-customer-qrcode__img-text" }, [_vm._v(" " + _vm._s(_setup.$t("order.detail.expired")) + " ")])]], 2), _c("span", { staticClass: "plv-product-c-customer-qrcode__tips" }, [_vm._v(_vm._s(_setup.customerServiceTips))])]);
3343
+ };
3344
+ var _sfc_staticRenderFns$a = [];
3345
+ var __component__$a = /* @__PURE__ */ normalizeComponent(
3346
+ _sfc_main$a,
3347
+ _sfc_render$a,
3348
+ _sfc_staticRenderFns$a
3349
+ );
3350
+ const CustomerQrcode = __component__$a.exports;
3351
+ const htmlChars = ['"', "'", "&", "<", ">"], htmlEntities = ["&quot;", "&#39;", "&amp;", "&lt;", "&gt;"], charsToEntities = /* @__PURE__ */ Object.create(null), entitiesToChars = /* @__PURE__ */ Object.create(null);
3352
+ htmlChars.forEach((n2, e) => {
3353
+ charsToEntities[n2] = htmlEntities[e], entitiesToChars[htmlEntities[e]] = n2;
3354
+ });
3355
+ function maskChars(n2, e) {
3356
+ var t2, r2, o2;
3357
+ e = e || {};
3358
+ const i2 = n2.length, l2 = null !== (t2 = e.start) && void 0 !== t2 ? t2 : 0, s2 = null !== (r2 = e.end) && void 0 !== r2 ? r2 : i2 - 1, a2 = null !== (o2 = e.maskChar) && void 0 !== o2 ? o2 : "*";
3359
+ if (l2 >= 0 && s2 >= 0 && l2 <= s2 && s2 < i2) {
3360
+ let e2 = n2.substring(0, l2);
3361
+ return e2 += new Array(s2 - l2 + 2).join(a2), s2 < i2 - 1 && (e2 += n2.substring(s2 + 1)), e2;
3362
+ }
3363
+ if (l2 >= 0) return l2 >= i2 ? n2 : n2.substring(0, l2) + new Array(i2 - l2 + 1).join(a2);
3364
+ if (s2 >= 0) {
3365
+ let e2 = new Array(Math.min(s2, i2) + 2).join(a2);
3366
+ return s2 < i2 - 1 && (e2 += n2.substring(s2 + 1)), e2;
3367
+ }
3368
+ return n2;
3369
+ }
3370
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3371
+ __name: "address-item",
3372
+ props: {
3373
+ addressInfo: PropUtils.object().isRequired
3374
+ },
3375
+ emits: {
3376
+ "choose-address": emitFunc()
3377
+ },
3378
+ setup(__props, { emit }) {
3379
+ const props = __props;
3380
+ function onClick() {
3381
+ emit("choose-address", props.addressInfo);
3382
+ }
3383
+ return { __sfc: true, props, emit, onClick, maskChars };
3384
+ }
3385
+ });
3386
+ var _sfc_render$9 = function render7() {
3387
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3388
+ return _c("div", { staticClass: "plv-product-address-item", on: { "click": _setup.onClick } }, [_c("div", { staticClass: "plv-product-address-item__top" }, [_c("div", { staticClass: "plv-product-address-item__content" }, [_c("div", { staticClass: "plv-product-address-item__header" }, [_c("span", [_vm._v(_vm._s(_vm.addressInfo.name))]), _c("span", { staticClass: "plv-product-address-item__header-phone" }, [_vm._v(_vm._s(_setup.maskChars(_vm.addressInfo.mobile, { start: 3, end: 6 })))])]), _c("div", { staticClass: "plv-product-address-item__address" }, [_vm._v(" " + _vm._s(_vm.addressInfo.address) + " ")])]), _vm.$slots.icon ? _c("div", { staticClass: "plv-product-address-item__icon-wrapper" }, [_vm._t("icon")], 2) : _vm._e()]), _vm._t("action")], 2);
3389
+ };
3390
+ var _sfc_staticRenderFns$9 = [];
3391
+ var __component__$9 = /* @__PURE__ */ normalizeComponent(
3392
+ _sfc_main$9,
3393
+ _sfc_render$9,
3394
+ _sfc_staticRenderFns$9
3395
+ );
3396
+ const AddressItem = __component__$9.exports;
3397
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3398
+ __name: "express-info",
3399
+ setup(__props) {
3400
+ const orderDetail = inject("orderDetail");
3401
+ const { $t } = useI18n();
3402
+ return { __sfc: true, orderDetail, $t, maskChars, AddressItem };
3403
+ }
3404
+ });
3405
+ var _sfc_render$8 = function render8() {
3406
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3407
+ return _setup.orderDetail ? _c("div", [_setup.orderDetail.expressEnabled ? _c(_setup.AddressItem, { staticClass: "plv-product-c-express-info", attrs: { "address-info": _setup.orderDetail.expressInfo } }) : _c("div", { staticClass: "plv-product-c-phone-info" }, [_c("span", [_vm._v(_vm._s(_setup.$t("order.phone")))]), _c("span", { staticClass: "plv-product-c-phone-info__text" }, [_vm._v(_vm._s(_setup.maskChars(_setup.orderDetail.expressInfo.mobile, { start: 3, end: 4 })))])])], 1) : _vm._e();
3408
+ };
3409
+ var _sfc_staticRenderFns$8 = [];
3410
+ var __component__$8 = /* @__PURE__ */ normalizeComponent(
3411
+ _sfc_main$8,
3412
+ _sfc_render$8,
3413
+ _sfc_staticRenderFns$8
3414
+ );
3415
+ const ExpressInfo = __component__$8.exports;
3416
+ const IconWechat = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cdefs%3e%3cclipPath%20id='master_svg0_1_31044'%3e%3crect%20x='0'%20y='0'%20width='24'%20height='24'%20rx='0'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20clip-path='url(%23master_svg0_1_31044)'%3e%3cg%3e%3cpath%20d='M7.9075653125,8.011559448241844C7.4913803125000005,8.011559448241844,7.0751953125,8.289016532714843,7.0751953125,8.705201532714844C7.0751953125,9.121388532714844,7.4913803125000005,9.398838532714844,7.9075653125,9.398838532714844C8.3237453125,9.398838532714844,8.6012053125,9.121388532714844,8.6012053125,8.705201532714844C8.6012053125,8.271675532714843,8.3237453125,8.011559448241844,7.9075653125,8.011559448241844ZM13.5434053125,12.034678532714842C13.265945312500001,12.034678532714842,13.0058353125,12.329478532714845,13.0058353125,12.589588532714844C13.0058353125,12.884388532714844,13.2832853125,13.144508532714845,13.5434053125,13.144508532714845C13.9595853125,13.144508532714845,14.237045312500001,12.867048532714843,14.237045312500001,12.589588532714844C14.237045312500001,12.312138532714844,13.9595853125,12.034678532714842,13.5434053125,12.034678532714842ZM11.7572753125,9.398838532714844C12.1734653125,9.398838532714844,12.450915312500001,9.104048532714843,12.450915312500001,8.705200532714844C12.450915312500001,8.289015532714844,12.1734653125,8.011558532714844,11.7572753125,8.011558532714844C11.3410953125,8.011558532714844,10.9249053125,8.289015532714844,10.9249053125,8.705200532714844C10.9249053125,9.121388532714844,11.3410953125,9.398838532714844,11.7572753125,9.398838532714844ZM16.5607453125,12.034678532714842C16.2832853125,12.034678532714842,16.0231753125,12.329478532714845,16.0231753125,12.589588532714844C16.0231753125,12.884388532714844,16.3006253125,13.144508532714845,16.5607453125,13.144508532714845C16.9769253125,13.144508532714845,17.2543953125,12.867048532714843,17.2543953125,12.589588532714844C17.2543953125,12.312138532714844,16.9769353125,12.034678532714842,16.5607453125,12.034678532714842Z'%20fill='%2328C445'%20fill-opacity='1'%20style='mix-blend-mode:passthrough'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M11.9653,0.069366455078125C5.35838,0.069366455078125,0,5.427746455078125,0,12.034666455078124C0,18.641666455078123,5.35838,23.999966455078123,11.9653,23.999966455078123C18.5723,23.999966455078123,23.9306,18.641666455078123,23.9306,12.034666455078124C23.9306,5.427746455078125,18.5723,0.069366297722125,11.9653,0.069366455078125ZM9.69364,15.104066455078126C9,15.104066455078126,8.44509,14.965366455078126,7.78613,14.809266455078125L5.87861,15.780366455078125L6.41619,14.098266455078125C5.04624,13.127166455078125,4.21387,11.861266455078125,4.21387,10.352566455078126C4.21387,7.699426455078125,6.69364,5.618496455078125,9.69364,5.618496455078125C12.3815,5.618496455078125,14.7572,7.283236455078125,15.2254,9.520236455078125C15.052,9.502896455078124,14.8786,9.485546455078126,14.7052,9.485546455078126C12.104,9.520236455078125,10.0578,11.479766455078124,10.0578,13.907566455078126C10.0578,14.306366455078125,10.1272,14.687866455078124,10.2312,15.069366455078125C10.0578,15.086666455078126,9.86705,15.104066455078126,9.69364,15.104066455078126ZM17.8092,17.046266455078126L18.2254,18.433566455078125L16.7341,17.601166455078125C16.1965,17.739866455078126,15.6416,17.878566455078126,15.0867,17.878566455078126C12.4682,17.878566455078126,10.4046,16.075166455078126,10.4046,13.838166455078126C10.3873,11.618466455078124,12.4509,9.815026455078126,15.052,9.815026455078126C17.5318,9.815026455078126,19.7168,11.635866455078125,19.7168,13.855466455078124C19.7168,15.104066455078126,18.9017,16.213866455078126,17.8092,17.046266455078126Z'%20fill='%232AAE67'%20fill-opacity='1'%20style='mix-blend-mode:passthrough'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
3417
+ const IconAlipay = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cdefs%3e%3cclipPath%20id='master_svg0_1_31591'%3e%3crect%20x='0'%20y='0'%20width='24'%20height='24'%20rx='0'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20clip-path='url(%23master_svg0_1_31591)'%3e%3cg%3e%3cpath%20d='M5.4087,13.513C5.11304,13.7391,4.81739,14.0696,4.73043,14.5043C4.6087,15.0783,4.71304,15.8087,5.25217,16.3826C5.93043,17.0609,6.95652,17.2522,7.4087,17.287C8.6087,17.3739,9.89565,16.7652,10.8696,16.1043C11.2522,15.8435,11.8957,15.3043,12.5217,14.4696C11.1304,13.7565,9.3913,12.9565,7.54783,13.0261C6.57391,13.0609,5.89565,13.2522,5.4087,13.513ZM23.0435,16.6957C23.6522,15.2522,24,13.6696,24,12C24,5.3913,18.6087,0,12,0C5.3913,0,0,5.3913,0,12C0,18.6087,5.3913,24,12,24C16,24,19.5304,22.0348,21.7217,19.0261C19.6522,18.0174,16.2609,16.313,14.1565,15.3043C13.1652,16.4522,11.687,17.5826,10.0174,18.0696C8.97391,18.3826,8.01739,18.5043,7.04348,18.2957C6.05217,18.087,5.33913,17.6348,4.92174,17.1826C4.71304,16.9391,4.46957,16.6609,4.27826,16.2957C4.29565,16.313,4.29565,16.3478,4.29565,16.3652Q4.1913,16.1913,4.12174,15.913C4.08696,15.7739,4.05217,15.6348,4.03478,15.4957C4.01739,15.3913,4.01739,15.287,4.03478,15.2C4.01739,15.0261,4.03478,14.8348,4.06957,14.6435C4.17391,14.1565,4.36522,13.6174,4.90435,13.113C6.05217,11.9826,7.6,11.9304,8.4,11.9304C9.58261,11.9478,11.6348,12.4522,13.3739,13.0783C13.8609,12.0522,14.1739,10.9739,14.3652,10.2261L7.14783,10.2261L7.14783,9.44348L10.8522,9.44348L10.8522,7.87826L6.38261,7.87826L6.38261,7.07826L10.8522,7.07826L10.8522,5.51305C10.8522,5.30435,10.9043,5.13044,11.2348,5.13044L12.9913,5.13044L12.9913,7.07826L17.8435,7.07826L17.8435,7.86087L12.9913,7.86087L12.9913,9.42609L16.8696,9.42609Q16.4696,11.6,15.2696,13.7391C17.9652,14.6957,21.7739,16.1913,23.0435,16.6957Z'%20fill='%231777FF'%20fill-opacity='1'%20style='mix-blend-mode:passthrough'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
3418
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3419
+ __name: "payment-method",
3420
+ props: {
3421
+ /**
3422
+ * 默认选中的支付方式
3423
+ */
3424
+ value: PropUtils.string.def("WECHAT"),
3425
+ /**
3426
+ * 自定义支付方式
3427
+ */
3428
+ paymentMethods: PropUtils.array().def([]),
3429
+ /**
3430
+ * 是否禁用支付方式
3431
+ */
3432
+ disabled: PropUtils.bool.def(false)
3433
+ },
3434
+ emits: {
3435
+ "input": emitFunc()
3436
+ },
3437
+ setup(__props, { emit }) {
3438
+ const props = __props;
3439
+ const { $t } = useI18n();
3440
+ const { PaymentProvider } = useOrderInject();
3441
+ const defaultPaymentMethods = computed(() => [
3442
+ {
3443
+ label: $t("order.detail.wechat"),
3444
+ value: PaymentProvider.Wechat,
3445
+ icon: IconWechat
3446
+ },
3447
+ {
3448
+ label: $t("order.detail.alipay"),
3449
+ value: PaymentProvider.Alipay,
3450
+ icon: IconAlipay
3451
+ }
3452
+ ]);
3453
+ const paymentMethodList = computed(() => {
3454
+ if (props.paymentMethods.length) return props.paymentMethods;
3455
+ return defaultPaymentMethods.value;
3456
+ });
3457
+ function selectPaymentMethod(methodValue) {
3458
+ if (props.disabled) return;
3459
+ emit("input", methodValue);
3460
+ }
3461
+ return { __sfc: true, props, emit, $t, PaymentProvider, defaultPaymentMethods, paymentMethodList, selectPaymentMethod, PlvRadio };
3462
+ }
3463
+ });
3464
+ var _sfc_render$7 = function render9() {
3465
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3466
+ return _c("div", { staticClass: "plv-product-c-payment-methods" }, [_c("div", { staticClass: "plv-product-c-payment-methods__title" }, [_vm._v(" " + _vm._s(_setup.$t("order.detail.paymentMethod")) + " ")]), _c("div", { staticClass: "plv-product-c-payment-methods__list" }, _vm._l(_setup.paymentMethodList, function(method, index) {
3467
+ return _c("div", { key: index, staticClass: "plv-product-c-payment-methods__item", on: { "click": function($event) {
3468
+ return _setup.selectPaymentMethod(method.value);
3469
+ } } }, [_c("div", { staticClass: "plv-product-c-payment-methods__item-info" }, [_c("div", { staticClass: "plv-product-c-payment-methods__item-icon" }, [_c("img", { attrs: { "src": method.icon, "alt": "icon" } })]), _c("span", { staticClass: "plv-product-c-payment-methods__item-label" }, [_vm._v(_vm._s(method.label))])]), _c(_setup.PlvRadio, { attrs: { "checked": _vm.value === method.value, "disabled": _vm.disabled } })], 1);
3470
+ }), 0)]);
3471
+ };
3472
+ var _sfc_staticRenderFns$7 = [];
3473
+ var __component__$7 = /* @__PURE__ */ normalizeComponent(
3474
+ _sfc_main$7,
3475
+ _sfc_render$7,
3476
+ _sfc_staticRenderFns$7
3477
+ );
3478
+ const PaymentMethod = __component__$7.exports;
3479
+ function ensureDate(e) {
3480
+ return "object" != typeof e && (e = new Date(e)), e;
3481
+ }
3482
+ function formatDate(e, t2) {
3483
+ const n2 = { Y: (e = ensureDate(e)).getFullYear(), M: e.getMonth() + 1, D: e.getDate(), h: e.getHours(), m: e.getMinutes(), s: e.getSeconds() };
3484
+ return t2.replace(/([YMDhms])\1*/g, function(e2) {
3485
+ let t3 = n2[e2[0]].toString();
3486
+ const r2 = e2.length;
3487
+ return r2 > t3.length && (t3 = new Array(r2 - t3.length + 1).join("0") + t3), t3;
3488
+ });
3489
+ }
3490
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3491
+ __name: "order-info",
3492
+ setup(__props) {
3493
+ const { $t } = useI18n();
3494
+ const orderDetail = inject("orderDetail");
3495
+ const { OrderStatus, ProductDeliveryType } = useOrderInject();
3496
+ const orderCreatedAt = computed(() => {
3497
+ if (!(orderDetail == null ? void 0 : orderDetail.value.createAt)) return "";
3498
+ return formatDate(orderDetail.value.createAt, "YYYY.MM.DD hh:mm");
3499
+ });
3500
+ const orderDeliveryAt = computed(() => {
3501
+ if (!(orderDetail == null ? void 0 : orderDetail.value)) return "";
3502
+ if (orderDetail.value.status !== OrderStatus.Finish && orderDetail.value.status !== OrderStatus.Delivering) return "";
3503
+ return formatDate(orderDetail.value.deliveryAt, "YYYY.MM.DD hh:mm");
3504
+ });
3505
+ const orderFinishAt = computed(() => {
3506
+ if (!(orderDetail == null ? void 0 : orderDetail.value)) return "";
3507
+ if (orderDetail.value.status !== OrderStatus.Finish) return "";
3508
+ return formatDate(orderDetail.value.finishAt, "YYYY.MM.DD hh:mm");
3509
+ });
3510
+ return { __sfc: true, $t, orderDetail, OrderStatus, ProductDeliveryType, orderCreatedAt, orderDeliveryAt, orderFinishAt };
3511
+ }
3512
+ });
3513
+ var _sfc_render$6 = function render10() {
3514
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3515
+ return _setup.orderDetail ? _c("div", [_c("div", { staticClass: "plv-product-c-order-info__text" }, [_c("span", [_vm._v(_vm._s(_setup.$t("order.detail.orderNo")))]), _c("span", [_vm._v(_vm._s(_setup.orderDetail.orderNo))])]), _c("div", { staticClass: "plv-product-c-order-info__text" }, [_c("span", [_vm._v(_vm._s(_setup.$t("order.detail.createTime")))]), _c("span", [_vm._v(_vm._s(_setup.orderCreatedAt))])]), _setup.orderDetail.status !== _setup.OrderStatus.WaitPay && _setup.orderDetail.status !== _setup.OrderStatus.Close ? _c("div", { staticClass: "plv-product-c-order-info__text" }, [_c("span", [_vm._v(_vm._s(_setup.$t("order.detail.payTime")))]), _c("span", [_vm._v(_vm._s(_setup.orderDetail.payAt))])]) : _vm._e(), (_setup.orderDetail.status === _setup.OrderStatus.Finish || _setup.orderDetail.status === _setup.OrderStatus.Delivering) && _setup.orderDetail.products[0].deliveryType === _setup.ProductDeliveryType.Express ? _c("div", { staticClass: "plv-product-c-order-info__text" }, [_c("span", [_vm._v(_vm._s(_setup.$t("order.detail.deliveryTime")))]), _c("span", [_vm._v(_vm._s(_setup.orderDeliveryAt))])]) : _vm._e(), _setup.orderDetail.status === _setup.OrderStatus.Finish ? _c("div", { staticClass: "plv-product-c-order-info__text" }, [_c("span", [_vm._v(_vm._s(_setup.$t("order.detail.finishTime")))]), _c("span", [_vm._v(_vm._s(_setup.orderFinishAt))])]) : _vm._e(), _setup.orderDetail.status !== _setup.OrderStatus.WaitPay && _setup.orderDetail.status !== _setup.OrderStatus.Close ? _c("div", { staticClass: "plv-product-c-order-info__text" }, [_c("span", [_vm._v(_vm._s(_setup.$t("order.detail.actualPay")))]), _c("div", { staticClass: "plv-product-c-order-info__amount" }, [_c("span", { staticClass: "plv-product-c-order-info__amount-symbol" }, [_vm._v("¥")]), _c("span", { staticClass: "plv-product-c-order-info__amount-value plv-font-din-pro-regular" }, [_vm._v(_vm._s(_setup.orderDetail.amount))])])]) : _vm._e()]) : _vm._e();
3516
+ };
3517
+ var _sfc_staticRenderFns$6 = [];
3518
+ var __component__$6 = /* @__PURE__ */ normalizeComponent(
3519
+ _sfc_main$6,
3520
+ _sfc_render$6,
3521
+ _sfc_staticRenderFns$6
3522
+ );
3523
+ const OrderInfo = __component__$6.exports;
3524
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3525
+ __name: "bottom-operate-panel",
3526
+ emits: {
3527
+ "click-order-btn": emitFunc()
3528
+ },
3529
+ setup(__props, { emit }) {
3530
+ const orderDetail = inject("orderDetail");
3531
+ const { $t } = useI18n();
3532
+ const { OrderStatus, ProductDeliveryType } = useOrderInject();
3533
+ const operatePanelVisible = computed(() => {
3534
+ if (!orderDetail || !orderDetail.value) return false;
3535
+ return [OrderStatus.WaitPay, OrderStatus.Delivering, OrderStatus.WaitDelivery].includes(orderDetail.value.status);
3536
+ });
3537
+ function onOrderBtnClick(action) {
3538
+ emit("click-order-btn", action);
3539
+ }
3540
+ return { __sfc: true, emit, orderDetail, $t, OrderStatus, ProductDeliveryType, operatePanelVisible, onOrderBtnClick, OrderButtonAction };
3541
+ }
3542
+ });
3543
+ var _sfc_render$5 = function render11() {
3544
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3545
+ return _setup.orderDetail && _setup.operatePanelVisible ? _c("div", { staticClass: "plv-product-c-bottom-operate-panel" }, [_setup.orderDetail.status === _setup.OrderStatus.WaitPay ? _c("div", { staticClass: "plv-product-c-bottom-operate-panel__item" }, [_c("div", [_c("span", [_vm._v(_vm._s(_setup.$t("order.detail.actualPay")))]), _c("span", [_vm._v("¥")]), _c("span", [_vm._v(_vm._s(_setup.orderDetail.amount))])]), _c("span", { staticClass: "plv-product-c-bottom-operate-panel__btn", on: { "click": function($event) {
3546
+ return _setup.onOrderBtnClick(_setup.OrderButtonAction.Pay);
3547
+ } } }, [_vm._v(" " + _vm._s(_setup.$t("order.detail.payNow")) + " ")])]) : _vm._e(), _setup.orderDetail.status === _setup.OrderStatus.Delivering ? _c("div", { staticClass: "plv-product-c-bottom-operate-panel__item", on: { "click": function($event) {
3548
+ return _setup.onOrderBtnClick(_setup.OrderButtonAction.ConfirmReceipt);
3549
+ } } }, [_c("span", { staticClass: "plv-product-c-bottom-operate-panel__btn" }, [_vm._v(" " + _vm._s(_setup.$t("order.detail.confirmReceipt")) + " ")])]) : _vm._e(), _setup.orderDetail.status === _setup.OrderStatus.WaitDelivery && _setup.orderDetail.products[0].deliveryType === _setup.ProductDeliveryType.Express && _setup.orderDetail.products[0].realPrice > 0 ? _c("div", { staticClass: "plv-product-c-bottom-operate-panel__item", on: { "click": function($event) {
3550
+ return _setup.onOrderBtnClick(_setup.OrderButtonAction.ApplyRefund);
3551
+ } } }, [_c("span", { staticClass: "plv-product-c-bottom-operate-panel__btn plv-product-c-bottom-operate-panel__btn-refund" }, [_vm._v(" " + _vm._s(_setup.$t("order.applyRefund")) + " ")])]) : _vm._e()]) : _vm._e();
3552
+ };
3553
+ var _sfc_staticRenderFns$5 = [];
3554
+ var __component__$5 = /* @__PURE__ */ normalizeComponent(
3555
+ _sfc_main$5,
3556
+ _sfc_render$5,
3557
+ _sfc_staticRenderFns$5
3558
+ );
3559
+ const BottomOperatePanel = __component__$5.exports;
3560
+ const orderDetailProps = () => __spreadProps(__spreadValues({}, orderProps()), {
3561
+ /** 是否同步支付状态 */
3562
+ syncPayStatus: PropUtils.bool.def(false),
3563
+ /** 订单号 */
3564
+ orderNo: PropUtils.string.isRequired
3565
+ });
3566
+ const useOrderDetail = (options) => {
3567
+ const { props } = options;
3568
+ const { OrderStatus, PaymentProvider } = getOrderTargetExport(props.orderTarget);
3569
+ const { getEmitter } = useGlobalInject();
3570
+ const { onlySupportAlipay, getPayProviders } = usePayment({ props });
3571
+ const orderDetail = ref();
3572
+ const selectedPayMethod = ref(PaymentProvider.Wechat);
3573
+ const customerQrcodeVisible = computed(() => {
3574
+ var _a;
3575
+ if (!orderDetail.value) return false;
3576
+ return orderDetail.value.status !== OrderStatus.WaitPay && orderDetail.value.status !== OrderStatus.Close && ((_a = orderDetail.value.products) == null ? void 0 : _a[0].customerServiceType);
3577
+ });
3578
+ function getOrderDetail(_0) {
3579
+ return __async(this, arguments, function* (orderNo, syncPayStatus = props.syncPayStatus) {
3580
+ if (!props.orderTarget || !orderNo) return;
3581
+ const res = yield props.orderTarget.getOrderDetail({ orderNo, syncPayStatus });
3582
+ orderDetail.value = res;
3583
+ return res;
3584
+ });
3585
+ }
3586
+ function isPaySucceeded(status) {
3587
+ if (!status) return false;
3588
+ return [
3589
+ OrderStatus.WaitDelivery,
3590
+ OrderStatus.Delivering,
3591
+ OrderStatus.Finish
3592
+ ].includes(status);
3593
+ }
3594
+ function handleVisibilityChange() {
3595
+ return __async(this, null, function* () {
3596
+ var _a;
3597
+ const visible = document.visibilityState === "visible";
3598
+ if (!visible) return;
3599
+ const currentOrderStatus = (_a = orderDetail.value) == null ? void 0 : _a.status;
3600
+ if (currentOrderStatus !== OrderStatus.WaitPay) {
3601
+ return;
3602
+ }
3603
+ const latestOrderDetail = yield getOrderDetail(props.orderNo);
3604
+ let newStatus = latestOrderDetail == null ? void 0 : latestOrderDetail.status;
3605
+ if (newStatus === OrderStatus.WaitPay) {
3606
+ yield new Promise((resolve) => setTimeout(resolve, 2e3));
3607
+ const data = yield getOrderDetail(props.orderNo);
3608
+ newStatus = data == null ? void 0 : data.status;
3609
+ }
3610
+ const paySucceeded = isPaySucceeded(newStatus);
3611
+ if (paySucceeded) {
3612
+ getEmitter().emit(productEvents.RefreshProductOrderListStatus, props.orderNo);
3613
+ }
3614
+ });
3615
+ }
3616
+ function setSelectedPayMethod() {
3617
+ if (onlySupportAlipay.value) {
3618
+ selectedPayMethod.value = PaymentProvider.Alipay;
3619
+ }
3620
+ }
3621
+ useEventBusListener(productEvents.RefreshProductOrderDetailStatus, (data) => {
3622
+ getOrderDetail(data.orderNo, data.syncPayStatus);
3623
+ });
3624
+ watch(
3625
+ () => props.orderNo,
3626
+ (val) => {
3627
+ if (val) {
3628
+ getOrderDetail(val);
3629
+ }
3630
+ },
3631
+ { immediate: true }
3632
+ );
3633
+ onMounted(() => __async(null, null, function* () {
3634
+ yield getPayProviders();
3635
+ setSelectedPayMethod();
3636
+ window.addEventListener("visibilitychange", handleVisibilityChange);
3637
+ }));
3638
+ onBeforeUnmount(() => {
3639
+ window.removeEventListener("visibilitychange", handleVisibilityChange);
3640
+ });
3641
+ return {
3642
+ orderDetail,
3643
+ OrderStatus,
3644
+ selectedPayMethod,
3645
+ customerQrcodeVisible
3646
+ };
3647
+ };
3648
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3649
+ __name: "order-detail",
3650
+ props: orderDetailProps(),
3651
+ setup(__props) {
3652
+ const props = __props;
3653
+ const { orderDetail, OrderStatus, selectedPayMethod, customerQrcodeVisible } = useOrderDetail({ props });
3654
+ const { supportPayProviders, handleOrderBtnClick, getPayProviders } = useOrderProvide(props);
3655
+ function onClickOrderBtn(action) {
3656
+ var _a, _b, _c;
3657
+ handleOrderBtnClick({
3658
+ action,
3659
+ orderNo: ((_a = orderDetail.value) == null ? void 0 : _a.orderNo) || "",
3660
+ orderStatus: ((_b = orderDetail.value) == null ? void 0 : _b.status) || "",
3661
+ route: OrderListPopupRoute.OrderDetail,
3662
+ payProvider: selectedPayMethod.value,
3663
+ orderAmount: (_c = orderDetail.value) == null ? void 0 : _c.amount
3664
+ });
3665
+ }
3666
+ onMounted(() => {
3667
+ getPayProviders();
3668
+ });
3669
+ provide("orderDetail", orderDetail);
3670
+ return { __sfc: true, props, orderDetail, OrderStatus, selectedPayMethod, customerQrcodeVisible, supportPayProviders, handleOrderBtnClick, getPayProviders, onClickOrderBtn, PurchaseProduct, PayStatus, CustomerQrcode, ExpressInfo, PaymentMethod, OrderInfo, BottomOperatePanel };
3671
+ }
3672
+ });
3673
+ var _sfc_render$4 = function render12() {
3674
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3675
+ return _setup.orderDetail ? _c("div", { staticClass: "plv-product-order-detail" }, [_c("div", { staticClass: "plv-product-order-detail__content" }, [_c(_setup.PayStatus), _setup.customerQrcodeVisible ? _c(_setup.CustomerQrcode) : _vm._e(), _c(_setup.ExpressInfo), _c("div", { staticClass: "plv-product-order-detail__info" }, [_vm._l(_setup.orderDetail.products, function(product, index) {
3676
+ return _c(_setup.PurchaseProduct, { key: index, attrs: { "product": product } });
3677
+ }), _setup.orderDetail.status === _setup.OrderStatus.WaitPay && _setup.supportPayProviders.length > 1 ? _c(_setup.PaymentMethod, { model: { value: _setup.selectedPayMethod, callback: function($$v) {
3678
+ _setup.selectedPayMethod = $$v;
3679
+ }, expression: "selectedPayMethod" } }) : _vm._e(), _c(_setup.OrderInfo)], 2)], 1), _c(_setup.BottomOperatePanel, { on: { "click-order-btn": _setup.onClickOrderBtn } })], 1) : _vm._e();
3680
+ };
3681
+ var _sfc_staticRenderFns$4 = [];
3682
+ var __component__$4 = /* @__PURE__ */ normalizeComponent(
3683
+ _sfc_main$4,
3684
+ _sfc_render$4,
3685
+ _sfc_staticRenderFns$4
3686
+ );
3687
+ const OrderDetail = __component__$4.exports;
3688
+ const useScrollTab = () => {
3689
+ const tabContainerRef = ref();
3690
+ const tabItemRefs = ref([]);
3691
+ function setTabItemRef(el, index) {
3692
+ if (el && el instanceof HTMLElement) {
3693
+ tabItemRefs.value[index] = el;
3694
+ }
3695
+ }
3696
+ function scrollToTab(index) {
3697
+ const container = tabContainerRef.value;
3698
+ const targetTab = tabItemRefs.value[index];
3699
+ if (!container || !targetTab) {
3700
+ return;
3701
+ }
3702
+ const containerWidth = container.clientWidth;
3703
+ const tabLeft = targetTab.offsetLeft;
3704
+ const tabWidth = targetTab.offsetWidth;
3705
+ const targetScrollLeft = tabLeft - (containerWidth - tabWidth) / 2;
3706
+ const maxScrollLeft = container.scrollWidth - containerWidth;
3707
+ const finalScrollLeft = Math.max(0, Math.min(targetScrollLeft, maxScrollLeft));
3708
+ container.scrollTo({
3709
+ left: finalScrollLeft,
3710
+ behavior: "smooth"
3711
+ });
3712
+ }
3713
+ function scrollToTabAsync(index) {
3714
+ nextTick(() => {
3715
+ scrollToTab(index);
3716
+ });
3717
+ }
3718
+ function scrollToTabByValue(tabs, predicate) {
3719
+ const index = tabs.findIndex(predicate);
3720
+ if (index !== -1) {
3721
+ scrollToTabAsync(index);
3722
+ }
3723
+ }
3724
+ onBeforeUpdate(() => {
3725
+ tabItemRefs.value = [];
3726
+ });
3727
+ return {
3728
+ tabContainerRef,
3729
+ tabItemRefs,
3730
+ setTabItemRef,
3731
+ scrollToTab,
3732
+ scrollToTabAsync,
3733
+ scrollToTabByValue
3734
+ };
3735
+ };
3736
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3737
+ __name: "order-status-tab",
3738
+ props: {
3739
+ value: PropUtils.string.def("all")
3740
+ },
3741
+ emits: {
3742
+ "input": emitFunc()
3743
+ },
3744
+ setup(__props, { expose, emit }) {
3745
+ const { OrderStatus, getOrderStatusText } = useOrderInject();
3746
+ const { $t } = useI18n();
3747
+ const {
3748
+ tabContainerRef,
3749
+ setTabItemRef,
3750
+ scrollToTabAsync,
3751
+ scrollToTabByValue
3752
+ } = useScrollTab();
3753
+ const targetOrderStatuses = [
3754
+ OrderStatus.WaitPay,
3755
+ OrderStatus.WaitDelivery,
3756
+ OrderStatus.Delivering,
3757
+ OrderStatus.Finish
3758
+ ];
3759
+ const orderStatusTabs = computed(() => [
3760
+ { value: "all", label: $t("product.all") },
3761
+ ...targetOrderStatuses.map((status) => ({
3762
+ value: status,
3763
+ label: getOrderStatusText(status)
3764
+ }))
3765
+ ]);
3766
+ function onClickTab(selectedTab, clickedIndex) {
3767
+ emit("input", selectedTab);
3768
+ scrollToTabAsync(clickedIndex);
3769
+ }
3770
+ function scrollToTabByTabValue(tabValue) {
3771
+ scrollToTabByValue(orderStatusTabs.value, (tab) => tab.value === tabValue);
3772
+ }
3773
+ expose({
3774
+ scrollToTabByValue: scrollToTabByTabValue
3775
+ });
3776
+ return { __sfc: true, emit, OrderStatus, getOrderStatusText, $t, tabContainerRef, setTabItemRef, scrollToTabAsync, scrollToTabByValue, targetOrderStatuses, orderStatusTabs, onClickTab, scrollToTabByTabValue };
3777
+ }
3778
+ });
3779
+ var _sfc_render$3 = function render13() {
3780
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3781
+ return _c("div", { ref: "tabContainerRef", staticClass: "plv-product-c-order-status-tab" }, _vm._l(_setup.orderStatusTabs, function(tab, index) {
3782
+ return _c("div", { key: index, ref: (el) => _setup.setTabItemRef(el, index), refInFor: true, class: [
3783
+ "plv-product-c-order-status-tab__item",
3784
+ { "plv-product-c-order-status-tab__item--active": tab.value === _vm.value }
3785
+ ], on: { "click": function($event) {
3786
+ return _setup.onClickTab(tab.value, index);
3787
+ } } }, [_vm._v(" " + _vm._s(tab.label) + " ")]);
3788
+ }), 0);
3789
+ };
3790
+ var _sfc_staticRenderFns$3 = [];
3791
+ var __component__$3 = /* @__PURE__ */ normalizeComponent(
3792
+ _sfc_main$3,
3793
+ _sfc_render$3,
3794
+ _sfc_staticRenderFns$3
3795
+ );
3796
+ const OrderStatusTab = __component__$3.exports;
3797
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3798
+ __name: "order-item",
3799
+ props: {
3800
+ order: PropUtils.object().isRequired
3801
+ },
3802
+ emits: {
3803
+ "click-purchase-product": emitFunc(),
3804
+ "click-order-btn": emitFunc()
3805
+ },
3806
+ setup(__props, { emit }) {
3807
+ const props = __props;
3808
+ const { OrderStatus, getOrderStatusText, ProductDeliveryType } = useOrderInject();
3809
+ const { getEmitter } = useGlobalInject();
3810
+ const { $t } = useI18n();
3811
+ const shouldHighlightStatusText = computed(() => {
3812
+ return [OrderStatus.WaitPay, OrderStatus.WaitDelivery, OrderStatus.Delivering].includes(props.order.status);
3813
+ });
3814
+ function handleCountDownEnd() {
3815
+ getEmitter().emit(productEvents.RefreshProductOrderListStatus, props.order.orderNo);
3816
+ }
3817
+ function onOrderProductClick() {
3818
+ emit("click-purchase-product", props.order.orderNo);
3819
+ }
3820
+ function onOrderBtnClick(action) {
3821
+ emit("click-order-btn", { orderNo: props.order.orderNo, orderStatus: props.order.status, action, route: OrderListPopupRoute.OrderList, orderAmount: props.order.amount });
3822
+ }
3823
+ return { __sfc: true, props, emit, OrderStatus, getOrderStatusText, ProductDeliveryType, getEmitter, $t, shouldHighlightStatusText, handleCountDownEnd, onOrderProductClick, onOrderBtnClick, OrderPayCountdown, PurchaseProduct, OrderButtonAction };
3824
+ }
3825
+ });
3826
+ var _sfc_render$2 = function render14() {
3827
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
3828
+ return _c("div", { staticClass: "plv-product-order-item" }, [_c("div", { staticClass: "plv-product-order-item__main" }, _vm._l(_vm.order.products, function(product, index) {
3829
+ return _c(_setup.PurchaseProduct, { key: index, attrs: { "product": product }, on: { "click-purchase-product": _setup.onOrderProductClick } });
3830
+ }), 1), _c("div", { staticClass: "plv-product-order-item__footer" }, [_c("div", { staticClass: "plv-product-order-item__total" }, [_c("span", { staticClass: "plv-product-order-item__total-symbol" }, [_vm._v(_vm._s(_setup.$t("order.list.total")))]), _c("span", { staticClass: "plv-product-order-item__total-value plv-font-din-pro-regular" }, [_vm._v("¥" + _vm._s(_vm.order.amount))])]), _c("div", { staticClass: "plv-product-order-item__actions-summary" }, [_c("div", { staticClass: "plv-product-order-item__left" }, [_c("span", { staticClass: "plv-product-order-item__status-text", class: { "plv-product-order-item__status-text--highlight": _setup.shouldHighlightStatusText } }, [_vm._v(_vm._s(_setup.getOrderStatusText(_vm.order.status)))]), _vm.order.status === _setup.OrderStatus.WaitPay ? _c(_setup.OrderPayCountdown, { staticClass: "plv-product-order-item__countdown", attrs: { "end-time": _vm.order.expiredAt }, on: { "count-down-end": _setup.handleCountDownEnd } }) : _vm._e()], 1), _c("div", { staticClass: "plv-product-order-item__buttons" }, [_vm.order.status === _setup.OrderStatus.WaitDelivery && _vm.order.products[0].deliveryType === _setup.ProductDeliveryType.Express && _vm.order.products[0].realPrice > 0 ? _c("button", { staticClass: "plv-product-order-item__button", on: { "click": function($event) {
3831
+ return _setup.onOrderBtnClick(_setup.OrderButtonAction.ApplyRefund);
3832
+ } } }, [_vm._v(" " + _vm._s(_setup.$t("order.applyRefund")) + " ")]) : _vm._e(), _vm.order.status === _setup.OrderStatus.WaitPay ? _c("button", { staticClass: "plv-product-order-item__button plv-product-order-item__button--highlight", on: { "click": function($event) {
3833
+ return _setup.onOrderBtnClick(_setup.OrderButtonAction.Pay);
3834
+ } } }, [_vm._v(" " + _vm._s(_setup.$t("order.list.waitPayBtnText")) + " ")]) : _vm._e(), _vm.order.status === _setup.OrderStatus.WaitDelivery || _vm.order.status === _setup.OrderStatus.Close || _vm.order.status === _setup.OrderStatus.Finish ? _c("button", { staticClass: "plv-product-order-item__button", on: { "click": function($event) {
3835
+ return _setup.onOrderBtnClick(_setup.OrderButtonAction.ViewDetail);
3836
+ } } }, [_vm._v(" " + _vm._s(_setup.$t("order.list.waitDeliveryBtnText")) + " ")]) : _vm._e(), _vm.order.status === _setup.OrderStatus.Delivering ? _c("button", { staticClass: "plv-product-order-item__button plv-product-order-item__button--highlight", on: { "click": function($event) {
3837
+ return _setup.onOrderBtnClick(_setup.OrderButtonAction.ConfirmReceipt);
3838
+ } } }, [_vm._v(" " + _vm._s(_setup.$t("order.list.deliveringBtnText")) + " ")]) : _vm._e()])])])]);
3839
+ };
3840
+ var _sfc_staticRenderFns$2 = [];
3841
+ var __component__$2 = /* @__PURE__ */ normalizeComponent(
3842
+ _sfc_main$2,
3843
+ _sfc_render$2,
3844
+ _sfc_staticRenderFns$2
3845
+ );
3846
+ const OrderItem = __component__$2.exports;
3847
+ function useScrollPagination(request, options = {}) {
3848
+ const { immediate = true } = options;
3849
+ const pageNumber = ref(1);
3850
+ const pageSize = ref(options.pageSize || 10);
3851
+ const contents = ref([]);
3852
+ const isNoMore = ref(false);
3853
+ const isLoading = ref(false);
3854
+ const isFirstFinish = ref(false);
3855
+ const totalPages = ref(0);
3856
+ function getData() {
3857
+ return __async(this, null, function* () {
3858
+ isLoading.value = true;
3859
+ try {
3860
+ const data = yield request({
3861
+ pageNumber: pageNumber.value,
3862
+ pageSize: pageSize.value
3863
+ });
3864
+ if (data.pageNumber === 1) {
3865
+ contents.value = [...data.contents];
3866
+ } else {
3867
+ contents.value.push(...data.contents);
3868
+ }
3869
+ totalPages.value = data.totalPages || 0;
3870
+ isNoMore.value = data.contents.length < pageSize.value;
3871
+ isLoading.value = false;
3872
+ } catch (e) {
3873
+ isLoading.value = false;
3874
+ }
3875
+ isFirstFinish.value = true;
3876
+ });
3877
+ }
3878
+ function loadNext() {
3879
+ if (isNoMore.value || isLoading.value || totalPages.value > 0 && pageNumber.value >= totalPages.value) {
3880
+ return;
3881
+ }
3882
+ pageNumber.value += 1;
3883
+ getData();
3884
+ }
3885
+ const scrollRef = ref();
3886
+ const onScroll = debounce((event) => {
3887
+ const target = event.target;
3888
+ if (!target) return;
3889
+ const { scrollTop, scrollHeight, clientHeight } = target;
3890
+ if (scrollTop + clientHeight >= scrollHeight - clientHeight * 0.2) {
3891
+ loadNext();
3892
+ }
3893
+ }, 300);
3894
+ onBeforeUnmount(() => {
3895
+ onScroll.cancel();
3896
+ });
3897
+ function refresh() {
3898
+ pageNumber.value = 1;
3899
+ if (scrollRef.value) {
3900
+ scrollRef.value.scrollTop = 0;
3901
+ }
3902
+ return getData();
3903
+ }
3904
+ if (immediate) {
3905
+ onMounted(() => {
3906
+ getData();
3907
+ });
3908
+ }
3909
+ return {
3910
+ scrollRef,
3911
+ pageNumber,
3912
+ pageSize,
3913
+ contents,
3914
+ isFirstFinish,
3915
+ refresh,
3916
+ onScroll,
3917
+ getData
3918
+ };
3919
+ }
3920
+ const orderListProps = () => __spreadValues({}, orderProps());
3921
+ const useOrderList = (options) => {
3922
+ const { props } = options;
3923
+ const activeTab = ref("all");
3924
+ const { scrollRef, contents: orderList, isFirstFinish, refresh: refreshOrderList, onScroll } = useScrollPagination(
3925
+ (params) => {
3926
+ return props.orderTarget.getOrderList({
3927
+ pageNumber: params.pageNumber,
3928
+ pageSize: params.pageSize,
3929
+ orderStatus: activeTab.value === "all" ? void 0 : activeTab.value
3930
+ });
3931
+ },
3932
+ {
3933
+ immediate: false
3934
+ }
3935
+ );
3936
+ const refreshOrderData = debounce(
3937
+ function(orderNo) {
3938
+ return __async(this, null, function* () {
3939
+ const orderIndex = orderList.value.findIndex((order2) => order2.orderNo === orderNo);
3940
+ if (orderIndex === -1) return;
3941
+ if (activeTab.value !== "all") {
3942
+ orderList.value.splice(orderIndex, 1);
3943
+ } else {
3944
+ const newOrderData = yield props.orderTarget.getOrderDetail({ orderNo, syncPayStatus: true });
3945
+ orderList.value.splice(orderIndex, 1, newOrderData);
3946
+ }
3947
+ });
3948
+ },
3949
+ 300
3950
+ );
3951
+ function resetPageScroll() {
3952
+ if (scrollRef.value) {
3953
+ scrollRef.value.scrollTop = 0;
3954
+ }
3955
+ }
3956
+ function init() {
3957
+ refreshOrderList();
3958
+ resetPageScroll();
3959
+ }
3960
+ function reset() {
3961
+ activeTab.value = "all";
3962
+ init();
3963
+ }
3964
+ useEventBusListener(productEvents.RefreshProductOrderListStatus, (orderNo) => {
3965
+ refreshOrderData(orderNo);
3966
+ });
3967
+ watch(activeTab, () => {
3968
+ refreshOrderList();
3969
+ resetPageScroll();
3970
+ });
3971
+ const instance = {
3972
+ init: reset
3973
+ };
3974
+ return {
3975
+ instance,
3976
+ scrollRef,
3977
+ activeTab,
3978
+ orderList,
3979
+ isFirstFinish,
3980
+ refreshOrderList,
3981
+ onScroll,
3982
+ refreshOrderData
3983
+ };
3984
+ };
3985
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3986
+ __name: "order-list",
3987
+ props: orderListProps(),
3988
+ setup(__props, { expose }) {
3989
+ const props = __props;
3990
+ const { $t } = useI18n();
3991
+ const { activeTab, scrollRef, orderList, instance, onScroll } = useOrderList({ props });
3992
+ const { navToOrderDetail, handleOrderBtnClick, getPayProviders } = useOrderProvide(props);
3993
+ onMounted(() => {
3994
+ getPayProviders();
3995
+ });
3996
+ expose(instance);
3997
+ return { __sfc: true, props, $t, activeTab, scrollRef, orderList, instance, onScroll, navToOrderDetail, handleOrderBtnClick, getPayProviders, OrderStatusTab, OrderItem, ProductIconOrderEmpty };
3998
+ }
3999
+ });
4000
+ var _sfc_render$1 = function render15() {
4001
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
4002
+ return _c("div", { ref: "scrollRef", staticClass: "plv-product-order-list", on: { "scroll": _setup.onScroll } }, [_c(_setup.OrderStatusTab, { staticClass: "plv-product-order-list__status-tab", model: { value: _setup.activeTab, callback: function($$v) {
4003
+ _setup.activeTab = $$v;
4004
+ }, expression: "activeTab" } }), _c("div", { staticClass: "plv-product-order-list__items-container" }, [_setup.orderList.length ? _vm._l(_setup.orderList, function(order2, index) {
4005
+ return _c(_setup.OrderItem, { key: index, attrs: { "order": order2 }, on: { "click-purchase-product": _setup.navToOrderDetail, "click-order-btn": _setup.handleOrderBtnClick } });
4006
+ }) : _c("div", { staticClass: "plv-product-order-list__empty" }, [_c(_setup.ProductIconOrderEmpty, { staticClass: "plv-product-order-list__empty-icon" }), _c("div", { staticClass: "plv-product-order-list__empty-text" }, [_vm._v(" " + _vm._s(_setup.$t("order.list.emptyText")) + " ")])], 1)], 2)], 1);
4007
+ };
4008
+ var _sfc_staticRenderFns$1 = [];
4009
+ var __component__$1 = /* @__PURE__ */ normalizeComponent(
4010
+ _sfc_main$1,
4011
+ _sfc_render$1,
4012
+ _sfc_staticRenderFns$1
4013
+ );
4014
+ const OrderList = __component__$1.exports;
4015
+ const useOrderListPopup = () => {
4016
+ const { $t } = useI18n();
4017
+ const visible = ref(false);
4018
+ const orderNo = ref();
4019
+ const orderListRef = ref();
4020
+ const currentRoute = ref(OrderListPopupRoute.OrderList);
4021
+ useEventBusListener(productEvents.OpenProductOrderListPopup, () => {
4022
+ currentRoute.value = OrderListPopupRoute.OrderList;
4023
+ open();
4024
+ });
4025
+ useEventBusListener(productEvents.OpenProductOrderDetailPopup, (orderNum) => {
4026
+ orderNo.value = orderNum;
4027
+ currentRoute.value = OrderListPopupRoute.OrderDetail;
4028
+ open();
4029
+ });
4030
+ const popupTitle = computed(() => {
4031
+ return currentRoute.value === OrderListPopupRoute.OrderList ? $t("order.title") : "";
4032
+ });
4033
+ function open() {
4034
+ var _a;
4035
+ if (currentRoute.value === OrderListPopupRoute.OrderList) {
4036
+ (_a = orderListRef.value) == null ? void 0 : _a.init();
4037
+ }
4038
+ visible.value = true;
4039
+ }
4040
+ function close() {
4041
+ visible.value = false;
4042
+ }
4043
+ function handleBack() {
4044
+ if (currentRoute.value === OrderListPopupRoute.OrderDetail) {
4045
+ currentRoute.value = OrderListPopupRoute.OrderList;
4046
+ orderNo.value = void 0;
4047
+ nextTick(() => {
4048
+ if (orderListRef.value) {
4049
+ orderListRef.value.init();
4050
+ }
4051
+ });
4052
+ } else {
4053
+ close();
4054
+ }
4055
+ }
4056
+ return {
4057
+ visible,
4058
+ orderListRef,
4059
+ currentRoute,
4060
+ orderNo,
4061
+ popupTitle,
4062
+ OrderListPopupRoute,
4063
+ open,
4064
+ close,
4065
+ handleBack
4066
+ };
4067
+ };
4068
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4069
+ __name: "order-list-popup",
4070
+ props: orderListProps(),
4071
+ setup(__props, { expose }) {
4072
+ const props = __props;
4073
+ const {
4074
+ visible,
4075
+ orderListRef,
4076
+ currentRoute,
4077
+ orderNo,
4078
+ popupTitle,
4079
+ OrderListPopupRoute: OrderListPopupRoute2,
4080
+ open,
4081
+ close,
4082
+ handleBack
4083
+ } = useOrderListPopup();
4084
+ expose({
4085
+ open,
4086
+ close
4087
+ });
4088
+ return { __sfc: true, props, visible, orderListRef, currentRoute, orderNo, popupTitle, OrderListPopupRoute: OrderListPopupRoute2, open, close, handleBack, CommonPopup, productEvents, OrderDetail, OrderList };
4089
+ }
4090
+ });
4091
+ var _sfc_render = function render16() {
4092
+ var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
4093
+ return _c(_setup.CommonPopup, { attrs: { "background": "#f7f8fa", "backable": "", "closeable": false, "title": _setup.popupTitle, "open-event": _setup.productEvents.OpenProductOrderListPopup, "custom-back": _setup.handleBack }, model: { value: _setup.visible, callback: function($$v) {
4094
+ _setup.visible = $$v;
4095
+ }, expression: "visible" } }, [_c("div", { staticClass: "plv-product-order-list-popup__wrap" }, [_c("transition", { attrs: { "name": "plv-product-order-list-popup__fade" } }, [_setup.currentRoute === _setup.OrderListPopupRoute.OrderList ? _c(_setup.OrderList, _vm._b({ ref: "orderListRef", staticClass: "plv-product-order-list-popup__order-list" }, "order-list", _setup.props, false)) : _vm._e()], 1), _c("transition", { attrs: { "name": "plv-product-order-list-popup__fade" } }, [_setup.currentRoute === _setup.OrderListPopupRoute.OrderDetail && _setup.orderNo ? _c(_setup.OrderDetail, _vm._b({ staticClass: "plv-product-order-list-popup__order-detail", attrs: { "order-no": _setup.orderNo } }, "order-detail", _setup.props, false)) : _vm._e()], 1)], 1)]);
4096
+ };
4097
+ var _sfc_staticRenderFns = [];
4098
+ var __component__ = /* @__PURE__ */ normalizeComponent(
4099
+ _sfc_main,
4100
+ _sfc_render,
4101
+ _sfc_staticRenderFns
4102
+ );
4103
+ const orderListPopup = __component__.exports;
4104
+ ;
4105
+ console.log(
4106
+ "%c@polyv/product-ui",
4107
+ "background:#409EFF;padding: 2px 6px;border-radius: 3px;color: #fff",
4108
+ "[component: order-list-popup]",
4109
+ "[version: 1.0.0-rc-20250612.3]",
4110
+ "[buildTime: 2025-06-12 02:29:08]"
4111
+ );
4112
+ export {
4113
+ orderListPopup as default
4114
+ };