@uploadcare/file-uploader 1.28.0-alpha.0 → 1.28.0-alpha.1

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 (466) hide show
  1. package/dist/ActivityHeader-R6Mlx-dA.js +9 -0
  2. package/dist/ActivityHeader.css +23 -0
  3. package/dist/ActivityHeader.layered.css +24 -0
  4. package/dist/{CameraSource-DbyO6GoK.js → CameraSource-DDwj1jCV.js} +106 -76
  5. package/dist/CameraSource-n1tun2Df.js +10 -0
  6. package/dist/CameraSource.css +180 -0
  7. package/dist/CameraSource.layered.css +209 -0
  8. package/dist/{CloudImageEditor-BIxf1V4M.js → CloudImageEditor-DcVoIRb3.js} +66 -65
  9. package/dist/{CloudImageEditorActivity-d4DpK6fQ.js → CloudImageEditorActivity-Csij4nlC.js} +4 -4
  10. package/dist/{CloudImageEditorActivity-CJxP5N0S.js → CloudImageEditorActivity-DD4NdU0P.js} +4 -4
  11. package/dist/CloudImageEditorActivity.css +14 -0
  12. package/dist/CloudImageEditorActivity.layered.css +15 -0
  13. package/dist/{Config-DuWre5p3.js → Config-DKOromHY.js} +27 -27
  14. package/dist/Config.css +4 -0
  15. package/dist/Config.layered.css +5 -0
  16. package/dist/ExternalSource-6MSUgxqy.js +10 -0
  17. package/dist/{ExternalSource-BKTFp95O.js → ExternalSource-DVEjSkPB.js} +56 -51
  18. package/dist/ExternalSource.css +98 -0
  19. package/dist/ExternalSource.layered.css +116 -0
  20. package/dist/{Icon-CqTVC82Q.js → Icon-tXRTvEF2.js} +7 -8
  21. package/dist/Icon.css +14 -0
  22. package/dist/Icon.layered.css +15 -0
  23. package/dist/{LitUploaderBlock-BA34rzeU.js → LitUploaderBlock-LxeOZ0ya.js} +65 -65
  24. package/dist/{UrlSource-DZK5EBwT.js → UrlSource-BkyX00I2.js} +5 -5
  25. package/dist/UrlSource-RI8TSD48.js +10 -0
  26. package/dist/UrlSource.css +17 -0
  27. package/dist/UrlSource.layered.css +18 -0
  28. package/dist/abstract/loadFileUploaderFrom.js +3 -3
  29. package/dist/cameraPlugin-weRKO7eG.js +8 -0
  30. package/dist/{cloud-image-editor-fNswWrI4.js → cloud-image-editor-hhbyNWLG.js} +6 -6
  31. package/dist/cloud-image-editor.css +1380 -0
  32. package/dist/cloud-image-editor.layered.css +1549 -0
  33. package/dist/cloudImageEditorPlugin-FjUgbMK3.js +8 -0
  34. package/dist/{en-DNCwRJsB.js → en-8OWEmZim.js} +2 -2
  35. package/dist/env-mM-ksNPq.js +8 -0
  36. package/dist/env.js +3 -3
  37. package/dist/externalSourcesPlugin-CMBmLT8S.js +8 -0
  38. package/dist/imageShrinkPlugin-BN6loiP2.js +8 -0
  39. package/dist/index-base.css +2497 -0
  40. package/dist/index-base.layered.css +2837 -0
  41. package/dist/index.css +9 -3964
  42. package/dist/index.d.ts +13 -0
  43. package/dist/index.js +827 -42
  44. package/dist/index.layered.css +9 -4478
  45. package/dist/instagramPlugin-CXRm8MGL.js +8 -0
  46. package/dist/{loadFileUploaderFrom-BWJM43Yq.js → loadFileUploaderFrom-Bfz8L3VB.js} +3 -3
  47. package/dist/locales/file-uploader/ar.js +2 -2
  48. package/dist/locales/file-uploader/az.js +2 -2
  49. package/dist/locales/file-uploader/ca.js +2 -2
  50. package/dist/locales/file-uploader/cs.js +2 -2
  51. package/dist/locales/file-uploader/da.js +2 -2
  52. package/dist/locales/file-uploader/de.js +2 -2
  53. package/dist/locales/file-uploader/el.js +2 -2
  54. package/dist/locales/file-uploader/en.js +3 -3
  55. package/dist/locales/file-uploader/es.js +2 -2
  56. package/dist/locales/file-uploader/et.js +2 -2
  57. package/dist/locales/file-uploader/fi.js +2 -2
  58. package/dist/locales/file-uploader/fr.js +2 -2
  59. package/dist/locales/file-uploader/he.js +2 -2
  60. package/dist/locales/file-uploader/hy.js +2 -2
  61. package/dist/locales/file-uploader/is.js +2 -2
  62. package/dist/locales/file-uploader/it.js +2 -2
  63. package/dist/locales/file-uploader/ja.js +2 -2
  64. package/dist/locales/file-uploader/ka.js +2 -2
  65. package/dist/locales/file-uploader/kk.js +2 -2
  66. package/dist/locales/file-uploader/ko.js +2 -2
  67. package/dist/locales/file-uploader/lv.js +2 -2
  68. package/dist/locales/file-uploader/nb.js +2 -2
  69. package/dist/locales/file-uploader/nl.js +2 -2
  70. package/dist/locales/file-uploader/pl.js +2 -2
  71. package/dist/locales/file-uploader/pt.js +2 -2
  72. package/dist/locales/file-uploader/ro.js +2 -2
  73. package/dist/locales/file-uploader/ru.js +2 -2
  74. package/dist/locales/file-uploader/sk.js +2 -2
  75. package/dist/locales/file-uploader/sr.js +2 -2
  76. package/dist/locales/file-uploader/sv.js +2 -2
  77. package/dist/locales/file-uploader/tr.js +2 -2
  78. package/dist/locales/file-uploader/uk.js +2 -2
  79. package/dist/locales/file-uploader/vi.js +2 -2
  80. package/dist/locales/file-uploader/zh-TW.js +2 -2
  81. package/dist/locales/file-uploader/zh.js +2 -2
  82. package/dist/{plugins-DxjsQUa8.js → plugins-CGUls7EV.js} +6 -6
  83. package/dist/urlSourcePlugin-_WdbEhq2.js +8 -0
  84. package/package.json +1 -1
  85. package/web/ActivityHeader-BFdTdVfD.js +9 -0
  86. package/web/ActivityHeader-DQy6rII1.js +9 -0
  87. package/web/ActivityHeader-DvzMl0uj.js +9 -0
  88. package/web/ActivityHeader-i4x6_Fne.js +9 -0
  89. package/web/CameraSource-BAWIA4Wm.js +508 -0
  90. package/web/CameraSource-BqZCQcij.js +11 -0
  91. package/web/CameraSource-Brxr4tz4.js +508 -0
  92. package/web/CameraSource-BvBJ5Uzy.js +508 -0
  93. package/web/CameraSource-CkHzIE-h.js +11 -0
  94. package/web/CameraSource-D964yPLu.js +508 -0
  95. package/web/CameraSource-DE48Az-f.js +11 -0
  96. package/web/CameraSource-DyPebtRF.js +478 -0
  97. package/web/CameraSource-pj7Xo81m.js +11 -0
  98. package/web/CloudImageEditor-CTgUWB07.js +2192 -0
  99. package/web/CloudImageEditor-CxqV9Lwm.js +2192 -0
  100. package/web/CloudImageEditor-DoLWHpqV.js +2192 -0
  101. package/web/CloudImageEditor-Drywn265.js +2192 -0
  102. package/web/CloudImageEditor-MXcaDtMx.js +2187 -0
  103. package/web/CloudImageEditorActivity-BPzmfaJV.js +85 -0
  104. package/web/CloudImageEditorActivity-Br8pU5gd.js +11 -0
  105. package/web/CloudImageEditorActivity-Cw8b2CEz.js +11 -0
  106. package/web/CloudImageEditorActivity-Df1ySGq0.js +86 -0
  107. package/web/CloudImageEditorActivity-DinG5r0y.js +11 -0
  108. package/web/CloudImageEditorActivity-DmnLLINR.js +85 -0
  109. package/web/CloudImageEditorActivity-U90BGCek.js +85 -0
  110. package/web/CloudImageEditorActivity-dNLQZRZI.js +11 -0
  111. package/web/CloudImageEditorActivity-ur-hQ-6p.js +85 -0
  112. package/web/Config-8hlBNhvs.js +455 -0
  113. package/web/Config-BDZhPIyz.js +455 -0
  114. package/web/Config-CJVNrrjj.js +455 -0
  115. package/web/Config-DvkVtlQ7.js +455 -0
  116. package/web/ExternalSource-B9ycBFiD.js +10 -0
  117. package/web/ExternalSource-BE7HX47E.js +250 -0
  118. package/web/ExternalSource-BL5GSlol.js +250 -0
  119. package/web/ExternalSource-BXQY6Dlc.js +10 -0
  120. package/web/ExternalSource-BXxH3JCD.js +250 -0
  121. package/web/ExternalSource-BYSS-PPV.js +245 -0
  122. package/web/ExternalSource-C57a61QN.js +10 -0
  123. package/web/ExternalSource-CKfMtOgU.js +250 -0
  124. package/web/ExternalSource-DP6q8ylB.js +10 -0
  125. package/web/LitUploaderBlock-AX6jOdAS.js +996 -0
  126. package/web/LitUploaderBlock-BjAaoLl2.js +996 -0
  127. package/web/LitUploaderBlock-D8E5HuwH.js +996 -0
  128. package/web/LitUploaderBlock-Dl3ce0Tc.js +996 -0
  129. package/web/LitUploaderBlock-Oi33U0uf.js +996 -0
  130. package/web/UrlSource-B9SX3K0L.js +10 -0
  131. package/web/UrlSource-C3zB1rCb.js +70 -0
  132. package/web/UrlSource-C7bEU6Xv.js +10 -0
  133. package/web/UrlSource-CE389CBz.js +70 -0
  134. package/web/UrlSource-CnvAJ58Y.js +10 -0
  135. package/web/UrlSource-CqF0h6B-.js +10 -0
  136. package/web/UrlSource-D-971Nut.js +70 -0
  137. package/web/UrlSource-DhI3YCt5.js +70 -0
  138. package/web/UrlSource-hWV7jtB2.js +70 -0
  139. package/web/abstract/CTX.d.ts +40 -0
  140. package/web/abstract/TypedCollection.d.ts +47 -0
  141. package/web/abstract/TypedCollection.test.d.ts +1 -0
  142. package/web/abstract/TypedData.d.ts +12 -0
  143. package/web/abstract/TypedData.test.d.ts +1 -0
  144. package/web/abstract/UploaderPublicApi.d.ts +41 -0
  145. package/web/abstract/buildOutputCollectionState.d.ts +3 -0
  146. package/web/abstract/customConfigOptions.d.ts +65 -0
  147. package/web/abstract/defineComponents.d.ts +1 -0
  148. package/web/abstract/features/ClipboardLayer.d.ts +12 -0
  149. package/web/abstract/loadFileUploaderFrom.d.ts +13 -0
  150. package/web/abstract/localeRegistry.d.ts +5 -0
  151. package/web/abstract/managers/LocaleManager.d.ts +10 -0
  152. package/web/abstract/managers/ModalManager.d.ts +53 -0
  153. package/web/abstract/managers/SecureUploadsManager.d.ts +7 -0
  154. package/web/abstract/managers/TelemetryManager.d.ts +41 -0
  155. package/web/abstract/managers/ValidationManager.d.ts +34 -0
  156. package/web/abstract/managers/__tests__/ModalManager.test.d.ts +13 -0
  157. package/web/abstract/managers/__tests__/SecureUploadsManager.test.d.ts +1 -0
  158. package/web/abstract/managers/a11y.d.ts +9 -0
  159. package/web/abstract/managers/plugin/PluginManager.d.ts +25 -0
  160. package/web/abstract/managers/plugin/PluginTypes.d.ts +146 -0
  161. package/web/abstract/managers/plugin/index.d.ts +2 -0
  162. package/web/abstract/sharedConfigKey.d.ts +2 -0
  163. package/web/abstract/uploadEntrySchema.d.ts +34 -0
  164. package/web/blocks/ActivityHeader/ActivityHeader.d.ts +8 -0
  165. package/web/blocks/CameraSource/CameraSource.d.ts +121 -0
  166. package/web/blocks/CameraSource/__tests__/calcCameraModes.test.d.ts +1 -0
  167. package/web/blocks/CameraSource/calcCameraModes.d.ts +5 -0
  168. package/web/blocks/CameraSource/constants.d.ts +15 -0
  169. package/web/blocks/CloudImageEditor/index.d.ts +1 -0
  170. package/web/blocks/CloudImageEditor/src/CloudImageEditorBlock.d.ts +60 -0
  171. package/web/blocks/CloudImageEditor/src/CropFrame.d.ts +56 -0
  172. package/web/blocks/CloudImageEditor/src/EditorAspectRatioButtonControl.d.ts +24 -0
  173. package/web/blocks/CloudImageEditor/src/EditorButtonControl.d.ts +14 -0
  174. package/web/blocks/CloudImageEditor/src/EditorCropButtonControl.d.ts +13 -0
  175. package/web/blocks/CloudImageEditor/src/EditorFilterControl.d.ts +35 -0
  176. package/web/blocks/CloudImageEditor/src/EditorImageCropper.d.ts +56 -0
  177. package/web/blocks/CloudImageEditor/src/EditorImageFader.d.ts +63 -0
  178. package/web/blocks/CloudImageEditor/src/EditorOperationControl.d.ts +15 -0
  179. package/web/blocks/CloudImageEditor/src/EditorScroller.d.ts +15 -0
  180. package/web/blocks/CloudImageEditor/src/EditorSlider.d.ts +33 -0
  181. package/web/blocks/CloudImageEditor/src/EditorToolbar.d.ts +68 -0
  182. package/web/blocks/CloudImageEditor/src/crop-utils.d.ts +36 -0
  183. package/web/blocks/CloudImageEditor/src/crop-utils.test.d.ts +1 -0
  184. package/web/blocks/CloudImageEditor/src/cropper-constants.d.ts +10 -0
  185. package/web/blocks/CloudImageEditor/src/elements/button/BtnUi.d.ts +31 -0
  186. package/web/blocks/CloudImageEditor/src/elements/line-loader/LineLoaderUi.d.ts +19 -0
  187. package/web/blocks/CloudImageEditor/src/elements/presence-toggle/PresenceToggle.d.ts +27 -0
  188. package/web/blocks/CloudImageEditor/src/elements/slider/SliderUi.d.ts +38 -0
  189. package/web/blocks/CloudImageEditor/src/index.d.ts +15 -0
  190. package/web/blocks/CloudImageEditor/src/lib/classNames.d.ts +5 -0
  191. package/web/blocks/CloudImageEditor/src/lib/classNames.test.d.ts +1 -0
  192. package/web/blocks/CloudImageEditor/src/lib/linspace.d.ts +1 -0
  193. package/web/blocks/CloudImageEditor/src/lib/linspace.test.d.ts +1 -0
  194. package/web/blocks/CloudImageEditor/src/lib/parseCropPreset.d.ts +4 -0
  195. package/web/blocks/CloudImageEditor/src/lib/parseCropPreset.test.d.ts +1 -0
  196. package/web/blocks/CloudImageEditor/src/lib/parseTabs.d.ts +2 -0
  197. package/web/blocks/CloudImageEditor/src/lib/pick.d.ts +1 -0
  198. package/web/blocks/CloudImageEditor/src/lib/pick.test.d.ts +1 -0
  199. package/web/blocks/CloudImageEditor/src/lib/transformationUtils.d.ts +7 -0
  200. package/web/blocks/CloudImageEditor/src/state.d.ts +20 -0
  201. package/web/blocks/CloudImageEditor/src/svg-sprite.d.ts +2 -0
  202. package/web/blocks/CloudImageEditor/src/toolbar-constants.d.ts +61 -0
  203. package/web/blocks/CloudImageEditor/src/types.d.ts +60 -0
  204. package/web/blocks/CloudImageEditor/src/util.d.ts +2 -0
  205. package/web/blocks/CloudImageEditor/src/utils/parseFilterValue.d.ts +7 -0
  206. package/web/blocks/CloudImageEditor/src/utils/parseFilterValue.test.d.ts +1 -0
  207. package/web/blocks/CloudImageEditorActivity/CloudImageEditorActivity.d.ts +25 -0
  208. package/web/blocks/Config/Config.d.ts +60 -0
  209. package/web/blocks/Config/assertions.d.ts +5 -0
  210. package/web/blocks/Config/computed-properties.d.ts +24 -0
  211. package/web/blocks/Config/computed-properties.test.d.ts +1 -0
  212. package/web/blocks/Config/initialConfig.d.ts +6 -0
  213. package/web/blocks/Config/normalizeConfigValue.d.ts +2 -0
  214. package/web/blocks/Config/validatorsType.d.ts +18 -0
  215. package/web/blocks/Copyright/Copyright.d.ts +10 -0
  216. package/web/blocks/DropArea/DropArea.d.ts +47 -0
  217. package/web/blocks/DropArea/addDropzone.d.ts +17 -0
  218. package/web/blocks/DropArea/getDropItems.d.ts +12 -0
  219. package/web/blocks/ExternalSource/ExternalSource.d.ts +45 -0
  220. package/web/blocks/ExternalSource/MessageBridge.d.ts +11 -0
  221. package/web/blocks/ExternalSource/buildThemeDefinition.d.ts +4 -0
  222. package/web/blocks/ExternalSource/query-string.d.ts +1 -0
  223. package/web/blocks/ExternalSource/types.d.ts +105 -0
  224. package/web/blocks/FileItem/FileItem.d.ts +50 -0
  225. package/web/blocks/FileItem/FileItemConfig.d.ts +10 -0
  226. package/web/blocks/FormInput/FormInput.d.ts +18 -0
  227. package/web/blocks/Icon/Icon.d.ts +19 -0
  228. package/web/blocks/Img/Img.d.ts +14 -0
  229. package/web/blocks/Img/ImgBase.d.ts +29 -0
  230. package/web/blocks/Img/ImgConfig.d.ts +28 -0
  231. package/web/blocks/Img/configurations.d.ts +11 -0
  232. package/web/blocks/Img/props-map.d.ts +28 -0
  233. package/web/blocks/Img/utils/parseObjectToString.d.ts +2 -0
  234. package/web/blocks/Modal/Modal.d.ts +34 -0
  235. package/web/blocks/PluginActivityRenderer/PluginActivityRenderer.d.ts +32 -0
  236. package/web/blocks/PluginActivityRenderer/index.d.ts +1 -0
  237. package/web/blocks/ProgressBar/ProgressBar.d.ts +21 -0
  238. package/web/blocks/ProgressBarCommon/ProgressBarCommon.d.ts +17 -0
  239. package/web/blocks/Select/Select.d.ts +18 -0
  240. package/web/blocks/SimpleBtn/SimpleBtn.d.ts +15 -0
  241. package/web/blocks/SourceBtn/SourceBtn.d.ts +23 -0
  242. package/web/blocks/SourceList/SourceList.d.ts +24 -0
  243. package/web/blocks/Spinner/Spinner.d.ts +9 -0
  244. package/web/blocks/StartFrom/StartFrom.d.ts +12 -0
  245. package/web/blocks/Thumb/Thumb.d.ts +35 -0
  246. package/web/blocks/UploadCtxProvider/EventEmitter.d.ts +70 -0
  247. package/web/blocks/UploadCtxProvider/UploadCtxProvider.d.ts +44 -0
  248. package/web/blocks/UploadList/UploadList.d.ts +39 -0
  249. package/web/blocks/UrlSource/UrlSource.d.ts +14 -0
  250. package/web/blocks/svg-backgrounds/svg-backgrounds.d.ts +3 -0
  251. package/web/blocks/themes/uc-basic/svg-sprite.d.ts +2 -0
  252. package/web/cameraPlugin-DeedXMWV.js +8 -0
  253. package/web/cameraPlugin-Duy1QwjB.js +8 -0
  254. package/web/cameraPlugin-QS9SUOtO.js +8 -0
  255. package/web/cameraPlugin-bq8ggY04.js +8 -0
  256. package/web/cameraPlugin-cel9YgP_.js +8 -0
  257. package/web/cloud-image-editor-8DrVRZ7E.js +12 -0
  258. package/web/cloud-image-editor-BX50EK1U.js +12 -0
  259. package/web/cloud-image-editor-DSW3oWq-.js +12 -0
  260. package/web/cloud-image-editor-DuI2Lx4M.js +12 -0
  261. package/web/cloudImageEditorPlugin-5my6aD36.js +8 -0
  262. package/web/cloudImageEditorPlugin-Bk19DmJv.js +8 -0
  263. package/web/cloudImageEditorPlugin-CcdnmtBW.js +8 -0
  264. package/web/cloudImageEditorPlugin-DQJmDl03.js +8 -0
  265. package/web/cloudImageEditorPlugin-kojghfqw.js +8 -0
  266. package/web/constants-BCfCF0cJ.js +4025 -0
  267. package/web/core.d.ts +42 -0
  268. package/web/env.d.ts +2 -0
  269. package/web/externalSourcesPlugin-BTeRm5C0.js +8 -0
  270. package/web/externalSourcesPlugin-BXgVeojg.js +8 -0
  271. package/web/externalSourcesPlugin-BgLpuIK9.js +8 -0
  272. package/web/externalSourcesPlugin-DMc9zs4T.js +8 -0
  273. package/web/externalSourcesPlugin-Dm9vnTBv.js +8 -0
  274. package/web/file-uploader.iife.min.js +697 -0
  275. package/web/file-uploader.min.js +1859 -0
  276. package/web/imageShrinkPlugin-BdHgEGZH.js +8 -0
  277. package/web/imageShrinkPlugin-BjkMGfvT.js +8 -0
  278. package/web/imageShrinkPlugin-CCkGHL2w.js +8 -0
  279. package/web/imageShrinkPlugin-D4WjaRGo.js +8 -0
  280. package/web/imageShrinkPlugin-DqYGutVx.js +8 -0
  281. package/web/index.d.ts +42 -0
  282. package/web/instagramPlugin-BTMz0K2a.js +8 -0
  283. package/web/instagramPlugin-BbIKgTH7.js +8 -0
  284. package/web/instagramPlugin-CQQhsEJa.js +8 -0
  285. package/web/instagramPlugin-Cm7lWKae.js +8 -0
  286. package/web/instagramPlugin-DcclxM_d.js +8 -0
  287. package/web/lit/BaseComponent.d.ts +12 -0
  288. package/web/lit/Constructor.d.ts +1 -0
  289. package/web/lit/CssDataMixin.d.ts +7 -0
  290. package/web/lit/LightDomMixin.d.ts +8 -0
  291. package/web/lit/LitActivityBlock.d.ts +53 -0
  292. package/web/lit/LitBlock.d.ts +83 -0
  293. package/web/lit/LitSolutionBlock.d.ts +21 -0
  294. package/web/lit/LitUploaderBlock.d.ts +53 -0
  295. package/web/lit/PubSubCompat.d.ts +18 -0
  296. package/web/lit/RegisterableElementMixin.d.ts +7 -0
  297. package/web/lit/SharedState.d.ts +119 -0
  298. package/web/lit/SymbioteCompatMixin.d.ts +40 -0
  299. package/web/lit/TestModeController.d.ts +16 -0
  300. package/web/lit/Uid.d.ts +3 -0
  301. package/web/lit/activity-constants.d.ts +11 -0
  302. package/web/lit/createDebugPrinter.d.ts +3 -0
  303. package/web/lit/findBlockInCtx.d.ts +3 -0
  304. package/web/lit/getOutputData.d.ts +2 -0
  305. package/web/lit/hasBlockInCtx.d.ts +3 -0
  306. package/web/lit/l10n.d.ts +5 -0
  307. package/web/lit/parseCssPropertyValue.d.ts +1 -0
  308. package/web/lit/shared-instances.d.ts +65 -0
  309. package/web/locales/file-uploader/ar.d.ts +137 -0
  310. package/web/locales/file-uploader/az.d.ts +129 -0
  311. package/web/locales/file-uploader/ca.d.ts +131 -0
  312. package/web/locales/file-uploader/cs.d.ts +133 -0
  313. package/web/locales/file-uploader/da.d.ts +129 -0
  314. package/web/locales/file-uploader/de.d.ts +129 -0
  315. package/web/locales/file-uploader/el.d.ts +129 -0
  316. package/web/locales/file-uploader/en.d.ts +129 -0
  317. package/web/locales/file-uploader/es.d.ts +131 -0
  318. package/web/locales/file-uploader/et.d.ts +129 -0
  319. package/web/locales/file-uploader/fi.d.ts +129 -0
  320. package/web/locales/file-uploader/fr.d.ts +131 -0
  321. package/web/locales/file-uploader/he.d.ts +131 -0
  322. package/web/locales/file-uploader/hy.d.ts +129 -0
  323. package/web/locales/file-uploader/is.d.ts +129 -0
  324. package/web/locales/file-uploader/it.d.ts +131 -0
  325. package/web/locales/file-uploader/ja.d.ts +129 -0
  326. package/web/locales/file-uploader/ka.d.ts +129 -0
  327. package/web/locales/file-uploader/kk.d.ts +129 -0
  328. package/web/locales/file-uploader/ko.d.ts +129 -0
  329. package/web/locales/file-uploader/lv.d.ts +131 -0
  330. package/web/locales/file-uploader/nb.d.ts +129 -0
  331. package/web/locales/file-uploader/nl.d.ts +129 -0
  332. package/web/locales/file-uploader/pl.d.ts +133 -0
  333. package/web/locales/file-uploader/pt.d.ts +131 -0
  334. package/web/locales/file-uploader/ro.d.ts +131 -0
  335. package/web/locales/file-uploader/ru.d.ts +133 -0
  336. package/web/locales/file-uploader/sk.d.ts +133 -0
  337. package/web/locales/file-uploader/sr.d.ts +131 -0
  338. package/web/locales/file-uploader/sv.d.ts +129 -0
  339. package/web/locales/file-uploader/tr.d.ts +129 -0
  340. package/web/locales/file-uploader/uk.d.ts +133 -0
  341. package/web/locales/file-uploader/vi.d.ts +129 -0
  342. package/web/locales/file-uploader/zh-TW.d.ts +129 -0
  343. package/web/locales/file-uploader/zh.d.ts +129 -0
  344. package/web/plugins/cameraPlugin.d.ts +2 -0
  345. package/web/plugins/cloudImageEditorPlugin.d.ts +2 -0
  346. package/web/plugins/externalSourcesPlugin.d.ts +2 -0
  347. package/web/plugins/imageShrinkPlugin.d.ts +2 -0
  348. package/web/plugins/instagramPlugin.d.ts +2 -0
  349. package/web/plugins/unsplashPlugin.d.ts +16 -0
  350. package/web/plugins/urlSourcePlugin.d.ts +2 -0
  351. package/web/plugins-Bt7FXHKx.js +562 -0
  352. package/web/plugins-CaaolyMk.js +562 -0
  353. package/web/plugins-Cjgw5oWg.js +562 -0
  354. package/web/plugins-CzNtrVQB.js +562 -0
  355. package/web/plugins-DS0hIs2V.js +563 -0
  356. package/web/ref-BOnG19ns.js +4040 -0
  357. package/web/ref-BejJFG7m.js +4040 -0
  358. package/web/ref-DcRg7zo9.js +4040 -0
  359. package/web/ref-ZWPcLQB9.js +4040 -0
  360. package/web/solutions/adaptive-image/index.d.ts +2 -0
  361. package/web/solutions/cloud-image-editor/CloudImageEditor.d.ts +11 -0
  362. package/web/solutions/cloud-image-editor/index.d.ts +5 -0
  363. package/web/solutions/file-uploader/inline/FileUploaderInline.d.ts +20 -0
  364. package/web/solutions/file-uploader/inline/index.d.ts +1 -0
  365. package/web/solutions/file-uploader/minimal/FileUploaderMinimal.d.ts +23 -0
  366. package/web/solutions/file-uploader/minimal/index.d.ts +1 -0
  367. package/web/solutions/file-uploader/regular/FileUploaderRegular.d.ts +17 -0
  368. package/web/solutions/file-uploader/regular/index.d.ts +1 -0
  369. package/web/style-map-BmZdux7T.js +37 -0
  370. package/web/style-map-CZ6fSV6e.js +37 -0
  371. package/web/style-map-Dk7mLCrB.js +37 -0
  372. package/web/style-map-HkHnu9oA.js +37 -0
  373. package/web/style-map-tw1yUEaj.js +37 -0
  374. package/web/types/dom.d.ts +1 -0
  375. package/web/types/events.d.ts +4 -0
  376. package/web/types/exported.d.ts +492 -0
  377. package/web/types/index.d.ts +5 -0
  378. package/web/uc-basic.layered.min.css +6046 -0
  379. package/web/uc-basic.min.css +5487 -0
  380. package/web/uc-cloud-image-editor.layered.min.css +1884 -0
  381. package/web/uc-cloud-image-editor.min.css +1675 -0
  382. package/web/uc-cloud-image-editor.min.js +457 -0
  383. package/web/uc-file-uploader-inline.layered.min.css +4352 -0
  384. package/web/uc-file-uploader-inline.min.css +3836 -0
  385. package/web/uc-file-uploader-inline.min.js +1859 -0
  386. package/web/uc-file-uploader-minimal.layered.min.css +4352 -0
  387. package/web/uc-file-uploader-minimal.min.css +3836 -0
  388. package/web/uc-file-uploader-minimal.min.js +1859 -0
  389. package/web/uc-file-uploader-regular.layered.min.css +4352 -0
  390. package/web/uc-file-uploader-regular.min.css +3836 -0
  391. package/web/uc-file-uploader-regular.min.js +1859 -0
  392. package/web/uc-img.min.js +895 -0
  393. package/web/urlSourcePlugin-9lhcr02f.js +8 -0
  394. package/web/urlSourcePlugin-C-sLGhGb.js +8 -0
  395. package/web/urlSourcePlugin-DNXDpnRD.js +8 -0
  396. package/web/urlSourcePlugin-JnD0cnxb.js +8 -0
  397. package/web/urlSourcePlugin-hcMU2K6T.js +8 -0
  398. package/web/utils/UID.d.ts +5 -0
  399. package/web/utils/UID.test.d.ts +1 -0
  400. package/web/utils/UploadSource.d.ts +37 -0
  401. package/web/utils/WindowHeightTracker.d.ts +9 -0
  402. package/web/utils/abilities.d.ts +1 -0
  403. package/web/utils/applyStyles.d.ts +1 -0
  404. package/web/utils/browser-info.d.ts +12 -0
  405. package/web/utils/browser-info.test.d.ts +1 -0
  406. package/web/utils/cdn-utils.d.ts +53 -0
  407. package/web/utils/cdn-utils.test.d.ts +1 -0
  408. package/web/utils/comma-separated.d.ts +2 -0
  409. package/web/utils/debounce.d.ts +3 -0
  410. package/web/utils/delay.d.ts +1 -0
  411. package/web/utils/fileTypes.d.ts +11 -0
  412. package/web/utils/fileTypes.test.d.ts +1 -0
  413. package/web/utils/get-top-level-origin.d.ts +1 -0
  414. package/web/utils/get-top-level-origin.test.d.ts +1 -0
  415. package/web/utils/getLocaleDirection.d.ts +1 -0
  416. package/web/utils/getPluralForm.d.ts +1 -0
  417. package/web/utils/getPluralForm.test.d.ts +1 -0
  418. package/web/utils/isPromiseLike.d.ts +1 -0
  419. package/web/utils/isPromiseLike.test.d.ts +1 -0
  420. package/web/utils/isSecureTokenExpired.d.ts +8 -0
  421. package/web/utils/isSecureTokenExpired.test.d.ts +1 -0
  422. package/web/utils/memoize.d.ts +1 -0
  423. package/web/utils/memoize.test.d.ts +1 -0
  424. package/web/utils/mixinClass.d.ts +8 -0
  425. package/web/utils/parseCdnUrl.d.ts +11 -0
  426. package/web/utils/parseCdnUrl.test.d.ts +1 -0
  427. package/web/utils/parseShrink.d.ts +7 -0
  428. package/web/utils/parseShrink.test.d.ts +1 -0
  429. package/web/utils/preloadImage.d.ts +10 -0
  430. package/web/utils/prettyBytes.d.ts +11 -0
  431. package/web/utils/prettyBytes.test.d.ts +1 -0
  432. package/web/utils/resizeImage.d.ts +1 -0
  433. package/web/utils/stringToArray.d.ts +1 -0
  434. package/web/utils/stringToArray.test.d.ts +1 -0
  435. package/web/utils/template-utils.d.ts +16 -0
  436. package/web/utils/template-utils.test.d.ts +1 -0
  437. package/web/utils/throttle.d.ts +3 -0
  438. package/web/utils/toKebabCase.d.ts +2 -0
  439. package/web/utils/toKebabCase.test.d.ts +1 -0
  440. package/web/utils/transparentPixelSrc.d.ts +1 -0
  441. package/web/utils/uniqueArray.d.ts +1 -0
  442. package/web/utils/uniqueArray.test.d.ts +1 -0
  443. package/web/utils/userAgent.d.ts +2 -0
  444. package/web/utils/validators/collection/index.d.ts +2 -0
  445. package/web/utils/validators/collection/validateCollectionUploadError.d.ts +2 -0
  446. package/web/utils/validators/collection/validateMultiple.d.ts +2 -0
  447. package/web/utils/validators/file/index.d.ts +4 -0
  448. package/web/utils/validators/file/validateFileType.d.ts +2 -0
  449. package/web/utils/validators/file/validateIsImage.d.ts +2 -0
  450. package/web/utils/validators/file/validateMaxSizeLimit.d.ts +2 -0
  451. package/web/utils/validators/file/validateUploadError.d.ts +2 -0
  452. package/web/utils/warnOnce.d.ts +1 -0
  453. package/web/utils/wildcardRegexp.d.ts +1 -0
  454. package/web/utils/wildcardRegexp.test.d.ts +1 -0
  455. package/web/utils/withResolvers.d.ts +5 -0
  456. package/web/utils/withResolvers.test.d.ts +1 -0
  457. package/dist/CameraSource-px4BzEMI.js +0 -9
  458. package/dist/ExternalSource-CR5DG0Jv.js +0 -9
  459. package/dist/UrlSource-BxVL9Pve.js +0 -9
  460. package/dist/cameraPlugin-dGash48Q.js +0 -8
  461. package/dist/cloudImageEditorPlugin-2EU0Pm_j.js +0 -8
  462. package/dist/env-B1nfXy9i.js +0 -8
  463. package/dist/externalSourcesPlugin-DKQqk3AC.js +0 -8
  464. package/dist/imageShrinkPlugin-DAx8eRen.js +0 -8
  465. package/dist/instagramPlugin-k67tMAo3.js +0 -8
  466. package/dist/urlSourcePlugin-9xdB7Pvw.js +0 -8
@@ -0,0 +1,1675 @@
1
+
2
+ /* TODO: we should use basic theme there */uc-icon {
3
+ display: inline-flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+ width: var(--uc-button-size);
7
+ height: var(--uc-button-size);
8
+ }uc-icon svg {
9
+ width: calc(var(--uc-button-size) / 2);
10
+ height: calc(var(--uc-button-size) / 2);
11
+ overflow: visible;
12
+ }
13
+ :where([uc-wgt-common]):not(#\#) {
14
+ /* Font */
15
+ --uc-font-family: system-ui;
16
+ --uc-font-size: 14px;
17
+ --uc-line-height: normal;
18
+ --uc-simple-btn-font-family: system-ui;
19
+ --uc-simple-btn-font-size: 14px;
20
+
21
+ /* Sizes */
22
+ --uc-button-size: 32px;
23
+ --uc-preview-size: 32px;
24
+ --uc-padding: 10px;
25
+ --uc-radius: 8px;
26
+ --uc-transition: 0.2s ease;
27
+ --uc-dialog-width: 430px;
28
+ --uc-dialog-max-width: 920px;
29
+ --uc-dialog-max-height: 675px;
30
+ --uc-simple-btn-padding: 7px 14px;
31
+
32
+ --uc-grid-col: 3;
33
+ --uc-grid-preview-image-height: auto;
34
+ --uc-grid-gap: calc(var(--uc-padding) / 2);
35
+ --uc-grid-aspect-ratio: 1 / 1;
36
+
37
+ /* Default colors, in case of media query failure */
38
+ --uc-background: var(--uc-background-light);
39
+ --uc-foreground: var(--uc-foreground-light);
40
+ --uc-primary: var(--uc-primary-light);
41
+ --uc-primary-hover: var(--uc-primary-hover-light);
42
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
43
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
44
+ --uc-secondary: var(--uc-secondary-light);
45
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
46
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
47
+ --uc-muted: var(--uc-muted-light);
48
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
49
+ --uc-destructive: var(--uc-destructive-light);
50
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
51
+ --uc-border: var(--uc-border-light);
52
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
53
+ --uc-simple-btn: var(--uc-simple-btn-light);
54
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
55
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
56
+ }
57
+ @supports not (color: oklch(0% 0 0)) {
58
+ :where([uc-wgt-common]):not(#\#) {
59
+ /* Light colors RGB fallback */
60
+ --uc-primary-rgb-light: 23 75 215;
61
+ --uc-primary-light: rgb(var(--uc-primary-rgb-light));
62
+ --uc-primary-hover-light: rgb(var(--uc-primary-rgb-light) / 90%);
63
+ --uc-primary-transparent-light: rgb(var(--uc-primary-rgb-light) / 10%);
64
+ --uc-background-light: rgb(255 255 255);
65
+ --uc-foreground-light: rgb(24 24 24);
66
+ --uc-primary-foreground-light: #fff;
67
+ --uc-secondary-light: rgb(24 24 24 / 5%);
68
+ --uc-secondary-hover-light: rgb(24 24 24 / 8%);
69
+ --uc-secondary-foreground-light: rgb(24 24 24);
70
+ --uc-muted-light: rgb(245 245 245);
71
+ --uc-muted-foreground-light: rgb(113 113 113);
72
+ --uc-destructive-light: rgb(232 19 20 / 5%);
73
+ --uc-destructive-foreground-light: rgb(232 19 20);
74
+ --uc-border-light: rgb(228 228 232);
75
+ --uc-dialog-shadow-light: 0px 6px 20px rgb(0 0 0 / 10%);
76
+ --uc-simple-btn-light: rgb(235 235 235);
77
+ --uc-simple-btn-hover-light: rgb(228 228 228);
78
+ --uc-simple-btn-foreground-light: rgb(24 24 24);
79
+
80
+ /* Dark colors RGB fallback */
81
+ --uc-primary-rgb-dark: 87 154 255;
82
+ --uc-primary-dark: rgb(var(--uc-primary-rgb-dark));
83
+ --uc-primary-hover-dark: rgb(var(--uc-primary-rgb-dark) / 90%);
84
+ --uc-primary-transparent-dark: rgb(var(--uc-primary-rgb-dark) / 7%);
85
+ --uc-background-dark: rgb(27 27 27);
86
+ --uc-foreground-dark: rgb(225 225 225);
87
+ --uc-primary-foreground-dark: rgb(0 0 0);
88
+ --uc-secondary-dark: rgb(225 225 225 / 7%);
89
+ --uc-secondary-hover-dark: rgb(225 225 225 / 10%);
90
+ --uc-secondary-foreground-dark: rgb(225 225 225);
91
+ --uc-muted-dark: rgb(36 36 36);
92
+ --uc-muted-foreground-dark: rgb(152 152 152);
93
+ --uc-destructive-dark: rgb(244 90 79 / 10%);
94
+ --uc-destructive-foreground-dark: rgb(244 90 79);
95
+ --uc-border-dark: rgb(61 61 61);
96
+ --uc-dialog-shadow-dark: 0px 6px 20px rgb(0 0 0 / 25%);
97
+ --uc-simple-btn-dark: rgb(36 36 36);
98
+ --uc-simple-btn-hover-dark: rgb(43 43 43);
99
+ --uc-simple-btn-foreground-dark: rgb(255 255 255);
100
+ }
101
+ }
102
+ @supports (color: oklch(0% 0 0)) {
103
+ :where([uc-wgt-common]):not(#\#) {
104
+ /* Light colors OKLCH */
105
+ --uc-primary-oklch-light: 47% 0.22 264; /* Quick customization: change this value to your brand color */
106
+ --uc-primary-light: oklch(var(--uc-primary-oklch-light));
107
+ --uc-primary-hover-light: oklch(var(--uc-primary-oklch-light) / 90%);
108
+ --uc-primary-transparent-light: oklch(var(--uc-primary-oklch-light) / 7%);
109
+ --uc-background-light: oklch(100% 0 0);
110
+ --uc-foreground-light: oklch(21% 0 0);
111
+ --uc-primary-foreground-light: oklch(100% 0 0);
112
+ --uc-secondary-light: oklch(21% 0 0 / 0.05);
113
+ --uc-secondary-hover-light: oklch(21% 0 0 / 0.08);
114
+ --uc-secondary-foreground-light: oklch(21% 0 0);
115
+ --uc-muted-light: oklch(97% 0 0);
116
+ --uc-muted-foreground-light: oklch(40% 0 0);
117
+ --uc-destructive-light: oklch(59% 0.235 28.5 / 0.05);
118
+ --uc-destructive-foreground-light: oklch(59% 0.235 28.5);
119
+ --uc-border-light: oklch(92% 0 0);
120
+ --uc-dialog-shadow-light: 0px 6px 20px oklch(0% 0 0 / 0.1);
121
+ --uc-simple-btn-light: oklch(94% 0 0);
122
+ --uc-simple-btn-hover-light: oklch(92% 0 0);
123
+ --uc-simple-btn-foreground-light: oklch(20% 0 0);
124
+
125
+ /* Dark colors OKLCH */
126
+ --uc-primary-oklch-dark: 69% 0.1768 258.4; /* Quick customization: change this value to your brand color */
127
+ --uc-primary-dark: oklch(var(--uc-primary-oklch-dark));
128
+ --uc-primary-hover-dark: oklch(var(--uc-primary-oklch-dark) / 90%);
129
+ --uc-primary-transparent-dark: oklch(var(--uc-primary-oklch-dark) / 7%);
130
+ --uc-background-dark: oklch(22% 0 0);
131
+ --uc-foreground-dark: oklch(91% 0 0);
132
+ --uc-primary-foreground-dark: oklch(0% 0 0);
133
+ --uc-secondary-dark: oklch(91% 0 0 / 0.07);
134
+ --uc-secondary-hover-dark: oklch(91% 0 0 / 0.1);
135
+ --uc-secondary-foreground-dark: oklch(91% 0 0);
136
+ --uc-muted-dark: oklch(26% 0 0);
137
+ --uc-muted-foreground-dark: oklch(68% 0 0);
138
+ --uc-destructive-dark: oklch(67% 0.191 27.5 / 0.1);
139
+ --uc-destructive-foreground-dark: oklch(67% 0.191 27.5);
140
+ --uc-border-dark: oklch(36% 0 0);
141
+ --uc-dialog-shadow-dark: 0px 6px 20px oklch(0% 0 0 / 0.25);
142
+ --uc-simple-btn-dark: oklch(26% 0 0);
143
+ --uc-simple-btn-hover-dark: oklch(29% 0 0);
144
+ --uc-simple-btn-foreground-dark: oklch(100% 0 0);
145
+ }
146
+ }
147
+ @media only screen and (max-height: 600px) {
148
+ :where([uc-wgt-common]):not(#\#) {
149
+ --uc-dialog-max-height: 100%;
150
+ }
151
+ }
152
+ @media only screen and (max-width: 680px) {
153
+ :where([uc-wgt-common]):not(#\#) {
154
+ --uc-grid-col: 2;
155
+ }
156
+ }
157
+ @media only screen and (max-width: 430px) {
158
+ :where([uc-wgt-common]):not(#\#) {
159
+ --uc-dialog-max-width: 100vw;
160
+ --uc-dialog-max-height: var(--uploadcare-blocks-window-height);
161
+ --uc-grid-col: 1;
162
+ }
163
+ }
164
+ @media (prefers-color-scheme: light) {
165
+ :where([uc-wgt-common]):not(#\#) {
166
+ --uc-background: var(--uc-background-light);
167
+ --uc-foreground: var(--uc-foreground-light);
168
+ --uc-primary: var(--uc-primary-light);
169
+ --uc-primary-hover: var(--uc-primary-hover-light);
170
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
171
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
172
+ --uc-secondary: var(--uc-secondary-light);
173
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
174
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
175
+ --uc-muted: var(--uc-muted-light);
176
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
177
+ --uc-destructive: var(--uc-destructive-light);
178
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
179
+ --uc-border: var(--uc-border-light);
180
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
181
+ --uc-simple-btn: var(--uc-simple-btn-light);
182
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
183
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
184
+ }
185
+ }
186
+ @media (prefers-color-scheme: dark) {
187
+ :where([uc-wgt-common]):not(#\#) {
188
+ --uc-background: var(--uc-background-dark);
189
+ --uc-foreground: var(--uc-foreground-dark);
190
+ --uc-primary: var(--uc-primary-dark);
191
+ --uc-primary-hover: var(--uc-primary-hover-dark);
192
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
193
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
194
+ --uc-secondary: var(--uc-secondary-dark);
195
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
196
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
197
+ --uc-muted: var(--uc-muted-dark);
198
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
199
+ --uc-destructive: var(--uc-destructive-dark);
200
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
201
+ --uc-border: var(--uc-border-dark);
202
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
203
+ --uc-simple-btn: var(--uc-simple-btn-dark);
204
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
205
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
206
+ }
207
+ }
208
+ :where(.uc-light):not(#\#) {
209
+ --uc-background: var(--uc-background-light);
210
+ --uc-foreground: var(--uc-foreground-light);
211
+ --uc-primary: var(--uc-primary-light);
212
+ --uc-primary-hover: var(--uc-primary-hover-light);
213
+ --uc-primary-transparent: var(--uc-primary-transparent-light);
214
+ --uc-primary-foreground: var(--uc-primary-foreground-light);
215
+ --uc-secondary: var(--uc-secondary-light);
216
+ --uc-secondary-hover: var(--uc-secondary-hover-light);
217
+ --uc-secondary-foreground: var(--uc-secondary-foreground-light);
218
+ --uc-muted: var(--uc-muted-light);
219
+ --uc-muted-foreground: var(--uc-muted-foreground-light);
220
+ --uc-destructive: var(--uc-destructive-light);
221
+ --uc-destructive-foreground: var(--uc-destructive-foreground-light);
222
+ --uc-border: var(--uc-border-light);
223
+ --uc-dialog-shadow: var(--uc-dialog-shadow-light);
224
+ --uc-simple-btn: var(--uc-simple-btn-light);
225
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-light);
226
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-light);
227
+ }
228
+ :where(.uc-dark):not(#\#) {
229
+ --uc-background: var(--uc-background-dark);
230
+ --uc-foreground: var(--uc-foreground-dark);
231
+ --uc-primary: var(--uc-primary-dark);
232
+ --uc-primary-hover: var(--uc-primary-hover-dark);
233
+ --uc-primary-transparent: var(--uc-primary-transparent-dark);
234
+ --uc-primary-foreground: var(--uc-primary-foreground-dark);
235
+ --uc-secondary: var(--uc-secondary-dark);
236
+ --uc-secondary-hover: var(--uc-secondary-hover-dark);
237
+ --uc-secondary-foreground: var(--uc-secondary-foreground-dark);
238
+ --uc-muted: var(--uc-muted-dark);
239
+ --uc-muted-foreground: var(--uc-muted-foreground-dark);
240
+ --uc-destructive: var(--uc-destructive-dark);
241
+ --uc-destructive-foreground: var(--uc-destructive-foreground-dark);
242
+ --uc-border: var(--uc-border-dark);
243
+ --uc-dialog-shadow: var(--uc-dialog-shadow-dark);
244
+ --uc-simple-btn: var(--uc-simple-btn-dark);
245
+ --uc-simple-btn-hover: var(--uc-simple-btn-hover-dark);
246
+ --uc-simple-btn-foreground: var(--uc-simple-btn-foreground-dark);
247
+ }
248
+ :where(.uc-purple):not(#\#) {
249
+ --uc-primary-oklch-light: 47% 0.22 300;
250
+ --uc-primary-oklch-dark: 69% 0.1768 300;
251
+ }
252
+ :where(.uc-red):not(#\#) {
253
+ --uc-primary-oklch-light: 47% 0.21 21;
254
+ --uc-primary-oklch-dark: 71% 0.1768 21;
255
+ }
256
+ :where(.uc-orange):not(#\#) {
257
+ --uc-primary-oklch-light: 47% 0.1376 51.88;
258
+ --uc-primary-oklch-dark: 69% 0.1768 51.88;
259
+ }
260
+ :where(.uc-green):not(#\#) {
261
+ --uc-primary-oklch-light: 45% 0.14 130;
262
+ --uc-primary-oklch-dark: 69% 0.1768 130;
263
+ }
264
+ :where(.uc-turquoise):not(#\#) {
265
+ --uc-primary-oklch-light: 45% 0.0854 174;
266
+ --uc-primary-oklch-dark: 69% 0.1768 174;
267
+ }
268
+ :where(.uc-gray):not(#\#) {
269
+ --uc-primary-oklch-light: 10% 0 0;
270
+ --uc-primary-oklch-dark: 97% 0 0;
271
+ }
272
+ :where(.uc-contrast):not(#\#) {
273
+ --uc-border-light: oklch(50% 0 0);
274
+ --uc-border-dark: oklch(50% 0 0);
275
+
276
+ --uc-muted-light: oklch(98% 0 0);
277
+ --uc-muted-dark: oklch(16% 0 0);
278
+
279
+ --uc-muted-foreground-light: oklch(20% 0 0);
280
+ --uc-muted-foreground-dark: oklch(80% 0 0);
281
+
282
+ --uc-background-light: oklch(100% 0 0);
283
+ --uc-foreground-light: oklch(0% 0 0);
284
+
285
+ --uc-background-dark: oklch(10% 0 0);
286
+ --uc-foreground-dark: oklch(100% 0 0);
287
+ }
288
+ /** biome-ignore-all lint/complexity/noImportantStyles: TODO: Refactor styles to get rid of !important rules */
289
+ /* TODO: we should use basic theme there */
290
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) {
291
+ --color-primary-accent: var(--uc-primary);
292
+ --color-text-base: var(--uc-foreground);
293
+ --color-text-accent-contrast: var(--uc-background);
294
+ --color-fill-contrast: var(--uc-background);
295
+ --color-modal-backdrop: oklch(0% 0 0 / 0.1);
296
+ --color-image-background: var(--uc-muted);
297
+ --color-focus-ring: var(--color-primary-accent);
298
+ --color-crop-guides: var(--uc-foreground);
299
+
300
+ --font-size-ui: var(--uc-font-size);
301
+
302
+ --size-touch-area: var(--uc-button-size);
303
+ --size-panel-heading: calc(var(--uc-button-size) + var(--uc-padding) * 2);
304
+ --size-ui-min-width: 130px;
305
+ --size-line-width: 1px;
306
+ --size-modal-width: 650px;
307
+ --size-icon: calc(var(--uc-button-size) / 2);
308
+
309
+ /* TODO: remove icon size overrides */
310
+
311
+ --border-radius-editor: var(--uc-radius);
312
+ --border-radius-thumb: var(--uc-radius);
313
+ --border-radius-ui: var(--uc-radius);
314
+ --border-radius-base: var(--uc-radius);
315
+
316
+ --cldtr-gap-min: 5px;
317
+ --cldtr-gap-mid-1: 10px;
318
+ --cldtr-gap-mid-2: 15px;
319
+ --cldtr-gap-max: 20px;
320
+
321
+ --transition-duration-2: var(--transition-duration-all, 0.2s);
322
+ --transition-duration-3: var(--transition-duration-all, 0.3s);
323
+ --transition-duration-4: var(--transition-duration-all, 0.4s);
324
+ --transition-duration-5: var(--transition-duration-all, 0.5s);
325
+
326
+ --modal-header-opacity: 1;
327
+ --modal-header-height: var(--size-panel-heading);
328
+ --modal-toolbar-height: var(--size-panel-heading);
329
+
330
+ --transparent-pixel: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=");
331
+
332
+ display: block;
333
+ width: 100%;
334
+ height: 100%;
335
+ max-height: 100%;
336
+ }
337
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) :is([can-handle-paste]:hover, [can-handle-paste]:focus) {
338
+ --can-handle-paste: "true";
339
+ }
340
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#)
341
+ :is([tabindex]:focus-visible, [tabindex]:hover, [with-effects]:focus-visible, [with-effects]:hover) {
342
+ --filter-effect: var(--hover-filter) !important;
343
+ --opacity-effect: var(--hover-opacity) !important;
344
+ --color-effect: var(--hover-color-rgb) !important;
345
+ --background-effect: var(--hover-background) !important;
346
+ }
347
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) :is([tabindex]:active, [with-effects]:active) {
348
+ --filter-effect: var(--down-filter) !important;
349
+ --opacity-effect: var(--down-opacity) !important;
350
+ --color-effect: var(--down-color-rgb) !important;
351
+ --background-effect: var(--down-background) !important;
352
+ }
353
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) :is([tabindex][active], [with-effects][active]) {
354
+ --filter-effect: var(--active-filter) !important;
355
+ --opacity-effect: var(--active-opacity) !important;
356
+ --color-effect: var(--active-color-rgb) !important;
357
+ --background-effect: var(--active-background) !important;
358
+ }
359
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) [hidden-scrollbar]::-webkit-scrollbar {
360
+ display: none;
361
+ }
362
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) [hidden-scrollbar] {
363
+ -ms-overflow-style: none;
364
+ scrollbar-width: none;
365
+ }
366
+ [uc-cloud-image-editor].uc-editor_ON:not(#\#):not(#\#):not(#\#) {
367
+ --modal-header-opacity: 0;
368
+ --modal-header-height: 0px;
369
+ --modal-toolbar-height: calc(var(--size-panel-heading) * 2);
370
+ }
371
+ [uc-cloud-image-editor].uc-editor_OFF:not(#\#):not(#\#):not(#\#) {
372
+ --modal-header-opacity: 1;
373
+ --modal-header-height: var(--size-panel-heading);
374
+ --modal-toolbar-height: var(--size-panel-heading);
375
+ }
376
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper {
377
+ --l-min-img-height: var(--modal-toolbar-height);
378
+ --l-max-img-height: 100%;
379
+ --l-edit-button-width: 120px;
380
+ --l-toolbar-horizontal-padding: var(--cldtr-gap-mid-1);
381
+
382
+ position: relative;
383
+ display: grid;
384
+ grid-template-rows: minmax(var(--l-min-img-height), var(--l-max-img-height)) minmax(
385
+ var(--modal-toolbar-height),
386
+ auto
387
+ );
388
+ height: 100%;
389
+ overflow: hidden;
390
+ overflow-y: auto;
391
+ }
392
+ @media only screen and (max-width: 800px) {
393
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper {
394
+ --l-edit-button-width: 70px;
395
+ --l-toolbar-horizontal-padding: var(--cldtr-gap-min);
396
+ }
397
+ }
398
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport {
399
+ display: flex;
400
+ align-items: center;
401
+ justify-content: center;
402
+ overflow: hidden;
403
+ }
404
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image {
405
+ --viewer-image-opacity: 1;
406
+
407
+ position: absolute;
408
+ top: 0px;
409
+ left: 0px;
410
+ z-index: 10;
411
+ display: block;
412
+ box-sizing: border-box;
413
+ width: 100%;
414
+ height: 100%;
415
+ object-fit: scale-down;
416
+ background-color: var(--color-image-background);
417
+ transform: scale(1);
418
+ opacity: var(--viewer-image-opacity);
419
+ user-select: none;
420
+ pointer-events: auto;
421
+ }
422
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image.uc-image_visible_viewer {
423
+ transition:
424
+ opacity var(--transition-duration-3) ease-in-out,
425
+ transform var(--transition-duration-4);
426
+ }
427
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image.uc-image_hidden_to_cropper {
428
+ --viewer-image-opacity: 0;
429
+
430
+ background-image: var(--transparent-pixel);
431
+ transform: scale(1);
432
+ transition:
433
+ transform var(--transition-duration-4),
434
+ opacity var(--transition-duration-3) steps(1, jump-end);
435
+ pointer-events: none;
436
+ }
437
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container > .uc-image.uc-image_hidden_effects {
438
+ --viewer-image-opacity: 0;
439
+
440
+ transform: scale(1);
441
+ transition:
442
+ opacity var(--transition-duration-3) cubic-bezier(0.5, 0, 1, 1),
443
+ transform var(--transition-duration-4);
444
+ pointer-events: none;
445
+ }
446
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-image_container {
447
+ position: relative;
448
+ display: block;
449
+ width: 100%;
450
+ height: 100%;
451
+ background-color: var(--color-image-background);
452
+ transition: var(--transition-duration-3);
453
+ }
454
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar {
455
+ position: relative;
456
+ transition: 0.3s;
457
+ }
458
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar > .uc-toolbar_content {
459
+ position: absolute;
460
+ bottom: 0px;
461
+ left: 0px;
462
+ box-sizing: border-box;
463
+ width: 100%;
464
+ height: var(--modal-toolbar-height);
465
+ min-height: var(--size-panel-heading);
466
+ background-color: var(--color-fill-contrast);
467
+ }
468
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar > .uc-toolbar_content.uc-toolbar_content__viewer {
469
+ display: flex;
470
+ align-items: center;
471
+ justify-content: space-between;
472
+ height: var(--size-panel-heading);
473
+ padding-right: var(--l-toolbar-horizontal-padding);
474
+ padding-left: var(--l-toolbar-horizontal-padding);
475
+ }
476
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-toolbar > .uc-toolbar_content.uc-toolbar_content__editor {
477
+ display: flex;
478
+ }
479
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-info_pan {
480
+ position: absolute;
481
+ user-select: none;
482
+ }
483
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-file_type_outer {
484
+ position: absolute;
485
+ z-index: 2;
486
+ display: flex;
487
+ max-width: 120px;
488
+ transform: translateX(-40px);
489
+ user-select: none;
490
+ }
491
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-viewport > .uc-file_type_outer > .uc-file_type {
492
+ padding: 4px 0.8em;
493
+ }
494
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-network_problems_splash {
495
+ position: absolute;
496
+ z-index: 999;
497
+ display: flex;
498
+ flex-direction: column;
499
+ width: 100%;
500
+ height: 100%;
501
+ background-color: var(--color-fill-contrast);
502
+ }
503
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-network_problems_splash > .uc-network_problems_content {
504
+ display: flex;
505
+ flex: 1;
506
+ flex-direction: column;
507
+ align-items: center;
508
+ justify-content: center;
509
+ }
510
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#)
511
+ > .uc-wrapper
512
+ > .uc-network_problems_splash
513
+ > .uc-network_problems_content
514
+ > .uc-network_problems_icon {
515
+ display: flex;
516
+ align-items: center;
517
+ justify-content: center;
518
+ width: 40px;
519
+ height: 40px;
520
+ color: var(--uc-foreground);
521
+ background-color: var(--uc-muted);
522
+ border-radius: 50%;
523
+ }
524
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#)
525
+ > .uc-wrapper
526
+ > .uc-network_problems_splash
527
+ > .uc-network_problems_content
528
+ > .uc-network_problems_text {
529
+ margin-top: var(--cldtr-gap-max);
530
+ font-size: var(--font-size-ui);
531
+ color: var(--uc-foreground);
532
+ }
533
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) > .uc-wrapper > .uc-network_problems_splash > .uc-network_problems_footer {
534
+ display: flex;
535
+ align-items: center;
536
+ justify-content: center;
537
+ height: var(--size-panel-heading);
538
+ }
539
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) > .uc-svg {
540
+ position: absolute;
541
+ top: 0px;
542
+ left: 0px;
543
+ z-index: 2;
544
+ width: 100%;
545
+ height: 100%;
546
+ border-top-left-radius: var(--border-radius-base);
547
+ border-top-right-radius: var(--border-radius-base);
548
+ opacity: inherit;
549
+ transition: var(--transition-duration-3);
550
+ }
551
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) > .uc-thumb {
552
+ --idle-color-rgb: var(--color-text-base);
553
+ --hover-color-rgb: var(--color-primary-accent);
554
+ --focus-color-rgb: var(--color-primary-accent);
555
+ --down-color-rgb: var(--color-primary-accent);
556
+ --color-effect: var(--idle-color-rgb);
557
+
558
+ color: var(--color-effect);
559
+ transition:
560
+ color var(--transition-duration-3),
561
+ opacity var(--transition-duration-3);
562
+ }
563
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-thumb--visible {
564
+ opacity: 1;
565
+ pointer-events: auto;
566
+ }
567
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-thumb--hidden {
568
+ opacity: 0;
569
+ pointer-events: none;
570
+ }
571
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides {
572
+ transition: var(--transition-duration-3);
573
+ }
574
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides--hidden {
575
+ opacity: 0;
576
+ }
577
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides--semi-hidden {
578
+ opacity: 0.2;
579
+ }
580
+ uc-crop-frame:not(#\#):not(#\#):not(#\#) .uc-guides--visible {
581
+ opacity: 1;
582
+ }
583
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#),
584
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#),
585
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#),
586
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#),
587
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#),
588
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) {
589
+ --l-base-min-width: var(--uc-button-size);
590
+ --l-base-height: var(--uc-button-size);
591
+ --opacity-effect: var(--idle-opacity);
592
+ --color-effect: var(--idle-color-rgb);
593
+ --background-effect: var(--idle-background);
594
+ --filter-effect: var(--idle-filter);
595
+
596
+ --idle-color-rgb: var(--uc-secondary-foreground);
597
+ --idle-opacity: 1;
598
+ --idle-filter: 1;
599
+ --idle-background: var(--uc-secondary);
600
+ --hover-color-rgb: var(--uc-secondary-foreground);
601
+ --hover-opacity: 1;
602
+ --hover-filter: 0.8;
603
+ --hover-background: var(--uc-secondary-hover);
604
+ --down-color-rgb: var(--hover-color-rgb);
605
+ --down-opacity: 1;
606
+ --down-filter: 0.6;
607
+ --down-background: var(--uc-secondary);
608
+
609
+ border-radius: var(--uc-radius);
610
+ }
611
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button,
612
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button,
613
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button,
614
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button,
615
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button,
616
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button {
617
+ all: unset;
618
+ position: relative;
619
+ display: grid;
620
+ grid-template-columns: var(--l-base-min-width) auto;
621
+ grid-template-rows: 100%;
622
+ align-items: center;
623
+ height: var(--l-base-height);
624
+ color: var(--color-effect);
625
+ opacity: var(--opacity-effect);
626
+ cursor: pointer;
627
+ transition: var(--l-width-transition);
628
+ }
629
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button {
630
+ grid-template-columns: auto var(--l-base-min-width);
631
+ }
632
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button > uc-icon {
633
+ margin-left: var(--cldtr-gap-mid-1);
634
+ width: 10px;
635
+ }
636
+ :where(
637
+ uc-editor-button-control,
638
+ uc-editor-crop-button-control,
639
+ uc-editor-aspect-ratio-button-control,
640
+ uc-editor-freeform-button-control,
641
+ uc-editor-filter-control,
642
+ uc-editor-operation-control
643
+ ):not(#\#):not(#\#):not(#\#)
644
+ > uc-icon
645
+ > svg {
646
+ width: var(--size-icon);
647
+ height: var(--size-icon);
648
+ }
649
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > uc-icon.uc-original-icon > svg {
650
+ width: 100%;
651
+ height: 100%;
652
+ }
653
+ uc-editor-button-control.uc-active:not(#\#):not(#\#):not(#\#),
654
+ uc-editor-operation-control.uc-active:not(#\#):not(#\#):not(#\#),
655
+ uc-editor-crop-button-control.uc-active:not(#\#):not(#\#):not(#\#),
656
+ uc-editor-aspect-ratio-button-control.uc-active:not(#\#):not(#\#):not(#\#),
657
+ uc-editor-freeform-button-control.uc-active:not(#\#):not(#\#):not(#\#),
658
+ uc-editor-filter-control.uc-active:not(#\#):not(#\#):not(#\#) {
659
+ --idle-color-rgb: var(--uc-primary-foreground);
660
+ --idle-background: var(--uc-primary);
661
+ --idle-opacity: 1;
662
+ --hover-color-rgb: var(--uc-primary-foreground);
663
+ --hover-background: var(--uc-primary);
664
+ --hover-opacity: 1;
665
+ }
666
+ uc-editor-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
667
+ uc-editor-operation-control.uc-not_active:not(#\#):not(#\#):not(#\#),
668
+ uc-editor-crop-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
669
+ uc-editor-aspect-ratio-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
670
+ uc-editor-freeform-button-control.uc-not_active:not(#\#):not(#\#):not(#\#),
671
+ uc-editor-filter-control.uc-not_active:not(#\#):not(#\#):not(#\#) {
672
+ --idle-color-rgb: var(--uc-secondary-foreground);
673
+ }
674
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-button-control.uc-not_active,
675
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-operation-control.uc-not_active,
676
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-crop-button-control.uc-not_active,
677
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-freeform-button-control.uc-not_active,
678
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-aspect-ratio-button-control.uc-not_active,
679
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-editor-filter-control.uc-not_active {
680
+ --idle-background: transparent;
681
+ --hover-background: var(--uc-secondary);
682
+
683
+ outline: 1px solid var(--uc-border);
684
+ outline-offset: -1px;
685
+ }
686
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button::before,
687
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button::before,
688
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button::before,
689
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button::before,
690
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button::before,
691
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button::before {
692
+ position: absolute;
693
+ content: "";
694
+ right: 0;
695
+ left: 0;
696
+ z-index: -1;
697
+ width: 100%;
698
+ height: 100%;
699
+ background-color: var(--background-effect);
700
+ border-radius: var(--border-radius-editor);
701
+ transition: var(--transition-duration-3);
702
+ }
703
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
704
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
705
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
706
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
707
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title,
708
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button .uc-title {
709
+ padding-right: var(--cldtr-gap-mid-1);
710
+ font-size: 0.7em;
711
+ letter-spacing: 1.004px;
712
+ text-transform: uppercase;
713
+ }
714
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button .uc-title {
715
+ padding-left: var(--cldtr-gap-mid-1);
716
+ padding-right: 0;
717
+ }
718
+ uc-editor-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
719
+ uc-editor-operation-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
720
+ uc-editor-crop-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
721
+ uc-editor-aspect-ratio-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
722
+ uc-editor-freeform-button-control:not(#\#):not(#\#):not(#\#) > button uc-icon,
723
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button uc-icon {
724
+ pointer-events: none;
725
+ }
726
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > button .uc-preview {
727
+ position: absolute;
728
+ right: 0;
729
+ left: 0;
730
+ z-index: -1;
731
+ width: 100%;
732
+ height: var(--l-base-height);
733
+ background-repeat: no-repeat;
734
+ background-size: contain;
735
+ border-radius: var(--border-radius-editor);
736
+ opacity: 0;
737
+ filter: brightness(var(--filter-effect));
738
+ transition: var(--transition-duration-3);
739
+ }
740
+ uc-editor-filter-control.uc-not_active:not(#\#):not(#\#):not(#\#) .uc-preview[data-loaded] {
741
+ opacity: 1;
742
+ }
743
+ uc-editor-filter-control.uc-active:not(#\#):not(#\#):not(#\#) .uc-preview {
744
+ opacity: 0;
745
+ }
746
+ uc-editor-filter-control:not(#\#):not(#\#):not(#\#) > .uc-original-icon {
747
+ color: var(--color-effect);
748
+ opacity: 0.3;
749
+ }
750
+ uc-editor-image-cropper:not(#\#):not(#\#):not(#\#) {
751
+ position: absolute;
752
+ top: 0px;
753
+ left: 0px;
754
+ z-index: 10;
755
+ display: block;
756
+ width: 100%;
757
+ height: 100%;
758
+ opacity: 0;
759
+ pointer-events: none;
760
+ touch-action: none;
761
+ color: var(--color-crop-guides);
762
+ }
763
+ uc-editor-image-cropper.uc-active_from_editor:not(#\#):not(#\#):not(#\#) {
764
+ transform: scale(1) translate(0px, 0px);
765
+ opacity: 1;
766
+ transition:
767
+ transform var(--transition-duration-4) cubic-bezier(0.37, 0, 0.63, 1) 0.4s,
768
+ opacity var(--transition-duration-3);
769
+ pointer-events: auto;
770
+ }
771
+ uc-editor-image-cropper.uc-active_from_viewer:not(#\#):not(#\#):not(#\#) {
772
+ transform: scale(1) translate(0px, 0px);
773
+ opacity: 1;
774
+ transition:
775
+ transform var(--transition-duration-4) cubic-bezier(0.37, 0, 0.63, 1) 0.4s,
776
+ opacity var(--transition-duration-3);
777
+ pointer-events: auto;
778
+ }
779
+ uc-editor-image-cropper.uc-inactive_to_editor:not(#\#):not(#\#):not(#\#) {
780
+ opacity: 0;
781
+ transition:
782
+ transform var(--transition-duration-4) cubic-bezier(0.37, 0, 0.63, 1),
783
+ opacity var(--transition-duration-3) calc(var(--transition-duration-3) + 0.05s);
784
+ pointer-events: none;
785
+ }
786
+ uc-editor-image-cropper:not(#\#):not(#\#):not(#\#) > .uc-canvas {
787
+ position: absolute;
788
+ top: 0px;
789
+ left: 0px;
790
+ z-index: 1;
791
+ display: block;
792
+ width: 100%;
793
+ height: 100%;
794
+ }
795
+ uc-editor-image-fader:not(#\#):not(#\#):not(#\#) {
796
+ position: absolute;
797
+ top: 0px;
798
+ left: 0px;
799
+ display: block;
800
+ width: 100%;
801
+ height: 100%;
802
+ }
803
+ uc-editor-image-fader.uc-active_from_viewer:not(#\#):not(#\#):not(#\#) {
804
+ z-index: 3;
805
+ transform: scale(1);
806
+ opacity: 1;
807
+ transition:
808
+ transform var(--transition-duration-4),
809
+ opacity var(--transition-duration-3) steps(1, jump-start);
810
+ pointer-events: auto;
811
+ }
812
+ uc-editor-image-fader.uc-active_from_cropper:not(#\#):not(#\#):not(#\#) {
813
+ z-index: 3;
814
+ transform: scale(1);
815
+ opacity: 1;
816
+ transition:
817
+ transform var(--transition-duration-4),
818
+ opacity var(--transition-duration-3) steps(1, jump-end);
819
+ pointer-events: auto;
820
+ }
821
+ uc-editor-image-fader.uc-inactive_to_cropper:not(#\#):not(#\#):not(#\#) {
822
+ z-index: 3;
823
+ transform: scale(1);
824
+ opacity: 0;
825
+ transition:
826
+ transform var(--transition-duration-4),
827
+ opacity var(--transition-duration-3) steps(1, jump-end);
828
+ pointer-events: none;
829
+ }
830
+ uc-editor-image-fader:not(#\#):not(#\#):not(#\#) .uc-fader-image {
831
+ position: absolute;
832
+ top: 0px;
833
+ left: 0px;
834
+ display: block;
835
+ width: 100%;
836
+ height: 100%;
837
+ object-fit: scale-down;
838
+ transform: scale(1);
839
+ user-select: none;
840
+ content-visibility: auto;
841
+ }
842
+ uc-editor-image-fader:not(#\#):not(#\#):not(#\#) .uc-fader-image--preview {
843
+ background-color: var(--color-image-background);
844
+ border-top-left-radius: var(--border-radius-base);
845
+ border-top-right-radius: var(--border-radius-base);
846
+ transform: scale(1);
847
+ opacity: 0;
848
+ transition: var(--transition-duration-3);
849
+ }
850
+ uc-editor-scroller:not(#\#):not(#\#):not(#\#) {
851
+ display: flex;
852
+ align-items: center;
853
+ width: 100%;
854
+ height: 100%;
855
+ overflow-x: scroll;
856
+ }
857
+ uc-editor-slider:not(#\#):not(#\#):not(#\#) {
858
+ display: flex;
859
+ align-items: center;
860
+ justify-content: center;
861
+ width: 100%;
862
+ height: var(--size-panel-heading);
863
+ }
864
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) {
865
+ position: relative;
866
+ width: 100%;
867
+ height: 100%;
868
+ }
869
+ @media only screen and (max-width: 600px) {
870
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) {
871
+ --l-tab-gap: var(--cldtr-gap-mid-1);
872
+ --l-slider-padding: var(--uc-padding);
873
+ --l-controls-padding: var(--uc-padding);
874
+ }
875
+ }
876
+ @media only screen and (min-width: 601px) {
877
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) {
878
+ --l-tab-gap: var(--cldtr-gap-max);
879
+ --l-slider-padding: var(--uc-padding);
880
+ --l-controls-padding: var(--uc-padding);
881
+ }
882
+ }
883
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container {
884
+ position: relative;
885
+ width: 100%;
886
+ height: 100%;
887
+ overflow: hidden;
888
+ }
889
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar {
890
+ position: absolute;
891
+ display: grid;
892
+ grid-template-rows: 1fr 1fr;
893
+ width: 100%;
894
+ height: 100%;
895
+ background-color: var(--color-fill-contrast);
896
+ transition:
897
+ opacity var(--transition-duration-3) ease-in-out,
898
+ transform var(--transition-duration-3) ease-in-out,
899
+ visibility var(--transition-duration-3) ease-in-out;
900
+ }
901
+ .uc-sub-toolbar:not(#\#):not(#\#):not(#\#) > .uc-list-aspect-ratio-container > .uc-list-aspect-ratio {
902
+ display: grid;
903
+ grid-auto-flow: column;
904
+ justify-content: center;
905
+ align-items: center;
906
+ gap: 6px;
907
+ height: var(--size-panel-heading);
908
+ }
909
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar.uc-sub-toolbar--visible {
910
+ transform: translateY(0px);
911
+ opacity: 1;
912
+ pointer-events: auto;
913
+ }
914
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar.uc-sub-toolbar--top-hidden {
915
+ transform: translateY(100%);
916
+ opacity: 0;
917
+ pointer-events: none;
918
+ }
919
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar.uc-sub-toolbar--bottom-hidden {
920
+ transform: translateY(-100%);
921
+ opacity: 0;
922
+ pointer-events: none;
923
+ }
924
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-controls-row {
925
+ display: flex;
926
+ align-items: center;
927
+ justify-content: space-between;
928
+ padding-right: var(--l-controls-padding);
929
+ padding-left: var(--l-controls-padding);
930
+ }
931
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-controls-row > .uc-tab-toggles {
932
+ position: relative;
933
+ display: grid;
934
+ grid-auto-flow: column;
935
+ gap: 0px var(--l-tab-gap);
936
+ align-items: center;
937
+ height: 100%;
938
+ }
939
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
940
+ > .uc-toolbar-container
941
+ > .uc-sub-toolbar
942
+ > .uc-controls-row
943
+ > .uc-tab-toggles
944
+ > .uc-tab-toggles_indicator {
945
+ position: absolute;
946
+ bottom: 0px;
947
+ left: 0px;
948
+ width: var(--size-touch-area);
949
+ height: 2px;
950
+ background-color: var(--uc-secondary-foreground);
951
+ transform: translateX(0px);
952
+ transition: transform var(--transition-duration-3);
953
+ }
954
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-tab-content-row {
955
+ position: relative;
956
+ }
957
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) > .uc-toolbar-container > .uc-sub-toolbar > .uc-tab-content-row > .uc-tab-content {
958
+ position: absolute;
959
+ top: 0px;
960
+ left: 0px;
961
+ display: flex;
962
+ width: 100%;
963
+ height: 100%;
964
+ overflow: hidden;
965
+ content-visibility: auto;
966
+ }
967
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
968
+ > .uc-toolbar-container
969
+ > .uc-sub-toolbar
970
+ > .uc-controls-row
971
+ > .uc-tab-toggles
972
+ > .uc-tab-toggle.uc-tab-toggle--visible {
973
+ display: contents;
974
+ }
975
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
976
+ > .uc-toolbar-container
977
+ > .uc-sub-toolbar
978
+ > .uc-controls-row
979
+ > .uc-tab-toggles
980
+ > .uc-tab-toggle.uc-tab-toggle--hidden {
981
+ display: none;
982
+ }
983
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
984
+ > .uc-toolbar-container
985
+ > .uc-sub-toolbar
986
+ > .uc-controls-row
987
+ > .uc-tab-toggles.uc-tab-toggles--hidden {
988
+ display: none;
989
+ }
990
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
991
+ > .uc-toolbar-container
992
+ > .uc-sub-toolbar
993
+ > .uc-controls-row
994
+ > .uc-tab-toggles
995
+ > .uc-tab-toggle
996
+ > uc-btn-ui {
997
+ width: var(--uc-button-size);
998
+ }
999
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
1000
+ > .uc-toolbar-container
1001
+ > .uc-sub-toolbar
1002
+ > .uc-controls-row
1003
+ > .uc-tab-toggles
1004
+ > .uc-tab-toggle
1005
+ > uc-btn-ui
1006
+ > uc-icon
1007
+ > svg {
1008
+ width: var(--size-icon);
1009
+ height: var(--size-icon);
1010
+ }
1011
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
1012
+ > .uc-toolbar-container
1013
+ > .uc-sub-toolbar
1014
+ > .uc-tab-content-row
1015
+ > .uc-tab-content
1016
+ .uc-controls-list_align {
1017
+ display: grid;
1018
+ grid-template-areas: ". inner .";
1019
+ grid-template-columns: 1fr auto 1fr;
1020
+ box-sizing: border-box;
1021
+ min-width: 100%;
1022
+ padding-left: var(--uc-padding);
1023
+ }
1024
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
1025
+ > .uc-toolbar-container
1026
+ > .uc-sub-toolbar
1027
+ > .uc-tab-content-row
1028
+ > .uc-tab-content
1029
+ .uc-controls-list_inner {
1030
+ display: grid;
1031
+ grid-area: inner;
1032
+ grid-auto-flow: column;
1033
+ gap: 6px;
1034
+ }
1035
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#)
1036
+ > .uc-toolbar-container
1037
+ > .uc-sub-toolbar
1038
+ > .uc-tab-content-row
1039
+ > .uc-tab-content
1040
+ .uc-controls-list_inner:last-child {
1041
+ padding-right: var(--uc-padding);
1042
+ }
1043
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip_container {
1044
+ position: absolute;
1045
+ display: flex;
1046
+ align-items: flex-start;
1047
+ justify-content: center;
1048
+ width: 100%;
1049
+ height: 100%;
1050
+ }
1051
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip_wrapper {
1052
+ position: absolute;
1053
+ top: calc(-100% - var(--cldtr-gap-mid-2));
1054
+ display: flex;
1055
+ flex-direction: column;
1056
+ justify-content: flex-end;
1057
+ height: 100%;
1058
+ pointer-events: none;
1059
+ }
1060
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip {
1061
+ z-index: 10;
1062
+ padding: 3px 6px;
1063
+ color: var(--color-text-base);
1064
+ font-size: 0.7em;
1065
+ letter-spacing: 1px;
1066
+ text-transform: uppercase;
1067
+ background-color: var(--color-text-accent-contrast);
1068
+ border-radius: var(--border-radius-editor);
1069
+ transform: translateY(100%);
1070
+ opacity: 0;
1071
+ transition: var(--transition-duration-3);
1072
+ }
1073
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-info-tooltip_visible {
1074
+ transform: translateY(0px);
1075
+ opacity: 1;
1076
+ }
1077
+ uc-editor-toolbar:not(#\#):not(#\#):not(#\#) .uc-slider {
1078
+ padding-right: var(--l-slider-padding);
1079
+ padding-left: var(--l-slider-padding);
1080
+ }
1081
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) > button {
1082
+ --filter-effect: var(--idle-brightness);
1083
+ --opacity-effect: var(--idle-opacity);
1084
+ --color-effect: var(--idle-color-rgb);
1085
+ --background-effect: var(--idle-background);
1086
+ --l-transition-effect: var(
1087
+ --css-transition,
1088
+ color var(--transition-duration-2),
1089
+ background-color var(--transition-duration-2),
1090
+ filter var(--transition-duration-2)
1091
+ );
1092
+
1093
+ all: unset;
1094
+ display: inline-flex;
1095
+ align-items: center;
1096
+ box-sizing: var(--css-box-sizing, border-box);
1097
+ height: var(--css-height, var(--uc-button-size));
1098
+ padding-right: var(--css-padding-right, 14px);
1099
+ padding-left: var(--css-padding-left, 14px);
1100
+ font-size: 1em;
1101
+ color: var(--color-effect);
1102
+ background-color: var(--background-effect);
1103
+ border-radius: var(--uc-radius);
1104
+ opacity: var(--opacity-effect);
1105
+ cursor: pointer;
1106
+ filter: brightness(var(--filter-effect));
1107
+ transition: var(--l-transition-effect);
1108
+ user-select: none;
1109
+ }
1110
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) > button > uc-icon {
1111
+ pointer-events: none;
1112
+ }
1113
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-text {
1114
+ white-space: nowrap;
1115
+ }
1116
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon {
1117
+ display: flex;
1118
+ align-items: center;
1119
+ justify-content: center;
1120
+ color: var(--color-effect);
1121
+ filter: brightness(var(--filter-effect));
1122
+ transition: var(--l-transition-effect);
1123
+ }
1124
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_left {
1125
+ margin-right: var(--cldtr-gap-mid-1);
1126
+ margin-left: 0px;
1127
+ }
1128
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_right {
1129
+ margin-right: 0px;
1130
+ margin-left: var(--cldtr-gap-mid-1);
1131
+ }
1132
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_single {
1133
+ margin-right: 0px;
1134
+ margin-left: 0px;
1135
+ }
1136
+ uc-btn-ui:not(#\#):not(#\#):not(#\#) .uc-icon_hidden {
1137
+ display: none;
1138
+ margin: 0;
1139
+ }
1140
+ uc-btn-ui.uc-primary:not(#\#):not(#\#):not(#\#) > button {
1141
+ --idle-color-rgb: var(--uc-primary-foreground);
1142
+ --idle-brightness: 1;
1143
+ --idle-opacity: 1;
1144
+ --idle-background: var(--uc-primary);
1145
+ --hover-color-rgb: var(--uc-primary-foreground);
1146
+ --hover-brightness: 1;
1147
+ --hover-opacity: 1;
1148
+ --hover-background: var(--uc-primary-hover);
1149
+ --down-color-rgb: var(--uc-primary-foreground);
1150
+ --down-brightness: 0.75;
1151
+ --down-opacity: 1;
1152
+ --down-background: var(--uc-primary);
1153
+ --active-color-rgb: var(--uc-primary-foreground);
1154
+ --active-brightness: 1;
1155
+ --active-opacity: 1;
1156
+ --active-background: var(--uc-primary);
1157
+ }
1158
+ uc-btn-ui.uc-primary-icon:not(#\#):not(#\#):not(#\#) > button {
1159
+ --idle-color-rgb: var(--uc-primary);
1160
+ --idle-brightness: 1;
1161
+ --idle-opacity: 1;
1162
+ --idle-background: transparent;
1163
+ --hover-color-rgb: var(--uc-primary);
1164
+ --hover-brightness: 1;
1165
+ --hover-opacity: 1;
1166
+ --hover-background: var(--uc-primary-transparent);
1167
+ --down-color-rgb: var(--uc-primary);
1168
+ --down-brightness: 0.75;
1169
+ --down-opacity: 1;
1170
+ --down-background: var(--uc-primary-transparent);
1171
+ --active-color-rgb: var(--uc-primary-foreground);
1172
+ --active-brightness: 1;
1173
+ --active-opacity: 1;
1174
+ --active-background: var(--uc-primary);
1175
+
1176
+ padding: 0;
1177
+ width: var(--uc-button-size);
1178
+ }
1179
+ uc-btn-ui.uc-secondary:not(#\#):not(#\#):not(#\#) > button {
1180
+ --idle-color-rgb: var(--uc-secondary-foreground);
1181
+ --idle-brightness: 1;
1182
+ --idle-opacity: 1;
1183
+ --idle-background: var(--uc-secondary);
1184
+ --hover-color-rgb: var(--uc-secondary-foreground);
1185
+ --hover-brightness: 1;
1186
+ --hover-opacity: 1;
1187
+ --hover-background: var(--uc-secondary-hover);
1188
+ --down-color-rgb: var(--uc-secondary-foreground);
1189
+ --down-brightness: 1;
1190
+ --down-opacity: 1;
1191
+ --down-background: var(--uc-secondary-hover);
1192
+ --active-color-rgb: var(--uc-secondary-foreground);
1193
+ --active-brightness: 1;
1194
+ --active-opacity: 1;
1195
+ --active-background: transparent;
1196
+ }
1197
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-btn-ui.uc-secondary > button {
1198
+ border: 1px solid var(--uc-border);
1199
+ }
1200
+ uc-btn-ui.uc-secondary-icon:not(#\#):not(#\#):not(#\#) > button {
1201
+ --idle-color-rgb: var(--uc-secondary-foreground);
1202
+ --idle-brightness: 1;
1203
+ --idle-opacity: 1;
1204
+ --idle-background: transparent;
1205
+ --hover-color-rgb: var(--uc-secondary-foreground);
1206
+ --hover-brightness: 1;
1207
+ --hover-opacity: 1;
1208
+ --hover-background: var(--uc-secondary);
1209
+ --down-color-rgb: var(--uc-secondary-foreground);
1210
+ --down-brightness: 1;
1211
+ --down-opacity: 1;
1212
+ --down-background: var(--uc-secondary);
1213
+ --active-color-rgb: var(--uc-secondary-foreground);
1214
+ --active-brightness: 1;
1215
+ --active-opacity: 1;
1216
+ --active-background: transparent;
1217
+
1218
+ padding: 0;
1219
+ width: var(--uc-button-size);
1220
+ }
1221
+ uc-btn-ui.uc-tab:not(#\#):not(#\#):not(#\#) > button {
1222
+ --idle-color-rgb: var(--uc-secondary-foreground);
1223
+ --idle-brightness: 1;
1224
+ --idle-opacity: 1;
1225
+ --idle-background: transparent;
1226
+ --hover-color-rgb: var(--uc-secondary-foreground);
1227
+ --hover-brightness: 1;
1228
+ --hover-opacity: 1;
1229
+ --hover-background: var(--uc-secondary);
1230
+ --down-color-rgb: var(--uc-secondary-foreground);
1231
+ --down-brightness: 1;
1232
+ --down-opacity: 1;
1233
+ --down-background: var(--uc-secondary);
1234
+ --active-color-rgb: var(--uc-secondary-foreground);
1235
+ --active-brightness: 1;
1236
+ --active-opacity: 1;
1237
+ --active-background: transparent;
1238
+
1239
+ padding: 0;
1240
+ width: var(--uc-button-size);
1241
+ }
1242
+ uc-btn-ui.uc-default:not(#\#):not(#\#):not(#\#) > button {
1243
+ --idle-color-rgb: var(--uc-secondary-foreground);
1244
+ --idle-brightness: 1;
1245
+ --idle-opacity: 1;
1246
+ --idle-background: var(--uc-secondary);
1247
+ --hover-color-rgb: var(--uc-secondary-foreground);
1248
+ --hover-brightness: 1;
1249
+ --hover-opacity: 1;
1250
+ --hover-background: var(--uc-secondary-hover);
1251
+ --down-color-rgb: var(--uc-secondary-foreground);
1252
+ --down-brightness: 0.75;
1253
+ --down-opacity: 1;
1254
+ --down-background: var(--uc-secondary);
1255
+ --active-color-rgb: var(--uc-primary);
1256
+ --active-brightness: 1;
1257
+ --active-opacity: 1;
1258
+ --active-background: var(--uc-primary-transparent);
1259
+ }
1260
+ :where(.uc-contrast):not(#\#):not(#\#):not(#\#) uc-btn-ui.uc-default > button {
1261
+ --idle-background: transparent;
1262
+ --hover-background: var(--uc-secondary);
1263
+ --active-background: var(--uc-foreground);
1264
+ --active-color-rgb: var(--uc-background);
1265
+ }
1266
+ uc-line-loader-ui:not(#\#):not(#\#):not(#\#) {
1267
+ position: absolute;
1268
+ top: 0px;
1269
+ left: 0px;
1270
+ z-index: 9999;
1271
+ width: 100%;
1272
+ height: 2px;
1273
+ opacity: 0.5;
1274
+ }
1275
+ uc-line-loader-ui:not(#\#):not(#\#):not(#\#) .uc-inner {
1276
+ width: 25%;
1277
+ max-width: 200px;
1278
+ height: 100%;
1279
+ }
1280
+ uc-line-loader-ui:not(#\#):not(#\#):not(#\#) .uc-line {
1281
+ width: 100%;
1282
+ height: 100%;
1283
+ background-color: var(--uc-primary);
1284
+ transform: translateX(-101%);
1285
+ transition: transform 1s;
1286
+ }
1287
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) {
1288
+ --l-thumb-size: 24px;
1289
+ --l-zero-dot-size: 5px;
1290
+ --l-zero-dot-offset: 2px;
1291
+ --idle-color-rgb: var(--uc-foreground);
1292
+ --hover-color-rgb: var(--uc-primary);
1293
+ --down-color-rgb: var(--uc-primary);
1294
+ --color-effect: var(--idle-color-rgb);
1295
+ --l-color: var(--color-effect);
1296
+
1297
+ position: relative;
1298
+ display: flex;
1299
+ align-items: center;
1300
+ justify-content: center;
1301
+ width: 100%;
1302
+ height: calc(var(--l-thumb-size) + (var(--l-zero-dot-size) + var(--l-zero-dot-offset)) * 2);
1303
+ }
1304
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-thumb {
1305
+ position: absolute;
1306
+ left: 0px;
1307
+ width: var(--l-thumb-size);
1308
+ height: var(--l-thumb-size);
1309
+ background-color: var(--l-color);
1310
+ border-radius: 50%;
1311
+ transform: translateX(0px);
1312
+ opacity: 1;
1313
+ transition:
1314
+ opacity var(--transition-duration-2),
1315
+ background-color var(--transition-duration-2);
1316
+ }
1317
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-steps {
1318
+ position: absolute;
1319
+ display: flex;
1320
+ align-items: center;
1321
+ justify-content: space-between;
1322
+ box-sizing: border-box;
1323
+ width: 100%;
1324
+ height: 100%;
1325
+ padding-right: calc(var(--l-thumb-size) / 2);
1326
+ padding-left: calc(var(--l-thumb-size) / 2);
1327
+ }
1328
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-border-step {
1329
+ width: 0px;
1330
+ height: 10px;
1331
+ border-right: 1px solid var(--uc-foreground);
1332
+ opacity: 1;
1333
+ transition: border-color var(--transition-duration-2);
1334
+ }
1335
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-minor-step {
1336
+ width: 0px;
1337
+ height: 4px;
1338
+ border-right: 1px solid var(--uc-foreground);
1339
+ opacity: 0.6;
1340
+ transition: border-color var(--transition-duration-2);
1341
+ }
1342
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-zero-dot {
1343
+ position: absolute;
1344
+ top: calc(100% - var(--l-zero-dot-offset) * 2);
1345
+ left: calc(var(--l-thumb-size) / 2 - var(--l-zero-dot-size) / 2);
1346
+ width: var(--l-zero-dot-size);
1347
+ height: var(--l-zero-dot-size);
1348
+ background-color: var(--color-primary-accent);
1349
+ border-radius: 50%;
1350
+ opacity: 0;
1351
+ transition: var(--transition-duration-3);
1352
+ }
1353
+ uc-slider-ui:not(#\#):not(#\#):not(#\#) .uc-input {
1354
+ position: absolute;
1355
+ width: calc(100% - 10px);
1356
+ height: 100%;
1357
+ margin: 0;
1358
+ cursor: pointer;
1359
+ opacity: 0;
1360
+ }
1361
+ uc-presence-toggle.uc-transition:not(#\#):not(#\#):not(#\#) {
1362
+ transition:
1363
+ opacity var(--transition-duration-3),
1364
+ visibility var(--transition-duration-3);
1365
+ }
1366
+ uc-presence-toggle.uc-visible:not(#\#):not(#\#):not(#\#) {
1367
+ opacity: 1;
1368
+ pointer-events: inherit;
1369
+ }
1370
+ uc-presence-toggle.uc-hidden:not(#\#):not(#\#):not(#\#) {
1371
+ opacity: 0;
1372
+ pointer-events: none;
1373
+ }
1374
+ uc-presence-toggle.uc-initial:not(#\#):not(#\#):not(#\#) {
1375
+ display: none !important;
1376
+ transition: none !important;
1377
+ }
1378
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) [role="button"]:focus-visible,
1379
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) button:focus-visible {
1380
+ outline: 1px auto Highlight;
1381
+ outline: 1px auto -webkit-focus-ring-color;
1382
+ }
1383
+ [uc-cloud-image-editor]:not(#\#):not(#\#):not(#\#) .uc-cloud-mask {
1384
+ pointer-events: none;
1385
+ }
1386
+ [uc-aspect-ratio-freeform]:not(#\#):not(#\#):not(#\#) button {
1387
+ display: flex;
1388
+ }
1389
+ [uc-aspect-ratio-freeform]:not(#\#):not(#\#):not(#\#) uc-icon {
1390
+ display: none;
1391
+ }
1392
+ [uc-aspect-ratio-freeform]:not(#\#):not(#\#):not(#\#) .uc-title {
1393
+ padding-left: var(--cldtr-gap-mid-1);
1394
+ }
1395
+ :where(uc-editor-freeform-button-control, uc-editor-aspect-ratio-button-control:last-of-type):not(#\#):not(#\#):not(#\#) {
1396
+ margin-right: calc(3 * var(--cldtr-gap-mid-1));
1397
+ }
1398
+ :where([uc-cloud-image-editor]):not(#\#):not(#\#):not(#\#) uc-icon {
1399
+ display: flex;
1400
+ justify-content: center;
1401
+ width: 100%;
1402
+ height: 100%;
1403
+ }
1404
+ :where([uc-cloud-image-editor]):not(#\#):not(#\#):not(#\#) uc-icon svg {
1405
+ width: calc(var(--uc-button-size) / 2);
1406
+ height: calc(var(--uc-button-size) / 2);
1407
+ }
1408
+ uc-config {
1409
+ display: none;
1410
+ }
1411
+ uc-camera-source {
1412
+ position: relative;
1413
+ display: flex;
1414
+ flex-direction: column;
1415
+ width: 100%;
1416
+ height: 100%;
1417
+ max-height: 100%;
1418
+ overflow: hidden;
1419
+ background-color: var(--uc-background);
1420
+ border-radius: var(--uc-radius);
1421
+ }
1422
+ [uc-modal] > dialog:has([activity="camera"][active]) {
1423
+ width: 100%;
1424
+ height: 100%;
1425
+ }
1426
+ uc-camera-source video {
1427
+ display: block;
1428
+ width: 100%;
1429
+ max-height: 100%;
1430
+ object-fit: contain;
1431
+ object-position: center center;
1432
+ background-color: var(--uc-muted);
1433
+ border-radius: var(--uc-radius);
1434
+ }
1435
+ uc-camera-source .uc-toolbar {
1436
+ position: absolute;
1437
+ bottom: 0;
1438
+ display: flex;
1439
+ justify-content: space-between;
1440
+ width: 100%;
1441
+ padding: var(--uc-padding);
1442
+ background-color: var(--uc-background);
1443
+ }
1444
+ uc-camera-source .uc-content {
1445
+ display: flex;
1446
+ flex: 1;
1447
+ justify-content: center;
1448
+ width: 100%;
1449
+ height: 100%;
1450
+ padding: var(--uc-padding);
1451
+ padding-top: 0;
1452
+ overflow: hidden;
1453
+ }
1454
+ uc-camera-source .uc-message-box {
1455
+ display: flex;
1456
+ flex-direction: column;
1457
+ gap: 40px;
1458
+ align-items: center;
1459
+ justify-content: center;
1460
+ padding: 40px 40px 0;
1461
+ color: var(--uc-foreground);
1462
+ }
1463
+ uc-camera-source .uc-message-box button {
1464
+ color: var(--uc-primary-foreground);
1465
+ background-color: var(--uc-primary);
1466
+ }
1467
+ uc-camera-source .uc-shot-btn {
1468
+ width: 58px;
1469
+ height: 58px;
1470
+ color: var(--uc-background);
1471
+ background-color: var(--uc-primary-light);
1472
+ border-radius: 50%;
1473
+ opacity: 0.85;
1474
+ transition:
1475
+ bottom var(--uc-transition),
1476
+ opacity var(--uc-transition),
1477
+ transform var(--uc-transition);
1478
+ }
1479
+ uc-camera-source .uc-shot-btn:hover {
1480
+ transform: scale(1.05);
1481
+ opacity: 1;
1482
+ }
1483
+ uc-camera-source .uc-shot-btn:active {
1484
+ transform: scale(1);
1485
+ opacity: 1;
1486
+ }
1487
+ uc-camera-source .uc-shot-btn[disabled] {
1488
+ bottom: -80px;
1489
+ }
1490
+ uc-camera-source .uc-shot-btn uc-icon svg {
1491
+ width: 20px;
1492
+ height: 20px;
1493
+ }
1494
+ uc-camera-source .uc-controls {
1495
+ position: relative;
1496
+ display: flex;
1497
+ align-items: center;
1498
+ flex-wrap: wrap;
1499
+ justify-content: space-between;
1500
+ padding: 0 var(--uc-padding) var(--uc-padding);
1501
+ min-height: 74px;
1502
+ }
1503
+ uc-camera-source:not(.uc-initialized) .uc-controls {
1504
+ display: none;
1505
+ }
1506
+ uc-camera-source .uc-switcher {
1507
+ display: flex;
1508
+ gap: calc(var(--uc-padding) / 2);
1509
+ }
1510
+ uc-camera-source .uc-switch.uc-active {
1511
+ background-color: var(--uc-secondary);
1512
+ }
1513
+ uc-camera-source .uc-camera-actions {
1514
+ display: flex;
1515
+ justify-content: center;
1516
+ align-items: center;
1517
+ gap: 5px;
1518
+ }
1519
+ uc-camera-source .uc-stop-record {
1520
+ background-color: var(--uc-destructive-foreground-light);
1521
+ opacity: 1;
1522
+ }
1523
+ :where(uc-camera-source:is(.uc-recording)) .uc-recording-timer uc-icon {
1524
+ display: none;
1525
+ }
1526
+ :where(uc-camera-source:is(.uc-recording)) .uc-recording-timer {
1527
+ pointer-events: none;
1528
+ }
1529
+ uc-camera-source .uc-recording-timer {
1530
+ z-index: 1;
1531
+ position: relative;
1532
+ overflow: hidden;
1533
+ }
1534
+ :where(uc-camera-source) .uc-recording-timer uc-icon {
1535
+ width: 10px;
1536
+ height: 10px;
1537
+ margin-right: 10px;
1538
+ }
1539
+ uc-camera-source .uc-recording-timer .uc-line {
1540
+ position: absolute;
1541
+ content: "";
1542
+ bottom: 0;
1543
+ left: 0;
1544
+ right: 0;
1545
+ height: 2px;
1546
+ background-color: var(--uc-foreground-light);
1547
+ transform: scaleX(0);
1548
+ transform-origin: left;
1549
+ transition: transform var(--uc-transition);
1550
+ }
1551
+ uc-camera-source .uc-btn-microphone {
1552
+ z-index: 1;
1553
+ }
1554
+ uc-camera-source .uc-select {
1555
+ display: flex;
1556
+ }
1557
+ uc-camera-source .uc-audio-select {
1558
+ width: 98px;
1559
+ }
1560
+ uc-camera-source .uc-audio-select select {
1561
+ width: 100%;
1562
+ }
1563
+ uc-camera-source .uc-camera-action {
1564
+ position: absolute;
1565
+ inset: 0 var(--uc-padding) var(--uc-padding);
1566
+ margin: 0 auto;
1567
+ }
1568
+ uc-cloud-image-editor-activity {
1569
+ position: relative;
1570
+ display: flex;
1571
+ width: 100%;
1572
+ height: 100%;
1573
+ overflow: hidden;
1574
+ background-color: var(--uc-background);
1575
+ }
1576
+ [uc-modal] > dialog:has([activity="cloud-image-edit"][active]) {
1577
+ width: 100%;
1578
+ height: 100%;
1579
+ }
1580
+ uc-external-source {
1581
+ display: flex;
1582
+ flex-direction: column;
1583
+ width: 100%;
1584
+ height: 100%;
1585
+ background-color: var(--uc-background);
1586
+ overflow: hidden;
1587
+ position: relative;
1588
+ }
1589
+ [uc-modal] > dialog:has([activity="external"][active]) {
1590
+ width: 100%;
1591
+ height: 100%;
1592
+ }
1593
+ uc-external-source > .uc-content {
1594
+ position: relative;
1595
+ display: grid;
1596
+ flex: 1;
1597
+ grid-template-rows: 1fr min-content;
1598
+ }
1599
+ uc-external-source iframe {
1600
+ display: block;
1601
+ width: 100%;
1602
+ height: 100%;
1603
+ border: none;
1604
+ }
1605
+ uc-external-source .uc-iframe-wrapper {
1606
+ overflow: hidden;
1607
+ }
1608
+ uc-external-source .uc-toolbar {
1609
+ display: flex;
1610
+ width: 100%;
1611
+ gap: var(--uc-padding);
1612
+ align-items: center;
1613
+ justify-content: space-between;
1614
+ padding: var(--uc-padding);
1615
+ border-top: 1px solid var(--uc-border);
1616
+ }
1617
+ uc-external-source .uc-back-btn {
1618
+ padding-left: 0;
1619
+ }
1620
+ uc-external-source .uc-selection-status-box {
1621
+ color: var(--uc-foreground);
1622
+ display: flex;
1623
+ flex-direction: column;
1624
+ align-items: center;
1625
+ justify-content: center;
1626
+ }
1627
+ uc-external-source .uc-selection-status-box button {
1628
+ color: var(--uc-primary);
1629
+ height: auto;
1630
+ padding: 0;
1631
+ background: none;
1632
+ }
1633
+ uc-external-source .uc-selection-status-box button:hover {
1634
+ text-decoration: underline;
1635
+ }
1636
+ uc-external-source uc-activity-header {
1637
+ position: absolute;
1638
+ width: 100%;
1639
+ justify-content: flex-end;
1640
+ z-index: 1;
1641
+ left: 0;
1642
+ top: 0;
1643
+ right: 0;
1644
+ pointer-events: none;
1645
+ }
1646
+ uc-external-source uc-activity-header .uc-close-btn {
1647
+ pointer-events: auto;
1648
+ }
1649
+ uc-external-source .uc-done-btn > span.uc-hidden {
1650
+ visibility: hidden;
1651
+ pointer-events: none;
1652
+ }
1653
+ uc-external-source .uc-done-btn > uc-spinner {
1654
+ position: absolute;
1655
+ width: 100%;
1656
+ height: 100%;
1657
+ display: flex;
1658
+ align-items: center;
1659
+ justify-content: center;
1660
+ }
1661
+ uc-url-source {
1662
+ display: block;
1663
+ background-color: var(--uc-background);
1664
+ }
1665
+ uc-url-source > .uc-content {
1666
+ display: grid;
1667
+ gap: 4px;
1668
+ grid-template-columns: 1fr min-content;
1669
+ padding: var(--uc-padding);
1670
+ padding-top: 0;
1671
+ }
1672
+ uc-url-source .uc-url-input {
1673
+ display: flex;
1674
+ }
1675
+ /*$vite$:1*/