From 220a9fd9a819b2c14e890af49145e6d9acd06601 Mon Sep 17 00:00:00 2001 From: Ade Reksi Susanto <34746706+adereksisusanto@users.noreply.github.com> Date: Tue, 23 Apr 2024 14:03:17 +0700 Subject: [PATCH] add feature (filter by file) to base language and phrases, fix file select dropdown only base language, rebuild assets & fix validation database_connection (#105) * Add feature `filter by file` * Fix file select dropdown * Fix database connection --- ...8.js => ExclamationCircleIcon-2a26691d.js} | 2 +- ...on-e68c9a12.js => XCircleIcon-71639424.js} | 2 +- ...{accept-acb4ee59.js => accept-2aabe2e9.js} | 2 +- ...b376bc74.js => add-source-key-e419d407.js} | 2 +- ...704f1e8.js => add-translation-810989c4.js} | 4 +- ...e_type_script_setup_true_lang-c1e88bc1.js} | 2 +- .../{app-f79836f7.js => app-8d2ddf0a.js} | 2 +- ...e_type_script_setup_true_lang-3d6cef8e.js} | 2 +- ...{dialog-1dde479c.js => dialog-6de4cc28.js} | 2 +- ...e_type_script_setup_true_lang-16687c15.js} | 2 +- .../translations-ui/assets/edit-20c29df3.js | 1 + .../translations-ui/assets/edit-8d8a4099.js | 1 - .../{edit-80b191ab.js => edit-cabf8dd2.js} | 2 +- .../{edit-6dc64edd.js => edit-dbb67e4d.js} | 2 +- .../{error-69c9937a.js => error-3b589616.js} | 2 +- ...e_type_script_setup_true_lang-f8d12804.js} | 2 +- ...b989727.js => forgot-password-28e8d00e.js} | 2 +- ...2c22ea1.js => icon-arrow-left-9aff8bd7.js} | 2 +- ...251a2c.js => icon-arrow-right-19101772.js} | 2 +- ...b22b0eec.js => icon-clipboard-d7e55528.js} | 2 +- ...ose-cd07b6ee.js => icon-close-2c219153.js} | 2 +- ...n-key-cf61dcc2.js => icon-key-2650eeaf.js} | 2 +- ...-aa39478f.js => icon-language-e9642115.js} | 2 +- ...il-9c3335bd.js => icon-pencil-c97c2a6b.js} | 2 +- ...plus-74060bd2.js => icon-plus-5ba4f8f8.js} | 2 +- ...h-2c3bbfd2.js => icon-publish-eaee4335.js} | 2 +- ...ash-5b13c52f.js => icon-trash-62f8df5f.js} | 2 +- .../{index-899e9fa6.js => index-99365abf.js} | 2 +- .../{index-d49c7cff.js => index-bb8eacca.js} | 2 +- .../translations-ui/assets/index-bda9933d.js | 1 + .../translations-ui/assets/index-c1628707.js | 1 + .../translations-ui/assets/index-c492b9aa.js | 1 - .../{index-56994201.js => index-c92090c8.js} | 2 +- .../translations-ui/assets/index-f5c444fd.js | 1 - ...e_type_script_setup_true_lang-8840f18d.js} | 2 +- ...e_type_script_setup_true_lang-b020cb97.js} | 2 +- ...e_type_script_setup_true_lang-b04d251a.js} | 2 +- ...e_type_script_setup_true_lang-c432caf8.js} | 2 +- ...e_type_script_setup_true_lang-c368a274.js} | 2 +- ...{invite-6f56196a.js => invite-00e1c086.js} | 2 +- .../assets/invited-item-6676c40f.js | 1 + .../assets/invited-item-6858df42.js | 1 - ...e_type_script_setup_true_lang-d72a345f.js} | 2 +- .../assets/invited-table-12d0543d.js | 1 + .../assets/invited-table-2f4bb456.js | 1 - ...e_type_script_setup_true_lang-ffc54ae5.js} | 2 +- ...e_type_script_setup_true_lang-1d9d39f3.js} | 2 +- ...t-7ebc6caa.js => layout-guest-8ff3f210.js} | 2 +- ...{lodash-5c2eb642.js => lodash-d6ff17c9.js} | 2 +- .../{login-d38dbc55.js => login-67425c5c.js} | 2 +- .../{logo-54a98bfe.js => logo-47b5a18d.js} | 2 +- ...e_type_script_setup_true_lang-15830f26.js} | 2 +- .../assets/phrase-item-73072103.js | 1 + .../assets/phrase-item-8b1ae795.js | 1 - ...e_type_script_setup_true_lang-a857824f.js} | 2 +- ...4e.js => publish-translations-151bfa41.js} | 2 +- ...262527de.js => reset-password-24bdb243.js} | 2 +- .../assets/source-phrase-item-a10fb727.js | 1 - .../assets/source-phrase-item-b4a753bb.js | 1 + ...e_type_script_setup_true_lang-c6995ae0.js} | 2 +- ...ion-53b06f51.js => transition-fb8d0e84.js} | 2 +- .../assets/translation-item-00d7e3c2.js | 1 + .../assets/translation-item-819dc751.js | 1 - ...e_type_script_setup_true_lang-91da7643.js} | 2 +- .../assets/use-auth-9835d026.js | 1 + .../assets/use-auth-b0f8b4d5.js | 1 - ...js => use-confirmation-dialog-1471177b.js} | 2 +- ...03843395.js => use-input-size-a5ed2a71.js} | 2 +- ... use-language-code-conversion-0ef03612.js} | 2 +- .../user-update-password-form-426ebc59.js | 1 - .../user-update-password-form-9f493bbb.js | 1 + ...e_type_script_setup_true_lang-ae347757.js} | 2 +- ...pdate-profile-information-form-8a3017f0.js | 1 + ...pdate-profile-information-form-e59e1520.js | 1 - ...e_type_script_setup_true_lang-b61610ab.js} | 2 +- .../dist/vendor/translations-ui/manifest.json | 807 +++++++++--------- resources/views/pages/phrases/index.vue | 76 +- resources/views/pages/source/index.vue | 54 +- .../Auth/PasswordResetLinkController.php | 6 +- .../Controllers/ContributorController.php | 3 +- src/Http/Controllers/PhraseController.php | 23 +- src/Http/Controllers/ProfileController.php | 3 +- .../Controllers/SourcePhraseController.php | 31 +- 83 files changed, 610 insertions(+), 523 deletions(-) rename resources/dist/vendor/translations-ui/assets/{ExclamationCircleIcon-b60ff688.js => ExclamationCircleIcon-2a26691d.js} (85%) rename resources/dist/vendor/translations-ui/assets/{XCircleIcon-e68c9a12.js => XCircleIcon-71639424.js} (87%) rename resources/dist/vendor/translations-ui/assets/{accept-acb4ee59.js => accept-2aabe2e9.js} (81%) rename resources/dist/vendor/translations-ui/assets/{add-source-key-b376bc74.js => add-source-key-e419d407.js} (79%) rename resources/dist/vendor/translations-ui/assets/{add-translation-e704f1e8.js => add-translation-810989c4.js} (96%) rename resources/dist/vendor/translations-ui/assets/{alert.vue_vue_type_script_setup_true_lang-6f86fc1e.js => alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js} (90%) rename resources/dist/vendor/translations-ui/assets/{app-f79836f7.js => app-8d2ddf0a.js} (90%) rename resources/dist/vendor/translations-ui/assets/{base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js => base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js} (95%) rename resources/dist/vendor/translations-ui/assets/{dialog-1dde479c.js => dialog-6de4cc28.js} (99%) rename resources/dist/vendor/translations-ui/assets/{dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js => dialog.vue_vue_type_script_setup_true_lang-16687c15.js} (87%) create mode 100644 resources/dist/vendor/translations-ui/assets/edit-20c29df3.js delete mode 100644 resources/dist/vendor/translations-ui/assets/edit-8d8a4099.js rename resources/dist/vendor/translations-ui/assets/{edit-80b191ab.js => edit-cabf8dd2.js} (88%) rename resources/dist/vendor/translations-ui/assets/{edit-6dc64edd.js => edit-dbb67e4d.js} (93%) rename resources/dist/vendor/translations-ui/assets/{error-69c9937a.js => error-3b589616.js} (88%) rename resources/dist/vendor/translations-ui/assets/{flag.vue_vue_type_script_setup_true_lang-1258a665.js => flag.vue_vue_type_script_setup_true_lang-f8d12804.js} (99%) rename resources/dist/vendor/translations-ui/assets/{forgot-password-0b989727.js => forgot-password-28e8d00e.js} (70%) rename resources/dist/vendor/translations-ui/assets/{icon-arrow-left-52c22ea1.js => icon-arrow-left-9aff8bd7.js} (87%) rename resources/dist/vendor/translations-ui/assets/{icon-arrow-right-75251a2c.js => icon-arrow-right-19101772.js} (87%) rename resources/dist/vendor/translations-ui/assets/{icon-clipboard-b22b0eec.js => icon-clipboard-d7e55528.js} (88%) rename resources/dist/vendor/translations-ui/assets/{icon-close-cd07b6ee.js => icon-close-2c219153.js} (84%) rename resources/dist/vendor/translations-ui/assets/{icon-key-cf61dcc2.js => icon-key-2650eeaf.js} (95%) rename resources/dist/vendor/translations-ui/assets/{icon-language-aa39478f.js => icon-language-e9642115.js} (90%) rename resources/dist/vendor/translations-ui/assets/{icon-pencil-9c3335bd.js => icon-pencil-c97c2a6b.js} (88%) rename resources/dist/vendor/translations-ui/assets/{icon-plus-74060bd2.js => icon-plus-5ba4f8f8.js} (85%) rename resources/dist/vendor/translations-ui/assets/{icon-publish-2c3bbfd2.js => icon-publish-eaee4335.js} (90%) rename resources/dist/vendor/translations-ui/assets/{icon-trash-5b13c52f.js => icon-trash-62f8df5f.js} (92%) rename resources/dist/vendor/translations-ui/assets/{index-899e9fa6.js => index-99365abf.js} (98%) rename resources/dist/vendor/translations-ui/assets/{index-d49c7cff.js => index-bb8eacca.js} (85%) create mode 100644 resources/dist/vendor/translations-ui/assets/index-bda9933d.js create mode 100644 resources/dist/vendor/translations-ui/assets/index-c1628707.js delete mode 100644 resources/dist/vendor/translations-ui/assets/index-c492b9aa.js rename resources/dist/vendor/translations-ui/assets/{index-56994201.js => index-c92090c8.js} (94%) delete mode 100644 resources/dist/vendor/translations-ui/assets/index-f5c444fd.js rename resources/dist/vendor/translations-ui/assets/{input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js => input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js} (86%) rename resources/dist/vendor/translations-ui/assets/{input-label.vue_vue_type_script_setup_true_lang-58f0b872.js => input-label.vue_vue_type_script_setup_true_lang-b020cb97.js} (75%) rename resources/dist/vendor/translations-ui/assets/{input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js => input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js} (65%) rename resources/dist/vendor/translations-ui/assets/{input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js => input-password.vue_vue_type_script_setup_true_lang-c432caf8.js} (95%) rename resources/dist/vendor/translations-ui/assets/{input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js => input-text.vue_vue_type_script_setup_true_lang-c368a274.js} (87%) rename resources/dist/vendor/translations-ui/assets/{invite-6f56196a.js => invite-00e1c086.js} (96%) create mode 100644 resources/dist/vendor/translations-ui/assets/invited-item-6676c40f.js delete mode 100644 resources/dist/vendor/translations-ui/assets/invited-item-6858df42.js rename resources/dist/vendor/translations-ui/assets/{invited-item.vue_vue_type_script_setup_true_lang-49a8b0a3.js => invited-item.vue_vue_type_script_setup_true_lang-d72a345f.js} (91%) create mode 100644 resources/dist/vendor/translations-ui/assets/invited-table-12d0543d.js delete mode 100644 resources/dist/vendor/translations-ui/assets/invited-table-2f4bb456.js rename resources/dist/vendor/translations-ui/assets/{invited-table.vue_vue_type_script_setup_true_lang-ba72d4ef.js => invited-table.vue_vue_type_script_setup_true_lang-ffc54ae5.js} (82%) rename resources/dist/vendor/translations-ui/assets/{layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js => layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js} (98%) rename resources/dist/vendor/translations-ui/assets/{layout-guest-7ebc6caa.js => layout-guest-8ff3f210.js} (93%) rename resources/dist/vendor/translations-ui/assets/{lodash-5c2eb642.js => lodash-d6ff17c9.js} (99%) rename resources/dist/vendor/translations-ui/assets/{login-d38dbc55.js => login-67425c5c.js} (72%) rename resources/dist/vendor/translations-ui/assets/{logo-54a98bfe.js => logo-47b5a18d.js} (97%) rename resources/dist/vendor/translations-ui/assets/{pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js => pagination.vue_vue_type_script_setup_true_lang-15830f26.js} (88%) create mode 100644 resources/dist/vendor/translations-ui/assets/phrase-item-73072103.js delete mode 100644 resources/dist/vendor/translations-ui/assets/phrase-item-8b1ae795.js rename resources/dist/vendor/translations-ui/assets/{phrase-item.vue_vue_type_script_setup_true_lang-4fdba4b5.js => phrase-item.vue_vue_type_script_setup_true_lang-a857824f.js} (91%) rename resources/dist/vendor/translations-ui/assets/{publish-translations-920a704e.js => publish-translations-151bfa41.js} (89%) rename resources/dist/vendor/translations-ui/assets/{reset-password-262527de.js => reset-password-24bdb243.js} (82%) delete mode 100644 resources/dist/vendor/translations-ui/assets/source-phrase-item-a10fb727.js create mode 100644 resources/dist/vendor/translations-ui/assets/source-phrase-item-b4a753bb.js rename resources/dist/vendor/translations-ui/assets/{source-phrase-item.vue_vue_type_script_setup_true_lang-31cfc1e5.js => source-phrase-item.vue_vue_type_script_setup_true_lang-c6995ae0.js} (89%) rename resources/dist/vendor/translations-ui/assets/{transition-53b06f51.js => transition-fb8d0e84.js} (99%) create mode 100644 resources/dist/vendor/translations-ui/assets/translation-item-00d7e3c2.js delete mode 100644 resources/dist/vendor/translations-ui/assets/translation-item-819dc751.js rename resources/dist/vendor/translations-ui/assets/{translation-item.vue_vue_type_script_setup_true_lang-24d299e4.js => translation-item.vue_vue_type_script_setup_true_lang-91da7643.js} (89%) create mode 100644 resources/dist/vendor/translations-ui/assets/use-auth-9835d026.js delete mode 100644 resources/dist/vendor/translations-ui/assets/use-auth-b0f8b4d5.js rename resources/dist/vendor/translations-ui/assets/{use-confirmation-dialog-fc74ac1c.js => use-confirmation-dialog-1471177b.js} (90%) rename resources/dist/vendor/translations-ui/assets/{use-input-size-03843395.js => use-input-size-a5ed2a71.js} (62%) rename resources/dist/vendor/translations-ui/assets/{use-language-code-conversion-191bb3a4.js => use-language-code-conversion-0ef03612.js} (97%) delete mode 100644 resources/dist/vendor/translations-ui/assets/user-update-password-form-426ebc59.js create mode 100644 resources/dist/vendor/translations-ui/assets/user-update-password-form-9f493bbb.js rename resources/dist/vendor/translations-ui/assets/{user-update-password-form.vue_vue_type_script_setup_true_lang-e6a92dfb.js => user-update-password-form.vue_vue_type_script_setup_true_lang-ae347757.js} (90%) create mode 100644 resources/dist/vendor/translations-ui/assets/user-update-profile-information-form-8a3017f0.js delete mode 100644 resources/dist/vendor/translations-ui/assets/user-update-profile-information-form-e59e1520.js rename resources/dist/vendor/translations-ui/assets/{user-update-profile-information-form.vue_vue_type_script_setup_true_lang-2884bd41.js => user-update-profile-information-form.vue_vue_type_script_setup_true_lang-b61610ab.js} (84%) diff --git a/resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-b60ff688.js b/resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-2a26691d.js similarity index 85% rename from resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-b60ff688.js rename to resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-2a26691d.js index 0655d21..0da2ab9 100644 --- a/resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-b60ff688.js +++ b/resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-2a26691d.js @@ -1 +1 @@ -import{o as e,h as r,f as a}from"./app-f79836f7.js";function n(o,t){return e(),r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z","clip-rule":"evenodd"})])}export{n as r}; +import{o as e,h as r,f as a}from"./app-8d2ddf0a.js";function n(o,t){return e(),r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z","clip-rule":"evenodd"})])}export{n as r}; diff --git a/resources/dist/vendor/translations-ui/assets/XCircleIcon-e68c9a12.js b/resources/dist/vendor/translations-ui/assets/XCircleIcon-71639424.js similarity index 87% rename from resources/dist/vendor/translations-ui/assets/XCircleIcon-e68c9a12.js rename to resources/dist/vendor/translations-ui/assets/XCircleIcon-71639424.js index c452173..edd47b8 100644 --- a/resources/dist/vendor/translations-ui/assets/XCircleIcon-e68c9a12.js +++ b/resources/dist/vendor/translations-ui/assets/XCircleIcon-71639424.js @@ -1 +1 @@ -import{o as e,h as a,f as r}from"./app-f79836f7.js";function n(o,l){return e(),a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[r("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM8.28 7.22a.75.75 0 0 0-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 1 0 1.06 1.06L10 11.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L11.06 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L10 8.94 8.28 7.22Z","clip-rule":"evenodd"})])}export{n as r}; +import{o as e,h as a,f as r}from"./app-8d2ddf0a.js";function n(o,l){return e(),a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[r("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM8.28 7.22a.75.75 0 0 0-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 1 0 1.06 1.06L10 11.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L11.06 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L10 8.94 8.28 7.22Z","clip-rule":"evenodd"})])}export{n as r}; diff --git a/resources/dist/vendor/translations-ui/assets/accept-acb4ee59.js b/resources/dist/vendor/translations-ui/assets/accept-2aabe2e9.js similarity index 81% rename from resources/dist/vendor/translations-ui/assets/accept-acb4ee59.js rename to resources/dist/vendor/translations-ui/assets/accept-2aabe2e9.js index 8619f8e..c3307ed 100644 --- a/resources/dist/vendor/translations-ui/assets/accept-acb4ee59.js +++ b/resources/dist/vendor/translations-ui/assets/accept-2aabe2e9.js @@ -1 +1 @@ -import{_ as b}from"./layout-guest-7ebc6caa.js";import{d as x,T as V,o as h,c as k,w as n,a as m,b as e,f as t,u as s,t as C,g as I,Z as B,i as $}from"./app-f79836f7.js";import{_ as N}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as q}from"./input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js";import{_ as A,a as E}from"./input-label.vue_vue_type_script_setup_true_lang-58f0b872.js";import{_ as L}from"./input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js";import"./logo-54a98bfe.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./icon-close-cd07b6ee.js";import"./use-input-size-03843395.js";const P={class:"space-y-1"},T={class:"space-y-1"},U=["textContent"],j={class:"space-y-1"},G={class:"space-y-1"},S={class:"mt-8 flex w-full justify-center"},Q=x({__name:"accept",props:{email:{},token:{}},setup(u){const d=u,o=V({name:"",password:"",email:d.email,token:d.token,password_confirmation:""}),_=()=>{o.post(route("ltu.invitation.accept.store"),{onFinish:()=>{o.reset("password","password_confirmation")}})};return(p,a)=>{const f=B,i=A,w=L,l=E,c=q,g=N,y=$,v=b;return h(),k(v,null,{title:n(()=>[m(" Accept Invitation ")]),subtitle:n(()=>[m(" You have been invited to join the team! ")]),default:n(()=>[e(f,{title:"Accept Invitation"}),t("form",{class:"space-y-6",onSubmit:I(_,["prevent"])},[t("div",P,[e(i,{for:"name",value:"Name",class:"sr-only"}),e(w,{id:"name",modelValue:s(o).name,"onUpdate:modelValue":a[0]||(a[0]=r=>s(o).name=r),error:s(o).errors.name,type:"text",required:"",autofocus:"",autocomplete:"name",placeholder:"Enter your name",class:"bg-gray-50"},null,8,["modelValue","error"]),e(l,{message:s(o).errors.name},null,8,["message"])]),t("div",T,[e(i,{for:"email",value:"Email Address",class:"sr-only"}),t("div",{class:"w-full cursor-not-allowed rounded-md border border-gray-300 bg-gray-100 px-2 py-2.5 text-sm",textContent:C(p.email)},null,8,U),e(l,{message:s(o).errors.email},null,8,["message"])]),t("div",j,[e(i,{for:"password",value:"Password"}),e(c,{id:"password",modelValue:s(o).password,"onUpdate:modelValue":a[1]||(a[1]=r=>s(o).password=r),error:s(o).errors.password,required:"",autocomplete:"new-password",class:"bg-gray-50"},null,8,["modelValue","error"]),e(l,{message:s(o).errors.password},null,8,["message"])]),t("div",G,[e(i,{for:"password_confirmation",value:"Confirm Password"}),e(c,{id:"password_confirmation",modelValue:s(o).password_confirmation,"onUpdate:modelValue":a[2]||(a[2]=r=>s(o).password_confirmation=r),error:s(o).errors.password_confirmation,required:"",autocomplete:"new-password",class:"bg-gray-50"},null,8,["modelValue","error"]),e(l,{message:s(o).errors.password_confirmation},null,8,["message"])]),e(g,{type:"submit",variant:"secondary","is-loading":s(o).processing,"full-width":""},{default:n(()=>[m(" Continue ")]),_:1},8,["is-loading"])],32),t("div",S,[e(y,{href:p.route("ltu.login"),class:"text-xs font-medium text-gray-500 hover:text-blue-500"},{default:n(()=>[m(" Go back to sign in ")]),_:1},8,["href"])])]),_:1})}}});export{Q as default}; +import{_ as b}from"./layout-guest-8ff3f210.js";import{d as x,T as V,o as h,c as k,w as n,a as m,b as e,f as t,u as s,t as C,g as I,Z as B,i as $}from"./app-8d2ddf0a.js";import{_ as N}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as q}from"./input-password.vue_vue_type_script_setup_true_lang-c432caf8.js";import{_ as A,a as E}from"./input-label.vue_vue_type_script_setup_true_lang-b020cb97.js";import{_ as L}from"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";import"./logo-47b5a18d.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./icon-close-2c219153.js";import"./use-input-size-a5ed2a71.js";const P={class:"space-y-1"},T={class:"space-y-1"},U=["textContent"],j={class:"space-y-1"},G={class:"space-y-1"},S={class:"mt-8 flex w-full justify-center"},Q=x({__name:"accept",props:{email:{},token:{}},setup(u){const d=u,o=V({name:"",password:"",email:d.email,token:d.token,password_confirmation:""}),_=()=>{o.post(route("ltu.invitation.accept.store"),{onFinish:()=>{o.reset("password","password_confirmation")}})};return(p,a)=>{const f=B,i=A,w=L,l=E,c=q,g=N,y=$,v=b;return h(),k(v,null,{title:n(()=>[m(" Accept Invitation ")]),subtitle:n(()=>[m(" You have been invited to join the team! ")]),default:n(()=>[e(f,{title:"Accept Invitation"}),t("form",{class:"space-y-6",onSubmit:I(_,["prevent"])},[t("div",P,[e(i,{for:"name",value:"Name",class:"sr-only"}),e(w,{id:"name",modelValue:s(o).name,"onUpdate:modelValue":a[0]||(a[0]=r=>s(o).name=r),error:s(o).errors.name,type:"text",required:"",autofocus:"",autocomplete:"name",placeholder:"Enter your name",class:"bg-gray-50"},null,8,["modelValue","error"]),e(l,{message:s(o).errors.name},null,8,["message"])]),t("div",T,[e(i,{for:"email",value:"Email Address",class:"sr-only"}),t("div",{class:"w-full cursor-not-allowed rounded-md border border-gray-300 bg-gray-100 px-2 py-2.5 text-sm",textContent:C(p.email)},null,8,U),e(l,{message:s(o).errors.email},null,8,["message"])]),t("div",j,[e(i,{for:"password",value:"Password"}),e(c,{id:"password",modelValue:s(o).password,"onUpdate:modelValue":a[1]||(a[1]=r=>s(o).password=r),error:s(o).errors.password,required:"",autocomplete:"new-password",class:"bg-gray-50"},null,8,["modelValue","error"]),e(l,{message:s(o).errors.password},null,8,["message"])]),t("div",G,[e(i,{for:"password_confirmation",value:"Confirm Password"}),e(c,{id:"password_confirmation",modelValue:s(o).password_confirmation,"onUpdate:modelValue":a[2]||(a[2]=r=>s(o).password_confirmation=r),error:s(o).errors.password_confirmation,required:"",autocomplete:"new-password",class:"bg-gray-50"},null,8,["modelValue","error"]),e(l,{message:s(o).errors.password_confirmation},null,8,["message"])]),e(g,{type:"submit",variant:"secondary","is-loading":s(o).processing,"full-width":""},{default:n(()=>[m(" Continue ")]),_:1},8,["is-loading"])],32),t("div",S,[e(y,{href:p.route("ltu.login"),class:"text-xs font-medium text-gray-500 hover:text-blue-500"},{default:n(()=>[m(" Go back to sign in ")]),_:1},8,["href"])])]),_:1})}}});export{Q as default}; diff --git a/resources/dist/vendor/translations-ui/assets/add-source-key-b376bc74.js b/resources/dist/vendor/translations-ui/assets/add-source-key-e419d407.js similarity index 79% rename from resources/dist/vendor/translations-ui/assets/add-source-key-b376bc74.js rename to resources/dist/vendor/translations-ui/assets/add-source-key-e419d407.js index ab746d0..04d873f 100644 --- a/resources/dist/vendor/translations-ui/assets/add-source-key-b376bc74.js +++ b/resources/dist/vendor/translations-ui/assets/add-source-key-e419d407.js @@ -1 +1 @@ -import{_ as w}from"./dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js";import{_ as C}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as z,a as I}from"./icon-key-cf61dcc2.js";import{_ as S}from"./input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js";import{_ as $,a as N}from"./input-label.vue_vue_type_script_setup_true_lang-58f0b872.js";import{_ as B}from"./input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js";import{_ as E}from"./icon-close-cd07b6ee.js";import{d as K,T as j,s as A,o as F,h as T,b as t,w as d,f as s,u as e,a as _,F as U,K as D,Z as H}from"./app-f79836f7.js";import{r as L}from"./ExclamationCircleIcon-b60ff688.js";import"./transition-53b06f51.js";import"./dialog-1dde479c.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./use-input-size-03843395.js";const W={class:"flex items-start justify-between gap-4 border-b px-6 py-4"},Y={class:"flex size-12 shrink-0 items-center justify-center rounded-full border"},Z=s("div",{class:"w-full"},[s("h3",{class:"text-base font-semibold leading-6 text-gray-600"},"Add New Key"),s("p",{class:"mt-1 text-sm text-gray-500"},"Add a new key to your source language.")],-1),q={class:"space-y-6 p-6"},G={class:"w-full space-y-1"},J={class:"space-y-1"},M={class:"flex w-full items-center gap-1"},O=s("span",{class:"text-sm text-gray-400"},"You can use dot notation (.) to create nested keys.",-1),P={class:"space-y-1"},Q={class:"grid grid-cols-1 gap-6 border-t px-6 py-4 md:grid-cols-2"},me=K({__name:"add-source-key",props:{files:{}},setup(p){const u=p,{close:a}=D(),o=j({key:"",file:"",content:""}),f=A(()=>u.files.map(l=>({value:l.id,label:l.nameWithExtension}))),y=()=>{o.post(route("ltu.source_translation.store_source_key"),{preserveScroll:!0,onSuccess:()=>{a()}})};return(l,n)=>{const g=H,x=z,k=E,i=$,v=B,c=N,b=S,h=I,m=C,V=w;return F(),T(U,null,[t(g,{title:"Add New Key"}),t(V,{size:"lg"},{default:d(()=>[s("div",W,[s("div",Y,[t(x,{class:"size-6 text-gray-400"})]),Z,s("div",{class:"flex w-8 cursor-pointer items-center justify-center text-gray-400 hover:text-gray-600",onClick:n[0]||(n[0]=(...r)=>e(a)&&e(a)(...r))},[t(k,{class:"size-5"})])]),s("div",q,[s("div",G,[t(i,{for:"file",value:"Select file"}),t(v,{id:"file",modelValue:e(o).file,"onUpdate:modelValue":n[1]||(n[1]=r=>e(o).file=r),error:e(o).errors.file,items:f.value,size:"md",placeholder:"Select translation file"},null,8,["modelValue","error","items"]),t(c,{message:e(o).errors.file},null,8,["message"])]),s("div",J,[t(i,{for:"key",value:"Source key"}),t(b,{id:"key",modelValue:e(o).key,"onUpdate:modelValue":n[2]||(n[2]=r=>e(o).key=r),error:e(o).errors.key,placeholder:"Enter key"},null,8,["modelValue","error"]),t(c,{message:e(o).errors.key},null,8,["message"]),s("div",M,[t(e(L),{class:"size-4 text-gray-400"}),O])]),s("div",P,[t(i,{for:"content",value:"Source content"}),t(h,{id:"content",modelValue:e(o).content,"onUpdate:modelValue":n[3]||(n[3]=r=>e(o).content=r),error:e(o).errors.content,placeholder:"Enter translation content for this key."},null,8,["modelValue","error"]),t(c,{message:e(o).errors.content},null,8,["message"])])]),s("div",Q,[t(m,{variant:"secondary",type:"button",size:"lg",onClick:e(a)},{default:d(()=>[_(" Close ")]),_:1},8,["onClick"]),t(m,{variant:"primary",type:"button",size:"lg",disabled:e(o).processing,"is-loading":e(o).processing,onClick:y},{default:d(()=>[_(" Create ")]),_:1},8,["disabled","is-loading"])])]),_:1})],64)}}});export{me as default}; +import{_ as w}from"./dialog.vue_vue_type_script_setup_true_lang-16687c15.js";import{_ as C}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as z,a as I}from"./icon-key-2650eeaf.js";import{_ as S}from"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";import{_ as $,a as N}from"./input-label.vue_vue_type_script_setup_true_lang-b020cb97.js";import{_ as B}from"./input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js";import{_ as E}from"./icon-close-2c219153.js";import{d as K,T as j,s as A,o as F,h as T,b as t,w as d,f as s,u as e,a as _,F as U,K as D,Z as H}from"./app-8d2ddf0a.js";import{r as L}from"./ExclamationCircleIcon-2a26691d.js";import"./transition-fb8d0e84.js";import"./dialog-6de4cc28.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./use-input-size-a5ed2a71.js";const W={class:"flex items-start justify-between gap-4 border-b px-6 py-4"},Y={class:"flex size-12 shrink-0 items-center justify-center rounded-full border"},Z=s("div",{class:"w-full"},[s("h3",{class:"text-base font-semibold leading-6 text-gray-600"},"Add New Key"),s("p",{class:"mt-1 text-sm text-gray-500"},"Add a new key to your source language.")],-1),q={class:"space-y-6 p-6"},G={class:"w-full space-y-1"},J={class:"space-y-1"},M={class:"flex w-full items-center gap-1"},O=s("span",{class:"text-sm text-gray-400"},"You can use dot notation (.) to create nested keys.",-1),P={class:"space-y-1"},Q={class:"grid grid-cols-1 gap-6 border-t px-6 py-4 md:grid-cols-2"},me=K({__name:"add-source-key",props:{files:{}},setup(p){const u=p,{close:a}=D(),o=j({key:"",file:"",content:""}),f=A(()=>u.files.map(l=>({value:l.id,label:l.nameWithExtension}))),y=()=>{o.post(route("ltu.source_translation.store_source_key"),{preserveScroll:!0,onSuccess:()=>{a()}})};return(l,n)=>{const g=H,x=z,k=E,i=$,v=B,c=N,b=S,h=I,m=C,V=w;return F(),T(U,null,[t(g,{title:"Add New Key"}),t(V,{size:"lg"},{default:d(()=>[s("div",W,[s("div",Y,[t(x,{class:"size-6 text-gray-400"})]),Z,s("div",{class:"flex w-8 cursor-pointer items-center justify-center text-gray-400 hover:text-gray-600",onClick:n[0]||(n[0]=(...r)=>e(a)&&e(a)(...r))},[t(k,{class:"size-5"})])]),s("div",q,[s("div",G,[t(i,{for:"file",value:"Select file"}),t(v,{id:"file",modelValue:e(o).file,"onUpdate:modelValue":n[1]||(n[1]=r=>e(o).file=r),error:e(o).errors.file,items:f.value,size:"md",placeholder:"Select translation file"},null,8,["modelValue","error","items"]),t(c,{message:e(o).errors.file},null,8,["message"])]),s("div",J,[t(i,{for:"key",value:"Source key"}),t(b,{id:"key",modelValue:e(o).key,"onUpdate:modelValue":n[2]||(n[2]=r=>e(o).key=r),error:e(o).errors.key,placeholder:"Enter key"},null,8,["modelValue","error"]),t(c,{message:e(o).errors.key},null,8,["message"]),s("div",M,[t(e(L),{class:"size-4 text-gray-400"}),O])]),s("div",P,[t(i,{for:"content",value:"Source content"}),t(h,{id:"content",modelValue:e(o).content,"onUpdate:modelValue":n[3]||(n[3]=r=>e(o).content=r),error:e(o).errors.content,placeholder:"Enter translation content for this key."},null,8,["modelValue","error"]),t(c,{message:e(o).errors.content},null,8,["message"])])]),s("div",Q,[t(m,{variant:"secondary",type:"button",size:"lg",onClick:e(a)},{default:d(()=>[_(" Close ")]),_:1},8,["onClick"]),t(m,{variant:"primary",type:"button",size:"lg",disabled:e(o).processing,"is-loading":e(o).processing,onClick:y},{default:d(()=>[_(" Create ")]),_:1},8,["disabled","is-loading"])])]),_:1})],64)}}});export{me as default}; diff --git a/resources/dist/vendor/translations-ui/assets/add-translation-e704f1e8.js b/resources/dist/vendor/translations-ui/assets/add-translation-810989c4.js similarity index 96% rename from resources/dist/vendor/translations-ui/assets/add-translation-e704f1e8.js rename to resources/dist/vendor/translations-ui/assets/add-translation-810989c4.js index 7b90e02..cf0c8d7 100644 --- a/resources/dist/vendor/translations-ui/assets/add-translation-e704f1e8.js +++ b/resources/dist/vendor/translations-ui/assets/add-translation-810989c4.js @@ -1,3 +1,3 @@ -import{_ as R}from"./dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js";import{_ as q}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as U}from"./flag.vue_vue_type_script_setup_true_lang-1258a665.js";import{_ as H}from"./icon-close-cd07b6ee.js";import{_ as J}from"./_plugin-vue_export-helper-c27b6911.js";import{o as r,h as d,f as l,n as Q,k as p,a1 as h,a2 as g,F as L,q as P,a as S,t as O,c as $,a3 as V,e as x,m as B,a4 as N,p as C,N as T,b as f,w as b,g as F,E as M,H as X,d as Y,r as Z,T as G,u,K as W,Z as ee}from"./app-f79836f7.js";import"./transition-53b06f51.js";import"./dialog-1dde479c.js";const te={},se={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 256 256",fill:"currentColor"},oe=l("path",{d:"M62.4 101c-1.5-2.1-2.1-3.4-1.8-3.9.2-.5 1.6-.7 3.9-.5 2.3.2 4.2.5 5.8.9 1.5.4 2.8 1 3.8 1.7s1.8 1.5 2.3 2.6c.6 1 1 2.3 1.4 3.7.7 2.8.5 4.7-.5 5.7-1.1 1-2.6.8-4.6-.6-2.1-1.4-3.9-2.8-5.5-4.2-1.7-1.3-3.3-3.2-4.8-5.4zm-21.7 89.1c4.8-2.1 9-4.2 12.6-6.4 3.5-2.1 6.6-4.4 9.3-6.8 2.6-2.3 5-4.9 7-7.7 2-2.7 3.8-5.8 5.4-9.2 1.3 1.2 2.5 2.4 3.8 3.5 1.2 1.1 2.5 2.2 3.8 3.4 1.3 1.2 2.8 2.4 4.3 3.8s3.3 2.8 5.3 4.5c.7.5 1.4.9 2.1 1 .7.1 1.7 0 3.1-.6 1.3-.5 3-1.4 5.1-2.8 2.1-1.3 4.7-3.1 7.9-5.4 1.6-1.1 2.4-2 2.3-2.7-.1-.7-1-1-2.7-.9-3.1.1-5.9.1-8.3-.1-2.5-.2-5-.6-7.4-1.4-2.4-.8-4.9-1.9-7.5-3.4-2.6-1.5-5.6-3.6-9.1-6.2 1-3.9 1.8-8 2.4-12.4.3-2.5.6-4.3.8-5.6.2-1.2.5-2.4.9-3.3.3-.8.4-1.4.5-1.9.1-.5-.1-1-.4-1.6-.4-.5-1-1.1-1.9-1.7-.9-.6-2.2-1.4-3.9-2.3 2.4-.9 5.1-1.7 7.9-2.6 2.7-.9 5.7-1.8 8.8-2.7 3-.9 4.5-1.9 4.6-3.1.1-1.2-.9-2.3-3.2-3.5-1.5-.8-2.9-1.1-4.3-.9-1.4.2-3.2.9-5.4 2.2-.6.4-1.8.9-3.4 1.6-1.7.7-3.6 1.5-6 2.5s-5 2-7.8 3.1c-2.9 1.1-5.8 2.2-8.7 3.2-2.9 1.1-5.7 2-8.2 2.8-2.6.8-4.6 1.4-6.1 1.6-3.8.8-5.8 1.6-5.9 2.4 0 .8 1.5 1.6 4.4 2.4 1.2.3 2.3.6 3.1.6.8.1 1.7.1 2.5 0s1.6-.3 2.4-.5c.8-.3 1.7-.7 2.8-1.1 1.6-.8 3.9-1.7 6.9-2.8 2.9-1 6.6-2.4 11.2-4 .9 2.7 1.4 6 1.4 9.8 0 3.8-.4 8.1-1.4 13-1.3-1.1-2.7-2.3-4.2-3.6-1.5-1.3-2.9-2.6-4.3-3.9-1.6-1.5-3.2-2.5-4.7-3-1.6-.5-3.4-.5-5.5 0-3.3.9-5 1.9-4.9 3.1 0 1.2 1.3 1.8 3.8 1.9.9.1 1.8.3 2.7.6.9.3 1.9.9 3.2 1.8 1.3.9 2.9 2.2 4.7 3.8 1.8 1.6 4.2 3.7 7 6.3-1.2 2.9-2.6 5.6-4.1 8-1.5 2.5-3.4 5-5.5 7.3-2.2 2.4-4.7 4.8-7.7 7.2-3 2.5-6.6 5.1-10.8 7.8-4.3 2.8-6.5 4.7-6.5 5.6.1 1.3 2.1.9 5.8-.7zM250.5 81.8v165.3l-111.6-36.4-128.4 42.7V76.1l29.9-10V10.4l81.2 28.7L231.3 2.6v73.1l19.2 6.1zM124.2 50.6l-101.9 34v152.2l101.9-33.9V50.6zm95.2 21.3V19l-81.3 27 81.3 25.9zm7.6 130L196.5 92 176 85.6l-30.9 90.8 18.9 5.9 5.8-18.7 31.9 10 5.7 22.3 19.6 6zm-52.2-54.2 22.2 6.9-10.9-42.9-11.3 36z"},null,-1),ie=[oe];function ne(e,t){return r(),d("svg",se,ie)}const le=J(te,[["render",ne]]);var ae=Object.defineProperty,re=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,j=(e,t,s)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,w=(e,t)=>{for(var s in t||(t={}))de.call(t,s)&&j(e,s,t[s]);if(E)for(var s of E(t))pe.call(t,s)&&j(e,s,t[s]);return e},z=(e,t)=>re(e,ce(t));const he={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(e){this.autoscroll&&e&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var e;const t=((e=this.$refs.dropdownMenu)==null?void 0:e.children[this.typeAheadPointer])||!1;if(t){const s=this.getDropdownViewport(),{top:i,bottom:a,height:o}=t.getBoundingClientRect();if(is.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(s.height-o)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},ue={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let e=0;e=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown(){for(let e=this.typeAheadPointer+1;e{const s=e.__vccOpts||e;for(const[i,a]of t)s[i]=a;return s},fe={},me={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},ye=l("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),be=[ye];function _e(e,t){return r(),d("svg",me,be)}const ve=A(fe,[["render",_e]]),we={},Oe={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},Se=l("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),$e=[Se];function Ve(e,t){return r(),d("svg",Oe,$e)}const xe=A(we,[["render",Ve]]),I={Deselect:ve,OpenIndicator:xe},Ce={mounted(e,{instance:t}){if(t.appendToBody){const{height:s,top:i,left:a,width:o}=t.$refs.toggle.getBoundingClientRect();let y=window.scrollX||window.pageXOffset,n=window.scrollY||window.pageYOffset;e.unbindPosition=t.calculatePosition(e,t,{width:o+"px",left:y+a+"px",top:n+i+s+"px"}),document.body.appendChild(e)}},unmounted(e,{instance:t}){t.appendToBody&&(e.unbindPosition&&typeof e.unbindPosition=="function"&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}};function Le(e){const t={};return Object.keys(e).sort().forEach(s=>{t[s]=e[s]}),JSON.stringify(t)}let Be=0;function Ae(){return++Be}const ke={components:w({},I),directives:{appendToBody:Ce},mixins:[he,ue,ge],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:e=>e},selectable:{type:Function,default:e=>!0},getOptionLabel:{type:Function,default(e){return typeof e=="object"?e.hasOwnProperty(this.label)?e[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}. +import{_ as R}from"./dialog.vue_vue_type_script_setup_true_lang-16687c15.js";import{_ as q}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as U}from"./flag.vue_vue_type_script_setup_true_lang-f8d12804.js";import{_ as H}from"./icon-close-2c219153.js";import{_ as J}from"./_plugin-vue_export-helper-c27b6911.js";import{o as r,h as d,f as l,n as Q,k as p,a1 as h,a2 as g,F as L,q as P,a as S,t as O,c as $,a3 as V,e as x,m as B,a4 as K,p as C,M as T,b as f,w as b,g as F,E as M,H as X,d as Y,r as Z,T as G,u,K as W,Z as ee}from"./app-8d2ddf0a.js";import"./transition-fb8d0e84.js";import"./dialog-6de4cc28.js";const te={},se={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 256 256",fill:"currentColor"},oe=l("path",{d:"M62.4 101c-1.5-2.1-2.1-3.4-1.8-3.9.2-.5 1.6-.7 3.9-.5 2.3.2 4.2.5 5.8.9 1.5.4 2.8 1 3.8 1.7s1.8 1.5 2.3 2.6c.6 1 1 2.3 1.4 3.7.7 2.8.5 4.7-.5 5.7-1.1 1-2.6.8-4.6-.6-2.1-1.4-3.9-2.8-5.5-4.2-1.7-1.3-3.3-3.2-4.8-5.4zm-21.7 89.1c4.8-2.1 9-4.2 12.6-6.4 3.5-2.1 6.6-4.4 9.3-6.8 2.6-2.3 5-4.9 7-7.7 2-2.7 3.8-5.8 5.4-9.2 1.3 1.2 2.5 2.4 3.8 3.5 1.2 1.1 2.5 2.2 3.8 3.4 1.3 1.2 2.8 2.4 4.3 3.8s3.3 2.8 5.3 4.5c.7.5 1.4.9 2.1 1 .7.1 1.7 0 3.1-.6 1.3-.5 3-1.4 5.1-2.8 2.1-1.3 4.7-3.1 7.9-5.4 1.6-1.1 2.4-2 2.3-2.7-.1-.7-1-1-2.7-.9-3.1.1-5.9.1-8.3-.1-2.5-.2-5-.6-7.4-1.4-2.4-.8-4.9-1.9-7.5-3.4-2.6-1.5-5.6-3.6-9.1-6.2 1-3.9 1.8-8 2.4-12.4.3-2.5.6-4.3.8-5.6.2-1.2.5-2.4.9-3.3.3-.8.4-1.4.5-1.9.1-.5-.1-1-.4-1.6-.4-.5-1-1.1-1.9-1.7-.9-.6-2.2-1.4-3.9-2.3 2.4-.9 5.1-1.7 7.9-2.6 2.7-.9 5.7-1.8 8.8-2.7 3-.9 4.5-1.9 4.6-3.1.1-1.2-.9-2.3-3.2-3.5-1.5-.8-2.9-1.1-4.3-.9-1.4.2-3.2.9-5.4 2.2-.6.4-1.8.9-3.4 1.6-1.7.7-3.6 1.5-6 2.5s-5 2-7.8 3.1c-2.9 1.1-5.8 2.2-8.7 3.2-2.9 1.1-5.7 2-8.2 2.8-2.6.8-4.6 1.4-6.1 1.6-3.8.8-5.8 1.6-5.9 2.4 0 .8 1.5 1.6 4.4 2.4 1.2.3 2.3.6 3.1.6.8.1 1.7.1 2.5 0s1.6-.3 2.4-.5c.8-.3 1.7-.7 2.8-1.1 1.6-.8 3.9-1.7 6.9-2.8 2.9-1 6.6-2.4 11.2-4 .9 2.7 1.4 6 1.4 9.8 0 3.8-.4 8.1-1.4 13-1.3-1.1-2.7-2.3-4.2-3.6-1.5-1.3-2.9-2.6-4.3-3.9-1.6-1.5-3.2-2.5-4.7-3-1.6-.5-3.4-.5-5.5 0-3.3.9-5 1.9-4.9 3.1 0 1.2 1.3 1.8 3.8 1.9.9.1 1.8.3 2.7.6.9.3 1.9.9 3.2 1.8 1.3.9 2.9 2.2 4.7 3.8 1.8 1.6 4.2 3.7 7 6.3-1.2 2.9-2.6 5.6-4.1 8-1.5 2.5-3.4 5-5.5 7.3-2.2 2.4-4.7 4.8-7.7 7.2-3 2.5-6.6 5.1-10.8 7.8-4.3 2.8-6.5 4.7-6.5 5.6.1 1.3 2.1.9 5.8-.7zM250.5 81.8v165.3l-111.6-36.4-128.4 42.7V76.1l29.9-10V10.4l81.2 28.7L231.3 2.6v73.1l19.2 6.1zM124.2 50.6l-101.9 34v152.2l101.9-33.9V50.6zm95.2 21.3V19l-81.3 27 81.3 25.9zm7.6 130L196.5 92 176 85.6l-30.9 90.8 18.9 5.9 5.8-18.7 31.9 10 5.7 22.3 19.6 6zm-52.2-54.2 22.2 6.9-10.9-42.9-11.3 36z"},null,-1),ie=[oe];function ne(e,t){return r(),d("svg",se,ie)}const le=J(te,[["render",ne]]);var ae=Object.defineProperty,re=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,j=(e,t,s)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,w=(e,t)=>{for(var s in t||(t={}))de.call(t,s)&&j(e,s,t[s]);if(E)for(var s of E(t))pe.call(t,s)&&j(e,s,t[s]);return e},z=(e,t)=>re(e,ce(t));const he={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(e){this.autoscroll&&e&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var e;const t=((e=this.$refs.dropdownMenu)==null?void 0:e.children[this.typeAheadPointer])||!1;if(t){const s=this.getDropdownViewport(),{top:i,bottom:a,height:o}=t.getBoundingClientRect();if(is.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(s.height-o)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},ue={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let e=0;e=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown(){for(let e=this.typeAheadPointer+1;e{const s=e.__vccOpts||e;for(const[i,a]of t)s[i]=a;return s},fe={},me={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},ye=l("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),be=[ye];function _e(e,t){return r(),d("svg",me,be)}const ve=A(fe,[["render",_e]]),we={},Oe={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},Se=l("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),$e=[Se];function Ve(e,t){return r(),d("svg",Oe,$e)}const xe=A(we,[["render",Ve]]),I={Deselect:ve,OpenIndicator:xe},Ce={mounted(e,{instance:t}){if(t.appendToBody){const{height:s,top:i,left:a,width:o}=t.$refs.toggle.getBoundingClientRect();let y=window.scrollX||window.pageXOffset,n=window.scrollY||window.pageYOffset;e.unbindPosition=t.calculatePosition(e,t,{width:o+"px",left:y+a+"px",top:n+i+s+"px"}),document.body.appendChild(e)}},unmounted(e,{instance:t}){t.appendToBody&&(e.unbindPosition&&typeof e.unbindPosition=="function"&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}};function Le(e){const t={};return Object.keys(e).sort().forEach(s=>{t[s]=e[s]}),JSON.stringify(t)}let Be=0;function Ae(){return++Be}const ke={components:w({},I),directives:{appendToBody:Ce},mixins:[he,ue,ge],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:e=>e},selectable:{type:Function,default:e=>!0},getOptionLabel:{type:Function,default(e){return typeof e=="object"?e.hasOwnProperty(this.label)?e[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}. https://vue-select.org/api/props.html#getoptionlabel`):e}},getOptionKey:{type:Function,default(e){if(typeof e!="object")return e;try{return e.hasOwnProperty("id")?e.id:Le(e)}catch(t){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option. -https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(e,t,s){return(t||"").toLocaleLowerCase().indexOf(s.toLocaleLowerCase())>-1}},filter:{type:Function,default(e,t){return e.filter(s=>{let i=this.getOptionLabel(s);return typeof i=="number"&&(i=i.toString()),this.filterBy(s,i,t)})}},createOption:{type:Function,default(e){return typeof this.optionList[0]=="object"?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>["function","boolean"].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:s,top:i,left:a}){e.style.top=i,e.style.left=a,e.style.width=s}},dropdownShouldOpen:{type:Function,default({noDrop:e,open:t,mutableLoading:s}){return e?!1:t&&!s}},uid:{type:[String,Number],default:()=>Ae()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),e!=null&&e!==""?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:w({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:z(w({},e),{deselect:this.deselect}),footer:z(w({},e),{deselect:this.deselect})}},childComponents(){return w(w({},I),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;const t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){const s=this.createOption(this.search);this.optionExists(s)||t.unshift(s)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){const s=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&s()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(t=>this.findOptionFromReducedValue(t)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit("option:selecting",e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit("option:created",e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect(e){this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit("option:deselected",e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(e){typeof this.modelValue>"u"&&(this.$data._value=e),e!==null&&(Array.isArray(e)?e=e.map(t=>this.reduce(t)):e=this.reduce(e)),this.$emit("update:modelValue",e)},toggleDropdown(e){const t=e.target!==this.searchEl;t&&e.preventDefault();const s=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||s.filter(Boolean).some(i=>i.contains(e.target)||i===e.target)){e.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){const t=i=>JSON.stringify(this.reduce(i))===JSON.stringify(e),s=[...this.options,...this.pushedTags].filter(t);return s.length===1?s[0]:s.find(i=>this.optionComparator(i,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return typeof e=="object"?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){const t=a=>(a.preventDefault(),!this.isComposing&&this.typeAheadSelect()),s={8:a=>this.maybeDeleteValue(),9:a=>this.onTab(),27:a=>this.onEscape(),38:a=>(a.preventDefault(),this.typeAheadUp()),40:a=>(a.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(a=>s[a]=t);const i=this.mapKeydown(s,this);if(typeof i[e.keyCode]=="function")return i[e.keyCode](e)}}},De=["dir"],Pe=["id","aria-expanded","aria-owns"],Te={ref:"selectedOptions",class:"vs__selected-options"},Fe=["disabled","title","aria-label","onClick"],Me={ref:"actions",class:"vs__actions"},Ee=["disabled"],je={class:"vs__spinner"},ze=["id"],Ie=["id","aria-selected","onMouseover","onClick"],Ne={key:0,class:"vs__no-options"},Ke=S(" Sorry, no matching options. "),Re=["id"];function qe(e,t,s,i,a,o){const y=Q("append-to-body");return r(),d("div",{dir:s.dir,class:M(["v-select",o.stateClasses])},[p(e.$slots,"header",h(g(o.scope.header))),l("div",{id:`vs${s.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":o.dropdownOpen.toString(),"aria-owns":`vs${s.uid}__listbox`,"aria-label":"Search for option",onMousedown:t[1]||(t[1]=n=>o.toggleDropdown(n))},[l("div",Te,[(r(!0),d(L,null,P(o.selectedValue,(n,m)=>p(e.$slots,"selected-option-container",{option:o.normalizeOptionForSlot(n),deselect:o.deselect,multiple:s.multiple,disabled:s.disabled},()=>[(r(),d("span",{key:s.getOptionKey(n),class:"vs__selected"},[p(e.$slots,"selected-option",h(g(o.normalizeOptionForSlot(n))),()=>[S(O(s.getOptionLabel(n)),1)]),s.multiple?(r(),d("button",{key:0,ref_for:!0,ref:_=>a.deselectButtons[m]=_,disabled:s.disabled,type:"button",class:"vs__deselect",title:`Deselect ${s.getOptionLabel(n)}`,"aria-label":`Deselect ${s.getOptionLabel(n)}`,onClick:_=>o.deselect(n)},[(r(),$(V(o.childComponents.Deselect)))],8,Fe)):x("",!0)]))])),256)),p(e.$slots,"search",h(g(o.scope.search)),()=>[l("input",B({class:"vs__search"},o.scope.search.attributes,N(o.scope.search.events)),null,16)])],512),l("div",Me,[C(l("button",{ref:"clearButton",disabled:s.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...n)=>o.clearSelection&&o.clearSelection(...n))},[(r(),$(V(o.childComponents.Deselect)))],8,Ee),[[T,o.showClearButton]]),p(e.$slots,"open-indicator",h(g(o.scope.openIndicator)),()=>[s.noDrop?x("",!0):(r(),$(V(o.childComponents.OpenIndicator),h(B({key:0},o.scope.openIndicator.attributes)),null,16))]),p(e.$slots,"spinner",h(g(o.scope.spinner)),()=>[C(l("div",je,"Loading...",512),[[T,e.mutableLoading]])])],512)],40,Pe),f(X,{name:s.transition},{default:b(()=>[o.dropdownOpen?C((r(),d("ul",{id:`vs${s.uid}__listbox`,ref:"dropdownMenu",key:`vs${s.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=F((...n)=>o.onMousedown&&o.onMousedown(...n),["prevent"])),onMouseup:t[3]||(t[3]=(...n)=>o.onMouseUp&&o.onMouseUp(...n))},[p(e.$slots,"list-header",h(g(o.scope.listHeader))),(r(!0),d(L,null,P(o.filteredOptions,(n,m)=>(r(),d("li",{id:`vs${s.uid}__option-${m}`,key:s.getOptionKey(n),role:"option",class:M(["vs__dropdown-option",{"vs__dropdown-option--deselect":o.isOptionDeselectable(n)&&m===e.typeAheadPointer,"vs__dropdown-option--selected":o.isOptionSelected(n),"vs__dropdown-option--highlight":m===e.typeAheadPointer,"vs__dropdown-option--disabled":!s.selectable(n)}]),"aria-selected":m===e.typeAheadPointer?!0:null,onMouseover:_=>s.selectable(n)?e.typeAheadPointer=m:null,onClick:F(_=>s.selectable(n)?o.select(n):null,["prevent","stop"])},[p(e.$slots,"option",h(g(o.normalizeOptionForSlot(n))),()=>[S(O(s.getOptionLabel(n)),1)])],42,Ie))),128)),o.filteredOptions.length===0?(r(),d("li",Ne,[p(e.$slots,"no-options",h(g(o.scope.noOptions)),()=>[Ke])])):x("",!0),p(e.$slots,"list-footer",h(g(o.scope.listFooter)))],40,ze)),[[y]]):(r(),d("ul",{key:1,id:`vs${s.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,Re))]),_:3},8,["name"]),p(e.$slots,"footer",h(g(o.scope.footer)))],10,De)}const Ue=A(ke,[["render",qe]]),He={class:"flex items-start justify-between gap-4 border-b px-6 py-4"},Je={class:"flex size-12 shrink-0 items-center justify-center"},Qe=l("div",{class:"w-full"},[l("h3",{class:"text-base font-semibold leading-6 text-gray-600"},"Add Languages"),l("p",{class:"mt-1 text-sm text-gray-500"},"Select the languages you want to add to your project.")],-1),Xe=l("input",{type:"text",class:"absolute m-0 h-0 p-0 opacity-0",autofocus:""},null,-1),Ye={class:"mt-0 w-full p-6"},Ze=["required","placeholder"],Ge={class:"group flex w-full items-center justify-between"},We={class:"flex flex-1 items-center gap-2"},et={class:"font-medium"},tt={class:"shrink-0 rounded-md border px-1 py-0.5 text-xs text-gray-400 group-hover:text-white"},st={class:"text-sm font-medium"},ot={class:"grid grid-cols-1 gap-6 border-t px-6 py-4 md:grid-cols-2"},ht=Y({__name:"add-translation",props:{languages:{}},setup(e){const{close:t}=W(),s=Z([]),i=G({languages:[]}),a=()=>{i.post(route("ltu.translation.store"),{preserveScroll:!0,onSuccess:()=>{t()}})};return(o,y)=>{const n=ee,m=le,_=H,k=U,D=q,K=R;return r(),d(L,null,[f(n,{title:"Add Languages"}),f(K,{size:"lg"},{default:b(()=>[l("div",He,[l("div",Je,[f(m,{class:"size-10 text-gray-500"})]),Qe,l("div",{class:"flex w-8 cursor-pointer items-center justify-center text-gray-400 hover:text-gray-600",onClick:y[0]||(y[0]=(...c)=>u(t)&&u(t)(...c))},[f(_,{class:"size-5"})])]),Xe,l("div",Ye,[f(u(Ue),{modelValue:u(i).languages,"onUpdate:modelValue":y[1]||(y[1]=c=>u(i).languages=c),label:"name",class:"rounded-md bg-white",options:o.languages,reduce:c=>c.id,selectable:c=>!u(i).languages.includes(c.id),multiple:""},{search:b(({attributes:c,events:v})=>[l("input",B({class:"vs__search",required:!s.value},c,{placeholder:u(i).languages.length?"":"Search languages..."},N(v,!0)),null,16,Ze)]),option:b(({name:c,code:v})=>[l("div",Ge,[l("div",We,[f(k,{width:"w-6","country-code":v},null,8,["country-code"]),l("h3",et,O(c),1)]),l("small",tt,O(v),1)])]),"selected-option":b(({name:c,code:v})=>[f(k,{width:"w-5","country-code":v},null,8,["country-code"]),l("h3",st,O(c),1)]),_:1},8,["modelValue","options","reduce","selectable"])]),l("div",ot,[f(D,{variant:"secondary",type:"button",size:"lg",onClick:u(t)},{default:b(()=>[S(" Close ")]),_:1},8,["onClick"]),f(D,{variant:"primary",type:"button",size:"lg",disabled:!u(i).languages.length||u(i).processing,"is-loading":u(i).processing,onClick:a},{default:b(()=>[S(" Add Languages ")]),_:1},8,["disabled","is-loading"])])]),_:1})],64)}}});export{ht as default}; +https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(e,t,s){return(t||"").toLocaleLowerCase().indexOf(s.toLocaleLowerCase())>-1}},filter:{type:Function,default(e,t){return e.filter(s=>{let i=this.getOptionLabel(s);return typeof i=="number"&&(i=i.toString()),this.filterBy(s,i,t)})}},createOption:{type:Function,default(e){return typeof this.optionList[0]=="object"?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>["function","boolean"].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:s,top:i,left:a}){e.style.top=i,e.style.left=a,e.style.width=s}},dropdownShouldOpen:{type:Function,default({noDrop:e,open:t,mutableLoading:s}){return e?!1:t&&!s}},uid:{type:[String,Number],default:()=>Ae()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),e!=null&&e!==""?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:w({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:z(w({},e),{deselect:this.deselect}),footer:z(w({},e),{deselect:this.deselect})}},childComponents(){return w(w({},I),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;const t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){const s=this.createOption(this.search);this.optionExists(s)||t.unshift(s)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){const s=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&s()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(t=>this.findOptionFromReducedValue(t)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit("option:selecting",e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit("option:created",e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect(e){this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit("option:deselected",e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(e){typeof this.modelValue>"u"&&(this.$data._value=e),e!==null&&(Array.isArray(e)?e=e.map(t=>this.reduce(t)):e=this.reduce(e)),this.$emit("update:modelValue",e)},toggleDropdown(e){const t=e.target!==this.searchEl;t&&e.preventDefault();const s=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||s.filter(Boolean).some(i=>i.contains(e.target)||i===e.target)){e.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){const t=i=>JSON.stringify(this.reduce(i))===JSON.stringify(e),s=[...this.options,...this.pushedTags].filter(t);return s.length===1?s[0]:s.find(i=>this.optionComparator(i,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return typeof e=="object"?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){const t=a=>(a.preventDefault(),!this.isComposing&&this.typeAheadSelect()),s={8:a=>this.maybeDeleteValue(),9:a=>this.onTab(),27:a=>this.onEscape(),38:a=>(a.preventDefault(),this.typeAheadUp()),40:a=>(a.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(a=>s[a]=t);const i=this.mapKeydown(s,this);if(typeof i[e.keyCode]=="function")return i[e.keyCode](e)}}},De=["dir"],Pe=["id","aria-expanded","aria-owns"],Te={ref:"selectedOptions",class:"vs__selected-options"},Fe=["disabled","title","aria-label","onClick"],Me={ref:"actions",class:"vs__actions"},Ee=["disabled"],je={class:"vs__spinner"},ze=["id"],Ie=["id","aria-selected","onMouseover","onClick"],Ke={key:0,class:"vs__no-options"},Ne=S(" Sorry, no matching options. "),Re=["id"];function qe(e,t,s,i,a,o){const y=Q("append-to-body");return r(),d("div",{dir:s.dir,class:M(["v-select",o.stateClasses])},[p(e.$slots,"header",h(g(o.scope.header))),l("div",{id:`vs${s.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":o.dropdownOpen.toString(),"aria-owns":`vs${s.uid}__listbox`,"aria-label":"Search for option",onMousedown:t[1]||(t[1]=n=>o.toggleDropdown(n))},[l("div",Te,[(r(!0),d(L,null,P(o.selectedValue,(n,m)=>p(e.$slots,"selected-option-container",{option:o.normalizeOptionForSlot(n),deselect:o.deselect,multiple:s.multiple,disabled:s.disabled},()=>[(r(),d("span",{key:s.getOptionKey(n),class:"vs__selected"},[p(e.$slots,"selected-option",h(g(o.normalizeOptionForSlot(n))),()=>[S(O(s.getOptionLabel(n)),1)]),s.multiple?(r(),d("button",{key:0,ref_for:!0,ref:_=>a.deselectButtons[m]=_,disabled:s.disabled,type:"button",class:"vs__deselect",title:`Deselect ${s.getOptionLabel(n)}`,"aria-label":`Deselect ${s.getOptionLabel(n)}`,onClick:_=>o.deselect(n)},[(r(),$(V(o.childComponents.Deselect)))],8,Fe)):x("",!0)]))])),256)),p(e.$slots,"search",h(g(o.scope.search)),()=>[l("input",B({class:"vs__search"},o.scope.search.attributes,K(o.scope.search.events)),null,16)])],512),l("div",Me,[C(l("button",{ref:"clearButton",disabled:s.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...n)=>o.clearSelection&&o.clearSelection(...n))},[(r(),$(V(o.childComponents.Deselect)))],8,Ee),[[T,o.showClearButton]]),p(e.$slots,"open-indicator",h(g(o.scope.openIndicator)),()=>[s.noDrop?x("",!0):(r(),$(V(o.childComponents.OpenIndicator),h(B({key:0},o.scope.openIndicator.attributes)),null,16))]),p(e.$slots,"spinner",h(g(o.scope.spinner)),()=>[C(l("div",je,"Loading...",512),[[T,e.mutableLoading]])])],512)],40,Pe),f(X,{name:s.transition},{default:b(()=>[o.dropdownOpen?C((r(),d("ul",{id:`vs${s.uid}__listbox`,ref:"dropdownMenu",key:`vs${s.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=F((...n)=>o.onMousedown&&o.onMousedown(...n),["prevent"])),onMouseup:t[3]||(t[3]=(...n)=>o.onMouseUp&&o.onMouseUp(...n))},[p(e.$slots,"list-header",h(g(o.scope.listHeader))),(r(!0),d(L,null,P(o.filteredOptions,(n,m)=>(r(),d("li",{id:`vs${s.uid}__option-${m}`,key:s.getOptionKey(n),role:"option",class:M(["vs__dropdown-option",{"vs__dropdown-option--deselect":o.isOptionDeselectable(n)&&m===e.typeAheadPointer,"vs__dropdown-option--selected":o.isOptionSelected(n),"vs__dropdown-option--highlight":m===e.typeAheadPointer,"vs__dropdown-option--disabled":!s.selectable(n)}]),"aria-selected":m===e.typeAheadPointer?!0:null,onMouseover:_=>s.selectable(n)?e.typeAheadPointer=m:null,onClick:F(_=>s.selectable(n)?o.select(n):null,["prevent","stop"])},[p(e.$slots,"option",h(g(o.normalizeOptionForSlot(n))),()=>[S(O(s.getOptionLabel(n)),1)])],42,Ie))),128)),o.filteredOptions.length===0?(r(),d("li",Ke,[p(e.$slots,"no-options",h(g(o.scope.noOptions)),()=>[Ne])])):x("",!0),p(e.$slots,"list-footer",h(g(o.scope.listFooter)))],40,ze)),[[y]]):(r(),d("ul",{key:1,id:`vs${s.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,Re))]),_:3},8,["name"]),p(e.$slots,"footer",h(g(o.scope.footer)))],10,De)}const Ue=A(ke,[["render",qe]]),He={class:"flex items-start justify-between gap-4 border-b px-6 py-4"},Je={class:"flex size-12 shrink-0 items-center justify-center"},Qe=l("div",{class:"w-full"},[l("h3",{class:"text-base font-semibold leading-6 text-gray-600"},"Add Languages"),l("p",{class:"mt-1 text-sm text-gray-500"},"Select the languages you want to add to your project.")],-1),Xe=l("input",{type:"text",class:"absolute m-0 h-0 p-0 opacity-0",autofocus:""},null,-1),Ye={class:"mt-0 w-full p-6"},Ze=["required","placeholder"],Ge={class:"group flex w-full items-center justify-between"},We={class:"flex flex-1 items-center gap-2"},et={class:"font-medium"},tt={class:"shrink-0 rounded-md border px-1 py-0.5 text-xs text-gray-400 group-hover:text-white"},st={class:"text-sm font-medium"},ot={class:"grid grid-cols-1 gap-6 border-t px-6 py-4 md:grid-cols-2"},ht=Y({__name:"add-translation",props:{languages:{}},setup(e){const{close:t}=W(),s=Z([]),i=G({languages:[]}),a=()=>{i.post(route("ltu.translation.store"),{preserveScroll:!0,onSuccess:()=>{t()}})};return(o,y)=>{const n=ee,m=le,_=H,k=U,D=q,N=R;return r(),d(L,null,[f(n,{title:"Add Languages"}),f(N,{size:"lg"},{default:b(()=>[l("div",He,[l("div",Je,[f(m,{class:"size-10 text-gray-500"})]),Qe,l("div",{class:"flex w-8 cursor-pointer items-center justify-center text-gray-400 hover:text-gray-600",onClick:y[0]||(y[0]=(...c)=>u(t)&&u(t)(...c))},[f(_,{class:"size-5"})])]),Xe,l("div",Ye,[f(u(Ue),{modelValue:u(i).languages,"onUpdate:modelValue":y[1]||(y[1]=c=>u(i).languages=c),label:"name",class:"rounded-md bg-white",options:o.languages,reduce:c=>c.id,selectable:c=>!u(i).languages.includes(c.id),multiple:""},{search:b(({attributes:c,events:v})=>[l("input",B({class:"vs__search",required:!s.value},c,{placeholder:u(i).languages.length?"":"Search languages..."},K(v,!0)),null,16,Ze)]),option:b(({name:c,code:v})=>[l("div",Ge,[l("div",We,[f(k,{width:"w-6","country-code":v},null,8,["country-code"]),l("h3",et,O(c),1)]),l("small",tt,O(v),1)])]),"selected-option":b(({name:c,code:v})=>[f(k,{width:"w-5","country-code":v},null,8,["country-code"]),l("h3",st,O(c),1)]),_:1},8,["modelValue","options","reduce","selectable"])]),l("div",ot,[f(D,{variant:"secondary",type:"button",size:"lg",onClick:u(t)},{default:b(()=>[S(" Close ")]),_:1},8,["onClick"]),f(D,{variant:"primary",type:"button",size:"lg",disabled:!u(i).languages.length||u(i).processing,"is-loading":u(i).processing,onClick:a},{default:b(()=>[S(" Add Languages ")]),_:1},8,["disabled","is-loading"])])]),_:1})],64)}}});export{ht as default}; diff --git a/resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-6f86fc1e.js b/resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js similarity index 90% rename from resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-6f86fc1e.js rename to resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js index f387b69..c55ed58 100644 --- a/resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-6f86fc1e.js +++ b/resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js @@ -1 +1 @@ -import{o as t,h as n,f as e,d as m,s as o,c as f,E as l,u as a,a3 as p,k as v}from"./app-f79836f7.js";import{r as x}from"./ExclamationCircleIcon-b60ff688.js";import{r as g}from"./XCircleIcon-e68c9a12.js";function h(s,r){return t(),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z","clip-rule":"evenodd"})])}function w(s,r){return t(),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z","clip-rule":"evenodd"})])}const _={class:"flex items-start gap-2"},b={class:"mt-0.5 shrink-0"},y={class:"flex-1 md:flex md:justify-between"},C={class:"text-sm"},M=m({__name:"alert",props:{variant:{default:"info"}},setup(s){const r=s,d=o(()=>({info:"bg-blue-50 border border-blue-500 text-blue-700",success:"bg-green-50 border border-green-500 text-green-700",warning:"bg-yellow-50 border border-yellow-500 text-yellow-700",error:"bg-red-50 border border-red-500 text-red-700"})[r.variant]),i=o(()=>({info:"text-blue-400",success:"text-green-400",warning:"text-yellow-400",error:"text-red-400"})[r.variant]),c=o(()=>({info:w,success:h,warning:x,error:g})[r.variant]);return(u,B)=>(t(),n("div",{class:l(["rounded-md px-2 py-2.5",[a(d)]])},[e("div",_,[e("div",b,[(t(),f(p(a(c)),{class:l(["size-4",a(i)]),"aria-hidden":"true"},null,8,["class"]))]),e("div",y,[e("p",C,[v(u.$slots,"default")])])])],2))}});export{M as _}; +import{o as t,h as n,f as e,d as m,s as o,c as f,E as l,u as a,a3 as p,k as v}from"./app-8d2ddf0a.js";import{r as x}from"./ExclamationCircleIcon-2a26691d.js";import{r as g}from"./XCircleIcon-71639424.js";function h(s,r){return t(),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z","clip-rule":"evenodd"})])}function w(s,r){return t(),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z","clip-rule":"evenodd"})])}const _={class:"flex items-start gap-2"},b={class:"mt-0.5 shrink-0"},y={class:"flex-1 md:flex md:justify-between"},C={class:"text-sm"},M=m({__name:"alert",props:{variant:{default:"info"}},setup(s){const r=s,d=o(()=>({info:"bg-blue-50 border border-blue-500 text-blue-700",success:"bg-green-50 border border-green-500 text-green-700",warning:"bg-yellow-50 border border-yellow-500 text-yellow-700",error:"bg-red-50 border border-red-500 text-red-700"})[r.variant]),i=o(()=>({info:"text-blue-400",success:"text-green-400",warning:"text-yellow-400",error:"text-red-400"})[r.variant]),c=o(()=>({info:w,success:h,warning:x,error:g})[r.variant]);return(u,B)=>(t(),n("div",{class:l(["rounded-md px-2 py-2.5",[a(d)]])},[e("div",_,[e("div",b,[(t(),f(p(a(c)),{class:l(["size-4",a(i)]),"aria-hidden":"true"},null,8,["class"]))]),e("div",y,[e("p",C,[v(u.$slots,"default")])])])],2))}});export{M as _}; diff --git a/resources/dist/vendor/translations-ui/assets/app-f79836f7.js b/resources/dist/vendor/translations-ui/assets/app-8d2ddf0a.js similarity index 90% rename from resources/dist/vendor/translations-ui/assets/app-f79836f7.js rename to resources/dist/vendor/translations-ui/assets/app-8d2ddf0a.js index 6acf8a2..cd4820e 100644 --- a/resources/dist/vendor/translations-ui/assets/app-f79836f7.js +++ b/resources/dist/vendor/translations-ui/assets/app-8d2ddf0a.js @@ -98,4 +98,4 @@ const mm="modulepreload",gm=function(e){return"/vendor/translations-ui/"+e},Yc={ Please specify a more appropriate element using the "as" attribute. For example: -...`),br(e.as,{...r,...n==="a"?{href:o}:{},onClick:a=>{SS(a)&&(a.preventDefault(),yt.visit(o,{data:s,method:i,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:e.preserveState??i!=="get",only:e.only,headers:e.headers,onCancelToken:r.onCancelToken||(()=>({})),onBefore:r.onBefore||(()=>({})),onStart:r.onStart||(()=>({})),onProgress:r.onProgress||(()=>({})),onFinish:r.onFinish||(()=>({})),onCancel:r.onCancel||(()=>({})),onSuccess:r.onSuccess||(()=>({})),onError:r.onError||(()=>({}))}))}},t)}}}),jE=LS;const Wf=Xe(),Mh={setResolveCallback:e=>{Wf.value=e},resolve:e=>Wf.value(e)},DS={install(e,t){Mh.setResolveCallback(t.resolve)}},qf=Fh(),pt=_t(()=>{var e;return(e=qf==null?void 0:qf.props)==null?void 0:e.modal}),Bh=_t(()=>{var e;return(e=pt.value)==null?void 0:e.props}),qc=_t(()=>{var e;return(e=pt.value)==null?void 0:e.key}),Yo=Xe(),Zo=Td(),Kc=Xe(!1),Gc=Xe(),Ds=Xe(),FS=e=>{Object.entries(e).forEach(([t,r])=>["post","put","patch","delete"].forEach(n=>{no.defaults.headers[n][t]=r}))},MS=()=>{["X-Inertia-Modal-Key","X-Inertia-Modal-Redirect"].forEach(([e,t])=>["get","post","put","patch","delete"].forEach(r=>{delete no.defaults.headers[r][e]}))},BS=()=>{var e,t;FS({"X-Inertia-Modal-Key":qc.value,"X-Inertia-Modal-Redirect":(e=pt.value)==null?void 0:e.redirectURL}),no.defaults.headers.get["X-Inertia-Modal-Redirect"]=((t=pt.value)==null?void 0:t.redirectURL)??""},jh=()=>{Kc.value=!1,MS()},Hh=()=>{var e,t,r,n;if(Ds.value==((e=pt.value)==null?void 0:e.nonce)||!((t=pt.value)!=null&&t.component))return jh();Yo.value!=((r=pt.value)==null?void 0:r.component)&&(Yo.value=pt.value.component,Yo.value?Zo.value=Rg(()=>Mh.resolve(Yo.value)):Zo.value=!1),Ds.value=(n=pt.value)==null?void 0:n.nonce,Gc.value=Zo.value?br(Zo.value,{key:qc.value,...Bh.value}):"",uo(()=>Kc.value=!0)};Hh();typeof window<"u"&&window.addEventListener("popstate",e=>{Ds.value=null});Ur(pt,()=>{var e;((e=pt.value)==null?void 0:e.nonce)!==Ds.value&&Hh()},{deep:!0});Ur(qc,BS);const jS=()=>{var e,t,r=((e=pt.value)==null?void 0:e.redirectURL)??((t=pt.value)==null?void 0:t.baseURL);if(Gc.value=!1,!!r)return yt.visit(r,{preserveScroll:!0,preserveState:!0})},HS=()=>({show:Kc,vnode:Gc,close:jh,redirect:jS,props:Bh}),HE=Me({setup(){const{vnode:e}=HS();return()=>e.value}});var kS=Object.defineProperty,Kf=Object.getOwnPropertySymbols,VS=Object.prototype.hasOwnProperty,US=Object.prototype.propertyIsEnumerable,Gf=(e,t,r)=>t in e?kS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kh=(e,t)=>{for(var r in t||(t={}))VS.call(t,r)&&Gf(e,r,t[r]);if(Kf)for(var r of Kf(t))US.call(t,r)&&Gf(e,r,t[r]);return e},na=e=>typeof e=="function",ia=e=>typeof e=="string",Vh=e=>ia(e)&&e.trim().length>0,zS=e=>typeof e=="number",mn=e=>typeof e>"u",oo=e=>typeof e=="object"&&e!==null,WS=e=>nr(e,"tag")&&Vh(e.tag),Uh=e=>window.TouchEvent&&e instanceof TouchEvent,zh=e=>nr(e,"component")&&Wh(e.component),qS=e=>na(e)||oo(e),Wh=e=>!mn(e)&&(ia(e)||qS(e)||zh(e)),Jf=e=>oo(e)&&["height","width","right","left","top","bottom"].every(t=>zS(e[t])),nr=(e,t)=>(oo(e)||na(e))&&t in e,KS=(e=>()=>e++)(0);function yl(e){return Uh(e)?e.targetTouches[0].clientX:e.clientX}function Xf(e){return Uh(e)?e.targetTouches[0].clientY:e.clientY}var GS=e=>{mn(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove()},_o=e=>zh(e)?_o(e.component):WS(e)?Me({render(){return e}}):typeof e=="string"?e:ue(gc(e)),JS=e=>{if(typeof e=="string")return e;const t=nr(e,"props")&&oo(e.props)?e.props:{},r=nr(e,"listeners")&&oo(e.listeners)?e.listeners:{};return{component:_o(e),props:t,listeners:r}},XS=()=>typeof window<"u",Jc=class{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const r=this.getHandlers(e);r.push(t),this.allHandlers[e]=r}off(e,t){const r=this.getHandlers(e);r.splice(r.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach(n=>n(t))}},QS=e=>["on","off","emit"].every(t=>nr(e,t)&&na(e[t])),ht;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e.DEFAULT="default"})(ht||(ht={}));var so;(function(e){e.TOP_LEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right"})(so||(so={}));var mt;(function(e){e.ADD="add",e.DISMISS="dismiss",e.UPDATE="update",e.CLEAR="clear",e.UPDATE_DEFAULTS="update_defaults"})(mt||(mt={}));var Mt="Vue-Toastification",Lt={type:{type:String,default:ht.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},qh={type:Lt.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},fs={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:Lt.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},Yl={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},Kh={transition:{type:[Object,String],default:`${Mt}__bounce`}},YS={position:{type:String,default:so.TOP_RIGHT},draggable:Lt.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:Lt.trueBoolean,pauseOnHover:Lt.trueBoolean,closeOnClick:Lt.trueBoolean,timeout:Yl.timeout,hideProgressBar:Yl.hideProgressBar,toastClassName:Lt.classNames,bodyClassName:Lt.classNames,icon:qh.customIcon,closeButton:fs.component,closeButtonClassName:fs.classNames,showCloseButtonOnHover:fs.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new Jc}},ZS={id:{type:[String,Number],required:!0,default:0},type:Lt.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},e1={container:{type:[Object,Function],default:()=>document.body},newestOnTop:Lt.trueBoolean,maxToasts:{type:Number,default:20},transition:Kh.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:Lt.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},_r={CORE_TOAST:YS,TOAST:ZS,CONTAINER:e1,PROGRESS_BAR:Yl,ICON:qh,TRANSITION:Kh,CLOSE_BUTTON:fs},Gh=Me({name:"VtProgressBar",props:_r.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${Mt}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function t1(e,t){return pe(),Ce("div",{style:yr(e.style),class:De(e.cpClass)},null,6)}Gh.render=t1;var r1=Gh,Jh=Me({name:"VtCloseButton",props:_r.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?_o(this.component):"button"},classes(){const e=[`${Mt}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}}),n1=po(" × ");function i1(e,t){return pe(),lt(bc(e.buttonComponent),ni({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:or(()=>[n1]),_:1},16,["aria-label","class"])}Jh.render=i1;var o1=Jh,Xh={},s1={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},a1=Ue("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1),l1=[a1];function c1(e,t){return pe(),Ce("svg",s1,l1)}Xh.render=c1;var u1=Xh,Qh={},f1={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},d1=Ue("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1),p1=[d1];function h1(e,t){return pe(),Ce("svg",f1,p1)}Qh.render=h1;var Qf=Qh,Yh={},m1={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g1=Ue("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),y1=[g1];function v1(e,t){return pe(),Ce("svg",m1,y1)}Yh.render=v1;var b1=Yh,Zh={},w1={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},_1=Ue("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),S1=[_1];function E1(e,t){return pe(),Ce("svg",w1,S1)}Zh.render=E1;var T1=Zh,em=Me({name:"VtIcon",props:_r.ICON,computed:{customIconChildren(){return nr(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return ia(this.customIcon)?this.trimValue(this.customIcon):nr(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return nr(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:Wh(this.customIcon)?_o(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[ht.DEFAULT]:Qf,[ht.INFO]:Qf,[ht.SUCCESS]:u1,[ht.ERROR]:T1,[ht.WARNING]:b1}[this.type]},iconClasses(){const e=[`${Mt}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue(e,t=""){return Vh(e)?e.trim():t}}});function O1(e,t){return pe(),lt(bc(e.component),{class:De(e.iconClasses)},{default:or(()=>[po(ac(e.customIconChildren),1)]),_:1},8,["class"])}em.render=O1;var A1=em,tm=Me({name:"VtToast",components:{ProgressBar:r1,CloseButton:o1,Icon:A1},inheritAttrs:!1,props:Object.assign({},_r.CORE_TOAST,_r.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const e=[`${Mt}__toast`,`${Mt}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${Mt}__toast--rtl`),e},bodyClasses(){return[`${Mt}__toast-${ia(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return Jf(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:nr,getVueComponentFromObj:_o,closeToast(){this.eventBus.emit(mt.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:yl(e),y:Xf(e)},this.dragStart=yl(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:yl(e),y:Xf(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,Jf(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),x1=["role"];function C1(e,t){const r=er("Icon"),n=er("CloseButton"),i=er("ProgressBar");return pe(),Ce("div",{class:De(e.classes),style:yr(e.draggableStyle),onClick:t[0]||(t[0]=(...o)=>e.clickHandler&&e.clickHandler(...o)),onMouseenter:t[1]||(t[1]=(...o)=>e.hoverPause&&e.hoverPause(...o)),onMouseleave:t[2]||(t[2]=(...o)=>e.hoverPlay&&e.hoverPlay(...o))},[e.icon?(pe(),lt(r,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):Li("v-if",!0),Ue("div",{role:e.accessibility.toastRole||"alert",class:De(e.bodyClasses)},[typeof e.content=="string"?(pe(),Ce(xe,{key:0},[po(ac(e.content),1)],2112)):(pe(),lt(bc(e.getVueComponentFromObj(e.content)),ni({key:1,"toast-id":e.id},e.hasProp(e.content,"props")?e.content.props:{},Hg(e.hasProp(e.content,"listeners")?e.content.listeners:{}),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,x1),e.closeButton?(pe(),lt(n,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:nv(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):Li("v-if",!0),e.timeout?(pe(),lt(i,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):Li("v-if",!0)],38)}tm.render=C1;var $1=tm,rm=Me({name:"VtTransition",props:_r.TRANSITION,emits:["leave"],methods:{hasProp:nr,leave(e){e instanceof HTMLElement&&(e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute")}}});function P1(e,t){return pe(),lt(Wy,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:or(()=>[En(e.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}rm.render=P1;var R1=rm,nm=Me({name:"VueToastification",devtools:{hide:!0},components:{Toast:$1,VtTransition:R1},props:Object.assign({},_r.CORE_TOAST,_r.CONTAINER,_r.TRANSITION),data(){return{count:0,positions:Object.values(so),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(mt.ADD,this.addToast),e.on(mt.CLEAR,this.clearToasts),e.on(mt.DISMISS,this.dismissToast),e.on(mt.UPDATE,this.updateToast),e.on(mt.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){na(e)&&(e=await e()),GS(this.$el),e.appendChild(this.$el)},setToast(e){mn(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=JS(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),r=this.defaults.filterBeforeCreate(t,this.toastArray);r&&this.setToast(r)},dismissToast(e){const t=this.toasts[e];!mn(t)&&!mn(t.onClose)&&t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach(e=>{this.dismissToast(e)})},getPositionToasts(e){const t=this.filteredToasts.filter(r=>r.position===e).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){mn(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:r}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):r&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${Mt}__container`,e].concat(this.defaults.containerClassName)}}});function I1(e,t){const r=er("Toast"),n=er("VtTransition");return pe(),Ce("div",null,[(pe(!0),Ce(xe,null,Al(e.positions,i=>(pe(),Ce("div",{key:i},[Se(n,{transition:e.defaults.transition,class:De(e.getClasses(i))},{default:or(()=>[(pe(!0),Ce(xe,null,Al(e.getPositionToasts(i),o=>(pe(),lt(r,ni({key:o.id},o),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}nm.render=I1;var N1=nm,Yf=(e={},t=!0)=>{const r=e.eventBus=e.eventBus||new Jc;t&&uo(()=>{const o=Cc(N1,kh({},e)),s=o.mount(document.createElement("div")),a=e.onMounted;if(mn(a)||a(s,o),e.shareAppContext){const c=e.shareAppContext;c===!0?console.warn(`[${Mt}] App to share context with was not provided.`):(o._context.components=c._context.components,o._context.directives=c._context.directives,o._context.mixins=c._context.mixins,o._context.provides=c._context.provides,o.config.globalProperties=c.config.globalProperties)}});const n=(o,s)=>{const a=Object.assign({},{id:KS(),type:ht.DEFAULT},s,{content:o});return r.emit(mt.ADD,a),a.id};n.clear=()=>r.emit(mt.CLEAR,void 0),n.updateDefaults=o=>{r.emit(mt.UPDATE_DEFAULTS,o)},n.dismiss=o=>{r.emit(mt.DISMISS,o)};function i(o,{content:s,options:a},c=!1){const u=Object.assign({},a,{content:s});r.emit(mt.UPDATE,{id:o,options:u,create:c})}return n.update=i,n.success=(o,s)=>n(o,Object.assign({},s,{type:ht.SUCCESS})),n.info=(o,s)=>n(o,Object.assign({},s,{type:ht.INFO})),n.error=(o,s)=>n(o,Object.assign({},s,{type:ht.ERROR})),n.warning=(o,s)=>n(o,Object.assign({},s,{type:ht.WARNING})),n},L1=()=>{const e=()=>console.warn(`[${Mt}] This plugin does not support SSR!`);return new Proxy(e,{get(){return e}})};function Zl(e){return XS()?QS(e)?Yf({eventBus:e},!1):Yf(e,!0):L1()}var im=Symbol("VueToastification"),om=new Jc,D1=(e,t)=>{(t==null?void 0:t.shareAppContext)===!0&&(t.shareAppContext=e);const r=Zl(kh({eventBus:om},t));e.provide(im,r)},F1=e=>{if(e)return Zl(e);const t=zs()?Vn(im,void 0):void 0;return t||Zl(om)},M1=D1;const sm=Symbol("addTab"),am=Symbol("updateTab"),lm=Symbol("deleteTab"),cm=Symbol("tabsProvider");function es(e,t){const r=Vn(e,t);if(typeof r>"u")throw new Error(`Could not resolve ${e.description}`);return r}const B1=["data-tab-id","aria-hidden"],j1=Me({__name:"Tab",props:{panelClass:{default:"tabs-component-panel"},id:{default:void 0},name:null,prefix:{default:""},suffix:{default:""},isDisabled:{type:Boolean,default:!1},navItemClass:{default:void 0},navItemLinkClass:{default:void 0}},setup(e,{expose:t}){const r=e,n=Xe(!1),i=es(cm),o=es(sm),s=es(am),a=es(lm),c=r.prefix+r.name+r.suffix,u=r.id?r.id:r.name.toLowerCase().replace(/ /g,"-"),f=u+"-pane",d=_t(()=>"#"+(r.isDisabled?"":u));return Ur(()=>i.activeTabHash,()=>{n.value=d.value===i.activeTabHash}),Ur(()=>Object.assign({},r),()=>{s(u,{name:r.name,header:r.prefix+r.name+r.suffix,isDisabled:r.isDisabled,hash:d.value,index:i.tabs.length,computedId:u,paneId:f,navItemClass:r.navItemClass,navItemLinkClass:r.navItemLinkClass})}),jd(()=>{o({name:r.name,header:c,isDisabled:r.isDisabled,hash:d.value,index:i.tabs.length,computedId:u,paneId:f,navItemClass:r.navItemClass,navItemLinkClass:r.navItemLinkClass})}),Ec(()=>{a(u)}),t({header:c,computedId:u,paneId:f,hash:d,isActive:n}),(h,y)=>Cg((pe(),Ce("section",{ref:"tab",id:f,"data-tab-id":gc(u),"aria-hidden":!n.value,class:De(e.panelClass),role:"tabpanel",tabindex:"-1"},[En(h.$slots,"default")],10,B1)),[[Cy,n.value]])}});class H1{get(t){const r=localStorage.getItem(t);if(r===null)return null;const n=JSON.parse(r);return n?new Date(n.expires)({useUrlFragment:!0,defaultTabHash:void 0,storageKey:void 0})},wrapperClass:{default:"tabs-component"},panelsWrapperClass:{default:"tabs-component-panels"},navClass:{default:"tabs-component-tabs"},navItemClass:{default:"tabs-component-tab"},navItemDisabledClass:{default:"is-disabled"},navItemActiveClass:{default:"is-active"},navItemInactiveClass:{default:"is-inactive"},navItemLinkClass:{default:"tabs-component-tab-a"},navItemLinkActiveClass:{default:"is-active"},navItemLinkInactiveClass:{default:"is-inactive"},navItemLinkDisabledClass:{default:"is-disabled"}},emits:["changed","clicked"],setup(e,{expose:t,emit:r}){const n=e,i=ri({activeTabHash:"",lastActiveTabHash:"",tabs:[]});Ai(cm,i),Ai(sm,c=>{i.tabs.push(c)}),Ai(am,(c,u)=>{const f=i.tabs.findIndex(d=>d.computedId===c);u.isActive=i.tabs[f].isActive,i.tabs[f]=u}),Ai(lm,c=>{const u=i.tabs.findIndex(f=>f.computedId===c);i.tabs.splice(u,1)});const o=_t(()=>{let c;return n.options.storageKey&&(c=n.options.storageKey),!c&&n.id&&(c=`vue-tabs-component.${n.id}.cache.${window.location.host}${window.location.pathname}`),c||(c=`vue-tabs-component.cache.${window.location.host}${window.location.pathname}`),c}),s=(c,u)=>{u&&!n.options.useUrlFragment&&u.preventDefault();const f=a(c);if(f){if(u&&f.isDisabled){u.preventDefault();return}if(i.lastActiveTabHash===f.hash){r("clicked",{tab:f});return}i.tabs.forEach(d=>{d.isActive=d.hash===f.hash}),r("changed",{tab:f}),i.lastActiveTabHash=i.activeTabHash=f.hash,!(n.cacheLifetime<=0)&&Zf.set(o.value,f.hash,n.cacheLifetime)}},a=c=>i.tabs.find(u=>u.hash===c);return Sc(()=>{if(i.tabs.length){if(window.addEventListener("hashchange",()=>s(window.location.hash)),a(window.location.hash)){s(window.location.hash);return}if(n.cacheLifetime>0){const c=Zf.get(o.value);if(c!==null&&a(c)){s(c);return}}if(n.options.defaultTabHash&&a("#"+n.options.defaultTabHash)){s("#"+n.options.defaultTabHash);return}s(i.tabs[0].hash)}}),t({...sg(i),selectTab:s,findTab:a}),(c,u)=>(pe(),Ce("div",{class:De(e.wrapperClass),id:e.id},[Ue("ul",{role:"tablist",class:De(e.navClass)},[(pe(!0),Ce(xe,null,Al(i.tabs,(f,d)=>{var h,y;return pe(),Ce("li",{key:d,class:De([(h=f.navItemClass)!=null?h:e.navItemClass,f.isDisabled?e.navItemDisabledClass:"",f.isActive?e.navItemActiveClass:f.isDisabled?"":e.navItemInactiveClass]),role:"presentation"},[Ue("a",{role:"tab",class:De([(y=f.navItemLinkClass)!=null?y:e.navItemLinkClass,f.isDisabled?e.navItemLinkDisabledClass:"",f.isActive?e.navItemLinkActiveClass:f.isDisabled?"":e.navItemLinkInactiveClass]),"aria-controls":f.paneId,"aria-selected":f.isActive,href:f.hash,onClick:m=>s(f.hash,m),innerHTML:f.header,tabindex:"0"},null,10,V1)],2)}),128))],2),Ue("div",{class:De(e.panelsWrapperClass)},[En(c.$slots,"default")],2)],10,k1))}});var z1=String.prototype.replace,W1=/%20/g,vl={RFC1738:"RFC1738",RFC3986:"RFC3986"},Xc={default:vl.RFC3986,formatters:{RFC1738:function(e){return z1.call(e,W1,"+")},RFC3986:function(e){return String(e)}},RFC1738:vl.RFC1738,RFC3986:vl.RFC3986},q1=Xc,bl=Object.prototype.hasOwnProperty,pn=Array.isArray,Wt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),K1=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(pn(n)){for(var i=[],o=0;o=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===q1.RFC1738&&(u===40||u===41)){a+=s.charAt(c);continue}if(u<128){a=a+Wt[u];continue}if(u<2048){a=a+(Wt[192|u>>6]+Wt[128|u&63]);continue}if(u<55296||u>=57344){a=a+(Wt[224|u>>12]+Wt[128|u>>6&63]+Wt[128|u&63]);continue}c+=1,u=65536+((u&1023)<<10|s.charCodeAt(c)&1023),a+=Wt[240|u>>18]+Wt[128|u>>12&63]+Wt[128|u>>6&63]+Wt[128|u&63]}return a},Y1=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i"u")return S;var $;if(n==="comma"&&gn(g))$=[{value:g.length>0?g.join(",")||null:void 0}];else if(gn(a))$=a;else{var T=Object.keys(g);$=c?T.sort(c):T}for(var R=0;R<$.length;++R){var P=$[R],H=typeof P=="object"&&typeof P.value<"u"?P.value:g[P];if(!(o&&H===null)){var M=gn(g)?typeof n=="function"?n(r,P):r:r+(u?"."+P:"["+P+"]");dm(S,e(H,M,n,i,o,s,a,c,u,f,d,h,y,m))}}return S},cE=function(t){if(!t)return Ve;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||Ve.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Ui.default;if(typeof t.format<"u"){if(!nE.call(Ui.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=Ui.formatters[n],o=Ve.filter;return(typeof t.filter=="function"||gn(t.filter))&&(o=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Ve.addQueryPrefix,allowDots:typeof t.allowDots>"u"?Ve.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ve.charsetSentinel,delimiter:typeof t.delimiter>"u"?Ve.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Ve.encode,encoder:typeof t.encoder=="function"?t.encoder:Ve.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Ve.encodeValuesOnly,filter:o,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Ve.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Ve.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ve.strictNullHandling}},uE=function(e,t){var r=e,n=cE(t),i,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):gn(n.filter)&&(o=n.filter,i=o);var s=[];if(typeof r!="object"||r===null)return"";var a;t&&t.arrayFormat in ed?a=t.arrayFormat:t&&"indices"in t?a=t.indices?"indices":"repeat":a="indices";var c=ed[a];i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var u=0;u0?h+d:""},ei=fm,tc=Object.prototype.hasOwnProperty,fE=Array.isArray,ke={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:ei.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},dE=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},pm=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},pE="utf8=%26%2310003%3B",hE="utf8=%E2%9C%93",mE=function(t,r){var n={},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,s=i.split(r.delimiter,o),a=-1,c,u=r.charset;if(r.charsetSentinel)for(c=0;c-1&&(m=fE(m)?[m]:m),tc.call(n,y)?n[y]=ei.combine(n[y],m):n[y]=m}return n},gE=function(e,t,r,n){for(var i=n?t:pm(t,r),o=e.length-1;o>=0;--o){var s,a=e[o];if(a==="[]"&&r.parseArrays)s=[].concat(i);else{s=r.plainObjects?Object.create(null):{};var c=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,u=parseInt(c,10);!r.parseArrays&&c===""?s={0:i}:!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=i):c!=="__proto__"&&(s[c]=i)}i=s}return i},yE=function(t,r,n,i){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=n.depth>0&&s.exec(o),u=c?o.slice(0,c.index):o,f=[];if(u){if(!n.plainObjects&&tc.call(Object.prototype,u)&&!n.allowPrototypes)return;f.push(u)}for(var d=0;n.depth>0&&(c=a.exec(o))!==null&&d"u"?ke.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?ke.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:ke.allowPrototypes,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:ke.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:ke.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:ke.comma,decoder:typeof t.decoder=="function"?t.decoder:ke.decoder,delimiter:typeof t.delimiter=="string"||ei.isRegExp(t.delimiter)?t.delimiter:ke.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:ke.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:ke.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:ke.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:ke.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:ke.strictNullHandling}},bE=function(e,t){var r=vE(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?mE(e,r):e,i=r.plainObjects?Object.create(null):{},o=Object.keys(n),s=0;s({name:n.replace(/{|\??}/g,""),required:!/\?}$/.test(n)})))!=null?t:[]}matchesUrl(t){if(!this.definition.methods.includes("GET"))return!1;const r=this.template.replace(/(\/?){([^}?]*)(\??)}/g,(s,a,c,u)=>{var f;const d=`(?<${c}>${((f=this.wheres[c])==null?void 0:f.replace(/(^\^)|(\$$)/g,""))||"[^/?]+"})`;return u?`(${a}${d})?`:`${a}${d}`}).replace(/^\w+:\/\//,""),[n,i]=t.replace(/^\w+:\/\//,"").split("?"),o=new RegExp(`^${r}/?$`).exec(decodeURI(n));if(o){for(const s in o.groups)o.groups[s]=typeof o.groups[s]=="string"?decodeURIComponent(o.groups[s]):o.groups[s];return{params:o.groups,query:hm.parse(i)}}return!1}compile(t){return this.parameterSegments.length?this.template.replace(/{([^}?]+)(\??)}/g,(r,n,i)=>{var o,s;if(!i&&[null,void 0].includes(t[n]))throw new Error(`Ziggy error: '${n}' parameter is required for route '${this.name}'.`);if(this.wheres[n]&&!new RegExp(`^${i?`(${this.wheres[n]})?`:this.wheres[n]}$`).test((s=t[n])!=null?s:""))throw new Error(`Ziggy error: '${n}' parameter does not match required format '${this.wheres[n]}' for route '${this.name}'.`);return encodeURI((o=t[n])!=null?o:"").replace(/%7C/g,"|").replace(/%25/g,"%").replace(/\$/g,"%24")}).replace(`${this.origin}//`,`${this.origin}/`).replace(/\/+$/,""):this.template}}class EE extends String{constructor(t,r,n=!0,i){if(super(),this.t=i??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),this.t=ft({},this.t,{absolute:n}),t){if(!this.t.routes[t])throw new Error(`Ziggy error: route '${t}' is not in the route list.`);this.i=new wl(t,this.t.routes[t],this.t),this.o=this.h(r)}}toString(){const t=Object.keys(this.o).filter(r=>!this.i.parameterSegments.some(({name:n})=>n===r)).filter(r=>r!=="_query").reduce((r,n)=>ft({},r,{[n]:this.o[n]}),{});return this.i.compile(this.o)+hm.stringify(ft({},t,this.o._query),{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:(r,n)=>typeof r=="boolean"?Number(r):n(r)})}u(t){t?this.t.absolute&&t.startsWith("/")&&(t=this.l().host+t):t=this.m();let r={};const[n,i]=Object.entries(this.t.routes).find(([o,s])=>r=new wl(o,s,this.t).matchesUrl(t))||[void 0,void 0];return ft({name:n},r,{route:i})}m(){const{host:t,pathname:r,search:n}=this.l();return(this.t.absolute?t+r:r.replace(this.t.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+n}current(t,r){const{name:n,params:i,query:o,route:s}=this.u();if(!t)return n;const a=new RegExp(`^${t.replace(/\./g,"\\.").replace(/\*/g,".*")}$`).test(n);if([null,void 0].includes(r)||!a)return a;const c=new wl(n,s,this.t);r=this.h(r,c);const u=ft({},i,o);if(Object.values(r).every(d=>!d)&&!Object.values(u).some(d=>d!==void 0))return!0;const f=(d,h)=>Object.entries(d).every(([y,m])=>Array.isArray(m)&&Array.isArray(h[y])?m.every(g=>h[y].includes(g)):typeof m=="object"&&typeof h[y]=="object"&&m!==null&&h[y]!==null?f(m,h[y]):h[y]==m);return f(r,u)}l(){var t,r,n,i,o,s;const{host:a="",pathname:c="",search:u=""}=typeof window<"u"?window.location:{};return{host:(t=(r=this.t.location)==null?void 0:r.host)!=null?t:a,pathname:(n=(i=this.t.location)==null?void 0:i.pathname)!=null?n:c,search:(o=(s=this.t.location)==null?void 0:s.search)!=null?o:u}}get params(){const{params:t,query:r}=this.u();return ft({},t,r)}has(t){return Object.keys(this.t.routes).includes(t)}h(t={},r=this.i){t!=null||(t={}),t=["string","number"].includes(typeof t)?[t]:t;const n=r.parameterSegments.filter(({name:i})=>!this.t.defaults[i]);return Array.isArray(t)?t=t.reduce((i,o,s)=>ft({},i,n[s]?{[n[s].name]:o}:typeof o=="object"?o:{[o]:""}),{}):n.length!==1||t[n[0].name]||!t.hasOwnProperty(Object.values(r.bindings)[0])&&!t.hasOwnProperty("id")||(t={[n[0].name]:t}),ft({},this.p(r),this.$(t,r))}p(t){return t.parameterSegments.filter(({name:r})=>this.t.defaults[r]).reduce((r,{name:n},i)=>ft({},r,{[n]:this.t.defaults[n]}),{})}$(t,{bindings:r,parameterSegments:n}){return Object.entries(t).reduce((i,[o,s])=>{if(!s||typeof s!="object"||Array.isArray(s)||!n.some(({name:a})=>a===o))return ft({},i,{[o]:s});if(!s.hasOwnProperty(r[o])){if(!s.hasOwnProperty("id"))throw new Error(`Ziggy error: object passed as '${o}' parameter is missing route model binding key '${r[o]}'.`);r[o]="id"}return ft({},i,{[o]:s[r[o]]})},{})}valueOf(){return this.toString()}}function TE(e,t,r,n){const i=new EE(e,t,r,n);return e?i.toString():i}const OE={install(e,t){const r=(n,i,o,s=t)=>TE(n,i,o,s);parseInt(e.version)>2?(e.config.globalProperties.route=r,e.provide("route",r)):e.mixin({methods:{route:r}})}};const AE=F1(),xE=()=>{yt.on("finish",()=>{const e=Fh().props.notification;e&&AE(e.body,{position:so.BOTTOM_CENTER,type:e.type,timeout:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!0,closeButton:"button",icon:!0})})};async function rd(e,t){const r=t[e];if(typeof r>"u")throw new Error(`Page not found: ${e}`);return typeof r=="function"?r():r}const CE={}.VITE_APP_NAME||"Laravel";IS({title:e=>`${e} - ${CE}`,resolve:e=>rd(`../views/pages/${e}.vue`,Object.assign({"../views/pages/auth/forgot-password.vue":()=>te(()=>import("./forgot-password-0b989727.js"),["assets/forgot-password-0b989727.js","assets/layout-guest-7ebc6caa.js","assets/logo-54a98bfe.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/alert.vue_vue_type_script_setup_true_lang-6f86fc1e.js","assets/ExclamationCircleIcon-b60ff688.js","assets/XCircleIcon-e68c9a12.js"]),"../views/pages/auth/invite/accept.vue":()=>te(()=>import("./accept-acb4ee59.js"),["assets/accept-acb4ee59.js","assets/layout-guest-7ebc6caa.js","assets/logo-54a98bfe.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js"]),"../views/pages/auth/login.vue":()=>te(()=>import("./login-d38dbc55.js"),["assets/login-d38dbc55.js","assets/layout-guest-7ebc6caa.js","assets/logo-54a98bfe.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js"]),"../views/pages/auth/reset-password.vue":()=>te(()=>import("./reset-password-262527de.js"),["assets/reset-password-262527de.js","assets/layout-guest-7ebc6caa.js","assets/logo-54a98bfe.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js"]),"../views/pages/contributor/index.vue":()=>te(()=>import("./index-d49c7cff.js"),["assets/index-d49c7cff.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js","assets/icon-arrow-right-75251a2c.js","assets/icon-arrow-left-52c22ea1.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-trash-5b13c52f.js","assets/icon-plus-74060bd2.js","assets/invited-table.vue_vue_type_script_setup_true_lang-ba72d4ef.js","assets/invited-item.vue_vue_type_script_setup_true_lang-49a8b0a3.js"]),"../views/pages/contributor/modals/invite.vue":()=>te(()=>import("./invite-6f56196a.js"),["assets/invite-6f56196a.js","assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js","assets/transition-53b06f51.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js"]),"../views/pages/contributor/partials/invited-item.vue":()=>te(()=>import("./invited-item-6858df42.js"),["assets/invited-item-6858df42.js","assets/invited-item.vue_vue_type_script_setup_true_lang-49a8b0a3.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/transition-53b06f51.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-5b13c52f.js"]),"../views/pages/contributor/partials/invited-table.vue":()=>te(()=>import("./invited-table-2f4bb456.js"),["assets/invited-table-2f4bb456.js","assets/invited-table.vue_vue_type_script_setup_true_lang-ba72d4ef.js","assets/pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js","assets/icon-arrow-right-75251a2c.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-arrow-left-52c22ea1.js","assets/icon-plus-74060bd2.js","assets/invited-item.vue_vue_type_script_setup_true_lang-49a8b0a3.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/transition-53b06f51.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-trash-5b13c52f.js"]),"../views/pages/error.vue":()=>te(()=>import("./error-69c9937a.js"),["assets/error-69c9937a.js","assets/icon-arrow-left-52c22ea1.js","assets/_plugin-vue_export-helper-c27b6911.js"]),"../views/pages/phrases/edit.vue":()=>te(()=>import("./edit-6dc64edd.js"),["assets/edit-6dc64edd.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/use-language-code-conversion-191bb3a4.js","assets/icon-pencil-9c3335bd.js","assets/icon-language-aa39478f.js","assets/index-899e9fa6.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-key-cf61dcc2.js","assets/icon-trash-5b13c52f.js","assets/icon-clipboard-b22b0eec.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/icon-arrow-right-75251a2c.js","assets/XCircleIcon-e68c9a12.js"]),"../views/pages/phrases/index.vue":()=>te(()=>import("./index-f5c444fd.js"),["assets/index-f5c444fd.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js","assets/icon-arrow-right-75251a2c.js","assets/icon-arrow-left-52c22ea1.js","assets/icon-plus-74060bd2.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js","assets/use-input-size-03843395.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/lodash-5c2eb642.js","assets/phrase-item.vue_vue_type_script_setup_true_lang-4fdba4b5.js","assets/icon-pencil-9c3335bd.js","assets/icon-language-aa39478f.js"]),"../views/pages/phrases/phrase-item.vue":()=>te(()=>import("./phrase-item-8b1ae795.js"),["assets/phrase-item-8b1ae795.js","assets/phrase-item.vue_vue_type_script_setup_true_lang-4fdba4b5.js","assets/icon-pencil-9c3335bd.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-language-aa39478f.js"]),"../views/pages/profile/edit.vue":()=>te(()=>import("./edit-8d8a4099.js"),["assets/edit-8d8a4099.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/user-update-password-form.vue_vue_type_script_setup_true_lang-e6a92dfb.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/user-update-profile-information-form.vue_vue_type_script_setup_true_lang-2884bd41.js"]),"../views/pages/profile/partials/user-update-password-form.vue":()=>te(()=>import("./user-update-password-form-426ebc59.js"),["assets/user-update-password-form-426ebc59.js","assets/user-update-password-form.vue_vue_type_script_setup_true_lang-e6a92dfb.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js"]),"../views/pages/profile/partials/user-update-profile-information-form.vue":()=>te(()=>import("./user-update-profile-information-form-e59e1520.js"),["assets/user-update-profile-information-form-e59e1520.js","assets/user-update-profile-information-form.vue_vue_type_script_setup_true_lang-2884bd41.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/use-auth-b0f8b4d5.js"]),"../views/pages/source/edit.vue":()=>te(()=>import("./edit-80b191ab.js"),["assets/edit-80b191ab.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/use-language-code-conversion-191bb3a4.js","assets/icon-pencil-9c3335bd.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-key-cf61dcc2.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js","assets/use-input-size-03843395.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/icon-arrow-right-75251a2c.js","assets/index-899e9fa6.js","assets/XCircleIcon-e68c9a12.js"]),"../views/pages/source/index.vue":()=>te(()=>import("./index-c492b9aa.js"),["assets/index-c492b9aa.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js","assets/icon-arrow-right-75251a2c.js","assets/icon-arrow-left-52c22ea1.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-trash-5b13c52f.js","assets/icon-plus-74060bd2.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/source-phrase-item.vue_vue_type_script_setup_true_lang-31cfc1e5.js","assets/icon-pencil-9c3335bd.js","assets/lodash-5c2eb642.js"]),"../views/pages/source/modals/add-source-key.vue":()=>te(()=>import("./add-source-key-b376bc74.js"),["assets/add-source-key-b376bc74.js","assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js","assets/transition-53b06f51.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-key-cf61dcc2.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js","assets/ExclamationCircleIcon-b60ff688.js"]),"../views/pages/source/source-phrase-item.vue":()=>te(()=>import("./source-phrase-item-a10fb727.js"),["assets/source-phrase-item-a10fb727.js","assets/source-phrase-item.vue_vue_type_script_setup_true_lang-31cfc1e5.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/transition-53b06f51.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-5b13c52f.js","assets/icon-pencil-9c3335bd.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js"]),"../views/pages/translations/index.vue":()=>te(()=>import("./index-56994201.js"),["assets/index-56994201.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/icon-clipboard-b22b0eec.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-trash-5b13c52f.js","assets/icon-plus-74060bd2.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/index-899e9fa6.js","assets/translation-item.vue_vue_type_script_setup_true_lang-24d299e4.js","assets/icon-language-aa39478f.js"]),"../views/pages/translations/modals/add-translation.vue":()=>te(()=>import("./add-translation-e704f1e8.js"),["assets/add-translation-e704f1e8.js","assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js","assets/transition-53b06f51.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/icon-close-cd07b6ee.js"]),"../views/pages/translations/modals/publish-translations.vue":()=>te(()=>import("./publish-translations-920a704e.js"),["assets/publish-translations-920a704e.js","assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js","assets/transition-53b06f51.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/alert.vue_vue_type_script_setup_true_lang-6f86fc1e.js","assets/ExclamationCircleIcon-b60ff688.js","assets/XCircleIcon-e68c9a12.js","assets/icon-publish-2c3bbfd2.js"]),"../views/pages/translations/translation-item.vue":()=>te(()=>import("./translation-item-819dc751.js"),["assets/translation-item-819dc751.js","assets/translation-item.vue_vue_type_script_setup_true_lang-24d299e4.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/transition-53b06f51.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-5b13c52f.js","assets/icon-language-aa39478f.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js"])})),setup({el:e,App:t,props:r,plugin:n}){Cc({render:()=>br(t,r)}).directive("tooltip",ab).use(DS,{resolve:i=>rd(`../views/pages/${i}.vue`,Object.assign({"../views/pages/auth/forgot-password.vue":()=>te(()=>import("./forgot-password-0b989727.js"),["assets/forgot-password-0b989727.js","assets/layout-guest-7ebc6caa.js","assets/logo-54a98bfe.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/alert.vue_vue_type_script_setup_true_lang-6f86fc1e.js","assets/ExclamationCircleIcon-b60ff688.js","assets/XCircleIcon-e68c9a12.js"]),"../views/pages/auth/invite/accept.vue":()=>te(()=>import("./accept-acb4ee59.js"),["assets/accept-acb4ee59.js","assets/layout-guest-7ebc6caa.js","assets/logo-54a98bfe.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js"]),"../views/pages/auth/login.vue":()=>te(()=>import("./login-d38dbc55.js"),["assets/login-d38dbc55.js","assets/layout-guest-7ebc6caa.js","assets/logo-54a98bfe.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js"]),"../views/pages/auth/reset-password.vue":()=>te(()=>import("./reset-password-262527de.js"),["assets/reset-password-262527de.js","assets/layout-guest-7ebc6caa.js","assets/logo-54a98bfe.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js"]),"../views/pages/contributor/index.vue":()=>te(()=>import("./index-d49c7cff.js"),["assets/index-d49c7cff.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js","assets/icon-arrow-right-75251a2c.js","assets/icon-arrow-left-52c22ea1.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-trash-5b13c52f.js","assets/icon-plus-74060bd2.js","assets/invited-table.vue_vue_type_script_setup_true_lang-ba72d4ef.js","assets/invited-item.vue_vue_type_script_setup_true_lang-49a8b0a3.js"]),"../views/pages/contributor/modals/invite.vue":()=>te(()=>import("./invite-6f56196a.js"),["assets/invite-6f56196a.js","assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js","assets/transition-53b06f51.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js"]),"../views/pages/contributor/partials/invited-item.vue":()=>te(()=>import("./invited-item-6858df42.js"),["assets/invited-item-6858df42.js","assets/invited-item.vue_vue_type_script_setup_true_lang-49a8b0a3.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/transition-53b06f51.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-5b13c52f.js"]),"../views/pages/contributor/partials/invited-table.vue":()=>te(()=>import("./invited-table-2f4bb456.js"),["assets/invited-table-2f4bb456.js","assets/invited-table.vue_vue_type_script_setup_true_lang-ba72d4ef.js","assets/pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js","assets/icon-arrow-right-75251a2c.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-arrow-left-52c22ea1.js","assets/icon-plus-74060bd2.js","assets/invited-item.vue_vue_type_script_setup_true_lang-49a8b0a3.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/transition-53b06f51.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-trash-5b13c52f.js"]),"../views/pages/error.vue":()=>te(()=>import("./error-69c9937a.js"),["assets/error-69c9937a.js","assets/icon-arrow-left-52c22ea1.js","assets/_plugin-vue_export-helper-c27b6911.js"]),"../views/pages/phrases/edit.vue":()=>te(()=>import("./edit-6dc64edd.js"),["assets/edit-6dc64edd.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/use-language-code-conversion-191bb3a4.js","assets/icon-pencil-9c3335bd.js","assets/icon-language-aa39478f.js","assets/index-899e9fa6.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-key-cf61dcc2.js","assets/icon-trash-5b13c52f.js","assets/icon-clipboard-b22b0eec.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/icon-arrow-right-75251a2c.js","assets/XCircleIcon-e68c9a12.js"]),"../views/pages/phrases/index.vue":()=>te(()=>import("./index-f5c444fd.js"),["assets/index-f5c444fd.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js","assets/icon-arrow-right-75251a2c.js","assets/icon-arrow-left-52c22ea1.js","assets/icon-plus-74060bd2.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js","assets/use-input-size-03843395.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/lodash-5c2eb642.js","assets/phrase-item.vue_vue_type_script_setup_true_lang-4fdba4b5.js","assets/icon-pencil-9c3335bd.js","assets/icon-language-aa39478f.js"]),"../views/pages/phrases/phrase-item.vue":()=>te(()=>import("./phrase-item-8b1ae795.js"),["assets/phrase-item-8b1ae795.js","assets/phrase-item.vue_vue_type_script_setup_true_lang-4fdba4b5.js","assets/icon-pencil-9c3335bd.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-language-aa39478f.js"]),"../views/pages/profile/edit.vue":()=>te(()=>import("./edit-8d8a4099.js"),["assets/edit-8d8a4099.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/user-update-password-form.vue_vue_type_script_setup_true_lang-e6a92dfb.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/user-update-profile-information-form.vue_vue_type_script_setup_true_lang-2884bd41.js"]),"../views/pages/profile/partials/user-update-password-form.vue":()=>te(()=>import("./user-update-password-form-426ebc59.js"),["assets/user-update-password-form-426ebc59.js","assets/user-update-password-form.vue_vue_type_script_setup_true_lang-e6a92dfb.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js"]),"../views/pages/profile/partials/user-update-profile-information-form.vue":()=>te(()=>import("./user-update-profile-information-form-e59e1520.js"),["assets/user-update-profile-information-form-e59e1520.js","assets/user-update-profile-information-form.vue_vue_type_script_setup_true_lang-2884bd41.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/use-auth-b0f8b4d5.js"]),"../views/pages/source/edit.vue":()=>te(()=>import("./edit-80b191ab.js"),["assets/edit-80b191ab.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/use-language-code-conversion-191bb3a4.js","assets/icon-pencil-9c3335bd.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-key-cf61dcc2.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js","assets/use-input-size-03843395.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/icon-arrow-right-75251a2c.js","assets/index-899e9fa6.js","assets/XCircleIcon-e68c9a12.js"]),"../views/pages/source/index.vue":()=>te(()=>import("./index-c492b9aa.js"),["assets/index-c492b9aa.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js","assets/icon-arrow-right-75251a2c.js","assets/icon-arrow-left-52c22ea1.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-trash-5b13c52f.js","assets/icon-plus-74060bd2.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/source-phrase-item.vue_vue_type_script_setup_true_lang-31cfc1e5.js","assets/icon-pencil-9c3335bd.js","assets/lodash-5c2eb642.js"]),"../views/pages/source/modals/add-source-key.vue":()=>te(()=>import("./add-source-key-b376bc74.js"),["assets/add-source-key-b376bc74.js","assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js","assets/transition-53b06f51.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-key-cf61dcc2.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js","assets/icon-close-cd07b6ee.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js","assets/ExclamationCircleIcon-b60ff688.js"]),"../views/pages/source/source-phrase-item.vue":()=>te(()=>import("./source-phrase-item-a10fb727.js"),["assets/source-phrase-item-a10fb727.js","assets/source-phrase-item.vue_vue_type_script_setup_true_lang-31cfc1e5.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/transition-53b06f51.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-5b13c52f.js","assets/icon-pencil-9c3335bd.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js"]),"../views/pages/translations/index.vue":()=>te(()=>import("./index-56994201.js"),["assets/index-56994201.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js","assets/icon-publish-2c3bbfd2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-54a98bfe.js","assets/use-auth-b0f8b4d5.js","assets/transition-53b06f51.js","assets/icon-clipboard-b22b0eec.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/icon-trash-5b13c52f.js","assets/icon-plus-74060bd2.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js","assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js","assets/use-input-size-03843395.js","assets/index-899e9fa6.js","assets/translation-item.vue_vue_type_script_setup_true_lang-24d299e4.js","assets/icon-language-aa39478f.js"]),"../views/pages/translations/modals/add-translation.vue":()=>te(()=>import("./add-translation-e704f1e8.js"),["assets/add-translation-e704f1e8.js","assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js","assets/transition-53b06f51.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/icon-close-cd07b6ee.js"]),"../views/pages/translations/modals/publish-translations.vue":()=>te(()=>import("./publish-translations-920a704e.js"),["assets/publish-translations-920a704e.js","assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js","assets/transition-53b06f51.js","assets/dialog-1dde479c.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/alert.vue_vue_type_script_setup_true_lang-6f86fc1e.js","assets/ExclamationCircleIcon-b60ff688.js","assets/XCircleIcon-e68c9a12.js","assets/icon-publish-2c3bbfd2.js"]),"../views/pages/translations/translation-item.vue":()=>te(()=>import("./translation-item-819dc751.js"),["assets/translation-item-819dc751.js","assets/translation-item.vue_vue_type_script_setup_true_lang-24d299e4.js","assets/use-confirmation-dialog-fc74ac1c.js","assets/dialog-1dde479c.js","assets/transition-53b06f51.js","assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-5b13c52f.js","assets/icon-language-aa39478f.js","assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js"])}))}).use(M1,{transition:"Vue-Toastification__bounce",maxToasts:20,newestOnTop:!0}).use(xE).use(n).use(OE).component("tabs",U1).component("tab",j1).mount(e)},progress:{color:"#4B5563"}}).then(()=>{});export{uo as $,Vn as A,ue as B,Ur as C,br as D,De as E,xe as F,DE as G,ap as H,Zt as I,NE as J,HS as K,ju as L,Zy as M,Cy as N,yt as O,ri as P,PE as Q,_d as R,og as S,CS as T,Nm as U,$E as V,Td as W,zs as X,HE as Y,BE as Z,Fh as _,po as a,ME as a0,xm as a1,ip as a2,bc as a3,Hg as a4,F1 as a5,so as a6,yr as a7,Qy as a8,qr as a9,LE as aa,Se as b,lt as c,Me as d,Li as e,Ue as f,nv as g,Ce as h,jE as i,FE as j,En as k,er as l,ni as m,RE as n,pe as o,Cg as p,Al as q,Xe as r,_t as s,ac as t,gc as u,IE as v,or as w,Ai as x,Sc as y,kd as z}; +...`),br(e.as,{...r,...n==="a"?{href:o}:{},onClick:a=>{SS(a)&&(a.preventDefault(),yt.visit(o,{data:s,method:i,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:e.preserveState??i!=="get",only:e.only,headers:e.headers,onCancelToken:r.onCancelToken||(()=>({})),onBefore:r.onBefore||(()=>({})),onStart:r.onStart||(()=>({})),onProgress:r.onProgress||(()=>({})),onFinish:r.onFinish||(()=>({})),onCancel:r.onCancel||(()=>({})),onSuccess:r.onSuccess||(()=>({})),onError:r.onError||(()=>({}))}))}},t)}}}),jE=LS;const Wf=Xe(),Mh={setResolveCallback:e=>{Wf.value=e},resolve:e=>Wf.value(e)},DS={install(e,t){Mh.setResolveCallback(t.resolve)}},qf=Fh(),pt=_t(()=>{var e;return(e=qf==null?void 0:qf.props)==null?void 0:e.modal}),Bh=_t(()=>{var e;return(e=pt.value)==null?void 0:e.props}),qc=_t(()=>{var e;return(e=pt.value)==null?void 0:e.key}),Yo=Xe(),Zo=Td(),Kc=Xe(!1),Gc=Xe(),Ds=Xe(),FS=e=>{Object.entries(e).forEach(([t,r])=>["post","put","patch","delete"].forEach(n=>{no.defaults.headers[n][t]=r}))},MS=()=>{["X-Inertia-Modal-Key","X-Inertia-Modal-Redirect"].forEach(([e,t])=>["get","post","put","patch","delete"].forEach(r=>{delete no.defaults.headers[r][e]}))},BS=()=>{var e,t;FS({"X-Inertia-Modal-Key":qc.value,"X-Inertia-Modal-Redirect":(e=pt.value)==null?void 0:e.redirectURL}),no.defaults.headers.get["X-Inertia-Modal-Redirect"]=((t=pt.value)==null?void 0:t.redirectURL)??""},jh=()=>{Kc.value=!1,MS()},Hh=()=>{var e,t,r,n;if(Ds.value==((e=pt.value)==null?void 0:e.nonce)||!((t=pt.value)!=null&&t.component))return jh();Yo.value!=((r=pt.value)==null?void 0:r.component)&&(Yo.value=pt.value.component,Yo.value?Zo.value=Rg(()=>Mh.resolve(Yo.value)):Zo.value=!1),Ds.value=(n=pt.value)==null?void 0:n.nonce,Gc.value=Zo.value?br(Zo.value,{key:qc.value,...Bh.value}):"",uo(()=>Kc.value=!0)};Hh();typeof window<"u"&&window.addEventListener("popstate",e=>{Ds.value=null});Ur(pt,()=>{var e;((e=pt.value)==null?void 0:e.nonce)!==Ds.value&&Hh()},{deep:!0});Ur(qc,BS);const jS=()=>{var e,t,r=((e=pt.value)==null?void 0:e.redirectURL)??((t=pt.value)==null?void 0:t.baseURL);if(Gc.value=!1,!!r)return yt.visit(r,{preserveScroll:!0,preserveState:!0})},HS=()=>({show:Kc,vnode:Gc,close:jh,redirect:jS,props:Bh}),HE=Me({setup(){const{vnode:e}=HS();return()=>e.value}});var kS=Object.defineProperty,Kf=Object.getOwnPropertySymbols,VS=Object.prototype.hasOwnProperty,US=Object.prototype.propertyIsEnumerable,Gf=(e,t,r)=>t in e?kS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kh=(e,t)=>{for(var r in t||(t={}))VS.call(t,r)&&Gf(e,r,t[r]);if(Kf)for(var r of Kf(t))US.call(t,r)&&Gf(e,r,t[r]);return e},na=e=>typeof e=="function",ia=e=>typeof e=="string",Vh=e=>ia(e)&&e.trim().length>0,zS=e=>typeof e=="number",mn=e=>typeof e>"u",oo=e=>typeof e=="object"&&e!==null,WS=e=>nr(e,"tag")&&Vh(e.tag),Uh=e=>window.TouchEvent&&e instanceof TouchEvent,zh=e=>nr(e,"component")&&Wh(e.component),qS=e=>na(e)||oo(e),Wh=e=>!mn(e)&&(ia(e)||qS(e)||zh(e)),Jf=e=>oo(e)&&["height","width","right","left","top","bottom"].every(t=>zS(e[t])),nr=(e,t)=>(oo(e)||na(e))&&t in e,KS=(e=>()=>e++)(0);function yl(e){return Uh(e)?e.targetTouches[0].clientX:e.clientX}function Xf(e){return Uh(e)?e.targetTouches[0].clientY:e.clientY}var GS=e=>{mn(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove()},_o=e=>zh(e)?_o(e.component):WS(e)?Me({render(){return e}}):typeof e=="string"?e:ue(gc(e)),JS=e=>{if(typeof e=="string")return e;const t=nr(e,"props")&&oo(e.props)?e.props:{},r=nr(e,"listeners")&&oo(e.listeners)?e.listeners:{};return{component:_o(e),props:t,listeners:r}},XS=()=>typeof window<"u",Jc=class{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const r=this.getHandlers(e);r.push(t),this.allHandlers[e]=r}off(e,t){const r=this.getHandlers(e);r.splice(r.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach(n=>n(t))}},QS=e=>["on","off","emit"].every(t=>nr(e,t)&&na(e[t])),ht;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e.DEFAULT="default"})(ht||(ht={}));var so;(function(e){e.TOP_LEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right"})(so||(so={}));var mt;(function(e){e.ADD="add",e.DISMISS="dismiss",e.UPDATE="update",e.CLEAR="clear",e.UPDATE_DEFAULTS="update_defaults"})(mt||(mt={}));var Mt="Vue-Toastification",Lt={type:{type:String,default:ht.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},qh={type:Lt.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},fs={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:Lt.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},Yl={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},Kh={transition:{type:[Object,String],default:`${Mt}__bounce`}},YS={position:{type:String,default:so.TOP_RIGHT},draggable:Lt.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:Lt.trueBoolean,pauseOnHover:Lt.trueBoolean,closeOnClick:Lt.trueBoolean,timeout:Yl.timeout,hideProgressBar:Yl.hideProgressBar,toastClassName:Lt.classNames,bodyClassName:Lt.classNames,icon:qh.customIcon,closeButton:fs.component,closeButtonClassName:fs.classNames,showCloseButtonOnHover:fs.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new Jc}},ZS={id:{type:[String,Number],required:!0,default:0},type:Lt.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},e1={container:{type:[Object,Function],default:()=>document.body},newestOnTop:Lt.trueBoolean,maxToasts:{type:Number,default:20},transition:Kh.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:Lt.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},_r={CORE_TOAST:YS,TOAST:ZS,CONTAINER:e1,PROGRESS_BAR:Yl,ICON:qh,TRANSITION:Kh,CLOSE_BUTTON:fs},Gh=Me({name:"VtProgressBar",props:_r.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${Mt}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function t1(e,t){return pe(),Ce("div",{style:yr(e.style),class:De(e.cpClass)},null,6)}Gh.render=t1;var r1=Gh,Jh=Me({name:"VtCloseButton",props:_r.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?_o(this.component):"button"},classes(){const e=[`${Mt}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}}),n1=po(" × ");function i1(e,t){return pe(),lt(bc(e.buttonComponent),ni({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:or(()=>[n1]),_:1},16,["aria-label","class"])}Jh.render=i1;var o1=Jh,Xh={},s1={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},a1=Ue("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1),l1=[a1];function c1(e,t){return pe(),Ce("svg",s1,l1)}Xh.render=c1;var u1=Xh,Qh={},f1={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},d1=Ue("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1),p1=[d1];function h1(e,t){return pe(),Ce("svg",f1,p1)}Qh.render=h1;var Qf=Qh,Yh={},m1={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},g1=Ue("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),y1=[g1];function v1(e,t){return pe(),Ce("svg",m1,y1)}Yh.render=v1;var b1=Yh,Zh={},w1={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},_1=Ue("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),S1=[_1];function E1(e,t){return pe(),Ce("svg",w1,S1)}Zh.render=E1;var T1=Zh,em=Me({name:"VtIcon",props:_r.ICON,computed:{customIconChildren(){return nr(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return ia(this.customIcon)?this.trimValue(this.customIcon):nr(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return nr(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:Wh(this.customIcon)?_o(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[ht.DEFAULT]:Qf,[ht.INFO]:Qf,[ht.SUCCESS]:u1,[ht.ERROR]:T1,[ht.WARNING]:b1}[this.type]},iconClasses(){const e=[`${Mt}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue(e,t=""){return Vh(e)?e.trim():t}}});function O1(e,t){return pe(),lt(bc(e.component),{class:De(e.iconClasses)},{default:or(()=>[po(ac(e.customIconChildren),1)]),_:1},8,["class"])}em.render=O1;var A1=em,tm=Me({name:"VtToast",components:{ProgressBar:r1,CloseButton:o1,Icon:A1},inheritAttrs:!1,props:Object.assign({},_r.CORE_TOAST,_r.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const e=[`${Mt}__toast`,`${Mt}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${Mt}__toast--rtl`),e},bodyClasses(){return[`${Mt}__toast-${ia(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return Jf(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:nr,getVueComponentFromObj:_o,closeToast(){this.eventBus.emit(mt.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:yl(e),y:Xf(e)},this.dragStart=yl(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:yl(e),y:Xf(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,Jf(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),x1=["role"];function C1(e,t){const r=er("Icon"),n=er("CloseButton"),i=er("ProgressBar");return pe(),Ce("div",{class:De(e.classes),style:yr(e.draggableStyle),onClick:t[0]||(t[0]=(...o)=>e.clickHandler&&e.clickHandler(...o)),onMouseenter:t[1]||(t[1]=(...o)=>e.hoverPause&&e.hoverPause(...o)),onMouseleave:t[2]||(t[2]=(...o)=>e.hoverPlay&&e.hoverPlay(...o))},[e.icon?(pe(),lt(r,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):Li("v-if",!0),Ue("div",{role:e.accessibility.toastRole||"alert",class:De(e.bodyClasses)},[typeof e.content=="string"?(pe(),Ce(xe,{key:0},[po(ac(e.content),1)],2112)):(pe(),lt(bc(e.getVueComponentFromObj(e.content)),ni({key:1,"toast-id":e.id},e.hasProp(e.content,"props")?e.content.props:{},Hg(e.hasProp(e.content,"listeners")?e.content.listeners:{}),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,x1),e.closeButton?(pe(),lt(n,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:nv(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):Li("v-if",!0),e.timeout?(pe(),lt(i,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):Li("v-if",!0)],38)}tm.render=C1;var $1=tm,rm=Me({name:"VtTransition",props:_r.TRANSITION,emits:["leave"],methods:{hasProp:nr,leave(e){e instanceof HTMLElement&&(e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute")}}});function P1(e,t){return pe(),lt(Wy,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:or(()=>[En(e.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}rm.render=P1;var R1=rm,nm=Me({name:"VueToastification",devtools:{hide:!0},components:{Toast:$1,VtTransition:R1},props:Object.assign({},_r.CORE_TOAST,_r.CONTAINER,_r.TRANSITION),data(){return{count:0,positions:Object.values(so),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(mt.ADD,this.addToast),e.on(mt.CLEAR,this.clearToasts),e.on(mt.DISMISS,this.dismissToast),e.on(mt.UPDATE,this.updateToast),e.on(mt.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){na(e)&&(e=await e()),GS(this.$el),e.appendChild(this.$el)},setToast(e){mn(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=JS(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),r=this.defaults.filterBeforeCreate(t,this.toastArray);r&&this.setToast(r)},dismissToast(e){const t=this.toasts[e];!mn(t)&&!mn(t.onClose)&&t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach(e=>{this.dismissToast(e)})},getPositionToasts(e){const t=this.filteredToasts.filter(r=>r.position===e).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){mn(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:r}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):r&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${Mt}__container`,e].concat(this.defaults.containerClassName)}}});function I1(e,t){const r=er("Toast"),n=er("VtTransition");return pe(),Ce("div",null,[(pe(!0),Ce(xe,null,Al(e.positions,i=>(pe(),Ce("div",{key:i},[Se(n,{transition:e.defaults.transition,class:De(e.getClasses(i))},{default:or(()=>[(pe(!0),Ce(xe,null,Al(e.getPositionToasts(i),o=>(pe(),lt(r,ni({key:o.id},o),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}nm.render=I1;var N1=nm,Yf=(e={},t=!0)=>{const r=e.eventBus=e.eventBus||new Jc;t&&uo(()=>{const o=Cc(N1,kh({},e)),s=o.mount(document.createElement("div")),a=e.onMounted;if(mn(a)||a(s,o),e.shareAppContext){const c=e.shareAppContext;c===!0?console.warn(`[${Mt}] App to share context with was not provided.`):(o._context.components=c._context.components,o._context.directives=c._context.directives,o._context.mixins=c._context.mixins,o._context.provides=c._context.provides,o.config.globalProperties=c.config.globalProperties)}});const n=(o,s)=>{const a=Object.assign({},{id:KS(),type:ht.DEFAULT},s,{content:o});return r.emit(mt.ADD,a),a.id};n.clear=()=>r.emit(mt.CLEAR,void 0),n.updateDefaults=o=>{r.emit(mt.UPDATE_DEFAULTS,o)},n.dismiss=o=>{r.emit(mt.DISMISS,o)};function i(o,{content:s,options:a},c=!1){const u=Object.assign({},a,{content:s});r.emit(mt.UPDATE,{id:o,options:u,create:c})}return n.update=i,n.success=(o,s)=>n(o,Object.assign({},s,{type:ht.SUCCESS})),n.info=(o,s)=>n(o,Object.assign({},s,{type:ht.INFO})),n.error=(o,s)=>n(o,Object.assign({},s,{type:ht.ERROR})),n.warning=(o,s)=>n(o,Object.assign({},s,{type:ht.WARNING})),n},L1=()=>{const e=()=>console.warn(`[${Mt}] This plugin does not support SSR!`);return new Proxy(e,{get(){return e}})};function Zl(e){return XS()?QS(e)?Yf({eventBus:e},!1):Yf(e,!0):L1()}var im=Symbol("VueToastification"),om=new Jc,D1=(e,t)=>{(t==null?void 0:t.shareAppContext)===!0&&(t.shareAppContext=e);const r=Zl(kh({eventBus:om},t));e.provide(im,r)},F1=e=>{if(e)return Zl(e);const t=zs()?Vn(im,void 0):void 0;return t||Zl(om)},M1=D1;const sm=Symbol("addTab"),am=Symbol("updateTab"),lm=Symbol("deleteTab"),cm=Symbol("tabsProvider");function es(e,t){const r=Vn(e,t);if(typeof r>"u")throw new Error(`Could not resolve ${e.description}`);return r}const B1=["data-tab-id","aria-hidden"],j1=Me({__name:"Tab",props:{panelClass:{default:"tabs-component-panel"},id:{default:void 0},name:null,prefix:{default:""},suffix:{default:""},isDisabled:{type:Boolean,default:!1},navItemClass:{default:void 0},navItemLinkClass:{default:void 0}},setup(e,{expose:t}){const r=e,n=Xe(!1),i=es(cm),o=es(sm),s=es(am),a=es(lm),c=r.prefix+r.name+r.suffix,u=r.id?r.id:r.name.toLowerCase().replace(/ /g,"-"),f=u+"-pane",d=_t(()=>"#"+(r.isDisabled?"":u));return Ur(()=>i.activeTabHash,()=>{n.value=d.value===i.activeTabHash}),Ur(()=>Object.assign({},r),()=>{s(u,{name:r.name,header:r.prefix+r.name+r.suffix,isDisabled:r.isDisabled,hash:d.value,index:i.tabs.length,computedId:u,paneId:f,navItemClass:r.navItemClass,navItemLinkClass:r.navItemLinkClass})}),jd(()=>{o({name:r.name,header:c,isDisabled:r.isDisabled,hash:d.value,index:i.tabs.length,computedId:u,paneId:f,navItemClass:r.navItemClass,navItemLinkClass:r.navItemLinkClass})}),Ec(()=>{a(u)}),t({header:c,computedId:u,paneId:f,hash:d,isActive:n}),(h,y)=>Cg((pe(),Ce("section",{ref:"tab",id:f,"data-tab-id":gc(u),"aria-hidden":!n.value,class:De(e.panelClass),role:"tabpanel",tabindex:"-1"},[En(h.$slots,"default")],10,B1)),[[Cy,n.value]])}});class H1{get(t){const r=localStorage.getItem(t);if(r===null)return null;const n=JSON.parse(r);return n?new Date(n.expires)({useUrlFragment:!0,defaultTabHash:void 0,storageKey:void 0})},wrapperClass:{default:"tabs-component"},panelsWrapperClass:{default:"tabs-component-panels"},navClass:{default:"tabs-component-tabs"},navItemClass:{default:"tabs-component-tab"},navItemDisabledClass:{default:"is-disabled"},navItemActiveClass:{default:"is-active"},navItemInactiveClass:{default:"is-inactive"},navItemLinkClass:{default:"tabs-component-tab-a"},navItemLinkActiveClass:{default:"is-active"},navItemLinkInactiveClass:{default:"is-inactive"},navItemLinkDisabledClass:{default:"is-disabled"}},emits:["changed","clicked"],setup(e,{expose:t,emit:r}){const n=e,i=ri({activeTabHash:"",lastActiveTabHash:"",tabs:[]});Ai(cm,i),Ai(sm,c=>{i.tabs.push(c)}),Ai(am,(c,u)=>{const f=i.tabs.findIndex(d=>d.computedId===c);u.isActive=i.tabs[f].isActive,i.tabs[f]=u}),Ai(lm,c=>{const u=i.tabs.findIndex(f=>f.computedId===c);i.tabs.splice(u,1)});const o=_t(()=>{let c;return n.options.storageKey&&(c=n.options.storageKey),!c&&n.id&&(c=`vue-tabs-component.${n.id}.cache.${window.location.host}${window.location.pathname}`),c||(c=`vue-tabs-component.cache.${window.location.host}${window.location.pathname}`),c}),s=(c,u)=>{u&&!n.options.useUrlFragment&&u.preventDefault();const f=a(c);if(f){if(u&&f.isDisabled){u.preventDefault();return}if(i.lastActiveTabHash===f.hash){r("clicked",{tab:f});return}i.tabs.forEach(d=>{d.isActive=d.hash===f.hash}),r("changed",{tab:f}),i.lastActiveTabHash=i.activeTabHash=f.hash,!(n.cacheLifetime<=0)&&Zf.set(o.value,f.hash,n.cacheLifetime)}},a=c=>i.tabs.find(u=>u.hash===c);return Sc(()=>{if(i.tabs.length){if(window.addEventListener("hashchange",()=>s(window.location.hash)),a(window.location.hash)){s(window.location.hash);return}if(n.cacheLifetime>0){const c=Zf.get(o.value);if(c!==null&&a(c)){s(c);return}}if(n.options.defaultTabHash&&a("#"+n.options.defaultTabHash)){s("#"+n.options.defaultTabHash);return}s(i.tabs[0].hash)}}),t({...sg(i),selectTab:s,findTab:a}),(c,u)=>(pe(),Ce("div",{class:De(e.wrapperClass),id:e.id},[Ue("ul",{role:"tablist",class:De(e.navClass)},[(pe(!0),Ce(xe,null,Al(i.tabs,(f,d)=>{var h,y;return pe(),Ce("li",{key:d,class:De([(h=f.navItemClass)!=null?h:e.navItemClass,f.isDisabled?e.navItemDisabledClass:"",f.isActive?e.navItemActiveClass:f.isDisabled?"":e.navItemInactiveClass]),role:"presentation"},[Ue("a",{role:"tab",class:De([(y=f.navItemLinkClass)!=null?y:e.navItemLinkClass,f.isDisabled?e.navItemLinkDisabledClass:"",f.isActive?e.navItemLinkActiveClass:f.isDisabled?"":e.navItemLinkInactiveClass]),"aria-controls":f.paneId,"aria-selected":f.isActive,href:f.hash,onClick:m=>s(f.hash,m),innerHTML:f.header,tabindex:"0"},null,10,V1)],2)}),128))],2),Ue("div",{class:De(e.panelsWrapperClass)},[En(c.$slots,"default")],2)],10,k1))}});var z1=String.prototype.replace,W1=/%20/g,vl={RFC1738:"RFC1738",RFC3986:"RFC3986"},Xc={default:vl.RFC3986,formatters:{RFC1738:function(e){return z1.call(e,W1,"+")},RFC3986:function(e){return String(e)}},RFC1738:vl.RFC1738,RFC3986:vl.RFC3986},q1=Xc,bl=Object.prototype.hasOwnProperty,pn=Array.isArray,Wt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),K1=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(pn(n)){for(var i=[],o=0;o=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===q1.RFC1738&&(u===40||u===41)){a+=s.charAt(c);continue}if(u<128){a=a+Wt[u];continue}if(u<2048){a=a+(Wt[192|u>>6]+Wt[128|u&63]);continue}if(u<55296||u>=57344){a=a+(Wt[224|u>>12]+Wt[128|u>>6&63]+Wt[128|u&63]);continue}c+=1,u=65536+((u&1023)<<10|s.charCodeAt(c)&1023),a+=Wt[240|u>>18]+Wt[128|u>>12&63]+Wt[128|u>>6&63]+Wt[128|u&63]}return a},Y1=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i"u")return S;var $;if(n==="comma"&&gn(g))$=[{value:g.length>0?g.join(",")||null:void 0}];else if(gn(a))$=a;else{var T=Object.keys(g);$=c?T.sort(c):T}for(var R=0;R<$.length;++R){var P=$[R],H=typeof P=="object"&&typeof P.value<"u"?P.value:g[P];if(!(o&&H===null)){var M=gn(g)?typeof n=="function"?n(r,P):r:r+(u?"."+P:"["+P+"]");dm(S,e(H,M,n,i,o,s,a,c,u,f,d,h,y,m))}}return S},cE=function(t){if(!t)return Ve;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||Ve.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Ui.default;if(typeof t.format<"u"){if(!nE.call(Ui.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=Ui.formatters[n],o=Ve.filter;return(typeof t.filter=="function"||gn(t.filter))&&(o=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Ve.addQueryPrefix,allowDots:typeof t.allowDots>"u"?Ve.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ve.charsetSentinel,delimiter:typeof t.delimiter>"u"?Ve.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Ve.encode,encoder:typeof t.encoder=="function"?t.encoder:Ve.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Ve.encodeValuesOnly,filter:o,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Ve.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Ve.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ve.strictNullHandling}},uE=function(e,t){var r=e,n=cE(t),i,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):gn(n.filter)&&(o=n.filter,i=o);var s=[];if(typeof r!="object"||r===null)return"";var a;t&&t.arrayFormat in ed?a=t.arrayFormat:t&&"indices"in t?a=t.indices?"indices":"repeat":a="indices";var c=ed[a];i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var u=0;u0?h+d:""},ei=fm,tc=Object.prototype.hasOwnProperty,fE=Array.isArray,ke={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:ei.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},dE=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},pm=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},pE="utf8=%26%2310003%3B",hE="utf8=%E2%9C%93",mE=function(t,r){var n={},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,s=i.split(r.delimiter,o),a=-1,c,u=r.charset;if(r.charsetSentinel)for(c=0;c-1&&(m=fE(m)?[m]:m),tc.call(n,y)?n[y]=ei.combine(n[y],m):n[y]=m}return n},gE=function(e,t,r,n){for(var i=n?t:pm(t,r),o=e.length-1;o>=0;--o){var s,a=e[o];if(a==="[]"&&r.parseArrays)s=[].concat(i);else{s=r.plainObjects?Object.create(null):{};var c=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,u=parseInt(c,10);!r.parseArrays&&c===""?s={0:i}:!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=i):c!=="__proto__"&&(s[c]=i)}i=s}return i},yE=function(t,r,n,i){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=n.depth>0&&s.exec(o),u=c?o.slice(0,c.index):o,f=[];if(u){if(!n.plainObjects&&tc.call(Object.prototype,u)&&!n.allowPrototypes)return;f.push(u)}for(var d=0;n.depth>0&&(c=a.exec(o))!==null&&d"u"?ke.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?ke.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:ke.allowPrototypes,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:ke.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:ke.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:ke.comma,decoder:typeof t.decoder=="function"?t.decoder:ke.decoder,delimiter:typeof t.delimiter=="string"||ei.isRegExp(t.delimiter)?t.delimiter:ke.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:ke.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:ke.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:ke.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:ke.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:ke.strictNullHandling}},bE=function(e,t){var r=vE(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?mE(e,r):e,i=r.plainObjects?Object.create(null):{},o=Object.keys(n),s=0;s({name:n.replace(/{|\??}/g,""),required:!/\?}$/.test(n)})))!=null?t:[]}matchesUrl(t){if(!this.definition.methods.includes("GET"))return!1;const r=this.template.replace(/(\/?){([^}?]*)(\??)}/g,(s,a,c,u)=>{var f;const d=`(?<${c}>${((f=this.wheres[c])==null?void 0:f.replace(/(^\^)|(\$$)/g,""))||"[^/?]+"})`;return u?`(${a}${d})?`:`${a}${d}`}).replace(/^\w+:\/\//,""),[n,i]=t.replace(/^\w+:\/\//,"").split("?"),o=new RegExp(`^${r}/?$`).exec(decodeURI(n));if(o){for(const s in o.groups)o.groups[s]=typeof o.groups[s]=="string"?decodeURIComponent(o.groups[s]):o.groups[s];return{params:o.groups,query:hm.parse(i)}}return!1}compile(t){return this.parameterSegments.length?this.template.replace(/{([^}?]+)(\??)}/g,(r,n,i)=>{var o,s;if(!i&&[null,void 0].includes(t[n]))throw new Error(`Ziggy error: '${n}' parameter is required for route '${this.name}'.`);if(this.wheres[n]&&!new RegExp(`^${i?`(${this.wheres[n]})?`:this.wheres[n]}$`).test((s=t[n])!=null?s:""))throw new Error(`Ziggy error: '${n}' parameter does not match required format '${this.wheres[n]}' for route '${this.name}'.`);return encodeURI((o=t[n])!=null?o:"").replace(/%7C/g,"|").replace(/%25/g,"%").replace(/\$/g,"%24")}).replace(`${this.origin}//`,`${this.origin}/`).replace(/\/+$/,""):this.template}}class EE extends String{constructor(t,r,n=!0,i){if(super(),this.t=i??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),this.t=ft({},this.t,{absolute:n}),t){if(!this.t.routes[t])throw new Error(`Ziggy error: route '${t}' is not in the route list.`);this.i=new wl(t,this.t.routes[t],this.t),this.o=this.h(r)}}toString(){const t=Object.keys(this.o).filter(r=>!this.i.parameterSegments.some(({name:n})=>n===r)).filter(r=>r!=="_query").reduce((r,n)=>ft({},r,{[n]:this.o[n]}),{});return this.i.compile(this.o)+hm.stringify(ft({},t,this.o._query),{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:(r,n)=>typeof r=="boolean"?Number(r):n(r)})}u(t){t?this.t.absolute&&t.startsWith("/")&&(t=this.l().host+t):t=this.m();let r={};const[n,i]=Object.entries(this.t.routes).find(([o,s])=>r=new wl(o,s,this.t).matchesUrl(t))||[void 0,void 0];return ft({name:n},r,{route:i})}m(){const{host:t,pathname:r,search:n}=this.l();return(this.t.absolute?t+r:r.replace(this.t.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+n}current(t,r){const{name:n,params:i,query:o,route:s}=this.u();if(!t)return n;const a=new RegExp(`^${t.replace(/\./g,"\\.").replace(/\*/g,".*")}$`).test(n);if([null,void 0].includes(r)||!a)return a;const c=new wl(n,s,this.t);r=this.h(r,c);const u=ft({},i,o);if(Object.values(r).every(d=>!d)&&!Object.values(u).some(d=>d!==void 0))return!0;const f=(d,h)=>Object.entries(d).every(([y,m])=>Array.isArray(m)&&Array.isArray(h[y])?m.every(g=>h[y].includes(g)):typeof m=="object"&&typeof h[y]=="object"&&m!==null&&h[y]!==null?f(m,h[y]):h[y]==m);return f(r,u)}l(){var t,r,n,i,o,s;const{host:a="",pathname:c="",search:u=""}=typeof window<"u"?window.location:{};return{host:(t=(r=this.t.location)==null?void 0:r.host)!=null?t:a,pathname:(n=(i=this.t.location)==null?void 0:i.pathname)!=null?n:c,search:(o=(s=this.t.location)==null?void 0:s.search)!=null?o:u}}get params(){const{params:t,query:r}=this.u();return ft({},t,r)}has(t){return Object.keys(this.t.routes).includes(t)}h(t={},r=this.i){t!=null||(t={}),t=["string","number"].includes(typeof t)?[t]:t;const n=r.parameterSegments.filter(({name:i})=>!this.t.defaults[i]);return Array.isArray(t)?t=t.reduce((i,o,s)=>ft({},i,n[s]?{[n[s].name]:o}:typeof o=="object"?o:{[o]:""}),{}):n.length!==1||t[n[0].name]||!t.hasOwnProperty(Object.values(r.bindings)[0])&&!t.hasOwnProperty("id")||(t={[n[0].name]:t}),ft({},this.p(r),this.$(t,r))}p(t){return t.parameterSegments.filter(({name:r})=>this.t.defaults[r]).reduce((r,{name:n},i)=>ft({},r,{[n]:this.t.defaults[n]}),{})}$(t,{bindings:r,parameterSegments:n}){return Object.entries(t).reduce((i,[o,s])=>{if(!s||typeof s!="object"||Array.isArray(s)||!n.some(({name:a})=>a===o))return ft({},i,{[o]:s});if(!s.hasOwnProperty(r[o])){if(!s.hasOwnProperty("id"))throw new Error(`Ziggy error: object passed as '${o}' parameter is missing route model binding key '${r[o]}'.`);r[o]="id"}return ft({},i,{[o]:s[r[o]]})},{})}valueOf(){return this.toString()}}function TE(e,t,r,n){const i=new EE(e,t,r,n);return e?i.toString():i}const OE={install(e,t){const r=(n,i,o,s=t)=>TE(n,i,o,s);parseInt(e.version)>2?(e.config.globalProperties.route=r,e.provide("route",r)):e.mixin({methods:{route:r}})}};const AE=F1(),xE=()=>{yt.on("finish",()=>{const e=Fh().props.notification;e&&AE(e.body,{position:so.BOTTOM_CENTER,type:e.type,timeout:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!0,closeButton:"button",icon:!0})})};async function rd(e,t){const r=t[e];if(typeof r>"u")throw new Error(`Page not found: ${e}`);return typeof r=="function"?r():r}const CE={}.VITE_APP_NAME||"Laravel";IS({title:e=>`${e} - ${CE}`,resolve:e=>rd(`../views/pages/${e}.vue`,Object.assign({"../views/pages/auth/forgot-password.vue":()=>te(()=>import("./forgot-password-28e8d00e.js"),["assets/forgot-password-28e8d00e.js","assets/layout-guest-8ff3f210.js","assets/logo-47b5a18d.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js","assets/ExclamationCircleIcon-2a26691d.js","assets/XCircleIcon-71639424.js"]),"../views/pages/auth/invite/accept.vue":()=>te(()=>import("./accept-2aabe2e9.js"),["assets/accept-2aabe2e9.js","assets/layout-guest-8ff3f210.js","assets/logo-47b5a18d.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-password.vue_vue_type_script_setup_true_lang-c432caf8.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js"]),"../views/pages/auth/login.vue":()=>te(()=>import("./login-67425c5c.js"),["assets/login-67425c5c.js","assets/layout-guest-8ff3f210.js","assets/logo-47b5a18d.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-password.vue_vue_type_script_setup_true_lang-c432caf8.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js"]),"../views/pages/auth/reset-password.vue":()=>te(()=>import("./reset-password-24bdb243.js"),["assets/reset-password-24bdb243.js","assets/layout-guest-8ff3f210.js","assets/logo-47b5a18d.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-password.vue_vue_type_script_setup_true_lang-c432caf8.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js"]),"../views/pages/contributor/index.vue":()=>te(()=>import("./index-bb8eacca.js"),["assets/index-bb8eacca.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/pagination.vue_vue_type_script_setup_true_lang-15830f26.js","assets/icon-arrow-right-19101772.js","assets/icon-arrow-left-9aff8bd7.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-trash-62f8df5f.js","assets/icon-plus-5ba4f8f8.js","assets/invited-table.vue_vue_type_script_setup_true_lang-ffc54ae5.js","assets/invited-item.vue_vue_type_script_setup_true_lang-d72a345f.js"]),"../views/pages/contributor/modals/invite.vue":()=>te(()=>import("./invite-00e1c086.js"),["assets/invite-00e1c086.js","assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js","assets/transition-fb8d0e84.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js"]),"../views/pages/contributor/partials/invited-item.vue":()=>te(()=>import("./invited-item-6676c40f.js"),["assets/invited-item-6676c40f.js","assets/invited-item.vue_vue_type_script_setup_true_lang-d72a345f.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/transition-fb8d0e84.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-62f8df5f.js"]),"../views/pages/contributor/partials/invited-table.vue":()=>te(()=>import("./invited-table-12d0543d.js"),["assets/invited-table-12d0543d.js","assets/invited-table.vue_vue_type_script_setup_true_lang-ffc54ae5.js","assets/pagination.vue_vue_type_script_setup_true_lang-15830f26.js","assets/icon-arrow-right-19101772.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-arrow-left-9aff8bd7.js","assets/icon-plus-5ba4f8f8.js","assets/invited-item.vue_vue_type_script_setup_true_lang-d72a345f.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/transition-fb8d0e84.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-trash-62f8df5f.js"]),"../views/pages/error.vue":()=>te(()=>import("./error-3b589616.js"),["assets/error-3b589616.js","assets/icon-arrow-left-9aff8bd7.js","assets/_plugin-vue_export-helper-c27b6911.js"]),"../views/pages/phrases/edit.vue":()=>te(()=>import("./edit-dbb67e4d.js"),["assets/edit-dbb67e4d.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/use-language-code-conversion-0ef03612.js","assets/icon-pencil-c97c2a6b.js","assets/icon-language-e9642115.js","assets/index-99365abf.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-key-2650eeaf.js","assets/icon-trash-62f8df5f.js","assets/icon-clipboard-d7e55528.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/icon-arrow-right-19101772.js","assets/XCircleIcon-71639424.js"]),"../views/pages/phrases/index.vue":()=>te(()=>import("./index-bda9933d.js"),["assets/index-bda9933d.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/pagination.vue_vue_type_script_setup_true_lang-15830f26.js","assets/icon-arrow-right-19101772.js","assets/icon-arrow-left-9aff8bd7.js","assets/icon-plus-5ba4f8f8.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js","assets/use-input-size-a5ed2a71.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/lodash-d6ff17c9.js","assets/phrase-item.vue_vue_type_script_setup_true_lang-a857824f.js","assets/icon-pencil-c97c2a6b.js","assets/icon-language-e9642115.js"]),"../views/pages/phrases/phrase-item.vue":()=>te(()=>import("./phrase-item-73072103.js"),["assets/phrase-item-73072103.js","assets/phrase-item.vue_vue_type_script_setup_true_lang-a857824f.js","assets/icon-pencil-c97c2a6b.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-language-e9642115.js"]),"../views/pages/profile/edit.vue":()=>te(()=>import("./edit-20c29df3.js"),["assets/edit-20c29df3.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/user-update-password-form.vue_vue_type_script_setup_true_lang-ae347757.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/user-update-profile-information-form.vue_vue_type_script_setup_true_lang-b61610ab.js"]),"../views/pages/profile/partials/user-update-password-form.vue":()=>te(()=>import("./user-update-password-form-9f493bbb.js"),["assets/user-update-password-form-9f493bbb.js","assets/user-update-password-form.vue_vue_type_script_setup_true_lang-ae347757.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js"]),"../views/pages/profile/partials/user-update-profile-information-form.vue":()=>te(()=>import("./user-update-profile-information-form-8a3017f0.js"),["assets/user-update-profile-information-form-8a3017f0.js","assets/user-update-profile-information-form.vue_vue_type_script_setup_true_lang-b61610ab.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/use-auth-9835d026.js"]),"../views/pages/source/edit.vue":()=>te(()=>import("./edit-cabf8dd2.js"),["assets/edit-cabf8dd2.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/use-language-code-conversion-0ef03612.js","assets/icon-pencil-c97c2a6b.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-key-2650eeaf.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js","assets/use-input-size-a5ed2a71.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/icon-arrow-right-19101772.js","assets/index-99365abf.js","assets/XCircleIcon-71639424.js"]),"../views/pages/source/index.vue":()=>te(()=>import("./index-c1628707.js"),["assets/index-c1628707.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/pagination.vue_vue_type_script_setup_true_lang-15830f26.js","assets/icon-arrow-right-19101772.js","assets/icon-arrow-left-9aff8bd7.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-trash-62f8df5f.js","assets/icon-plus-5ba4f8f8.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js","assets/use-input-size-a5ed2a71.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/source-phrase-item.vue_vue_type_script_setup_true_lang-c6995ae0.js","assets/icon-pencil-c97c2a6b.js","assets/lodash-d6ff17c9.js"]),"../views/pages/source/modals/add-source-key.vue":()=>te(()=>import("./add-source-key-e419d407.js"),["assets/add-source-key-e419d407.js","assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js","assets/transition-fb8d0e84.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-key-2650eeaf.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js","assets/ExclamationCircleIcon-2a26691d.js"]),"../views/pages/source/source-phrase-item.vue":()=>te(()=>import("./source-phrase-item-b4a753bb.js"),["assets/source-phrase-item-b4a753bb.js","assets/source-phrase-item.vue_vue_type_script_setup_true_lang-c6995ae0.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/transition-fb8d0e84.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-62f8df5f.js","assets/icon-pencil-c97c2a6b.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js"]),"../views/pages/translations/index.vue":()=>te(()=>import("./index-c92090c8.js"),["assets/index-c92090c8.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/icon-clipboard-d7e55528.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-trash-62f8df5f.js","assets/icon-plus-5ba4f8f8.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/index-99365abf.js","assets/translation-item.vue_vue_type_script_setup_true_lang-91da7643.js","assets/icon-language-e9642115.js"]),"../views/pages/translations/modals/add-translation.vue":()=>te(()=>import("./add-translation-810989c4.js"),["assets/add-translation-810989c4.js","assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js","assets/transition-fb8d0e84.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/icon-close-2c219153.js"]),"../views/pages/translations/modals/publish-translations.vue":()=>te(()=>import("./publish-translations-151bfa41.js"),["assets/publish-translations-151bfa41.js","assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js","assets/transition-fb8d0e84.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js","assets/ExclamationCircleIcon-2a26691d.js","assets/XCircleIcon-71639424.js","assets/icon-publish-eaee4335.js"]),"../views/pages/translations/translation-item.vue":()=>te(()=>import("./translation-item-00d7e3c2.js"),["assets/translation-item-00d7e3c2.js","assets/translation-item.vue_vue_type_script_setup_true_lang-91da7643.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/transition-fb8d0e84.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-62f8df5f.js","assets/icon-language-e9642115.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js"])})),setup({el:e,App:t,props:r,plugin:n}){Cc({render:()=>br(t,r)}).directive("tooltip",ab).use(DS,{resolve:i=>rd(`../views/pages/${i}.vue`,Object.assign({"../views/pages/auth/forgot-password.vue":()=>te(()=>import("./forgot-password-28e8d00e.js"),["assets/forgot-password-28e8d00e.js","assets/layout-guest-8ff3f210.js","assets/logo-47b5a18d.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js","assets/ExclamationCircleIcon-2a26691d.js","assets/XCircleIcon-71639424.js"]),"../views/pages/auth/invite/accept.vue":()=>te(()=>import("./accept-2aabe2e9.js"),["assets/accept-2aabe2e9.js","assets/layout-guest-8ff3f210.js","assets/logo-47b5a18d.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-password.vue_vue_type_script_setup_true_lang-c432caf8.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js"]),"../views/pages/auth/login.vue":()=>te(()=>import("./login-67425c5c.js"),["assets/login-67425c5c.js","assets/layout-guest-8ff3f210.js","assets/logo-47b5a18d.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-password.vue_vue_type_script_setup_true_lang-c432caf8.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js"]),"../views/pages/auth/reset-password.vue":()=>te(()=>import("./reset-password-24bdb243.js"),["assets/reset-password-24bdb243.js","assets/layout-guest-8ff3f210.js","assets/logo-47b5a18d.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-password.vue_vue_type_script_setup_true_lang-c432caf8.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js"]),"../views/pages/contributor/index.vue":()=>te(()=>import("./index-bb8eacca.js"),["assets/index-bb8eacca.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/pagination.vue_vue_type_script_setup_true_lang-15830f26.js","assets/icon-arrow-right-19101772.js","assets/icon-arrow-left-9aff8bd7.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-trash-62f8df5f.js","assets/icon-plus-5ba4f8f8.js","assets/invited-table.vue_vue_type_script_setup_true_lang-ffc54ae5.js","assets/invited-item.vue_vue_type_script_setup_true_lang-d72a345f.js"]),"../views/pages/contributor/modals/invite.vue":()=>te(()=>import("./invite-00e1c086.js"),["assets/invite-00e1c086.js","assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js","assets/transition-fb8d0e84.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js"]),"../views/pages/contributor/partials/invited-item.vue":()=>te(()=>import("./invited-item-6676c40f.js"),["assets/invited-item-6676c40f.js","assets/invited-item.vue_vue_type_script_setup_true_lang-d72a345f.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/transition-fb8d0e84.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-62f8df5f.js"]),"../views/pages/contributor/partials/invited-table.vue":()=>te(()=>import("./invited-table-12d0543d.js"),["assets/invited-table-12d0543d.js","assets/invited-table.vue_vue_type_script_setup_true_lang-ffc54ae5.js","assets/pagination.vue_vue_type_script_setup_true_lang-15830f26.js","assets/icon-arrow-right-19101772.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-arrow-left-9aff8bd7.js","assets/icon-plus-5ba4f8f8.js","assets/invited-item.vue_vue_type_script_setup_true_lang-d72a345f.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/transition-fb8d0e84.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-trash-62f8df5f.js"]),"../views/pages/error.vue":()=>te(()=>import("./error-3b589616.js"),["assets/error-3b589616.js","assets/icon-arrow-left-9aff8bd7.js","assets/_plugin-vue_export-helper-c27b6911.js"]),"../views/pages/phrases/edit.vue":()=>te(()=>import("./edit-dbb67e4d.js"),["assets/edit-dbb67e4d.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/use-language-code-conversion-0ef03612.js","assets/icon-pencil-c97c2a6b.js","assets/icon-language-e9642115.js","assets/index-99365abf.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-key-2650eeaf.js","assets/icon-trash-62f8df5f.js","assets/icon-clipboard-d7e55528.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/icon-arrow-right-19101772.js","assets/XCircleIcon-71639424.js"]),"../views/pages/phrases/index.vue":()=>te(()=>import("./index-bda9933d.js"),["assets/index-bda9933d.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/pagination.vue_vue_type_script_setup_true_lang-15830f26.js","assets/icon-arrow-right-19101772.js","assets/icon-arrow-left-9aff8bd7.js","assets/icon-plus-5ba4f8f8.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js","assets/use-input-size-a5ed2a71.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/lodash-d6ff17c9.js","assets/phrase-item.vue_vue_type_script_setup_true_lang-a857824f.js","assets/icon-pencil-c97c2a6b.js","assets/icon-language-e9642115.js"]),"../views/pages/phrases/phrase-item.vue":()=>te(()=>import("./phrase-item-73072103.js"),["assets/phrase-item-73072103.js","assets/phrase-item.vue_vue_type_script_setup_true_lang-a857824f.js","assets/icon-pencil-c97c2a6b.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-language-e9642115.js"]),"../views/pages/profile/edit.vue":()=>te(()=>import("./edit-20c29df3.js"),["assets/edit-20c29df3.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/user-update-password-form.vue_vue_type_script_setup_true_lang-ae347757.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/user-update-profile-information-form.vue_vue_type_script_setup_true_lang-b61610ab.js"]),"../views/pages/profile/partials/user-update-password-form.vue":()=>te(()=>import("./user-update-password-form-9f493bbb.js"),["assets/user-update-password-form-9f493bbb.js","assets/user-update-password-form.vue_vue_type_script_setup_true_lang-ae347757.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js"]),"../views/pages/profile/partials/user-update-profile-information-form.vue":()=>te(()=>import("./user-update-profile-information-form-8a3017f0.js"),["assets/user-update-profile-information-form-8a3017f0.js","assets/user-update-profile-information-form.vue_vue_type_script_setup_true_lang-b61610ab.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/use-auth-9835d026.js"]),"../views/pages/source/edit.vue":()=>te(()=>import("./edit-cabf8dd2.js"),["assets/edit-cabf8dd2.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/use-language-code-conversion-0ef03612.js","assets/icon-pencil-c97c2a6b.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-key-2650eeaf.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js","assets/use-input-size-a5ed2a71.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/icon-arrow-right-19101772.js","assets/index-99365abf.js","assets/XCircleIcon-71639424.js"]),"../views/pages/source/index.vue":()=>te(()=>import("./index-c1628707.js"),["assets/index-c1628707.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/pagination.vue_vue_type_script_setup_true_lang-15830f26.js","assets/icon-arrow-right-19101772.js","assets/icon-arrow-left-9aff8bd7.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-trash-62f8df5f.js","assets/icon-plus-5ba4f8f8.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js","assets/use-input-size-a5ed2a71.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/source-phrase-item.vue_vue_type_script_setup_true_lang-c6995ae0.js","assets/icon-pencil-c97c2a6b.js","assets/lodash-d6ff17c9.js"]),"../views/pages/source/modals/add-source-key.vue":()=>te(()=>import("./add-source-key-e419d407.js"),["assets/add-source-key-e419d407.js","assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js","assets/transition-fb8d0e84.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-key-2650eeaf.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js","assets/icon-close-2c219153.js","assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js","assets/ExclamationCircleIcon-2a26691d.js"]),"../views/pages/source/source-phrase-item.vue":()=>te(()=>import("./source-phrase-item-b4a753bb.js"),["assets/source-phrase-item-b4a753bb.js","assets/source-phrase-item.vue_vue_type_script_setup_true_lang-c6995ae0.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/transition-fb8d0e84.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-62f8df5f.js","assets/icon-pencil-c97c2a6b.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js"]),"../views/pages/translations/index.vue":()=>te(()=>import("./index-c92090c8.js"),["assets/index-c92090c8.js","assets/layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js","assets/icon-publish-eaee4335.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/logo-47b5a18d.js","assets/use-auth-9835d026.js","assets/transition-fb8d0e84.js","assets/icon-clipboard-d7e55528.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/icon-trash-62f8df5f.js","assets/icon-plus-5ba4f8f8.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js","assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js","assets/use-input-size-a5ed2a71.js","assets/index-99365abf.js","assets/translation-item.vue_vue_type_script_setup_true_lang-91da7643.js","assets/icon-language-e9642115.js"]),"../views/pages/translations/modals/add-translation.vue":()=>te(()=>import("./add-translation-810989c4.js"),["assets/add-translation-810989c4.js","assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js","assets/transition-fb8d0e84.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/icon-close-2c219153.js"]),"../views/pages/translations/modals/publish-translations.vue":()=>te(()=>import("./publish-translations-151bfa41.js"),["assets/publish-translations-151bfa41.js","assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js","assets/transition-fb8d0e84.js","assets/dialog-6de4cc28.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js","assets/ExclamationCircleIcon-2a26691d.js","assets/XCircleIcon-71639424.js","assets/icon-publish-eaee4335.js"]),"../views/pages/translations/translation-item.vue":()=>te(()=>import("./translation-item-00d7e3c2.js"),["assets/translation-item-00d7e3c2.js","assets/translation-item.vue_vue_type_script_setup_true_lang-91da7643.js","assets/use-confirmation-dialog-1471177b.js","assets/dialog-6de4cc28.js","assets/transition-fb8d0e84.js","assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/icon-trash-62f8df5f.js","assets/icon-language-e9642115.js","assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js","assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js"])}))}).use(M1,{transition:"Vue-Toastification__bounce",maxToasts:20,newestOnTop:!0}).use(xE).use(n).use(OE).component("tabs",U1).component("tab",j1).mount(e)},progress:{color:"#4B5563"}}).then(()=>{});export{uo as $,Vn as A,ue as B,Ur as C,br as D,De as E,xe as F,DE as G,ap as H,Zt as I,NE as J,HS as K,ju as L,Cy as M,Zy as N,yt as O,ri as P,PE as Q,_d as R,og as S,CS as T,Nm as U,$E as V,Td as W,zs as X,HE as Y,BE as Z,Fh as _,po as a,ME as a0,xm as a1,ip as a2,bc as a3,Hg as a4,F1 as a5,so as a6,yr as a7,Qy as a8,qr as a9,LE as aa,Se as b,lt as c,Me as d,Li as e,Ue as f,nv as g,Ce as h,jE as i,FE as j,En as k,er as l,ni as m,RE as n,pe as o,Cg as p,Al as q,Xe as r,_t as s,ac as t,gc as u,IE as v,or as w,Ai as x,Sc as y,kd as z}; diff --git a/resources/dist/vendor/translations-ui/assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js b/resources/dist/vendor/translations-ui/assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js similarity index 95% rename from resources/dist/vendor/translations-ui/assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js rename to resources/dist/vendor/translations-ui/assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js index 1d25028..173a1a5 100644 --- a/resources/dist/vendor/translations-ui/assets/base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js +++ b/resources/dist/vendor/translations-ui/assets/base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js @@ -1 +1 @@ -import{_ as p}from"./_plugin-vue_export-helper-c27b6911.js";import{o as n,h as a,f as o,s as l,d as _,k as f,E as r,b as m,e as b,u as i}from"./app-f79836f7.js";const g={},y={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},h=o("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),C=o("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),z=[h,C];function w(s,e){return n(),a("svg",y,z)}const k=p(g,[["render",w]]),v=s=>({sizeClass:l(()=>({xs:"btn-xs",sm:"btn-sm",md:"btn-md",lg:"btn-lg"})[s])}),B=s=>({variantClass:l(()=>({primary:"btn-primary",secondary:"btn-secondary",success:"btn-success",danger:"btn-danger",warning:"btn-warning",dark:"btn-dark"})[s])}),x=["type","disabled"],V={key:0,class:"absolute left-0 top-0 flex size-full items-center justify-center"},E=_({__name:"base-button",props:{size:{default:"lg"},type:{default:"button"},variant:{default:"primary"},fullWidth:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1}},setup(s){const e=s,{sizeClass:c}=v(e.size),{variantClass:d}=B(e.variant);return(t,L)=>{const u=k;return n(),a("button",{type:t.type,class:r(["btn",[i(c),i(d),{"w-full":t.fullWidth}]]),disabled:t.isLoading},[o("span",{class:r(["flex items-center gap-2",{"opacity-0":t.isLoading}])},[f(t.$slots,"default")],2),t.isLoading?(n(),a("span",V,[m(u,{class:"size-6 animate-spin text-white"})])):b("",!0)],10,x)}}});export{E as _}; +import{_ as p}from"./_plugin-vue_export-helper-c27b6911.js";import{o as n,h as a,f as o,s as l,d as _,k as f,E as r,b as m,e as b,u as i}from"./app-8d2ddf0a.js";const g={},y={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},h=o("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),C=o("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),z=[h,C];function w(s,e){return n(),a("svg",y,z)}const k=p(g,[["render",w]]),v=s=>({sizeClass:l(()=>({xs:"btn-xs",sm:"btn-sm",md:"btn-md",lg:"btn-lg"})[s])}),B=s=>({variantClass:l(()=>({primary:"btn-primary",secondary:"btn-secondary",success:"btn-success",danger:"btn-danger",warning:"btn-warning",dark:"btn-dark"})[s])}),x=["type","disabled"],V={key:0,class:"absolute left-0 top-0 flex size-full items-center justify-center"},E=_({__name:"base-button",props:{size:{default:"lg"},type:{default:"button"},variant:{default:"primary"},fullWidth:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1}},setup(s){const e=s,{sizeClass:c}=v(e.size),{variantClass:d}=B(e.variant);return(t,L)=>{const u=k;return n(),a("button",{type:t.type,class:r(["btn",[i(c),i(d),{"w-full":t.fullWidth}]]),disabled:t.isLoading},[o("span",{class:r(["flex items-center gap-2",{"opacity-0":t.isLoading}])},[f(t.$slots,"default")],2),t.isLoading?(n(),a("span",V,[m(u,{class:"size-6 animate-spin text-white"})])):b("",!0)],10,x)}}});export{E as _}; diff --git a/resources/dist/vendor/translations-ui/assets/dialog-1dde479c.js b/resources/dist/vendor/translations-ui/assets/dialog-6de4cc28.js similarity index 99% rename from resources/dist/vendor/translations-ui/assets/dialog-1dde479c.js rename to resources/dist/vendor/translations-ui/assets/dialog-6de4cc28.js index 90d52de..a7d4044 100644 --- a/resources/dist/vendor/translations-ui/assets/dialog-1dde479c.js +++ b/resources/dist/vendor/translations-ui/assets/dialog-6de4cc28.js @@ -1 +1 @@ -import{i as se,n as Pe,f as ae,u as oe,A as I,s as A,o as E,v as de,j as ce,d as Y,q as x,P as U,N as T,b as Ce,x as ke,y as fe,I as X,m as Me,e as j,g as He,h as Ne,w as Be,_ as xe,z as je,B as re,p as ue,a as We}from"./transition-53b06f51.js";import{d as q,r as g,s as c,y as O,z as P,D as S,F as Ue,v as Z,C as V,W as Ye,x as ee,A as _,u as Ie,$ as qe}from"./app-f79836f7.js";function Ve(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let D=[];Ve(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&D[0]!==t.target&&(D.unshift(t.target),D=D.filter(n=>n!=null&&n.isConnected),D.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function ve(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let a=E(n);a instanceof HTMLElement&&t.add(a)}return t}var pe=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(pe||{});let M=Object.assign(q({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:g(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:a}){let l=g(null);a({el:l,$el:l});let o=c(()=>se(l)),u=g(!1);O(()=>u.value=!0),P(()=>u.value=!1),ze({ownerDocument:o},c(()=>u.value&&!!(e.features&16)));let i=Ge({ownerDocument:o,container:l,initialFocus:c(()=>e.initialFocus)},c(()=>u.value&&!!(e.features&2)));Ke({ownerDocument:o,container:l,containers:e.containers,previousActiveElement:i},c(()=>u.value&&!!(e.features&8)));let r=Pe();function s(f){let m=E(l);m&&(w=>w())(()=>{Y(r.value,{[x.Forwards]:()=>{U(m,T.First,{skipElements:[f.relatedTarget]})},[x.Backwards]:()=>{U(m,T.Last,{skipElements:[f.relatedTarget]})}})})}let p=g(!1);function y(f){f.key==="Tab"&&(p.value=!0,requestAnimationFrame(()=>{p.value=!1}))}function h(f){if(!u.value)return;let m=ve(e.containers);E(l)instanceof HTMLElement&&m.add(E(l));let w=f.relatedTarget;w instanceof HTMLElement&&w.dataset.headlessuiFocusGuard!=="true"&&(me(m,w)||(p.value?U(E(l),Y(r.value,{[x.Forwards]:()=>T.Next,[x.Backwards]:()=>T.Previous})|T.WrapAround,{relativeTo:f.target}):f.target instanceof HTMLElement&&A(f.target)))}return()=>{let f={},m={ref:l,onKeydown:y,onFocusout:h},{features:w,initialFocus:b,containers:C,...R}=e;return S(Ue,[!!(w&4)&&S(ae,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:oe.Focusable}),I({ourProps:m,theirProps:{...t,...R},slot:f,attrs:t,slots:n,name:"FocusTrap"}),!!(w&4)&&S(ae,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:oe.Focusable})])}}}),{features:pe});function _e(e){let t=g(D.slice());return V([e],([n],[a])=>{a===!0&&n===!1?de(()=>{t.value.splice(0)}):a===!1&&n===!0&&(t.value=D.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(a=>a!=null&&a.isConnected))!=null?n:null}}function ze({ownerDocument:e},t){let n=_e(t);O(()=>{Z(()=>{var a,l;t.value||((a=e.value)==null?void 0:a.activeElement)===((l=e.value)==null?void 0:l.body)&&A(n())},{flush:"post"})}),P(()=>{t.value&&A(n())})}function Ge({ownerDocument:e,container:t,initialFocus:n},a){let l=g(null),o=g(!1);return O(()=>o.value=!0),P(()=>o.value=!1),O(()=>{V([t,n,a],(u,i)=>{if(u.every((s,p)=>(i==null?void 0:i[p])===s)||!a.value)return;let r=E(t);r&&de(()=>{var s,p;if(!o.value)return;let y=E(n),h=(s=e.value)==null?void 0:s.activeElement;if(y){if(y===h){l.value=h;return}}else if(r.contains(h)){l.value=h;return}y?A(y):U(r,T.First|T.NoScroll)===Ce.Error&&console.warn("There are no focusable elements inside the "),l.value=(p=e.value)==null?void 0:p.activeElement})},{immediate:!0,flush:"post"})}),l}function Ke({ownerDocument:e,container:t,containers:n,previousActiveElement:a},l){var o;ce((o=e.value)==null?void 0:o.defaultView,"focus",u=>{if(!l.value)return;let i=ve(n);E(t)instanceof HTMLElement&&i.add(E(t));let r=a.value;if(!r)return;let s=u.target;s&&s instanceof HTMLElement?me(i,s)?(a.value=s,A(s)):(u.preventDefault(),u.stopPropagation(),A(r)):A(a.value)},!0)}function me(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function Qe(e){let t=Ye(e.getSnapshot());return P(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function Je(e,t){let n=e(),a=new Set;return{getSnapshot(){return n},subscribe(l){return a.add(l),()=>a.delete(l)},dispatch(l,...o){let u=t[l].call(n,...o);u&&(n=u,a.forEach(i=>i()))}}}function Xe(){let e;return{before({doc:t}){var n;let a=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-a.clientWidth},after({doc:t,d:n}){let a=t.documentElement,l=a.clientWidth-a.offsetWidth,o=e-l;n.style(a,"paddingRight",`${o}px`)}}}function Ze(){return ke()?{before({doc:e,d:t,meta:n}){function a(l){return n.containers.flatMap(o=>o()).some(o=>o.contains(l))}t.microTask(()=>{var l;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let i=fe();i.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>i.dispose()))}let o=(l=window.scrollY)!=null?l:window.pageYOffset,u=null;t.addEventListener(e,"click",i=>{if(i.target instanceof HTMLElement)try{let r=i.target.closest("a");if(!r)return;let{hash:s}=new URL(r.href),p=e.querySelector(s);p&&!a(p)&&(u=p)}catch{}},!0),t.addEventListener(e,"touchstart",i=>{if(i.target instanceof HTMLElement)if(a(i.target)){let r=i.target;for(;r.parentElement&&a(r.parentElement);)r=r.parentElement;t.style(r,"overscrollBehavior","contain")}else t.style(i.target,"touchAction","none")}),t.addEventListener(e,"touchmove",i=>{if(i.target instanceof HTMLElement)if(a(i.target)){let r=i.target;for(;r.parentElement&&r.dataset.headlessuiPortal!==""&&!(r.scrollHeight>r.clientHeight||r.scrollWidth>r.clientWidth);)r=r.parentElement;r.dataset.headlessuiPortal===""&&i.preventDefault()}else i.preventDefault()},{passive:!1}),t.add(()=>{var i;let r=(i=window.scrollY)!=null?i:window.pageYOffset;o!==r&&window.scrollTo(0,o),u&&u.isConnected&&(u.scrollIntoView({block:"nearest"}),u=null)})})}}:{}}function et(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function tt(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let F=Je(()=>new Map,{PUSH(e,t){var n;let a=(n=this.get(e))!=null?n:{doc:e,count:0,d:fe(),meta:new Set};return a.count++,a.meta.add(t),this.set(e,a),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let a={doc:e,d:t,meta:tt(n)},l=[Ze(),Xe(),et()];l.forEach(({before:o})=>o==null?void 0:o(a)),l.forEach(({after:o})=>o==null?void 0:o(a))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});F.subscribe(()=>{let e=F.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let a=t.get(n.doc)==="hidden",l=n.count!==0;(l&&!a||!l&&a)&&F.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&F.dispatch("TEARDOWN",n)}});function nt(e,t,n){let a=Qe(F),l=c(()=>{let o=e.value?a.value.get(e.value):void 0;return o?o.count>0:!1});return V([e,t],([o,u],[i],r)=>{if(!o||!u)return;F.dispatch("PUSH",o,n);let s=!1;r(()=>{s||(F.dispatch("POP",i??o,n),s=!0)})},{immediate:!0}),l}let K=new Map,H=new Map;function ie(e,t=g(!0)){Z(n=>{var a;if(!t.value)return;let l=E(e);if(!l)return;n(function(){var u;if(!l)return;let i=(u=H.get(l))!=null?u:1;if(i===1?H.delete(l):H.set(l,i-1),i!==1)return;let r=K.get(l);r&&(r["aria-hidden"]===null?l.removeAttribute("aria-hidden"):l.setAttribute("aria-hidden",r["aria-hidden"]),l.inert=r.inert,K.delete(l))});let o=(a=H.get(l))!=null?a:0;H.set(l,o+1),o===0&&(K.set(l,{"aria-hidden":l.getAttribute("aria-hidden"),inert:l.inert}),l.setAttribute("aria-hidden","true"),l.inert=!0)})}let ge=Symbol("StackContext");var Q=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Q||{});function lt(){return _(ge,()=>{})}function at({type:e,enabled:t,element:n,onUpdate:a}){let l=lt();function o(...u){a==null||a(...u),l(...u)}O(()=>{V(t,(u,i)=>{u?o(0,e,n):i===!0&&o(1,e,n)},{immediate:!0,flush:"sync"})}),P(()=>{t.value&&o(1,e,n)}),ee(ge,o)}let he=Symbol("DescriptionContext");function ot(){let e=_(he,null);if(e===null)throw new Error("Missing parent");return e}function rt({slot:e=g({}),name:t="Description",props:n={}}={}){let a=g([]);function l(o){return a.value.push(o),()=>{let u=a.value.indexOf(o);u!==-1&&a.value.splice(u,1)}}return ee(he,{register:l,slot:e,name:t,props:n}),c(()=>a.value.length>0?a.value.join(" "):void 0)}let dt=q({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var a;let l=(a=e.id)!=null?a:`headlessui-description-${X()}`,o=ot();return O(()=>P(o.register(l))),()=>{let{name:u="Description",slot:i=g({}),props:r={}}=o,{...s}=e,p={...Object.entries(r).reduce((y,[h,f])=>Object.assign(y,{[h]:Ie(f)}),{}),id:l};return I({ourProps:p,theirProps:s,slot:i.value,attrs:t,slots:n,name:u})}}});var ut=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ut||{});let J=Symbol("DialogContext");function we(e){let t=_(J,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,we),n}return t}let W="DC8F892D-2EBD-447C-A4C8-A03058436FF4",ct=q({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:W},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:a,expose:l}){var o,u;let i=(o=e.id)!=null?o:`headlessui-dialog-${X()}`,r=g(!1);O(()=>{r.value=!0});let s=!1,p=c(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(s||(s=!0,console.warn(`Invalid role [${p}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),y=g(0),h=Me(),f=c(()=>e.open===W&&h!==null?(h.value&j.Open)===j.Open:e.open),m=g(null),w=c(()=>se(m));if(l({el:m,$el:m}),!(e.open!==W||h!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof f.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${f.value===W?void 0:e.open}`);let b=c(()=>r.value&&f.value?0:1),C=c(()=>b.value===0),R=c(()=>y.value>1),te=_(J,null)!==null,[Ee,ye]=He(),{resolveContainers:z,mainTreeNodeRef:ne,MainTreeNode:be}=Ne({portals:Ee,defaultContainers:[c(()=>{var d;return(d=k.panelRef.value)!=null?d:m.value})]}),$e=c(()=>R.value?"parent":"leaf"),le=c(()=>h!==null?(h.value&j.Closing)===j.Closing:!1),Le=c(()=>te||le.value?!1:C.value),Se=c(()=>{var d,v,$;return($=Array.from((v=(d=w.value)==null?void 0:d.querySelectorAll("body > *"))!=null?v:[]).find(L=>L.id==="headlessui-portal-root"?!1:L.contains(E(ne))&&L instanceof HTMLElement))!=null?$:null});ie(Se,Le);let Te=c(()=>R.value?!0:C.value),De=c(()=>{var d,v,$;return($=Array.from((v=(d=w.value)==null?void 0:d.querySelectorAll("[data-headlessui-portal]"))!=null?v:[]).find(L=>L.contains(E(ne))&&L instanceof HTMLElement))!=null?$:null});ie(De,Te),at({type:"Dialog",enabled:c(()=>b.value===0),element:m,onUpdate:(d,v)=>{if(v==="Dialog")return Y(d,{[Q.Add]:()=>y.value+=1,[Q.Remove]:()=>y.value-=1})}});let Fe=rt({name:"DialogDescription",slot:c(()=>({open:f.value}))}),N=g(null),k={titleId:N,panelRef:g(null),dialogState:b,setTitleId(d){N.value!==d&&(N.value=d)},close(){t("close",!1)}};ee(J,k);let Ae=c(()=>!(!C.value||R.value));Be(z,(d,v)=>{d.preventDefault(),k.close(),qe(()=>v==null?void 0:v.focus())},Ae);let Oe=c(()=>!(R.value||b.value!==0));ce((u=w.value)==null?void 0:u.defaultView,"keydown",d=>{Oe.value&&(d.defaultPrevented||d.key===We.Escape&&(d.preventDefault(),d.stopPropagation(),k.close()))});let Re=c(()=>!(le.value||b.value!==0||te));return nt(w,Re,d=>{var v;return{containers:[...(v=d.containers)!=null?v:[],z]}}),Z(d=>{if(b.value!==0)return;let v=E(m);if(!v)return;let $=new ResizeObserver(L=>{for(let G of L){let B=G.target.getBoundingClientRect();B.x===0&&B.y===0&&B.width===0&&B.height===0&&k.close()}});$.observe(v),d(()=>$.disconnect())}),()=>{let{open:d,initialFocus:v,...$}=e,L={...n,ref:m,id:i,role:p.value,"aria-modal":b.value===0?!0:void 0,"aria-labelledby":N.value,"aria-describedby":Fe.value},G={open:b.value===0};return S(re,{force:!0},()=>[S(xe,()=>S(je,{target:m.value},()=>S(re,{force:!1},()=>S(M,{initialFocus:v,containers:z,features:C.value?Y($e.value,{parent:M.features.RestoreFocus,leaf:M.features.All&~M.features.FocusLock}):M.features.None},()=>S(ye,{},()=>I({ourProps:L,theirProps:{...$,...n},slot:G,attrs:n,slots:a,visible:b.value===0,features:ue.RenderStrategy|ue.Static,name:"Dialog"})))))),S(be)])}}}),ft=q({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:a}){var l;let o=(l=e.id)!=null?l:`headlessui-dialog-panel-${X()}`,u=we("DialogPanel");a({el:u.panelRef,$el:u.panelRef});function i(r){r.stopPropagation()}return()=>{let{...r}=e,s={id:o,ref:u.panelRef,onClick:i};return I({ourProps:s,theirProps:r,slot:{open:u.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});export{ft as G,dt as K,ct as Y,rt as k}; +import{i as se,n as Pe,f as ae,u as oe,A as I,s as A,o as E,v as de,j as ce,d as Y,q as x,P as U,N as T,b as Ce,x as ke,y as fe,I as X,m as Me,e as j,g as He,h as Ne,w as Be,_ as xe,z as je,B as re,p as ue,a as We}from"./transition-fb8d0e84.js";import{d as q,r as g,s as c,y as O,z as P,D as S,F as Ue,v as Z,C as V,W as Ye,x as ee,A as _,u as Ie,$ as qe}from"./app-8d2ddf0a.js";function Ve(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let D=[];Ve(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&D[0]!==t.target&&(D.unshift(t.target),D=D.filter(n=>n!=null&&n.isConnected),D.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function ve(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let a=E(n);a instanceof HTMLElement&&t.add(a)}return t}var pe=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(pe||{});let M=Object.assign(q({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:g(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:a}){let l=g(null);a({el:l,$el:l});let o=c(()=>se(l)),u=g(!1);O(()=>u.value=!0),P(()=>u.value=!1),ze({ownerDocument:o},c(()=>u.value&&!!(e.features&16)));let i=Ge({ownerDocument:o,container:l,initialFocus:c(()=>e.initialFocus)},c(()=>u.value&&!!(e.features&2)));Ke({ownerDocument:o,container:l,containers:e.containers,previousActiveElement:i},c(()=>u.value&&!!(e.features&8)));let r=Pe();function s(f){let m=E(l);m&&(w=>w())(()=>{Y(r.value,{[x.Forwards]:()=>{U(m,T.First,{skipElements:[f.relatedTarget]})},[x.Backwards]:()=>{U(m,T.Last,{skipElements:[f.relatedTarget]})}})})}let p=g(!1);function y(f){f.key==="Tab"&&(p.value=!0,requestAnimationFrame(()=>{p.value=!1}))}function h(f){if(!u.value)return;let m=ve(e.containers);E(l)instanceof HTMLElement&&m.add(E(l));let w=f.relatedTarget;w instanceof HTMLElement&&w.dataset.headlessuiFocusGuard!=="true"&&(me(m,w)||(p.value?U(E(l),Y(r.value,{[x.Forwards]:()=>T.Next,[x.Backwards]:()=>T.Previous})|T.WrapAround,{relativeTo:f.target}):f.target instanceof HTMLElement&&A(f.target)))}return()=>{let f={},m={ref:l,onKeydown:y,onFocusout:h},{features:w,initialFocus:b,containers:C,...R}=e;return S(Ue,[!!(w&4)&&S(ae,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:oe.Focusable}),I({ourProps:m,theirProps:{...t,...R},slot:f,attrs:t,slots:n,name:"FocusTrap"}),!!(w&4)&&S(ae,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:oe.Focusable})])}}}),{features:pe});function _e(e){let t=g(D.slice());return V([e],([n],[a])=>{a===!0&&n===!1?de(()=>{t.value.splice(0)}):a===!1&&n===!0&&(t.value=D.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(a=>a!=null&&a.isConnected))!=null?n:null}}function ze({ownerDocument:e},t){let n=_e(t);O(()=>{Z(()=>{var a,l;t.value||((a=e.value)==null?void 0:a.activeElement)===((l=e.value)==null?void 0:l.body)&&A(n())},{flush:"post"})}),P(()=>{t.value&&A(n())})}function Ge({ownerDocument:e,container:t,initialFocus:n},a){let l=g(null),o=g(!1);return O(()=>o.value=!0),P(()=>o.value=!1),O(()=>{V([t,n,a],(u,i)=>{if(u.every((s,p)=>(i==null?void 0:i[p])===s)||!a.value)return;let r=E(t);r&&de(()=>{var s,p;if(!o.value)return;let y=E(n),h=(s=e.value)==null?void 0:s.activeElement;if(y){if(y===h){l.value=h;return}}else if(r.contains(h)){l.value=h;return}y?A(y):U(r,T.First|T.NoScroll)===Ce.Error&&console.warn("There are no focusable elements inside the "),l.value=(p=e.value)==null?void 0:p.activeElement})},{immediate:!0,flush:"post"})}),l}function Ke({ownerDocument:e,container:t,containers:n,previousActiveElement:a},l){var o;ce((o=e.value)==null?void 0:o.defaultView,"focus",u=>{if(!l.value)return;let i=ve(n);E(t)instanceof HTMLElement&&i.add(E(t));let r=a.value;if(!r)return;let s=u.target;s&&s instanceof HTMLElement?me(i,s)?(a.value=s,A(s)):(u.preventDefault(),u.stopPropagation(),A(r)):A(a.value)},!0)}function me(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function Qe(e){let t=Ye(e.getSnapshot());return P(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function Je(e,t){let n=e(),a=new Set;return{getSnapshot(){return n},subscribe(l){return a.add(l),()=>a.delete(l)},dispatch(l,...o){let u=t[l].call(n,...o);u&&(n=u,a.forEach(i=>i()))}}}function Xe(){let e;return{before({doc:t}){var n;let a=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-a.clientWidth},after({doc:t,d:n}){let a=t.documentElement,l=a.clientWidth-a.offsetWidth,o=e-l;n.style(a,"paddingRight",`${o}px`)}}}function Ze(){return ke()?{before({doc:e,d:t,meta:n}){function a(l){return n.containers.flatMap(o=>o()).some(o=>o.contains(l))}t.microTask(()=>{var l;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let i=fe();i.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>i.dispose()))}let o=(l=window.scrollY)!=null?l:window.pageYOffset,u=null;t.addEventListener(e,"click",i=>{if(i.target instanceof HTMLElement)try{let r=i.target.closest("a");if(!r)return;let{hash:s}=new URL(r.href),p=e.querySelector(s);p&&!a(p)&&(u=p)}catch{}},!0),t.addEventListener(e,"touchstart",i=>{if(i.target instanceof HTMLElement)if(a(i.target)){let r=i.target;for(;r.parentElement&&a(r.parentElement);)r=r.parentElement;t.style(r,"overscrollBehavior","contain")}else t.style(i.target,"touchAction","none")}),t.addEventListener(e,"touchmove",i=>{if(i.target instanceof HTMLElement)if(a(i.target)){let r=i.target;for(;r.parentElement&&r.dataset.headlessuiPortal!==""&&!(r.scrollHeight>r.clientHeight||r.scrollWidth>r.clientWidth);)r=r.parentElement;r.dataset.headlessuiPortal===""&&i.preventDefault()}else i.preventDefault()},{passive:!1}),t.add(()=>{var i;let r=(i=window.scrollY)!=null?i:window.pageYOffset;o!==r&&window.scrollTo(0,o),u&&u.isConnected&&(u.scrollIntoView({block:"nearest"}),u=null)})})}}:{}}function et(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function tt(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let F=Je(()=>new Map,{PUSH(e,t){var n;let a=(n=this.get(e))!=null?n:{doc:e,count:0,d:fe(),meta:new Set};return a.count++,a.meta.add(t),this.set(e,a),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let a={doc:e,d:t,meta:tt(n)},l=[Ze(),Xe(),et()];l.forEach(({before:o})=>o==null?void 0:o(a)),l.forEach(({after:o})=>o==null?void 0:o(a))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});F.subscribe(()=>{let e=F.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let a=t.get(n.doc)==="hidden",l=n.count!==0;(l&&!a||!l&&a)&&F.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&F.dispatch("TEARDOWN",n)}});function nt(e,t,n){let a=Qe(F),l=c(()=>{let o=e.value?a.value.get(e.value):void 0;return o?o.count>0:!1});return V([e,t],([o,u],[i],r)=>{if(!o||!u)return;F.dispatch("PUSH",o,n);let s=!1;r(()=>{s||(F.dispatch("POP",i??o,n),s=!0)})},{immediate:!0}),l}let K=new Map,H=new Map;function ie(e,t=g(!0)){Z(n=>{var a;if(!t.value)return;let l=E(e);if(!l)return;n(function(){var u;if(!l)return;let i=(u=H.get(l))!=null?u:1;if(i===1?H.delete(l):H.set(l,i-1),i!==1)return;let r=K.get(l);r&&(r["aria-hidden"]===null?l.removeAttribute("aria-hidden"):l.setAttribute("aria-hidden",r["aria-hidden"]),l.inert=r.inert,K.delete(l))});let o=(a=H.get(l))!=null?a:0;H.set(l,o+1),o===0&&(K.set(l,{"aria-hidden":l.getAttribute("aria-hidden"),inert:l.inert}),l.setAttribute("aria-hidden","true"),l.inert=!0)})}let ge=Symbol("StackContext");var Q=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Q||{});function lt(){return _(ge,()=>{})}function at({type:e,enabled:t,element:n,onUpdate:a}){let l=lt();function o(...u){a==null||a(...u),l(...u)}O(()=>{V(t,(u,i)=>{u?o(0,e,n):i===!0&&o(1,e,n)},{immediate:!0,flush:"sync"})}),P(()=>{t.value&&o(1,e,n)}),ee(ge,o)}let he=Symbol("DescriptionContext");function ot(){let e=_(he,null);if(e===null)throw new Error("Missing parent");return e}function rt({slot:e=g({}),name:t="Description",props:n={}}={}){let a=g([]);function l(o){return a.value.push(o),()=>{let u=a.value.indexOf(o);u!==-1&&a.value.splice(u,1)}}return ee(he,{register:l,slot:e,name:t,props:n}),c(()=>a.value.length>0?a.value.join(" "):void 0)}let dt=q({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){var a;let l=(a=e.id)!=null?a:`headlessui-description-${X()}`,o=ot();return O(()=>P(o.register(l))),()=>{let{name:u="Description",slot:i=g({}),props:r={}}=o,{...s}=e,p={...Object.entries(r).reduce((y,[h,f])=>Object.assign(y,{[h]:Ie(f)}),{}),id:l};return I({ourProps:p,theirProps:s,slot:i.value,attrs:t,slots:n,name:u})}}});var ut=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ut||{});let J=Symbol("DialogContext");function we(e){let t=_(J,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,we),n}return t}let W="DC8F892D-2EBD-447C-A4C8-A03058436FF4",ct=q({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:W},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:a,expose:l}){var o,u;let i=(o=e.id)!=null?o:`headlessui-dialog-${X()}`,r=g(!1);O(()=>{r.value=!0});let s=!1,p=c(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(s||(s=!0,console.warn(`Invalid role [${p}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),y=g(0),h=Me(),f=c(()=>e.open===W&&h!==null?(h.value&j.Open)===j.Open:e.open),m=g(null),w=c(()=>se(m));if(l({el:m,$el:m}),!(e.open!==W||h!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof f.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${f.value===W?void 0:e.open}`);let b=c(()=>r.value&&f.value?0:1),C=c(()=>b.value===0),R=c(()=>y.value>1),te=_(J,null)!==null,[Ee,ye]=He(),{resolveContainers:z,mainTreeNodeRef:ne,MainTreeNode:be}=Ne({portals:Ee,defaultContainers:[c(()=>{var d;return(d=k.panelRef.value)!=null?d:m.value})]}),$e=c(()=>R.value?"parent":"leaf"),le=c(()=>h!==null?(h.value&j.Closing)===j.Closing:!1),Le=c(()=>te||le.value?!1:C.value),Se=c(()=>{var d,v,$;return($=Array.from((v=(d=w.value)==null?void 0:d.querySelectorAll("body > *"))!=null?v:[]).find(L=>L.id==="headlessui-portal-root"?!1:L.contains(E(ne))&&L instanceof HTMLElement))!=null?$:null});ie(Se,Le);let Te=c(()=>R.value?!0:C.value),De=c(()=>{var d,v,$;return($=Array.from((v=(d=w.value)==null?void 0:d.querySelectorAll("[data-headlessui-portal]"))!=null?v:[]).find(L=>L.contains(E(ne))&&L instanceof HTMLElement))!=null?$:null});ie(De,Te),at({type:"Dialog",enabled:c(()=>b.value===0),element:m,onUpdate:(d,v)=>{if(v==="Dialog")return Y(d,{[Q.Add]:()=>y.value+=1,[Q.Remove]:()=>y.value-=1})}});let Fe=rt({name:"DialogDescription",slot:c(()=>({open:f.value}))}),N=g(null),k={titleId:N,panelRef:g(null),dialogState:b,setTitleId(d){N.value!==d&&(N.value=d)},close(){t("close",!1)}};ee(J,k);let Ae=c(()=>!(!C.value||R.value));Be(z,(d,v)=>{d.preventDefault(),k.close(),qe(()=>v==null?void 0:v.focus())},Ae);let Oe=c(()=>!(R.value||b.value!==0));ce((u=w.value)==null?void 0:u.defaultView,"keydown",d=>{Oe.value&&(d.defaultPrevented||d.key===We.Escape&&(d.preventDefault(),d.stopPropagation(),k.close()))});let Re=c(()=>!(le.value||b.value!==0||te));return nt(w,Re,d=>{var v;return{containers:[...(v=d.containers)!=null?v:[],z]}}),Z(d=>{if(b.value!==0)return;let v=E(m);if(!v)return;let $=new ResizeObserver(L=>{for(let G of L){let B=G.target.getBoundingClientRect();B.x===0&&B.y===0&&B.width===0&&B.height===0&&k.close()}});$.observe(v),d(()=>$.disconnect())}),()=>{let{open:d,initialFocus:v,...$}=e,L={...n,ref:m,id:i,role:p.value,"aria-modal":b.value===0?!0:void 0,"aria-labelledby":N.value,"aria-describedby":Fe.value},G={open:b.value===0};return S(re,{force:!0},()=>[S(xe,()=>S(je,{target:m.value},()=>S(re,{force:!1},()=>S(M,{initialFocus:v,containers:z,features:C.value?Y($e.value,{parent:M.features.RestoreFocus,leaf:M.features.All&~M.features.FocusLock}):M.features.None},()=>S(ye,{},()=>I({ourProps:L,theirProps:{...$,...n},slot:G,attrs:n,slots:a,visible:b.value===0,features:ue.RenderStrategy|ue.Static,name:"Dialog"})))))),S(be)])}}}),ft=q({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:a}){var l;let o=(l=e.id)!=null?l:`headlessui-dialog-panel-${X()}`,u=we("DialogPanel");a({el:u.panelRef,$el:u.panelRef});function i(r){r.stopPropagation()}return()=>{let{...r}=e,s={id:o,ref:u.panelRef,onClick:i};return I({ourProps:s,theirProps:r,slot:{open:u.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});export{ft as G,dt as K,ct as Y,rt as k}; diff --git a/resources/dist/vendor/translations-ui/assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js b/resources/dist/vendor/translations-ui/assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js similarity index 87% rename from resources/dist/vendor/translations-ui/assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js rename to resources/dist/vendor/translations-ui/assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js index 09952be..8a07bcf 100644 --- a/resources/dist/vendor/translations-ui/assets/dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js +++ b/resources/dist/vendor/translations-ui/assets/dialog.vue_vue_type_script_setup_true_lang-16687c15.js @@ -1 +1 @@ -import{d as p,s as u,o as x,c as _,w as a,b as t,u as e,f as s,E as v,k as w,K as h}from"./app-f79836f7.js";import{r as l,S as y}from"./transition-53b06f51.js";import{G as g,Y as b}from"./dialog-1dde479c.js";const C=s("div",{class:"fixed inset-0 bg-gray-500/25 backdrop-blur transition-opacity"},null,-1),k={class:"fixed inset-0 overflow-y-auto"},z={class:"flex min-h-full items-center justify-center p-4 text-center"},L=p({__name:"dialog",props:{size:{default:"lg"},closeable:{type:Boolean,default:!0}},setup(r){const o=r,{show:i,close:n,redirect:c}=h(),d=()=>{o.closeable&&n()},m=u(()=>({sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl"})[o.size]);return(f,B)=>(x(),_(e(y),{appear:"",as:"template",show:e(i)},{default:a(()=>[t(e(b),{as:"div",class:"relative z-50",onClose:d},{default:a(()=>[t(e(l),{as:"template","leave-to":"opacity-0",enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100",onAfterLeave:e(c)},{default:a(()=>[C]),_:1},8,["onAfterLeave"]),s("div",k,[s("div",z,[t(e(l),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:a(()=>[t(e(g),{class:v([[e(m)],"w-full rounded-2xl bg-white text-left align-middle shadow-xl transition-all"])},{default:a(()=>[w(f.$slots,"default")]),_:3},8,["class"])]),_:3})])])]),_:3})]),_:3},8,["show"]))}});export{L as _}; +import{d as p,s as u,o as x,c as _,w as a,b as t,u as e,f as s,E as v,k as w,K as h}from"./app-8d2ddf0a.js";import{r as l,S as y}from"./transition-fb8d0e84.js";import{G as g,Y as b}from"./dialog-6de4cc28.js";const C=s("div",{class:"fixed inset-0 bg-gray-500/25 backdrop-blur transition-opacity"},null,-1),k={class:"fixed inset-0 overflow-y-auto"},z={class:"flex min-h-full items-center justify-center p-4 text-center"},L=p({__name:"dialog",props:{size:{default:"lg"},closeable:{type:Boolean,default:!0}},setup(r){const o=r,{show:i,close:n,redirect:c}=h(),d=()=>{o.closeable&&n()},m=u(()=>({sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl"})[o.size]);return(f,B)=>(x(),_(e(y),{appear:"",as:"template",show:e(i)},{default:a(()=>[t(e(b),{as:"div",class:"relative z-50",onClose:d},{default:a(()=>[t(e(l),{as:"template","leave-to":"opacity-0",enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100",onAfterLeave:e(c)},{default:a(()=>[C]),_:1},8,["onAfterLeave"]),s("div",k,[s("div",z,[t(e(l),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:a(()=>[t(e(g),{class:v([[e(m)],"w-full rounded-2xl bg-white text-left align-middle shadow-xl transition-all"])},{default:a(()=>[w(f.$slots,"default")]),_:3},8,["class"])]),_:3})])])]),_:3})]),_:3},8,["show"]))}});export{L as _}; diff --git a/resources/dist/vendor/translations-ui/assets/edit-20c29df3.js b/resources/dist/vendor/translations-ui/assets/edit-20c29df3.js new file mode 100644 index 0000000..8e9be94 --- /dev/null +++ b/resources/dist/vendor/translations-ui/assets/edit-20c29df3.js @@ -0,0 +1 @@ +import{_ as i}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js";import{d as r,o as p,h as n,b as t,w as _,f as s,F as l,Z as c}from"./app-8d2ddf0a.js";import{_ as d}from"./user-update-password-form.vue_vue_type_script_setup_true_lang-ae347757.js";import{_ as u}from"./user-update-profile-information-form.vue_vue_type_script_setup_true_lang-b61610ab.js";import"./icon-publish-eaee4335.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-47b5a18d.js";import"./use-auth-9835d026.js";import"./transition-fb8d0e84.js";import"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import"./input-label.vue_vue_type_script_setup_true_lang-b020cb97.js";import"./icon-close-2c219153.js";import"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";import"./use-input-size-a5ed2a71.js";const f={class:"mx-auto max-w-2xl space-y-8 py-10 sm:px-6 lg:px-8"},h={class:"bg-white p-4 shadow sm:rounded-lg sm:p-8"},g={class:"bg-white p-4 shadow sm:rounded-lg sm:p-8"},e="Profile Settings",P=r({__name:"edit",props:{mustVerifyEmail:{type:Boolean},status:{}},setup(y){return(o,w)=>{const a=c,m=i;return p(),n(l,null,[t(a,{title:e}),t(m,{"page-title":e},{default:_(()=>[s("div",f,[s("div",h,[t(u,{"must-verify-email":o.mustVerifyEmail,status:o.status},null,8,["must-verify-email","status"])]),s("div",g,[t(d)])])]),_:1})],64)}}});export{P as default}; diff --git a/resources/dist/vendor/translations-ui/assets/edit-8d8a4099.js b/resources/dist/vendor/translations-ui/assets/edit-8d8a4099.js deleted file mode 100644 index ab656e0..0000000 --- a/resources/dist/vendor/translations-ui/assets/edit-8d8a4099.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as i}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js";import{d as r,o as p,h as n,b as t,w as _,f as s,F as l,Z as c}from"./app-f79836f7.js";import{_ as d}from"./user-update-password-form.vue_vue_type_script_setup_true_lang-e6a92dfb.js";import{_ as u}from"./user-update-profile-information-form.vue_vue_type_script_setup_true_lang-2884bd41.js";import"./icon-publish-2c3bbfd2.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-54a98bfe.js";import"./use-auth-b0f8b4d5.js";import"./transition-53b06f51.js";import"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import"./input-label.vue_vue_type_script_setup_true_lang-58f0b872.js";import"./icon-close-cd07b6ee.js";import"./input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js";import"./use-input-size-03843395.js";const f={class:"mx-auto max-w-2xl space-y-8 py-10 sm:px-6 lg:px-8"},h={class:"bg-white p-4 shadow sm:rounded-lg sm:p-8"},g={class:"bg-white p-4 shadow sm:rounded-lg sm:p-8"},e="Profile Settings",P=r({__name:"edit",props:{mustVerifyEmail:{type:Boolean},status:{}},setup(y){return(o,w)=>{const a=c,m=i;return p(),n(l,null,[t(a,{title:e}),t(m,{"page-title":e},{default:_(()=>[s("div",f,[s("div",h,[t(u,{"must-verify-email":o.mustVerifyEmail,status:o.status},null,8,["must-verify-email","status"])]),s("div",g,[t(d)])])]),_:1})],64)}}});export{P as default}; diff --git a/resources/dist/vendor/translations-ui/assets/edit-80b191ab.js b/resources/dist/vendor/translations-ui/assets/edit-cabf8dd2.js similarity index 88% rename from resources/dist/vendor/translations-ui/assets/edit-80b191ab.js rename to resources/dist/vendor/translations-ui/assets/edit-cabf8dd2.js index 118defc..d8e34e4 100644 --- a/resources/dist/vendor/translations-ui/assets/edit-80b191ab.js +++ b/resources/dist/vendor/translations-ui/assets/edit-cabf8dd2.js @@ -1 +1 @@ -import{_ as q}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js";import{u as J,_ as O,b as Q}from"./use-language-code-conversion-191bb3a4.js";import{_ as X}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as Y,a as C}from"./icon-key-cf61dcc2.js";import{_ as ee,a as se}from"./input-label.vue_vue_type_script_setup_true_lang-58f0b872.js";import{_ as te}from"./input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js";import{_ as V}from"./flag.vue_vue_type_script_setup_true_lang-1258a665.js";import{_ as oe}from"./icon-arrow-right-75251a2c.js";import{d as ne,T as ae,r as i,s as le,y as re,l as z,n as ie,o as p,h as f,b as s,w as l,f as e,t as u,p as k,c as ce,u as t,e as de,E as ue,a as pe,F as me,Z as _e,i as fe}from"./app-f79836f7.js";import{u as he}from"./index-899e9fa6.js";import{r as ge}from"./XCircleIcon-e68c9a12.js";import"./icon-publish-2c3bbfd2.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-54a98bfe.js";import"./use-auth-b0f8b4d5.js";import"./transition-53b06f51.js";import"./icon-pencil-9c3335bd.js";import"./icon-close-cd07b6ee.js";import"./use-input-size-03843395.js";const xe={class:"w-full bg-white shadow"},ve={class:"mx-auto flex w-full max-w-7xl items-center justify-between px-6 lg:px-8"},be={class:"flex w-full items-center"},we={class:"flex w-full items-center gap-3 py-4"},ye={class:"h-5 shrink-0"},Ce={class:"flex items-center space-x-2"},Ve=["textContent"],ze={class:"flex items-center gap-2 rounded-md border border-blue-100 bg-blue-50 px-2 py-1 text-blue-500"},ke=["textContent"],Se={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},$e={class:"flex w-full flex-col gap-8 lg:flex-row"},Be={class:"relative w-full overflow-hidden rounded-md bg-white shadow ring-2 ring-blue-100 focus-within:ring-blue-400"},Le={class:"flex items-center justify-between border-b px-4"},je={class:"flex gap-2 py-2.5"},Ie={class:"h-5 shrink-0"},Me={class:"flex items-center space-x-2"},Te=["textContent"],Fe=["textContent"],He={key:0,class:"rounded-md border border-red-400 bg-red-50 px-3 py-1"},Ne={class:"flex items-center gap-1"},De={class:"shrink-0"},Ee={class:"text-sm text-red-700"},Pe={class:"flex h-[calc(100%-80px)]"},Ue={class:"flex w-full items-center justify-center gap-4 border-t border-blue-200 px-4 py-1.5"},Ze={class:"flex w-full items-center"},Ae={class:"text-xs text-gray-400"},Ge=["disabled"],Ke={class:"w-full overflow-hidden rounded-md bg-white shadow ring-2 ring-blue-100"},Re={class:"flex min-h-[231px] flex-col p-4"},We={class:"w-full space-y-1"},qe={class:"mt-4 w-full space-y-1"},Je={class:"grid grid-cols-2 border-t border-blue-200"},Oe=e("span",{class:"flex w-auto"},"Save",-1),Qe=e("span",{class:"hidden md:flex"},"Translation",-1),Xe=e("div",{class:"relative flex size-full min-h-[250px] w-full items-center justify-center px-4 py-6"},[e("span",{class:"text-sm text-gray-500"},"Coming soon...")],-1),xs=ne({__name:"edit",props:{phrase:{},translation:{},source:{},similarPhrases:{},files:{}},setup(S){const r=S,o=ae({note:r.phrase.note||i(""),phrase:r.phrase.value||i(""),file:r.phrase.translation_file_id||i("")}),$=()=>{o.post(route("ltu.source_translation.update",r.phrase.uuid),{onSuccess:()=>{o.reset()}})},B=le(()=>r.files.map(n=>({value:n.id,label:n.nameWithExtension}))),{convertLanguageCode:L}=J(),j=i(1),I=i(1),M=r.phrase.value,c=L(r.translation.language.code),T=c||"en-US",F=i(void 0),m=he(M,{lang:T,pitch:I,rate:j});let h;const g=i([]);return re(()=>{m.isSupported.value&&setTimeout(()=>{h=window.speechSynthesis,g.value=h.getVoices(),F.value=g.value[0]})}),(n,a)=>{const H=_e,N=V,_=fe,x=oe,D=Y,E=V,P=C,U=O,v=ee,Z=te,b=se,A=C,G=X,K=Q,w=z("tab"),R=z("tabs"),W=q,y=ie("tooltip");return p(),f(me,null,[s(H,{title:"Translate"}),s(W,null,{default:l(()=>[e("div",xe,[e("div",ve,[e("div",be,[e("div",we,[s(_,{href:n.route("ltu.source_translation"),class:"flex items-center gap-2 rounded-md border border-transparent bg-gray-50 px-2 py-1 hover:border-blue-400 hover:bg-blue-100"},{default:l(()=>[e("div",ye,[s(N,{"country-code":n.translation.language.code,width:"w-5"},null,8,["country-code"])]),e("div",Ce,[e("div",{class:"text-sm font-semibold text-gray-600",textContent:u(n.translation.language.name)},null,8,Ve)])]),_:1},8,["href"]),e("div",null,[s(x,{class:"size-6 text-gray-400"})]),e("div",ze,[s(D,{class:"size-4"}),e("span",{class:"text-sm",textContent:u(n.phrase.key)},null,8,ke)])])]),k((p(),ce(_,{href:n.route("ltu.source_translation"),class:"flex size-10 items-center justify-center rounded-full bg-gray-100 p-1 hover:bg-gray-200"},{default:l(()=>[s(x,{class:"size-6 text-gray-400"})]),_:1},8,["href"])),[[y,"Go back"]])])]),e("div",Se,[e("div",$e,[e("div",Be,[e("div",Le,[e("div",je,[e("div",Ie,[s(E,{"country-code":n.translation.language.code},null,8,["country-code"])]),e("div",Me,[e("div",{class:"text-sm font-semibold text-gray-800",textContent:u(n.translation.language.name)},null,8,Te),e("div",{class:"rounded-md border px-1.5 py-0.5 text-xs text-gray-500",textContent:u(n.translation.language.code)},null,8,Fe)])]),t(o).errors.phrase?(p(),f("div",He,[e("div",Ne,[e("div",De,[s(t(ge),{class:"size-5 text-red-400","aria-hidden":"true"})]),e("div",Ee,u(t(o).errors.phrase),1)])])):de("",!0)]),e("div",Pe,[s(P,{id:"textArea",modelValue:t(o).phrase,"onUpdate:modelValue":a[0]||(a[0]=d=>t(o).phrase=d),rows:"7",autofocus:"",class:"size-full resize-none rounded-none border-none px-4 py-2.5 shadow-none ring-transparent focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0"},null,8,["modelValue"])]),e("div",Ue,[e("div",Ze,[e("span",Ae,"Characters Length: "+u(t(o).phrase.length),1)]),k((p(),f("button",{class:ue(["flex size-6 shrink-0 items-center justify-center text-gray-400",{"cursor-not-allowed opacity-50":!t(c),"hover:text-gray-700":t(c)}]),disabled:!t(c)&&!t(m).isPlaying.value,onClick:a[1]||(a[1]=d=>t(c)&&t(m).speak())},[s(U,{class:"size-5"})],10,Ge)),[[y,t(c)?"Speak":"Language not supported"]])])]),e("div",Ke,[e("div",Re,[e("div",We,[s(v,{for:"file",value:"File"}),s(Z,{id:"file",modelValue:t(o).file,"onUpdate:modelValue":a[2]||(a[2]=d=>t(o).file=d),size:"md",error:t(o).errors.file,items:B.value},null,8,["modelValue","error","items"]),s(b,{message:t(o).errors.file},null,8,["message"])]),e("div",qe,[s(v,{for:"note",value:"Translation note"}),s(A,{id:"note",modelValue:t(o).note,"onUpdate:modelValue":a[3]||(a[3]=d=>t(o).note=d),size:"md",rows:"3",class:"resize-none",error:t(o).errors.note,placeholder:"Add a note to this translation"},null,8,["modelValue","error"]),s(b,{message:t(o).errors.note},null,8,["message"])])]),e("div",Je,[s(_,{href:n.route("ltu.source_translation"),class:"flex items-center justify-center bg-blue-50 py-4 text-sm font-medium uppercase text-blue-600 hover:bg-blue-100"},{default:l(()=>[pe(" Cancel ")]),_:1},8,["href"]),s(G,{"is-loading":t(o).processing,variant:"primary",class:"items-center rounded-none py-4 !text-sm !font-medium uppercase",onClick:$},{default:l(()=>[Oe,Qe]),_:1},8,["is-loading"])])])]),s(R,null,{default:l(()=>[s(w,{prefix:'',name:"Similar"},{default:l(()=>[s(K,{"similar-phrases":n.similarPhrases},null,8,["similar-phrases"])]),_:1}),s(w,{name:"History",prefix:''},{default:l(()=>[Xe]),_:1})]),_:1})])]),_:1})],64)}}});export{xs as default}; +import{_ as q}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js";import{u as J,_ as O,b as Q}from"./use-language-code-conversion-0ef03612.js";import{_ as X}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as Y,a as C}from"./icon-key-2650eeaf.js";import{_ as ee,a as se}from"./input-label.vue_vue_type_script_setup_true_lang-b020cb97.js";import{_ as te}from"./input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js";import{_ as V}from"./flag.vue_vue_type_script_setup_true_lang-f8d12804.js";import{_ as oe}from"./icon-arrow-right-19101772.js";import{d as ne,T as ae,r as i,s as le,y as re,l as z,n as ie,o as p,h as f,b as s,w as l,f as e,t as u,p as k,c as ce,u as t,e as de,E as ue,a as pe,F as me,Z as _e,i as fe}from"./app-8d2ddf0a.js";import{u as he}from"./index-99365abf.js";import{r as ge}from"./XCircleIcon-71639424.js";import"./icon-publish-eaee4335.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-47b5a18d.js";import"./use-auth-9835d026.js";import"./transition-fb8d0e84.js";import"./icon-pencil-c97c2a6b.js";import"./icon-close-2c219153.js";import"./use-input-size-a5ed2a71.js";const xe={class:"w-full bg-white shadow"},ve={class:"mx-auto flex w-full max-w-7xl items-center justify-between px-6 lg:px-8"},be={class:"flex w-full items-center"},we={class:"flex w-full items-center gap-3 py-4"},ye={class:"h-5 shrink-0"},Ce={class:"flex items-center space-x-2"},Ve=["textContent"],ze={class:"flex items-center gap-2 rounded-md border border-blue-100 bg-blue-50 px-2 py-1 text-blue-500"},ke=["textContent"],Se={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},$e={class:"flex w-full flex-col gap-8 lg:flex-row"},Be={class:"relative w-full overflow-hidden rounded-md bg-white shadow ring-2 ring-blue-100 focus-within:ring-blue-400"},Le={class:"flex items-center justify-between border-b px-4"},je={class:"flex gap-2 py-2.5"},Ie={class:"h-5 shrink-0"},Me={class:"flex items-center space-x-2"},Te=["textContent"],Fe=["textContent"],He={key:0,class:"rounded-md border border-red-400 bg-red-50 px-3 py-1"},Ne={class:"flex items-center gap-1"},De={class:"shrink-0"},Ee={class:"text-sm text-red-700"},Pe={class:"flex h-[calc(100%-80px)]"},Ue={class:"flex w-full items-center justify-center gap-4 border-t border-blue-200 px-4 py-1.5"},Ze={class:"flex w-full items-center"},Ae={class:"text-xs text-gray-400"},Ge=["disabled"],Ke={class:"w-full overflow-hidden rounded-md bg-white shadow ring-2 ring-blue-100"},Re={class:"flex min-h-[231px] flex-col p-4"},We={class:"w-full space-y-1"},qe={class:"mt-4 w-full space-y-1"},Je={class:"grid grid-cols-2 border-t border-blue-200"},Oe=e("span",{class:"flex w-auto"},"Save",-1),Qe=e("span",{class:"hidden md:flex"},"Translation",-1),Xe=e("div",{class:"relative flex size-full min-h-[250px] w-full items-center justify-center px-4 py-6"},[e("span",{class:"text-sm text-gray-500"},"Coming soon...")],-1),xs=ne({__name:"edit",props:{phrase:{},translation:{},source:{},similarPhrases:{},files:{}},setup(S){const r=S,o=ae({note:r.phrase.note||i(""),phrase:r.phrase.value||i(""),file:r.phrase.translation_file_id||i("")}),$=()=>{o.post(route("ltu.source_translation.update",r.phrase.uuid),{onSuccess:()=>{o.reset()}})},B=le(()=>r.files.map(n=>({value:n.id,label:n.nameWithExtension}))),{convertLanguageCode:L}=J(),j=i(1),I=i(1),M=r.phrase.value,c=L(r.translation.language.code),T=c||"en-US",F=i(void 0),m=he(M,{lang:T,pitch:I,rate:j});let h;const g=i([]);return re(()=>{m.isSupported.value&&setTimeout(()=>{h=window.speechSynthesis,g.value=h.getVoices(),F.value=g.value[0]})}),(n,a)=>{const H=_e,N=V,_=fe,x=oe,D=Y,E=V,P=C,U=O,v=ee,Z=te,b=se,A=C,G=X,K=Q,w=z("tab"),R=z("tabs"),W=q,y=ie("tooltip");return p(),f(me,null,[s(H,{title:"Translate"}),s(W,null,{default:l(()=>[e("div",xe,[e("div",ve,[e("div",be,[e("div",we,[s(_,{href:n.route("ltu.source_translation"),class:"flex items-center gap-2 rounded-md border border-transparent bg-gray-50 px-2 py-1 hover:border-blue-400 hover:bg-blue-100"},{default:l(()=>[e("div",ye,[s(N,{"country-code":n.translation.language.code,width:"w-5"},null,8,["country-code"])]),e("div",Ce,[e("div",{class:"text-sm font-semibold text-gray-600",textContent:u(n.translation.language.name)},null,8,Ve)])]),_:1},8,["href"]),e("div",null,[s(x,{class:"size-6 text-gray-400"})]),e("div",ze,[s(D,{class:"size-4"}),e("span",{class:"text-sm",textContent:u(n.phrase.key)},null,8,ke)])])]),k((p(),ce(_,{href:n.route("ltu.source_translation"),class:"flex size-10 items-center justify-center rounded-full bg-gray-100 p-1 hover:bg-gray-200"},{default:l(()=>[s(x,{class:"size-6 text-gray-400"})]),_:1},8,["href"])),[[y,"Go back"]])])]),e("div",Se,[e("div",$e,[e("div",Be,[e("div",Le,[e("div",je,[e("div",Ie,[s(E,{"country-code":n.translation.language.code},null,8,["country-code"])]),e("div",Me,[e("div",{class:"text-sm font-semibold text-gray-800",textContent:u(n.translation.language.name)},null,8,Te),e("div",{class:"rounded-md border px-1.5 py-0.5 text-xs text-gray-500",textContent:u(n.translation.language.code)},null,8,Fe)])]),t(o).errors.phrase?(p(),f("div",He,[e("div",Ne,[e("div",De,[s(t(ge),{class:"size-5 text-red-400","aria-hidden":"true"})]),e("div",Ee,u(t(o).errors.phrase),1)])])):de("",!0)]),e("div",Pe,[s(P,{id:"textArea",modelValue:t(o).phrase,"onUpdate:modelValue":a[0]||(a[0]=d=>t(o).phrase=d),rows:"7",autofocus:"",class:"size-full resize-none rounded-none border-none px-4 py-2.5 shadow-none ring-transparent focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0"},null,8,["modelValue"])]),e("div",Ue,[e("div",Ze,[e("span",Ae,"Characters Length: "+u(t(o).phrase.length),1)]),k((p(),f("button",{class:ue(["flex size-6 shrink-0 items-center justify-center text-gray-400",{"cursor-not-allowed opacity-50":!t(c),"hover:text-gray-700":t(c)}]),disabled:!t(c)&&!t(m).isPlaying.value,onClick:a[1]||(a[1]=d=>t(c)&&t(m).speak())},[s(U,{class:"size-5"})],10,Ge)),[[y,t(c)?"Speak":"Language not supported"]])])]),e("div",Ke,[e("div",Re,[e("div",We,[s(v,{for:"file",value:"File"}),s(Z,{id:"file",modelValue:t(o).file,"onUpdate:modelValue":a[2]||(a[2]=d=>t(o).file=d),size:"md",error:t(o).errors.file,items:B.value},null,8,["modelValue","error","items"]),s(b,{message:t(o).errors.file},null,8,["message"])]),e("div",qe,[s(v,{for:"note",value:"Translation note"}),s(A,{id:"note",modelValue:t(o).note,"onUpdate:modelValue":a[3]||(a[3]=d=>t(o).note=d),size:"md",rows:"3",class:"resize-none",error:t(o).errors.note,placeholder:"Add a note to this translation"},null,8,["modelValue","error"]),s(b,{message:t(o).errors.note},null,8,["message"])])]),e("div",Je,[s(_,{href:n.route("ltu.source_translation"),class:"flex items-center justify-center bg-blue-50 py-4 text-sm font-medium uppercase text-blue-600 hover:bg-blue-100"},{default:l(()=>[pe(" Cancel ")]),_:1},8,["href"]),s(G,{"is-loading":t(o).processing,variant:"primary",class:"items-center rounded-none py-4 !text-sm !font-medium uppercase",onClick:$},{default:l(()=>[Oe,Qe]),_:1},8,["is-loading"])])])]),s(R,null,{default:l(()=>[s(w,{prefix:'',name:"Similar"},{default:l(()=>[s(K,{"similar-phrases":n.similarPhrases},null,8,["similar-phrases"])]),_:1}),s(w,{name:"History",prefix:''},{default:l(()=>[Xe]),_:1})]),_:1})])]),_:1})],64)}}});export{xs as default}; diff --git a/resources/dist/vendor/translations-ui/assets/edit-6dc64edd.js b/resources/dist/vendor/translations-ui/assets/edit-dbb67e4d.js similarity index 93% rename from resources/dist/vendor/translations-ui/assets/edit-6dc64edd.js rename to resources/dist/vendor/translations-ui/assets/edit-dbb67e4d.js index 333eb99..eca2602 100644 --- a/resources/dist/vendor/translations-ui/assets/edit-6dc64edd.js +++ b/resources/dist/vendor/translations-ui/assets/edit-dbb67e4d.js @@ -1 +1 @@ -import{_ as ie}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js";import{u as A,_ as F,r as ce,a as de,b as ue}from"./use-language-code-conversion-191bb3a4.js";import{_ as pe}from"./icon-language-aa39478f.js";import{_ as G}from"./_plugin-vue_export-helper-c27b6911.js";import{o as n,h as a,f as e,d as I,r as _,y as K,n as W,b as t,t as p,p as h,u as o,E as q,F as O,q as _e,c as z,T as he,l as N,w as u,e as me,a as ge,Z as fe,i as ve}from"./app-f79836f7.js";import{u as R}from"./index-899e9fa6.js";import{_ as xe}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as ye,a as be}from"./icon-key-cf61dcc2.js";import{_ as we}from"./icon-trash-5b13c52f.js";import{_ as Ce}from"./icon-pencil-9c3335bd.js";import{_ as Le}from"./icon-clipboard-b22b0eec.js";import{_ as E}from"./flag.vue_vue_type_script_setup_true_lang-1258a665.js";import{_ as $e}from"./icon-arrow-right-75251a2c.js";import{r as ke}from"./XCircleIcon-e68c9a12.js";import"./icon-publish-2c3bbfd2.js";import"./logo-54a98bfe.js";import"./use-auth-b0f8b4d5.js";import"./transition-53b06f51.js";const ze={},Te={viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"},He=e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14 2.25H7.16L6.5 0H2C1.175 0 0.5 0.675 0.5 1.5V11.25C0.5 12.075 1.175 12.75 2 12.75H7.25L8 15H14C14.825 15 15.5 14.325 15.5 13.5V3.75C15.5 2.925 14.825 2.25 14 2.25ZM4.3775 9.4425C2.69 9.4425 1.31 8.07 1.31 6.375C1.31 4.68 2.6825 3.3075 4.3775 3.3075C5.1575 3.3075 5.87 3.585 6.4325 4.11L6.485 4.155L5.5625 5.04L5.5175 5.0025C5.3 4.8 4.9325 4.56 4.3775 4.56C3.395 4.56 2.5925 5.3775 2.5925 6.375C2.5925 7.3725 3.395 8.19 4.3775 8.19C5.405 8.19 5.8475 7.5375 5.9675 7.095H4.31V5.9325H7.2725L7.28 5.985C7.31 6.1425 7.3175 6.285 7.3175 6.4425C7.3175 8.205 6.11 9.4425 4.3775 9.4425ZM9.7925 9.435C9.455 9.045 9.1475 8.61 8.9 8.16L9.3875 9.8325L9.7925 9.435ZM9.4775 7.59H8.735L8.5025 6.81H11.495C11.495 6.81 11.24 7.7925 10.325 8.865C9.935 8.4 9.6575 7.9425 9.4775 7.59ZM14 14.25C14.4125 14.25 14.75 13.9125 14.75 13.5V3.75C14.75 3.3375 14.4125 3 14 3H7.385L8.27 6.03H9.74V5.25H10.52V6.03H13.25V6.81H12.2975C12.0575 7.755 11.5325 8.67 10.8575 9.4425L12.89 11.4525L12.3425 12L10.3325 9.9825L9.6425 10.6725L10.25 12.75L8.75 14.25H14Z"},null,-1),Ve=[He];function Me(m,i){return n(),a("svg",Te,Ve)}const Se=G(ze,[["render",Me]]),je={class:"flex flex-wrap divide-x"},Be={class:"px-4 py-3 md:w-64"},Ie={class:"mt-2 flex items-center"},Ze=["textContent"],De={class:"flex flex-1 items-center px-4 py-3"},Pe={class:"text-gray-700"},Ue={class:"flex divide-x"},Ne=["disabled"],Ee=I({__name:"machine-translate-item",props:{language:{},phrase:{}},emits:["useTranslation"],setup(m,{emit:i}){const l=m,y=i,d=s=>{y("useTranslation",s)},{convertLanguageCode:$}=A(),b=_(1),g=_(1),T=l.phrase.value,r=$(l.language),H=r||"en-US",k=_(void 0),f=R(T,{lang:H,voice:k,pitch:g,rate:b});let w;const C=_([]);return K(()=>{f.isSupported.value&&setTimeout(()=>{w=window.speechSynthesis,C.value=w.getVoices(),k.value=C.value[0]})}),(s,c)=>{const V=Se,M=pe,v=F,x=W("tooltip");return n(),a("div",je,[e("div",Be,[e("div",Ie,[t(V,{class:"mr-2 size-4 text-gray-500"}),e("div",{class:"text-sm font-medium text-gray-700",textContent:p(s.phrase.engine)},null,8,Ze)])]),e("div",De,[e("span",Pe,p(s.phrase.value),1)]),e("div",Ue,[h((n(),a("button",{class:"flex w-14 items-center justify-center px-4 py-3 text-gray-400 transition-colors duration-100 hover:bg-blue-100 hover:text-blue-600",onClick:c[0]||(c[0]=S=>d(s.phrase.value))},[t(M,{class:"size-6"})])),[[x,"Use this"]]),h((n(),a("button",{class:q(["flex w-14 items-center justify-center px-4 py-3 text-gray-400 transition-colors duration-100",{"cursor-not-allowed opacity-50":!o(r)," hover:bg-blue-100 hover:text-blue-600":o(r)}]),disabled:!o(r),onClick:c[1]||(c[1]=S=>o(r)&&o(f).speak())},[t(v,{class:"size-6"})],10,Ne)),[[x,o(r)?"Speak":"Language not supported"]])])])}}}),Ae={key:0,class:"flex w-full flex-col divide-y"},Fe=e("div",{class:"flex h-20 w-full items-center justify-center px-4 py-6"},[e("span",{class:"text-sm text-gray-500"},"More integrations coming in next releases...")],-1),Ge={key:1,class:"relative flex size-full min-h-[250px]"},Ke={class:"absolute left-0 top-0 flex min-h-full w-full flex-col items-center justify-center backdrop-blur-sm"},We=e("span",{class:"mt-4 text-gray-500"},"No suggestions found...",-1),qe=I({__name:"machine-translate",props:{language:{},suggestedTranslations:{}},emits:["useTranslation"],setup(m,{emit:i}){const l=i,y=d=>{l("useTranslation",d)};return(d,$)=>{const b=Ee;return Object.keys(d.suggestedTranslations).length>0?(n(),a("div",Ae,[(n(!0),a(O,null,_e(d.suggestedTranslations,g=>(n(),z(b,{key:g.id,phrase:g,language:d.language,onUseTranslation:y},null,8,["phrase","language"]))),128)),Fe])):(n(),a("div",Ge,[e("div",Ke,[t(o(ce),{class:"size-12 text-gray-200"}),We])]))}}}),Oe={},Re={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},Je=e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"},null,-1),Qe=[Je];function Xe(m,i){return n(),a("svg",Re,Qe)}const Ye=G(Oe,[["render",Xe]]),es={class:"w-full bg-white shadow"},ss={class:"mx-auto flex w-full max-w-7xl items-center justify-between px-6 lg:px-8"},ts={class:"flex w-full items-center"},os={class:"flex w-full items-center gap-3 py-4"},ns={class:"h-5 shrink-0"},as={class:"flex items-center space-x-2"},ls=["textContent"],rs={class:"flex items-center gap-2 rounded-md border border-blue-100 bg-blue-50 px-2 py-1 text-blue-500"},is=["textContent"],cs={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},ds={class:"flex w-full flex-col lg:flex-row"},us={class:"relative w-full overflow-hidden rounded-md bg-white shadow ring-2 ring-blue-100"},ps={class:"flex items-center justify-between border-b"},_s={class:"flex gap-2 px-4 py-2.5"},hs={class:"h-5 shrink-0"},ms={class:"flex items-center space-x-2"},gs=["textContent"],fs=["textContent"],vs={class:"flex items-center divide-x border-l"},xs={type:"button",class:"group h-full p-3 hover:bg-red-50"},ys={dir:"auto",class:"flex min-h-[204px] w-full px-4 py-2.5"},bs={class:"flex size-full flex-wrap gap-x-1 gap-y-0.5"},ws={key:1,class:"flex h-full text-gray-600"},Cs={class:"flex w-full items-center justify-center gap-4 border-t border-blue-200 px-4 py-1.5"},Ls={class:"flex w-full select-none items-center gap-1 text-gray-400"},$s=["innerHTML"],ks=["disabled"],zs={class:"flex h-16 w-full items-center justify-center lg:h-auto lg:w-32"},Ts={class:"w-full overflow-hidden rounded-md bg-white shadow ring-2 ring-blue-100 focus-within:ring-blue-400"},Hs={class:"flex items-center justify-between border-b px-4"},Vs={class:"flex gap-2 py-2.5"},Ms={class:"h-5 shrink-0"},Ss={class:"flex items-center space-x-2"},js=["textContent"],Bs=["textContent"],Is={key:0,class:"rounded-md border border-red-400 bg-red-50 px-3 py-1"},Zs={class:"flex items-center gap-1"},Ds={class:"shrink-0"},Ps={class:"text-sm text-red-700"},Us={class:"flex"},Ns={class:"grid grid-cols-2 border-t border-blue-200"},Es=e("span",{class:"flex w-auto"},"Save",-1),As=e("span",{class:"hidden md:flex"},"Translation",-1),Fs=e("div",{class:"flex h-48 w-full items-center justify-center px-4 py-6"},[e("span",{class:"text-sm text-gray-500"},"Coming soon...")],-1),it=I({__name:"edit",props:{phrase:{},translation:{},source:{},similarPhrases:{},suggestedTranslations:{}},setup(m){const i=m,l=he({phrase:_(i.phrase.value)||_("")}),y=()=>{l.post(route("ltu.phrases.update",{translation:i.translation.id,phrase:i.phrase.uuid}),{onSuccess:()=>{l.reset()}})},d=s=>{l.phrase=s},{convertLanguageCode:$}=A(),b=_(1),g=_(1),T=i.phrase.value,r=$(i.translation.language.code),H=r||"en-US",k=_(void 0),f=R(T,{lang:H,pitch:g,rate:b});let w;const C=_([]);return K(()=>{f.isSupported.value&&setTimeout(()=>{w=window.speechSynthesis,C.value=w.getVoices(),k.value=C.value[0]})}),(s,c)=>{const V=fe,M=E,v=ve,x=$e,S=ye,Z=E,J=Le,Q=Ce,X=we,Y=de,ee=Ye,se=F,te=be,oe=xe,ne=qe,j=N("tab"),ae=ue,le=N("tabs"),re=ie,L=W("tooltip");return n(),a(O,null,[t(V,{title:"Translate"}),t(re,null,{default:u(()=>{var D,P,U;return[e("div",es,[e("div",ss,[e("div",ts,[e("div",os,[t(v,{href:s.route("ltu.phrases.index",s.translation.id),class:"flex items-center gap-2 rounded-md border border-transparent bg-gray-50 px-2 py-1 hover:border-blue-400 hover:bg-blue-100"},{default:u(()=>[e("div",ns,[t(M,{"country-code":s.translation.language.code,width:"w-5"},null,8,["country-code"])]),e("div",as,[e("div",{class:"text-sm font-semibold text-gray-600",textContent:p(s.translation.language.name)},null,8,ls)])]),_:1},8,["href"]),e("div",null,[t(x,{class:"size-6 text-gray-400"})]),e("div",rs,[t(S,{class:"size-4"}),e("span",{class:"text-sm",textContent:p(s.phrase.key)},null,8,is)])])]),h((n(),z(v,{href:s.route("ltu.phrases.index",s.translation.id),class:"flex size-10 items-center justify-center rounded-full bg-gray-100 p-1 hover:bg-gray-200"},{default:u(()=>[t(x,{class:"size-6 text-gray-400"})]),_:1},8,["href"])),[[L,"Go back"]])])]),e("div",cs,[e("div",ds,[e("div",us,[e("div",ps,[e("div",_s,[e("div",hs,[t(Z,{"country-code":s.source.language.code},null,8,["country-code"])]),e("div",ms,[e("div",{class:"text-sm font-semibold text-gray-800",textContent:p(s.source.language.name)},null,8,gs),e("div",{class:"rounded-md border px-1.5 py-0.5 text-xs text-gray-500",textContent:p(s.source.language.code)},null,8,fs)])]),e("div",vs,[h((n(),a("button",{type:"button",class:"group h-full p-3 hover:bg-blue-50",onClick:c[0]||(c[0]=B=>d(s.phrase.source.value))},[t(J,{class:"size-5 text-gray-400 group-hover:text-blue-600"})])),[[L,"Copy"]]),h((n(),z(v,{href:s.route("ltu.source_translation.edit",s.phrase.source.uuid),type:"button",class:"group h-full p-3 hover:bg-blue-50"},{default:u(()=>[t(Q,{class:"size-5 text-gray-400 group-hover:text-blue-600"})]),_:1},8,["href"])),[[L,"Edit Source Key"]]),h((n(),a("button",xs,[t(X,{class:"size-5 text-gray-400 group-hover:text-red-600"})])),[[L,"Delete"]])])]),e("div",ys,[e("div",bs,[(D=s.phrase.source)!=null&&D.value_html.length?(n(),z(Y,{key:0,phrase:s.phrase.source.value_html,copyable:""},null,8,["phrase"])):(n(),a("div",ws,p((P=s.phrase.source)==null?void 0:P.value),1))])]),e("div",Cs,[e("div",Ls,[t(ee,{class:"size-4"}),e("div",{class:"text-xs",innerHTML:(U=s.phrase.source)==null?void 0:U.file.nameWithExtension},null,8,$s)]),h((n(),a("button",{class:q(["flex size-6 shrink-0 items-center justify-center text-gray-400",{"cursor-not-allowed opacity-50":!o(r),"hover:text-gray-700":o(r)}]),disabled:!o(r)&&!o(f).isPlaying.value,onClick:c[1]||(c[1]=B=>o(r)&&o(f).speak())},[t(se,{class:"size-5"})],10,ks)),[[L,o(r)?"Speak":"Language not supported"]])])]),e("div",zs,[t(x,{class:"size-10 rotate-90 text-blue-200 lg:rotate-0"})]),e("div",Ts,[e("div",Hs,[e("div",Vs,[e("div",Ms,[t(Z,{"country-code":s.translation.language.code},null,8,["country-code"])]),e("div",Ss,[e("div",{class:"text-sm font-semibold text-gray-800",textContent:p(s.translation.language.name)},null,8,js),e("div",{class:"rounded-md border px-1.5 py-0.5 text-xs text-gray-500",textContent:p(s.translation.language.code)},null,8,Bs)])]),o(l).errors.phrase?(n(),a("div",Is,[e("div",Zs,[e("div",Ds,[t(o(ke),{class:"size-5 text-red-400","aria-hidden":"true"})]),e("div",Ps,p(o(l).errors.phrase),1)])])):me("",!0)]),e("div",Us,[t(te,{id:"textArea",modelValue:o(l).phrase,"onUpdate:modelValue":c[2]||(c[2]=B=>o(l).phrase=B),dir:"auto",rows:"7",autofocus:"",class:"size-full resize-none rounded-none border-none px-4 py-2.5 shadow-none ring-transparent focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0"},null,8,["modelValue"])]),e("div",Ns,[t(v,{href:s.route("ltu.phrases.index",s.translation.id),class:"flex items-center justify-center bg-blue-50 py-4 text-sm font-medium uppercase text-blue-600 hover:bg-blue-100"},{default:u(()=>[ge(" Cancel ")]),_:1},8,["href"]),t(oe,{"is-loading":o(l).processing,variant:"primary",class:"items-center rounded-none !py-4 !text-sm !font-medium uppercase",onClick:y},{default:u(()=>[Es,As]),_:1},8,["is-loading"])])])]),t(le,null,{default:u(()=>[t(j,{name:"Suggestions",class:"w-full",prefix:''},{default:u(()=>[t(ne,{"suggested-translations":s.suggestedTranslations,language:s.translation.language.code,onUseTranslation:d},null,8,["suggested-translations","language"])]),_:1}),t(j,{prefix:'',name:"Similar"},{default:u(()=>[t(ae,{"similar-phrases":s.similarPhrases},null,8,["similar-phrases"])]),_:1}),t(j,{prefix:'',name:"Versions"},{default:u(()=>[Fs]),_:1})]),_:1})])]}),_:1})],64)}}});export{it as default}; +import{_ as ie}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js";import{u as A,_ as F,r as ce,a as de,b as ue}from"./use-language-code-conversion-0ef03612.js";import{_ as pe}from"./icon-language-e9642115.js";import{_ as G}from"./_plugin-vue_export-helper-c27b6911.js";import{o as n,h as a,f as e,d as I,r as _,y as K,n as W,b as t,t as p,p as h,u as o,E as q,F as O,q as _e,c as z,T as he,l as N,w as u,e as me,a as ge,Z as fe,i as ve}from"./app-8d2ddf0a.js";import{u as R}from"./index-99365abf.js";import{_ as xe}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as ye,a as be}from"./icon-key-2650eeaf.js";import{_ as we}from"./icon-trash-62f8df5f.js";import{_ as Ce}from"./icon-pencil-c97c2a6b.js";import{_ as Le}from"./icon-clipboard-d7e55528.js";import{_ as E}from"./flag.vue_vue_type_script_setup_true_lang-f8d12804.js";import{_ as $e}from"./icon-arrow-right-19101772.js";import{r as ke}from"./XCircleIcon-71639424.js";import"./icon-publish-eaee4335.js";import"./logo-47b5a18d.js";import"./use-auth-9835d026.js";import"./transition-fb8d0e84.js";const ze={},Te={viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"},He=e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14 2.25H7.16L6.5 0H2C1.175 0 0.5 0.675 0.5 1.5V11.25C0.5 12.075 1.175 12.75 2 12.75H7.25L8 15H14C14.825 15 15.5 14.325 15.5 13.5V3.75C15.5 2.925 14.825 2.25 14 2.25ZM4.3775 9.4425C2.69 9.4425 1.31 8.07 1.31 6.375C1.31 4.68 2.6825 3.3075 4.3775 3.3075C5.1575 3.3075 5.87 3.585 6.4325 4.11L6.485 4.155L5.5625 5.04L5.5175 5.0025C5.3 4.8 4.9325 4.56 4.3775 4.56C3.395 4.56 2.5925 5.3775 2.5925 6.375C2.5925 7.3725 3.395 8.19 4.3775 8.19C5.405 8.19 5.8475 7.5375 5.9675 7.095H4.31V5.9325H7.2725L7.28 5.985C7.31 6.1425 7.3175 6.285 7.3175 6.4425C7.3175 8.205 6.11 9.4425 4.3775 9.4425ZM9.7925 9.435C9.455 9.045 9.1475 8.61 8.9 8.16L9.3875 9.8325L9.7925 9.435ZM9.4775 7.59H8.735L8.5025 6.81H11.495C11.495 6.81 11.24 7.7925 10.325 8.865C9.935 8.4 9.6575 7.9425 9.4775 7.59ZM14 14.25C14.4125 14.25 14.75 13.9125 14.75 13.5V3.75C14.75 3.3375 14.4125 3 14 3H7.385L8.27 6.03H9.74V5.25H10.52V6.03H13.25V6.81H12.2975C12.0575 7.755 11.5325 8.67 10.8575 9.4425L12.89 11.4525L12.3425 12L10.3325 9.9825L9.6425 10.6725L10.25 12.75L8.75 14.25H14Z"},null,-1),Ve=[He];function Me(m,i){return n(),a("svg",Te,Ve)}const Se=G(ze,[["render",Me]]),je={class:"flex flex-wrap divide-x"},Be={class:"px-4 py-3 md:w-64"},Ie={class:"mt-2 flex items-center"},Ze=["textContent"],De={class:"flex flex-1 items-center px-4 py-3"},Pe={class:"text-gray-700"},Ue={class:"flex divide-x"},Ne=["disabled"],Ee=I({__name:"machine-translate-item",props:{language:{},phrase:{}},emits:["useTranslation"],setup(m,{emit:i}){const l=m,y=i,d=s=>{y("useTranslation",s)},{convertLanguageCode:$}=A(),b=_(1),g=_(1),T=l.phrase.value,r=$(l.language),H=r||"en-US",k=_(void 0),f=R(T,{lang:H,voice:k,pitch:g,rate:b});let w;const C=_([]);return K(()=>{f.isSupported.value&&setTimeout(()=>{w=window.speechSynthesis,C.value=w.getVoices(),k.value=C.value[0]})}),(s,c)=>{const V=Se,M=pe,v=F,x=W("tooltip");return n(),a("div",je,[e("div",Be,[e("div",Ie,[t(V,{class:"mr-2 size-4 text-gray-500"}),e("div",{class:"text-sm font-medium text-gray-700",textContent:p(s.phrase.engine)},null,8,Ze)])]),e("div",De,[e("span",Pe,p(s.phrase.value),1)]),e("div",Ue,[h((n(),a("button",{class:"flex w-14 items-center justify-center px-4 py-3 text-gray-400 transition-colors duration-100 hover:bg-blue-100 hover:text-blue-600",onClick:c[0]||(c[0]=S=>d(s.phrase.value))},[t(M,{class:"size-6"})])),[[x,"Use this"]]),h((n(),a("button",{class:q(["flex w-14 items-center justify-center px-4 py-3 text-gray-400 transition-colors duration-100",{"cursor-not-allowed opacity-50":!o(r)," hover:bg-blue-100 hover:text-blue-600":o(r)}]),disabled:!o(r),onClick:c[1]||(c[1]=S=>o(r)&&o(f).speak())},[t(v,{class:"size-6"})],10,Ne)),[[x,o(r)?"Speak":"Language not supported"]])])])}}}),Ae={key:0,class:"flex w-full flex-col divide-y"},Fe=e("div",{class:"flex h-20 w-full items-center justify-center px-4 py-6"},[e("span",{class:"text-sm text-gray-500"},"More integrations coming in next releases...")],-1),Ge={key:1,class:"relative flex size-full min-h-[250px]"},Ke={class:"absolute left-0 top-0 flex min-h-full w-full flex-col items-center justify-center backdrop-blur-sm"},We=e("span",{class:"mt-4 text-gray-500"},"No suggestions found...",-1),qe=I({__name:"machine-translate",props:{language:{},suggestedTranslations:{}},emits:["useTranslation"],setup(m,{emit:i}){const l=i,y=d=>{l("useTranslation",d)};return(d,$)=>{const b=Ee;return Object.keys(d.suggestedTranslations).length>0?(n(),a("div",Ae,[(n(!0),a(O,null,_e(d.suggestedTranslations,g=>(n(),z(b,{key:g.id,phrase:g,language:d.language,onUseTranslation:y},null,8,["phrase","language"]))),128)),Fe])):(n(),a("div",Ge,[e("div",Ke,[t(o(ce),{class:"size-12 text-gray-200"}),We])]))}}}),Oe={},Re={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},Je=e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"},null,-1),Qe=[Je];function Xe(m,i){return n(),a("svg",Re,Qe)}const Ye=G(Oe,[["render",Xe]]),es={class:"w-full bg-white shadow"},ss={class:"mx-auto flex w-full max-w-7xl items-center justify-between px-6 lg:px-8"},ts={class:"flex w-full items-center"},os={class:"flex w-full items-center gap-3 py-4"},ns={class:"h-5 shrink-0"},as={class:"flex items-center space-x-2"},ls=["textContent"],rs={class:"flex items-center gap-2 rounded-md border border-blue-100 bg-blue-50 px-2 py-1 text-blue-500"},is=["textContent"],cs={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},ds={class:"flex w-full flex-col lg:flex-row"},us={class:"relative w-full overflow-hidden rounded-md bg-white shadow ring-2 ring-blue-100"},ps={class:"flex items-center justify-between border-b"},_s={class:"flex gap-2 px-4 py-2.5"},hs={class:"h-5 shrink-0"},ms={class:"flex items-center space-x-2"},gs=["textContent"],fs=["textContent"],vs={class:"flex items-center divide-x border-l"},xs={type:"button",class:"group h-full p-3 hover:bg-red-50"},ys={dir:"auto",class:"flex min-h-[204px] w-full px-4 py-2.5"},bs={class:"flex size-full flex-wrap gap-x-1 gap-y-0.5"},ws={key:1,class:"flex h-full text-gray-600"},Cs={class:"flex w-full items-center justify-center gap-4 border-t border-blue-200 px-4 py-1.5"},Ls={class:"flex w-full select-none items-center gap-1 text-gray-400"},$s=["innerHTML"],ks=["disabled"],zs={class:"flex h-16 w-full items-center justify-center lg:h-auto lg:w-32"},Ts={class:"w-full overflow-hidden rounded-md bg-white shadow ring-2 ring-blue-100 focus-within:ring-blue-400"},Hs={class:"flex items-center justify-between border-b px-4"},Vs={class:"flex gap-2 py-2.5"},Ms={class:"h-5 shrink-0"},Ss={class:"flex items-center space-x-2"},js=["textContent"],Bs=["textContent"],Is={key:0,class:"rounded-md border border-red-400 bg-red-50 px-3 py-1"},Zs={class:"flex items-center gap-1"},Ds={class:"shrink-0"},Ps={class:"text-sm text-red-700"},Us={class:"flex"},Ns={class:"grid grid-cols-2 border-t border-blue-200"},Es=e("span",{class:"flex w-auto"},"Save",-1),As=e("span",{class:"hidden md:flex"},"Translation",-1),Fs=e("div",{class:"flex h-48 w-full items-center justify-center px-4 py-6"},[e("span",{class:"text-sm text-gray-500"},"Coming soon...")],-1),it=I({__name:"edit",props:{phrase:{},translation:{},source:{},similarPhrases:{},suggestedTranslations:{}},setup(m){const i=m,l=he({phrase:_(i.phrase.value)||_("")}),y=()=>{l.post(route("ltu.phrases.update",{translation:i.translation.id,phrase:i.phrase.uuid}),{onSuccess:()=>{l.reset()}})},d=s=>{l.phrase=s},{convertLanguageCode:$}=A(),b=_(1),g=_(1),T=i.phrase.value,r=$(i.translation.language.code),H=r||"en-US",k=_(void 0),f=R(T,{lang:H,pitch:g,rate:b});let w;const C=_([]);return K(()=>{f.isSupported.value&&setTimeout(()=>{w=window.speechSynthesis,C.value=w.getVoices(),k.value=C.value[0]})}),(s,c)=>{const V=fe,M=E,v=ve,x=$e,S=ye,Z=E,J=Le,Q=Ce,X=we,Y=de,ee=Ye,se=F,te=be,oe=xe,ne=qe,j=N("tab"),ae=ue,le=N("tabs"),re=ie,L=W("tooltip");return n(),a(O,null,[t(V,{title:"Translate"}),t(re,null,{default:u(()=>{var D,P,U;return[e("div",es,[e("div",ss,[e("div",ts,[e("div",os,[t(v,{href:s.route("ltu.phrases.index",s.translation.id),class:"flex items-center gap-2 rounded-md border border-transparent bg-gray-50 px-2 py-1 hover:border-blue-400 hover:bg-blue-100"},{default:u(()=>[e("div",ns,[t(M,{"country-code":s.translation.language.code,width:"w-5"},null,8,["country-code"])]),e("div",as,[e("div",{class:"text-sm font-semibold text-gray-600",textContent:p(s.translation.language.name)},null,8,ls)])]),_:1},8,["href"]),e("div",null,[t(x,{class:"size-6 text-gray-400"})]),e("div",rs,[t(S,{class:"size-4"}),e("span",{class:"text-sm",textContent:p(s.phrase.key)},null,8,is)])])]),h((n(),z(v,{href:s.route("ltu.phrases.index",s.translation.id),class:"flex size-10 items-center justify-center rounded-full bg-gray-100 p-1 hover:bg-gray-200"},{default:u(()=>[t(x,{class:"size-6 text-gray-400"})]),_:1},8,["href"])),[[L,"Go back"]])])]),e("div",cs,[e("div",ds,[e("div",us,[e("div",ps,[e("div",_s,[e("div",hs,[t(Z,{"country-code":s.source.language.code},null,8,["country-code"])]),e("div",ms,[e("div",{class:"text-sm font-semibold text-gray-800",textContent:p(s.source.language.name)},null,8,gs),e("div",{class:"rounded-md border px-1.5 py-0.5 text-xs text-gray-500",textContent:p(s.source.language.code)},null,8,fs)])]),e("div",vs,[h((n(),a("button",{type:"button",class:"group h-full p-3 hover:bg-blue-50",onClick:c[0]||(c[0]=B=>d(s.phrase.source.value))},[t(J,{class:"size-5 text-gray-400 group-hover:text-blue-600"})])),[[L,"Copy"]]),h((n(),z(v,{href:s.route("ltu.source_translation.edit",s.phrase.source.uuid),type:"button",class:"group h-full p-3 hover:bg-blue-50"},{default:u(()=>[t(Q,{class:"size-5 text-gray-400 group-hover:text-blue-600"})]),_:1},8,["href"])),[[L,"Edit Source Key"]]),h((n(),a("button",xs,[t(X,{class:"size-5 text-gray-400 group-hover:text-red-600"})])),[[L,"Delete"]])])]),e("div",ys,[e("div",bs,[(D=s.phrase.source)!=null&&D.value_html.length?(n(),z(Y,{key:0,phrase:s.phrase.source.value_html,copyable:""},null,8,["phrase"])):(n(),a("div",ws,p((P=s.phrase.source)==null?void 0:P.value),1))])]),e("div",Cs,[e("div",Ls,[t(ee,{class:"size-4"}),e("div",{class:"text-xs",innerHTML:(U=s.phrase.source)==null?void 0:U.file.nameWithExtension},null,8,$s)]),h((n(),a("button",{class:q(["flex size-6 shrink-0 items-center justify-center text-gray-400",{"cursor-not-allowed opacity-50":!o(r),"hover:text-gray-700":o(r)}]),disabled:!o(r)&&!o(f).isPlaying.value,onClick:c[1]||(c[1]=B=>o(r)&&o(f).speak())},[t(se,{class:"size-5"})],10,ks)),[[L,o(r)?"Speak":"Language not supported"]])])]),e("div",zs,[t(x,{class:"size-10 rotate-90 text-blue-200 lg:rotate-0"})]),e("div",Ts,[e("div",Hs,[e("div",Vs,[e("div",Ms,[t(Z,{"country-code":s.translation.language.code},null,8,["country-code"])]),e("div",Ss,[e("div",{class:"text-sm font-semibold text-gray-800",textContent:p(s.translation.language.name)},null,8,js),e("div",{class:"rounded-md border px-1.5 py-0.5 text-xs text-gray-500",textContent:p(s.translation.language.code)},null,8,Bs)])]),o(l).errors.phrase?(n(),a("div",Is,[e("div",Zs,[e("div",Ds,[t(o(ke),{class:"size-5 text-red-400","aria-hidden":"true"})]),e("div",Ps,p(o(l).errors.phrase),1)])])):me("",!0)]),e("div",Us,[t(te,{id:"textArea",modelValue:o(l).phrase,"onUpdate:modelValue":c[2]||(c[2]=B=>o(l).phrase=B),dir:"auto",rows:"7",autofocus:"",class:"size-full resize-none rounded-none border-none px-4 py-2.5 shadow-none ring-transparent focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0"},null,8,["modelValue"])]),e("div",Ns,[t(v,{href:s.route("ltu.phrases.index",s.translation.id),class:"flex items-center justify-center bg-blue-50 py-4 text-sm font-medium uppercase text-blue-600 hover:bg-blue-100"},{default:u(()=>[ge(" Cancel ")]),_:1},8,["href"]),t(oe,{"is-loading":o(l).processing,variant:"primary",class:"items-center rounded-none !py-4 !text-sm !font-medium uppercase",onClick:y},{default:u(()=>[Es,As]),_:1},8,["is-loading"])])])]),t(le,null,{default:u(()=>[t(j,{name:"Suggestions",class:"w-full",prefix:''},{default:u(()=>[t(ne,{"suggested-translations":s.suggestedTranslations,language:s.translation.language.code,onUseTranslation:d},null,8,["suggested-translations","language"])]),_:1}),t(j,{prefix:'',name:"Similar"},{default:u(()=>[t(ae,{"similar-phrases":s.similarPhrases},null,8,["similar-phrases"])]),_:1}),t(j,{prefix:'',name:"Versions"},{default:u(()=>[Fs]),_:1})]),_:1})])]}),_:1})],64)}}});export{it as default}; diff --git a/resources/dist/vendor/translations-ui/assets/error-69c9937a.js b/resources/dist/vendor/translations-ui/assets/error-3b589616.js similarity index 88% rename from resources/dist/vendor/translations-ui/assets/error-69c9937a.js rename to resources/dist/vendor/translations-ui/assets/error-3b589616.js index 1076ca6..f022ffe 100644 --- a/resources/dist/vendor/translations-ui/assets/error-69c9937a.js +++ b/resources/dist/vendor/translations-ui/assets/error-3b589616.js @@ -1 +1 @@ -import{d as l,o as r,h as c,b as o,f as t,t as s,w as d,F as _,Z as p,i as m}from"./app-f79836f7.js";import{_ as f}from"./icon-arrow-left-52c22ea1.js";import"./_plugin-vue_export-helper-c27b6911.js";const u={class:"grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8"},h={class:"text-center"},g={class:"text-base font-semibold text-indigo-600"},x={class:"mt-4 text-3xl font-bold tracking-tight text-gray-900 sm:text-5xl"},b={class:"mt-6 text-base leading-7 text-gray-600"},y={class:"mt-10 flex items-center justify-center gap-x-6"},k=t("span",null,"Go back home",-1),L=l({__name:"error",props:{code:{default:"404"},title:{default:"Page not found"},text:{default:"Sorry, we couldn't find the page you're looking for."}},setup(w){return(e,B)=>{const n=p,a=f,i=m;return r(),c(_,null,[o(n,{title:e.title},null,8,["title"]),t("main",u,[t("div",h,[t("span",g,s(e.code),1),t("h1",x,s(e.title),1),t("span",b,s(e.text),1),t("div",y,[o(i,{href:e.route("ltu.translation.index"),class:"btn btn-md btn-primary"},{default:d(()=>[o(a,{class:"size-5"}),k]),_:1},8,["href"])])])])],64)}}});export{L as default}; +import{d as l,o as r,h as c,b as o,f as t,t as s,w as d,F as _,Z as p,i as m}from"./app-8d2ddf0a.js";import{_ as f}from"./icon-arrow-left-9aff8bd7.js";import"./_plugin-vue_export-helper-c27b6911.js";const u={class:"grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8"},h={class:"text-center"},g={class:"text-base font-semibold text-indigo-600"},x={class:"mt-4 text-3xl font-bold tracking-tight text-gray-900 sm:text-5xl"},b={class:"mt-6 text-base leading-7 text-gray-600"},y={class:"mt-10 flex items-center justify-center gap-x-6"},k=t("span",null,"Go back home",-1),L=l({__name:"error",props:{code:{default:"404"},title:{default:"Page not found"},text:{default:"Sorry, we couldn't find the page you're looking for."}},setup(w){return(e,B)=>{const n=p,a=f,i=m;return r(),c(_,null,[o(n,{title:e.title},null,8,["title"]),t("main",u,[t("div",h,[t("span",g,s(e.code),1),t("h1",x,s(e.title),1),t("span",b,s(e.text),1),t("div",y,[o(i,{href:e.route("ltu.translation.index"),class:"btn btn-md btn-primary"},{default:d(()=>[o(a,{class:"size-5"}),k]),_:1},8,["href"])])])])],64)}}});export{L as default}; diff --git a/resources/dist/vendor/translations-ui/assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js b/resources/dist/vendor/translations-ui/assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js similarity index 99% rename from resources/dist/vendor/translations-ui/assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js rename to resources/dist/vendor/translations-ui/assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js index 2b801db..8a47fef 100644 --- a/resources/dist/vendor/translations-ui/assets/flag.vue_vue_type_script_setup_true_lang-1258a665.js +++ b/resources/dist/vendor/translations-ui/assets/flag.vue_vue_type_script_setup_true_lang-f8d12804.js @@ -1 +1 @@ -import{d as K,s as M,r as D,y as Z,o as U,h as V}from"./app-f79836f7.js";/*! Copyright Twitter Inc. and other contributors. Licensed under MIT */var w=function(){var t={base:"https://twemoji.maxcdn.com/v/14.0.2/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:B,toCodePoint:T},onerror:function(){this.parentNode&&this.parentNode.replaceChild(i(this.alt,!1),this)},parse:G,replace:P,test:H},o={"&":"&","<":"<",">":">","'":"'",'"':"""},b=/(?:\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c[\udffc-\udfff]|\ud83e\udef1\ud83c\udffc\u200d\ud83e\udef2\ud83c[\udffb\udffd-\udfff]|\ud83e\udef1\ud83c\udffd\u200d\ud83e\udef2\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\udef1\ud83c\udffe\u200d\ud83e\udef2\ud83c[\udffb-\udffd\udfff]|\ud83e\udef1\ud83c\udfff\u200d\ud83e\udef2\ud83c[\udffb-\udffe]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d\udc8f\ud83c[\udffb-\udfff]|\ud83d\udc91\ud83c[\udffb-\udfff]|\ud83e\udd1d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d\udc8f\udc91]|\ud83e\udd1d)|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd4\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83d\ude36\u200d\ud83c\udf2b\ufe0f|\u2764\ufe0f\u200d\ud83d\udd25|\u2764\ufe0f\u200d\ud83e\ude79|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83d\ude2e\u200d\ud83d\udca8|\ud83d\ude35\u200d\ud83d\udcab|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd\udec3-\udec5\udef0-\udef6]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udc8e\udc90\udc92-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udedd-\udedf\udeeb\udeec\udef4-\udefc\udfe0-\udfeb\udff0]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78-\uddb4\uddb7\uddba\uddbc-\uddcc\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7c\ude80-\ude86\ude90-\udeac\udeb0-\udeba\udec0-\udec2\uded0-\uded9\udee0-\udee7]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,N=/\uFE0F/g,E=String.fromCharCode(8205),C=/[&<>'"]/g,p=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,g=String.fromCharCode;return t;function i(u,d){return document.createTextNode(d?u.replace(N,""):u)}function O(u){return u.replace(C,j)}function z(u,d){return"".concat(d.base,d.size,"/",u,d.ext)}function k(u,d){for(var a=u.childNodes,f=a.length,c,e;f--;)c=a[f],e=c.nodeType,e===3?d.push(c):e===1&&!("ownerSVGElement"in c)&&!p.test(c.nodeName.toLowerCase())&&k(c,d);return d}function A(u){return T(u.indexOf(E)<0?u.replace(N,""):u)}function L(u,d){for(var a=k(u,[]),f=a.length,c,e,s,r,I,h,v,l,y,n,m,S,x;f--;){for(s=!1,r=document.createDocumentFragment(),I=a[f],h=I.nodeValue,l=0;v=b.exec(h);){if(y=v.index,y!==l&&r.appendChild(i(h.slice(l,y),!0)),m=v[0],S=A(m),l=y+m.length,x=d.callback(S,d),S&&x){n=new Image,n.onerror=d.onerror,n.setAttribute("draggable","false"),c=d.attributes(m,S);for(e in c)c.hasOwnProperty(e)&&e.indexOf("on")!==0&&!n.hasAttribute(e)&&n.setAttribute(e,c[e]);n.className=d.className,n.alt=m,n.src=x,s=!0,r.appendChild(n)}n||r.appendChild(i(m,!1)),n=null}s&&(l")}return f})}function j(u){return o[u]}function F(){return null}function _(u){return typeof u=="number"?u+"x"+u:u}function B(u){var d=typeof u=="string"?parseInt(u,16):u;return d<65536?g(d):(d-=65536,g(55296+(d>>10),56320+(d&1023)))}function G(u,d){return(!d||typeof d=="function")&&(d={callback:d}),(typeof u=="string"?R:L)(u,{callback:d.callback||z,attributes:typeof d.attributes=="function"?d.attributes:F,base:typeof d.base=="string"?d.base:t.base,ext:d.ext||t.ext,size:d.folder||_(d.size||t.size),className:d.className||t.className,onerror:d.onerror||t.onerror})}function P(u,d){return String(u).replace(b,d)}function H(u){b.lastIndex=0;var d=b.test(u);return b.lastIndex=0,d}function T(u,d){for(var a=[],f=0,c=0,e=0;eb.codePointAt()+q);return String.fromCodePoint(...o)}var Y=J;const $=["innerHTML"],X=K({__name:"flag",props:{countryCode:{default:""},width:{default:"w-5"}},setup(t){const o=t,b={af:"ZA",am:"ET",sq:"AL",ar:"AE",hy:"AM",as:"IN",ay:"BO",az:"AZ",bm:"ML",eu:"ES",be:"BY",bn:"BD",bho:"IN",bs:"BA",bg:"BG",ca:"ES",ceb:"PH",zh:"CN","zh-TW":"CN",co:"MF",hr:"HR",cs:"CZ",da:"DK",dv:"MV",nl:"NL",en:"GB",et:"EE",fil:"PH",fi:"FI",fr:"FR",gl:"ES",ka:"GE",de:"DE",el:"GR",gn:"PY",gu:"IN",ht:"HT",ha:"NE",haw:"US",hi:"IN",hu:"HU",is:"IS",ig:"NG",id:"ID",ga:"IE",it:"IT",ja:"JP",jv:"ID",kn:"IN",kk:"KZ",km:"KH",rw:"RW",ko:"KR",ku:"IQ",ky:"KG",lo:"TH",la:"VA",lv:"LV",ln:"CD",lt:"LT",mk:"MK",ms:"MY",ml:"IN",mt:"MT",mi:"NZ",mr:"IN",mn:"MN",my:"MM",ne:"NP",no:"NO",nb:"NO",nn:"NO",ps:"AF",fa:"IR",pl:"PL",pt:"PT","pt-br":"BR",pa:"IN",ro:"RO",ru:"RU",sm:"WS",sr:"RS",st:"LS",sn:"ZW",sd:"PK",si:"LK",sk:"SK",sl:"SI",so:"SO",es:"ES",su:"ID",sw:"KE",sv:"SE",tg:"TJ",ta:"IN",te:"IN",th:"TH",tk:"TM",tr:"TR",uk:"UA",ur:"PK",uz:"UZ",vi:"VN",cy:"GB",xh:"ZA",yo:"NG",jam:"JM",or:"IN",sa:"IN",sat:"IN",zu:"ZA"},N=M(()=>{const p=o.countryCode.split("#")[0],[g,i]=p.split("_");return i||b[o.countryCode]||b[g]||""}),E=M(()=>{try{return Y(N.value)}catch{return"🗺️"}}),C=D("");return Z(()=>{C.value=w.parse(E.value,{folder:"svg",ext:".svg",className:o.width,base:"https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/"})}),(p,g)=>(U(),V("div",{innerHTML:C.value},null,8,$))}});export{X as _}; +import{d as K,s as M,r as D,y as Z,o as U,h as V}from"./app-8d2ddf0a.js";/*! Copyright Twitter Inc. and other contributors. Licensed under MIT */var w=function(){var t={base:"https://twemoji.maxcdn.com/v/14.0.2/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:B,toCodePoint:T},onerror:function(){this.parentNode&&this.parentNode.replaceChild(i(this.alt,!1),this)},parse:G,replace:P,test:H},o={"&":"&","<":"<",">":">","'":"'",'"':"""},b=/(?:\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c[\udffc-\udfff]|\ud83e\udef1\ud83c\udffc\u200d\ud83e\udef2\ud83c[\udffb\udffd-\udfff]|\ud83e\udef1\ud83c\udffd\u200d\ud83e\udef2\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\udef1\ud83c\udffe\u200d\ud83e\udef2\ud83c[\udffb-\udffd\udfff]|\ud83e\udef1\ud83c\udfff\u200d\ud83e\udef2\ud83c[\udffb-\udffe]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d\udc8f\ud83c[\udffb-\udfff]|\ud83d\udc91\ud83c[\udffb-\udfff]|\ud83e\udd1d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d\udc8f\udc91]|\ud83e\udd1d)|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd4\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83d\ude36\u200d\ud83c\udf2b\ufe0f|\u2764\ufe0f\u200d\ud83d\udd25|\u2764\ufe0f\u200d\ud83e\ude79|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83d\ude2e\u200d\ud83d\udca8|\ud83d\ude35\u200d\ud83d\udcab|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd\udec3-\udec5\udef0-\udef6]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udc8e\udc90\udc92-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udedd-\udedf\udeeb\udeec\udef4-\udefc\udfe0-\udfeb\udff0]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78-\uddb4\uddb7\uddba\uddbc-\uddcc\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7c\ude80-\ude86\ude90-\udeac\udeb0-\udeba\udec0-\udec2\uded0-\uded9\udee0-\udee7]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,N=/\uFE0F/g,E=String.fromCharCode(8205),C=/[&<>'"]/g,p=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,g=String.fromCharCode;return t;function i(u,d){return document.createTextNode(d?u.replace(N,""):u)}function O(u){return u.replace(C,j)}function z(u,d){return"".concat(d.base,d.size,"/",u,d.ext)}function k(u,d){for(var a=u.childNodes,f=a.length,c,e;f--;)c=a[f],e=c.nodeType,e===3?d.push(c):e===1&&!("ownerSVGElement"in c)&&!p.test(c.nodeName.toLowerCase())&&k(c,d);return d}function A(u){return T(u.indexOf(E)<0?u.replace(N,""):u)}function L(u,d){for(var a=k(u,[]),f=a.length,c,e,s,r,I,h,v,l,y,n,m,S,x;f--;){for(s=!1,r=document.createDocumentFragment(),I=a[f],h=I.nodeValue,l=0;v=b.exec(h);){if(y=v.index,y!==l&&r.appendChild(i(h.slice(l,y),!0)),m=v[0],S=A(m),l=y+m.length,x=d.callback(S,d),S&&x){n=new Image,n.onerror=d.onerror,n.setAttribute("draggable","false"),c=d.attributes(m,S);for(e in c)c.hasOwnProperty(e)&&e.indexOf("on")!==0&&!n.hasAttribute(e)&&n.setAttribute(e,c[e]);n.className=d.className,n.alt=m,n.src=x,s=!0,r.appendChild(n)}n||r.appendChild(i(m,!1)),n=null}s&&(l")}return f})}function j(u){return o[u]}function F(){return null}function _(u){return typeof u=="number"?u+"x"+u:u}function B(u){var d=typeof u=="string"?parseInt(u,16):u;return d<65536?g(d):(d-=65536,g(55296+(d>>10),56320+(d&1023)))}function G(u,d){return(!d||typeof d=="function")&&(d={callback:d}),(typeof u=="string"?R:L)(u,{callback:d.callback||z,attributes:typeof d.attributes=="function"?d.attributes:F,base:typeof d.base=="string"?d.base:t.base,ext:d.ext||t.ext,size:d.folder||_(d.size||t.size),className:d.className||t.className,onerror:d.onerror||t.onerror})}function P(u,d){return String(u).replace(b,d)}function H(u){b.lastIndex=0;var d=b.test(u);return b.lastIndex=0,d}function T(u,d){for(var a=[],f=0,c=0,e=0;eb.codePointAt()+q);return String.fromCodePoint(...o)}var Y=J;const $=["innerHTML"],X=K({__name:"flag",props:{countryCode:{default:""},width:{default:"w-5"}},setup(t){const o=t,b={af:"ZA",am:"ET",sq:"AL",ar:"AE",hy:"AM",as:"IN",ay:"BO",az:"AZ",bm:"ML",eu:"ES",be:"BY",bn:"BD",bho:"IN",bs:"BA",bg:"BG",ca:"ES",ceb:"PH",zh:"CN","zh-TW":"CN",co:"MF",hr:"HR",cs:"CZ",da:"DK",dv:"MV",nl:"NL",en:"GB",et:"EE",fil:"PH",fi:"FI",fr:"FR",gl:"ES",ka:"GE",de:"DE",el:"GR",gn:"PY",gu:"IN",ht:"HT",ha:"NE",haw:"US",hi:"IN",hu:"HU",is:"IS",ig:"NG",id:"ID",ga:"IE",it:"IT",ja:"JP",jv:"ID",kn:"IN",kk:"KZ",km:"KH",rw:"RW",ko:"KR",ku:"IQ",ky:"KG",lo:"TH",la:"VA",lv:"LV",ln:"CD",lt:"LT",mk:"MK",ms:"MY",ml:"IN",mt:"MT",mi:"NZ",mr:"IN",mn:"MN",my:"MM",ne:"NP",no:"NO",nb:"NO",nn:"NO",ps:"AF",fa:"IR",pl:"PL",pt:"PT","pt-br":"BR",pa:"IN",ro:"RO",ru:"RU",sm:"WS",sr:"RS",st:"LS",sn:"ZW",sd:"PK",si:"LK",sk:"SK",sl:"SI",so:"SO",es:"ES",su:"ID",sw:"KE",sv:"SE",tg:"TJ",ta:"IN",te:"IN",th:"TH",tk:"TM",tr:"TR",uk:"UA",ur:"PK",uz:"UZ",vi:"VN",cy:"GB",xh:"ZA",yo:"NG",jam:"JM",or:"IN",sa:"IN",sat:"IN",zu:"ZA"},N=M(()=>{const p=o.countryCode.split("#")[0],[g,i]=p.split("_");return i||b[o.countryCode]||b[g]||""}),E=M(()=>{try{return Y(N.value)}catch{return"🗺️"}}),C=D("");return Z(()=>{C.value=w.parse(E.value,{folder:"svg",ext:".svg",className:o.width,base:"https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/"})}),(p,g)=>(U(),V("div",{innerHTML:C.value},null,8,$))}});export{X as _}; diff --git a/resources/dist/vendor/translations-ui/assets/forgot-password-0b989727.js b/resources/dist/vendor/translations-ui/assets/forgot-password-28e8d00e.js similarity index 70% rename from resources/dist/vendor/translations-ui/assets/forgot-password-0b989727.js rename to resources/dist/vendor/translations-ui/assets/forgot-password-28e8d00e.js index 30f3b4b..ea63293 100644 --- a/resources/dist/vendor/translations-ui/assets/forgot-password-0b989727.js +++ b/resources/dist/vendor/translations-ui/assets/forgot-password-28e8d00e.js @@ -1 +1 @@ -import{_ as h}from"./layout-guest-7ebc6caa.js";import{d as v,T as x,o as l,c as m,w as s,a as o,b as t,t as V,e as k,f as n,u as a,g as B,Z as $,i as E}from"./app-f79836f7.js";import{_ as N}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as C,a as I}from"./input-label.vue_vue_type_script_setup_true_lang-58f0b872.js";import{_ as L}from"./input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js";import{_ as S}from"./alert.vue_vue_type_script_setup_true_lang-6f86fc1e.js";import"./logo-54a98bfe.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./icon-close-cd07b6ee.js";import"./use-input-size-03843395.js";import"./ExclamationCircleIcon-b60ff688.js";import"./XCircleIcon-e68c9a12.js";const T={class:"space-y-1"},G={class:"mt-8 flex w-full justify-center"},O=v({__name:"forgot-password",props:{status:{}},setup(R){const e=x({email:""}),u=()=>{e.post(route("ltu.password.email"),{onFinish:()=>{e.reset()}})};return(r,i)=>{const c=$,p=S,_=C,d=L,f=I,y=N,g=E,w=h;return l(),m(w,null,{title:s(()=>[o(" Reset your password ")]),subtitle:s(()=>[o(" Enter your email address below, and we'll send you instructions on how to reset your password. ")]),default:s(()=>[t(c,{title:"Reset your password"}),r.status?(l(),m(p,{key:0,variant:"success",class:"mb-4 w-full"},{default:s(()=>[o(V(r.status),1)]),_:1})):k("",!0),n("form",{class:"space-y-6",onSubmit:B(u,["prevent"])},[n("div",T,[t(_,{for:"email",value:"Email",class:"sr-only"}),t(d,{id:"email",modelValue:a(e).email,"onUpdate:modelValue":i[0]||(i[0]=b=>a(e).email=b),error:a(e).errors.email,type:"email",required:"",autofocus:"",autocomplete:"username",placeholder:"Email address",class:"bg-gray-50"},null,8,["modelValue","error"]),t(f,{message:a(e).errors.email},null,8,["message"])]),t(y,{type:"submit",variant:"secondary","is-loading":a(e).processing,"full-width":""},{default:s(()=>[o(" Send reset instructions ")]),_:1},8,["is-loading"])],32),n("div",G,[t(g,{href:r.route("ltu.login"),class:"text-xs font-medium text-gray-500 hover:text-blue-500"},{default:s(()=>[o(" Go back to sign in ")]),_:1},8,["href"])])]),_:1})}}});export{O as default}; +import{_ as h}from"./layout-guest-8ff3f210.js";import{d as v,T as x,o as l,c as m,w as s,a as o,b as t,t as V,e as k,f as n,u as a,g as B,Z as $,i as E}from"./app-8d2ddf0a.js";import{_ as N}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as C,a as I}from"./input-label.vue_vue_type_script_setup_true_lang-b020cb97.js";import{_ as L}from"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";import{_ as S}from"./alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js";import"./logo-47b5a18d.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./icon-close-2c219153.js";import"./use-input-size-a5ed2a71.js";import"./ExclamationCircleIcon-2a26691d.js";import"./XCircleIcon-71639424.js";const T={class:"space-y-1"},G={class:"mt-8 flex w-full justify-center"},O=v({__name:"forgot-password",props:{status:{}},setup(R){const e=x({email:""}),u=()=>{e.post(route("ltu.password.email"),{onFinish:()=>{e.reset()}})};return(r,i)=>{const c=$,p=S,_=C,d=L,f=I,y=N,g=E,w=h;return l(),m(w,null,{title:s(()=>[o(" Reset your password ")]),subtitle:s(()=>[o(" Enter your email address below, and we'll send you instructions on how to reset your password. ")]),default:s(()=>[t(c,{title:"Reset your password"}),r.status?(l(),m(p,{key:0,variant:"success",class:"mb-4 w-full"},{default:s(()=>[o(V(r.status),1)]),_:1})):k("",!0),n("form",{class:"space-y-6",onSubmit:B(u,["prevent"])},[n("div",T,[t(_,{for:"email",value:"Email",class:"sr-only"}),t(d,{id:"email",modelValue:a(e).email,"onUpdate:modelValue":i[0]||(i[0]=b=>a(e).email=b),error:a(e).errors.email,type:"email",required:"",autofocus:"",autocomplete:"username",placeholder:"Email address",class:"bg-gray-50"},null,8,["modelValue","error"]),t(f,{message:a(e).errors.email},null,8,["message"])]),t(y,{type:"submit",variant:"secondary","is-loading":a(e).processing,"full-width":""},{default:s(()=>[o(" Send reset instructions ")]),_:1},8,["is-loading"])],32),n("div",G,[t(g,{href:r.route("ltu.login"),class:"text-xs font-medium text-gray-500 hover:text-blue-500"},{default:s(()=>[o(" Go back to sign in ")]),_:1},8,["href"])])]),_:1})}}});export{O as default}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-arrow-left-52c22ea1.js b/resources/dist/vendor/translations-ui/assets/icon-arrow-left-9aff8bd7.js similarity index 87% rename from resources/dist/vendor/translations-ui/assets/icon-arrow-left-52c22ea1.js rename to resources/dist/vendor/translations-ui/assets/icon-arrow-left-9aff8bd7.js index 22f2d1e..0d231bb 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-arrow-left-52c22ea1.js +++ b/resources/dist/vendor/translations-ui/assets/icon-arrow-left-9aff8bd7.js @@ -1 +1 @@ -import{_ as e}from"./_plugin-vue_export-helper-c27b6911.js";import{o,h as t,f as n}from"./app-f79836f7.js";const r={},s={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},_=n("path",{"fill-rule":"evenodd",d:"M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z","clip-rule":"evenodd"},null,-1),c=[_];function l(a,i){return o(),t("svg",s,c)}const f=e(r,[["render",l]]);export{f as _}; +import{_ as e}from"./_plugin-vue_export-helper-c27b6911.js";import{o,h as t,f as n}from"./app-8d2ddf0a.js";const r={},s={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},_=n("path",{"fill-rule":"evenodd",d:"M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z","clip-rule":"evenodd"},null,-1),c=[_];function l(a,i){return o(),t("svg",s,c)}const f=e(r,[["render",l]]);export{f as _}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-arrow-right-75251a2c.js b/resources/dist/vendor/translations-ui/assets/icon-arrow-right-19101772.js similarity index 87% rename from resources/dist/vendor/translations-ui/assets/icon-arrow-right-75251a2c.js rename to resources/dist/vendor/translations-ui/assets/icon-arrow-right-19101772.js index 722986f..b8cb8a5 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-arrow-right-75251a2c.js +++ b/resources/dist/vendor/translations-ui/assets/icon-arrow-right-19101772.js @@ -1 +1 @@ -import{_ as e}from"./_plugin-vue_export-helper-c27b6911.js";import{o,h as t,f as n}from"./app-f79836f7.js";const r={},s={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},_=n("path",{"fill-rule":"evenodd",d:"M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z","clip-rule":"evenodd"},null,-1),c=[_];function a(l,i){return o(),t("svg",s,c)}const f=e(r,[["render",a]]);export{f as _}; +import{_ as e}from"./_plugin-vue_export-helper-c27b6911.js";import{o,h as t,f as n}from"./app-8d2ddf0a.js";const r={},s={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},_=n("path",{"fill-rule":"evenodd",d:"M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z","clip-rule":"evenodd"},null,-1),c=[_];function a(l,i){return o(),t("svg",s,c)}const f=e(r,[["render",a]]);export{f as _}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-clipboard-b22b0eec.js b/resources/dist/vendor/translations-ui/assets/icon-clipboard-d7e55528.js similarity index 88% rename from resources/dist/vendor/translations-ui/assets/icon-clipboard-b22b0eec.js rename to resources/dist/vendor/translations-ui/assets/icon-clipboard-d7e55528.js index da588d1..b8328d3 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-clipboard-b22b0eec.js +++ b/resources/dist/vendor/translations-ui/assets/icon-clipboard-d7e55528.js @@ -1 +1 @@ -import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as s}from"./app-f79836f7.js";const n={},_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor"},c=s("path",{d:"M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"},null,-1),r=[c];function a(h,v){return e(),t("svg",_,r)}const m=o(n,[["render",a]]);export{m as _}; +import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as s}from"./app-8d2ddf0a.js";const n={},_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor"},c=s("path",{d:"M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"},null,-1),r=[c];function a(h,v){return e(),t("svg",_,r)}const m=o(n,[["render",a]]);export{m as _}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-close-cd07b6ee.js b/resources/dist/vendor/translations-ui/assets/icon-close-2c219153.js similarity index 84% rename from resources/dist/vendor/translations-ui/assets/icon-close-cd07b6ee.js rename to resources/dist/vendor/translations-ui/assets/icon-close-2c219153.js index 9344311..2a67a9f 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-close-cd07b6ee.js +++ b/resources/dist/vendor/translations-ui/assets/icon-close-2c219153.js @@ -1 +1 @@ -import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as n}from"./app-f79836f7.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},_=n("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"},null,-1),c=[_];function i(l,a){return e(),t("svg",r,c)}const f=o(s,[["render",i]]);export{f as _}; +import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as n}from"./app-8d2ddf0a.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},_=n("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"},null,-1),c=[_];function i(l,a){return e(),t("svg",r,c)}const f=o(s,[["render",i]]);export{f as _}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-key-cf61dcc2.js b/resources/dist/vendor/translations-ui/assets/icon-key-2650eeaf.js similarity index 95% rename from resources/dist/vendor/translations-ui/assets/icon-key-cf61dcc2.js rename to resources/dist/vendor/translations-ui/assets/icon-key-2650eeaf.js index e589a2b..34c6b48 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-key-cf61dcc2.js +++ b/resources/dist/vendor/translations-ui/assets/icon-key-2650eeaf.js @@ -1 +1 @@ -import{d,J as c,j as u,p as i,L as _,o as t,h as l,E as m,f as a}from"./app-f79836f7.js";import{_ as h}from"./_plugin-vue_export-helper-c27b6911.js";const p=["rows"],V=d({__name:"input-textarea",props:c({error:{},rows:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const e=u(o,"modelValue");return(r,s)=>i((t(),l("textarea",{"onUpdate:modelValue":s[0]||(s[0]=n=>e.value=n),rows:r.rows??5,class:m(["w-full rounded-md border-gray-300 shadow-sm placeholder:text-sm placeholder:text-gray-400 focus:border-blue-500 focus:ring-blue-500",{"border-red-300 text-red-900 placeholder:text-red-300 focus:border-red-500 focus:ring-red-500":r.error}])},null,10,p)),[[_,e.value]])}}),f={},v={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},w=a("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),x=a("path",{d:"M22 19h-6v-4h-2.68c-1.14 2.42-3.6 4-6.32 4-3.86 0-7-3.14-7-7s3.14-7 7-7c2.72 0 5.17 1.58 6.32 4H24v6h-2v4zm-4-2h2v-4h2v-2H11.94l-.23-.67C11.01 8.34 9.11 7 7 7c-2.76 0-5 2.24-5 5s2.24 5 5 5c2.11 0 4.01-1.34 4.71-3.33l.23-.67H18v4zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"},null,-1),g=[w,x];function M(o,e){return t(),l("svg",v,g)}const B=h(f,[["render",M]]);export{B as _,V as a}; +import{d,J as c,j as u,p as i,L as _,o as t,h as l,E as m,f as a}from"./app-8d2ddf0a.js";import{_ as h}from"./_plugin-vue_export-helper-c27b6911.js";const p=["rows"],V=d({__name:"input-textarea",props:c({error:{},rows:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const e=u(o,"modelValue");return(r,s)=>i((t(),l("textarea",{"onUpdate:modelValue":s[0]||(s[0]=n=>e.value=n),rows:r.rows??5,class:m(["w-full rounded-md border-gray-300 shadow-sm placeholder:text-sm placeholder:text-gray-400 focus:border-blue-500 focus:ring-blue-500",{"border-red-300 text-red-900 placeholder:text-red-300 focus:border-red-500 focus:ring-red-500":r.error}])},null,10,p)),[[_,e.value]])}}),f={},v={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},w=a("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),x=a("path",{d:"M22 19h-6v-4h-2.68c-1.14 2.42-3.6 4-6.32 4-3.86 0-7-3.14-7-7s3.14-7 7-7c2.72 0 5.17 1.58 6.32 4H24v6h-2v4zm-4-2h2v-4h2v-2H11.94l-.23-.67C11.01 8.34 9.11 7 7 7c-2.76 0-5 2.24-5 5s2.24 5 5 5c2.11 0 4.01-1.34 4.71-3.33l.23-.67H18v4zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"},null,-1),g=[w,x];function M(o,e){return t(),l("svg",v,g)}const B=h(f,[["render",M]]);export{B as _,V as a}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-language-aa39478f.js b/resources/dist/vendor/translations-ui/assets/icon-language-e9642115.js similarity index 90% rename from resources/dist/vendor/translations-ui/assets/icon-language-aa39478f.js rename to resources/dist/vendor/translations-ui/assets/icon-language-e9642115.js index 2946cc7..ae4a4b3 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-language-aa39478f.js +++ b/resources/dist/vendor/translations-ui/assets/icon-language-e9642115.js @@ -1 +1 @@ -import{_ as t}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as n,f as o}from"./app-f79836f7.js";const s={},_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},c=o("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),l=o("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"},null,-1),h=[c,l];function r(a,i){return e(),n("svg",_,h)}const f=t(s,[["render",r]]);export{f as _}; +import{_ as t}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as n,f as o}from"./app-8d2ddf0a.js";const s={},_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},c=o("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),l=o("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"},null,-1),h=[c,l];function r(a,i){return e(),n("svg",_,h)}const f=t(s,[["render",r]]);export{f as _}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-pencil-9c3335bd.js b/resources/dist/vendor/translations-ui/assets/icon-pencil-c97c2a6b.js similarity index 88% rename from resources/dist/vendor/translations-ui/assets/icon-pencil-9c3335bd.js rename to resources/dist/vendor/translations-ui/assets/icon-pencil-c97c2a6b.js index 6973d30..402c486 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-pencil-9c3335bd.js +++ b/resources/dist/vendor/translations-ui/assets/icon-pencil-c97c2a6b.js @@ -1 +1 @@ -import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as n}from"./app-f79836f7.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},_=n("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"},null,-1),c=[_];function a(i,l){return e(),t("svg",r,c)}const m=o(s,[["render",a]]);export{m as _}; +import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as n}from"./app-8d2ddf0a.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},_=n("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"},null,-1),c=[_];function a(i,l){return e(),t("svg",r,c)}const m=o(s,[["render",a]]);export{m as _}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-plus-74060bd2.js b/resources/dist/vendor/translations-ui/assets/icon-plus-5ba4f8f8.js similarity index 85% rename from resources/dist/vendor/translations-ui/assets/icon-plus-74060bd2.js rename to resources/dist/vendor/translations-ui/assets/icon-plus-5ba4f8f8.js index c47a9ce..8e7e3a5 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-plus-74060bd2.js +++ b/resources/dist/vendor/translations-ui/assets/icon-plus-5ba4f8f8.js @@ -1 +1 @@ -import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as n}from"./app-f79836f7.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},_=n("path",{d:"M10.75 4.75a.75.75 0 00-1.5 0v4.5h-4.5a.75.75 0 000 1.5h4.5v4.5a.75.75 0 001.5 0v-4.5h4.5a.75.75 0 000-1.5h-4.5v-4.5z"},null,-1),c=[_];function a(h,i){return e(),t("svg",r,c)}const p=o(s,[["render",a]]);export{p as _}; +import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as n}from"./app-8d2ddf0a.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},_=n("path",{d:"M10.75 4.75a.75.75 0 00-1.5 0v4.5h-4.5a.75.75 0 000 1.5h4.5v4.5a.75.75 0 001.5 0v-4.5h4.5a.75.75 0 000-1.5h-4.5v-4.5z"},null,-1),c=[_];function a(h,i){return e(),t("svg",r,c)}const p=o(s,[["render",a]]);export{p as _}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-publish-2c3bbfd2.js b/resources/dist/vendor/translations-ui/assets/icon-publish-eaee4335.js similarity index 90% rename from resources/dist/vendor/translations-ui/assets/icon-publish-2c3bbfd2.js rename to resources/dist/vendor/translations-ui/assets/icon-publish-eaee4335.js index 5f86ed0..acb23ad 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-publish-2c3bbfd2.js +++ b/resources/dist/vendor/translations-ui/assets/icon-publish-eaee4335.js @@ -1 +1 @@ -import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as t,h as e,f as s}from"./app-f79836f7.js";const n={},_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor"},c=s("path",{d:"M440-82q-76-8-141.5-41.5t-114-87Q136-264 108-333T80-480q0-91 36.5-168T216-780h-96v-80h240v240h-80v-109q-55 44-87.5 108.5T160-480q0 123 80.5 212.5T440-163v81Zm-17-214L254-466l56-56 113 113 227-227 56 57-283 283Zm177 196v-240h80v109q55-45 87.5-109T800-480q0-123-80.5-212.5T520-797v-81q152 15 256 128t104 270q0 91-36.5 168T744-180h96v80H600Z"},null,-1),r=[c];function h(a,l){return t(),e("svg",_,r)}const m=o(n,[["render",h]]);export{m as _}; +import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as t,h as e,f as s}from"./app-8d2ddf0a.js";const n={},_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor"},c=s("path",{d:"M440-82q-76-8-141.5-41.5t-114-87Q136-264 108-333T80-480q0-91 36.5-168T216-780h-96v-80h240v240h-80v-109q-55 44-87.5 108.5T160-480q0 123 80.5 212.5T440-163v81Zm-17-214L254-466l56-56 113 113 227-227 56 57-283 283Zm177 196v-240h80v109q55-45 87.5-109T800-480q0-123-80.5-212.5T520-797v-81q152 15 256 128t104 270q0 91-36.5 168T744-180h96v80H600Z"},null,-1),r=[c];function h(a,l){return t(),e("svg",_,r)}const m=o(n,[["render",h]]);export{m as _}; diff --git a/resources/dist/vendor/translations-ui/assets/icon-trash-5b13c52f.js b/resources/dist/vendor/translations-ui/assets/icon-trash-62f8df5f.js similarity index 92% rename from resources/dist/vendor/translations-ui/assets/icon-trash-5b13c52f.js rename to resources/dist/vendor/translations-ui/assets/icon-trash-62f8df5f.js index 10bc437..12698e0 100644 --- a/resources/dist/vendor/translations-ui/assets/icon-trash-5b13c52f.js +++ b/resources/dist/vendor/translations-ui/assets/icon-trash-62f8df5f.js @@ -1 +1 @@ -import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as n}from"./app-f79836f7.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},c=n("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"},null,-1),_=[c];function a(m,i){return e(),t("svg",r,_)}const p=o(s,[["render",a]]);export{p as _}; +import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as t,f as n}from"./app-8d2ddf0a.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},c=n("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"},null,-1),_=[c];function a(m,i){return e(),t("svg",r,_)}const p=o(s,[["render",a]]);export{p as _}; diff --git a/resources/dist/vendor/translations-ui/assets/index-899e9fa6.js b/resources/dist/vendor/translations-ui/assets/index-99365abf.js similarity index 98% rename from resources/dist/vendor/translations-ui/assets/index-899e9fa6.js rename to resources/dist/vendor/translations-ui/assets/index-99365abf.js index 25fb730..6329506 100644 --- a/resources/dist/vendor/translations-ui/assets/index-899e9fa6.js +++ b/resources/dist/vendor/translations-ui/assets/index-99365abf.js @@ -1 +1 @@ -import{Q as j,R as M,S as I,r as w,u as L,U as q,V as F,W as G,s as x,C as b,y as V,X as $}from"./app-f79836f7.js";function T(t){return q()?(F(t),!0):!1}function g(t){return typeof t=="function"?t():L(t)}const A=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const B=Object.prototype.toString,D=t=>B.call(t)==="[object Object]",O=()=>{},K=N();function N(){var t,e;return A&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Q(t){let e;function a(){return e||(e=t()),e}return a.reset=async()=>{const i=e;e=void 0,i&&await i},a}function E(...t){if(t.length!==1)return j(...t);const e=t[0];return typeof e=="function"?M(I(()=>({get:e,set:O}))):w(e)}function X(t,e,a={}){const{immediate:i=!0}=a,l=w(!1);let s=null;function u(){s&&(clearTimeout(s),s=null)}function f(){l.value=!1,u()}function o(...r){u(),l.value=!0,s=setTimeout(()=>{l.value=!1,s=null,t(...r)},g(e))}return i&&(l.value=!0,A&&o()),T(f),{isPending:M(l),start:o,stop:f}}function z(t){var e;const a=g(t);return(e=a==null?void 0:a.$el)!=null?e:a}const W=A?window:void 0,k=A?window.navigator:void 0;function U(...t){let e,a,i,l;if(typeof t[0]=="string"||Array.isArray(t[0])?([a,i,l]=t,e=W):[e,a,i,l]=t,!e)return O;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const s=[],u=()=>{s.forEach(c=>c()),s.length=0},f=(c,d,v,m)=>(c.addEventListener(d,v,m),()=>c.removeEventListener(d,v,m)),o=b(()=>[z(e),g(l)],([c,d])=>{if(u(),!c)return;const v=D(d)?{...d}:d;s.push(...a.flatMap(m=>i.map(h=>f(c,m,h,v))))},{immediate:!0,flush:"post"}),r=()=>{o(),u()};return T(r),r}function H(){const t=w(!1),e=$();return e&&V(()=>{t.value=!0},e),t}function P(t){const e=H();return x(()=>(e.value,!!t()))}function R(t,e={}){const{controls:a=!1,navigator:i=k}=e,l=P(()=>i&&"permissions"in i);let s;const u=typeof t=="string"?{name:t}:t,f=w(),o=()=>{s&&(f.value=s.state)},r=Q(async()=>{if(l.value){if(!s)try{s=await i.permissions.query(u),U(s,"change",o),o()}catch{f.value="prompt"}return s}});return r(),a?{state:f,isSupported:l,query:r}:f}function Y(t={}){const{navigator:e=k,read:a=!1,source:i,copiedDuring:l=1500,legacy:s=!1}=t,u=P(()=>e&&"clipboard"in e),f=R("clipboard-read"),o=R("clipboard-write"),r=x(()=>u.value||s),c=w(""),d=w(!1),v=X(()=>d.value=!1,l);function m(){u.value&&S(f.value)?e.clipboard.readText().then(n=>{c.value=n}):c.value=C()}r.value&&a&&U(["copy","cut"],m);async function h(n=g(i)){r.value&&n!=null&&(u.value&&S(o.value)?await e.clipboard.writeText(n):y(n),c.value=n,d.value=!0,v.start())}function y(n){const p=document.createElement("textarea");p.value=n??"",p.style.position="absolute",p.style.opacity="0",document.body.appendChild(p),p.select(),document.execCommand("copy"),p.remove()}function C(){var n,p,_;return(_=(p=(n=document==null?void 0:document.getSelection)==null?void 0:n.call(document))==null?void 0:p.toString())!=null?_:""}function S(n){return n==="granted"||n==="prompt"}return{isSupported:r,text:c,copied:d,copy:h}}function Z(t,e={}){const{pitch:a=1,rate:i=1,volume:l=1,window:s=W}=e,u=s&&s.speechSynthesis,f=P(()=>u),o=w(!1),r=w("init"),c=E(t||""),d=E(e.lang||"en-US"),v=G(void 0),m=(n=!o.value)=>{o.value=n},h=n=>{n.lang=g(d),n.voice=g(e.voice)||null,n.pitch=g(a),n.rate=g(i),n.volume=l,n.onstart=()=>{o.value=!0,r.value="play"},n.onpause=()=>{o.value=!1,r.value="pause"},n.onresume=()=>{o.value=!0,r.value="play"},n.onend=()=>{o.value=!1,r.value="end"},n.onerror=p=>{v.value=p}},y=x(()=>{o.value=!1,r.value="init";const n=new SpeechSynthesisUtterance(c.value);return h(n),n}),C=()=>{u.cancel(),y&&u.speak(y.value)},S=()=>{u.cancel(),o.value=!1};return f.value&&(h(y.value),b(d,n=>{y.value&&!o.value&&(y.value.lang=n)}),e.voice&&b(e.voice,()=>{u.cancel()}),b(o,()=>{o.value?u.resume():u.pause()})),T(()=>{o.value=!1}),{isSupported:f,isPlaying:o,status:r,utterance:y,error:v,stop:S,toggle:m,speak:C}}export{Y as a,E as b,D as c,T as d,A as e,K as i,O as n,g as t,Z as u}; +import{Q as j,R as M,S as I,r as w,u as L,U as q,V as F,W as G,s as x,C as b,y as V,X as $}from"./app-8d2ddf0a.js";function T(t){return q()?(F(t),!0):!1}function g(t){return typeof t=="function"?t():L(t)}const A=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const B=Object.prototype.toString,D=t=>B.call(t)==="[object Object]",O=()=>{},K=N();function N(){var t,e;return A&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Q(t){let e;function a(){return e||(e=t()),e}return a.reset=async()=>{const i=e;e=void 0,i&&await i},a}function E(...t){if(t.length!==1)return j(...t);const e=t[0];return typeof e=="function"?M(I(()=>({get:e,set:O}))):w(e)}function X(t,e,a={}){const{immediate:i=!0}=a,l=w(!1);let s=null;function u(){s&&(clearTimeout(s),s=null)}function f(){l.value=!1,u()}function o(...r){u(),l.value=!0,s=setTimeout(()=>{l.value=!1,s=null,t(...r)},g(e))}return i&&(l.value=!0,A&&o()),T(f),{isPending:M(l),start:o,stop:f}}function z(t){var e;const a=g(t);return(e=a==null?void 0:a.$el)!=null?e:a}const W=A?window:void 0,k=A?window.navigator:void 0;function U(...t){let e,a,i,l;if(typeof t[0]=="string"||Array.isArray(t[0])?([a,i,l]=t,e=W):[e,a,i,l]=t,!e)return O;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const s=[],u=()=>{s.forEach(c=>c()),s.length=0},f=(c,d,v,m)=>(c.addEventListener(d,v,m),()=>c.removeEventListener(d,v,m)),o=b(()=>[z(e),g(l)],([c,d])=>{if(u(),!c)return;const v=D(d)?{...d}:d;s.push(...a.flatMap(m=>i.map(h=>f(c,m,h,v))))},{immediate:!0,flush:"post"}),r=()=>{o(),u()};return T(r),r}function H(){const t=w(!1),e=$();return e&&V(()=>{t.value=!0},e),t}function P(t){const e=H();return x(()=>(e.value,!!t()))}function R(t,e={}){const{controls:a=!1,navigator:i=k}=e,l=P(()=>i&&"permissions"in i);let s;const u=typeof t=="string"?{name:t}:t,f=w(),o=()=>{s&&(f.value=s.state)},r=Q(async()=>{if(l.value){if(!s)try{s=await i.permissions.query(u),U(s,"change",o),o()}catch{f.value="prompt"}return s}});return r(),a?{state:f,isSupported:l,query:r}:f}function Y(t={}){const{navigator:e=k,read:a=!1,source:i,copiedDuring:l=1500,legacy:s=!1}=t,u=P(()=>e&&"clipboard"in e),f=R("clipboard-read"),o=R("clipboard-write"),r=x(()=>u.value||s),c=w(""),d=w(!1),v=X(()=>d.value=!1,l);function m(){u.value&&S(f.value)?e.clipboard.readText().then(n=>{c.value=n}):c.value=C()}r.value&&a&&U(["copy","cut"],m);async function h(n=g(i)){r.value&&n!=null&&(u.value&&S(o.value)?await e.clipboard.writeText(n):y(n),c.value=n,d.value=!0,v.start())}function y(n){const p=document.createElement("textarea");p.value=n??"",p.style.position="absolute",p.style.opacity="0",document.body.appendChild(p),p.select(),document.execCommand("copy"),p.remove()}function C(){var n,p,_;return(_=(p=(n=document==null?void 0:document.getSelection)==null?void 0:n.call(document))==null?void 0:p.toString())!=null?_:""}function S(n){return n==="granted"||n==="prompt"}return{isSupported:r,text:c,copied:d,copy:h}}function Z(t,e={}){const{pitch:a=1,rate:i=1,volume:l=1,window:s=W}=e,u=s&&s.speechSynthesis,f=P(()=>u),o=w(!1),r=w("init"),c=E(t||""),d=E(e.lang||"en-US"),v=G(void 0),m=(n=!o.value)=>{o.value=n},h=n=>{n.lang=g(d),n.voice=g(e.voice)||null,n.pitch=g(a),n.rate=g(i),n.volume=l,n.onstart=()=>{o.value=!0,r.value="play"},n.onpause=()=>{o.value=!1,r.value="pause"},n.onresume=()=>{o.value=!0,r.value="play"},n.onend=()=>{o.value=!1,r.value="end"},n.onerror=p=>{v.value=p}},y=x(()=>{o.value=!1,r.value="init";const n=new SpeechSynthesisUtterance(c.value);return h(n),n}),C=()=>{u.cancel(),y&&u.speak(y.value)},S=()=>{u.cancel(),o.value=!1};return f.value&&(h(y.value),b(d,n=>{y.value&&!o.value&&(y.value.lang=n)}),e.voice&&b(e.voice,()=>{u.cancel()}),b(o,()=>{o.value?u.resume():u.pause()})),T(()=>{o.value=!1}),{isSupported:f,isPlaying:o,status:r,utterance:y,error:v,stop:S,toggle:m,speak:C}}export{Y as a,E as b,D as c,T as d,A as e,K as i,O as n,g as t,Z as u}; diff --git a/resources/dist/vendor/translations-ui/assets/index-d49c7cff.js b/resources/dist/vendor/translations-ui/assets/index-bb8eacca.js similarity index 85% rename from resources/dist/vendor/translations-ui/assets/index-d49c7cff.js rename to resources/dist/vendor/translations-ui/assets/index-bb8eacca.js index 4380744..8a280f5 100644 --- a/resources/dist/vendor/translations-ui/assets/index-d49c7cff.js +++ b/resources/dist/vendor/translations-ui/assets/index-bb8eacca.js @@ -1 +1 @@ -import{_ as $}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js";import{_ as L}from"./pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js";import{u as I,_ as N}from"./use-confirmation-dialog-fc74ac1c.js";import{_ as T}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as A}from"./icon-trash-5b13c52f.js";import{d as E,l as x,n as F,o as n,h as a,b as e,w as s,f as t,p as m,c as O,F as v,q as P,t as r,u as l,a as c,O as q,Z as R,i as S}from"./app-f79836f7.js";import{_ as Y}from"./icon-plus-74060bd2.js";import{_ as G}from"./invited-table.vue_vue_type_script_setup_true_lang-ba72d4ef.js";import{u as J}from"./use-auth-b0f8b4d5.js";import"./icon-publish-2c3bbfd2.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-54a98bfe.js";import"./transition-53b06f51.js";import"./icon-arrow-right-75251a2c.js";import"./icon-arrow-left-52c22ea1.js";import"./dialog-1dde479c.js";import"./invited-item.vue_vue_type_script_setup_true_lang-49a8b0a3.js";const K={class:"mx-auto max-w-7xl px-6 lg:px-8"},Q={class:"w-full divide-y overflow-hidden rounded-md bg-white shadow"},U={class:"w-full shadow-md"},W={class:"flex h-14 w-full divide-x"},X=t("div",{class:"grid w-full grid-cols-2 divide-x md:grid-cols-3"},[t("div",{class:"flex w-full items-center justify-start px-4"},[t("span",{class:"text-sm font-medium text-gray-400"},"Name")]),t("div",{class:"flex w-full items-center justify-start px-4"},[t("span",{class:"text-sm font-medium text-gray-400"},"Email")]),t("div",{class:"hidden w-full items-center justify-start px-4 md:flex"},[t("span",{class:"text-sm font-medium text-gray-400"},"Role")])],-1),tt={class:"grid w-16"},et={class:"flex h-14 w-full divide-x"},st={class:"grid w-full grid-cols-2 divide-x md:grid-cols-3"},ot={class:"flex w-full items-center justify-start px-4"},it={class:"truncate text-sm font-medium text-gray-500"},nt={class:"flex w-full items-center justify-start px-4"},lt={class:"truncate text-sm font-medium text-gray-500"},at={class:"hidden w-full items-center justify-start px-4 md:flex"},rt={class:"truncate whitespace-nowrap text-sm font-medium text-gray-500"},ct={class:"grid w-16"},dt={key:0,disabled:"",class:"group flex cursor-not-allowed items-center justify-center bg-gray-50 px-3"},mt={class:"flex flex-col p-6"},ut=t("span",{class:"text-xl font-medium text-gray-700"},"Are you sure?",-1),_t={class:"mt-2 text-sm text-gray-500"},ft={class:"font-medium"},pt={class:"mt-4 flex gap-4"},Lt=E({__name:"index",props:{invited:{},contributors:{}},setup(ht){const w=J().value,{loading:C,showDialog:y,openDialog:u,performAction:b,closeDialog:k}=I(),D=async o=>{await b(()=>q.delete(route("ltu.contributors.delete",o)))};return(o,_)=>{const j=R,V=Y,z=S,f=A,p=T,B=N,M=L,h=x("tab"),Z=x("tabs"),H=$,d=F("tooltip");return n(),a(v,null,[e(j,{title:"Contributors"}),e(H,null,{default:s(()=>[t("div",K,[e(Z,null,{default:s(()=>[e(h,{name:"Contributors",prefix:''},{default:s(()=>[t("div",Q,[t("div",U,[t("div",W,[X,t("div",tt,[m((n(),O(z,{href:o.route("ltu.contributors.invite"),class:"group flex items-center justify-center px-3 hover:bg-blue-50"},{default:s(()=>[e(V,{class:"size-5 text-gray-400 group-hover:text-blue-600"})]),_:1},8,["href"])),[[d,"Invite Contributor"]])])])]),(n(!0),a(v,null,P(o.contributors.data,i=>(n(),a("div",{key:i.id,class:"w-full hover:bg-gray-100"},[t("div",et,[t("div",st,[t("div",ot,[t("span",it,r(i.name),1)]),t("div",nt,[t("span",lt,r(i.email),1)]),t("div",at,[t("div",rt,r(i.role.label),1)])]),t("div",ct,[l(w).id===i.id?m((n(),a("button",dt,[e(f,{class:"size-5 text-gray-400"})])),[[d,"You cannot delete yourself!"]]):m((n(),a("button",{key:1,class:"group flex items-center justify-center px-3 hover:bg-red-50",onClick:_[0]||(_[0]=(...g)=>l(u)&&l(u)(...g))},[e(f,{class:"size-5 text-gray-400 group-hover:text-red-600"})])),[[d,"Delete"]])]),e(B,{size:"sm",show:l(y)},{default:s(()=>[t("div",mt,[ut,t("span",_t,[c(" This action cannot be undone, This will permanently delete the "),t("span",ft,r(i.name),1),c(" invitation. ")]),t("div",pt,[e(p,{variant:"secondary",type:"button",size:"lg","full-width":"",onClick:l(k)},{default:s(()=>[c(" Cancel ")]),_:1},8,["onClick"]),e(p,{variant:"danger",type:"button",size:"lg","is-loading":l(C),"full-width":"",onClick:g=>D(i.id)},{default:s(()=>[c(" Delete ")]),_:2},1032,["is-loading","onClick"])])])]),_:2},1032,["show"])])]))),128)),e(M,{links:o.contributors.links,meta:o.contributors.meta},null,8,["links","meta"])])]),_:1}),e(h,{name:"Invited",prefix:''},{default:s(()=>[e(G,{invitations:o.invited},null,8,["invitations"])]),_:1})]),_:1})])]),_:1})],64)}}});export{Lt as default}; +import{_ as $}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js";import{_ as L}from"./pagination.vue_vue_type_script_setup_true_lang-15830f26.js";import{u as I,_ as N}from"./use-confirmation-dialog-1471177b.js";import{_ as T}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as A}from"./icon-trash-62f8df5f.js";import{d as E,l as x,n as F,o as n,h as a,b as e,w as s,f as t,p as m,c as O,F as v,q as P,t as r,u as l,a as c,O as q,Z as R,i as S}from"./app-8d2ddf0a.js";import{_ as Y}from"./icon-plus-5ba4f8f8.js";import{_ as G}from"./invited-table.vue_vue_type_script_setup_true_lang-ffc54ae5.js";import{u as J}from"./use-auth-9835d026.js";import"./icon-publish-eaee4335.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-47b5a18d.js";import"./transition-fb8d0e84.js";import"./icon-arrow-right-19101772.js";import"./icon-arrow-left-9aff8bd7.js";import"./dialog-6de4cc28.js";import"./invited-item.vue_vue_type_script_setup_true_lang-d72a345f.js";const K={class:"mx-auto max-w-7xl px-6 lg:px-8"},Q={class:"w-full divide-y overflow-hidden rounded-md bg-white shadow"},U={class:"w-full shadow-md"},W={class:"flex h-14 w-full divide-x"},X=t("div",{class:"grid w-full grid-cols-2 divide-x md:grid-cols-3"},[t("div",{class:"flex w-full items-center justify-start px-4"},[t("span",{class:"text-sm font-medium text-gray-400"},"Name")]),t("div",{class:"flex w-full items-center justify-start px-4"},[t("span",{class:"text-sm font-medium text-gray-400"},"Email")]),t("div",{class:"hidden w-full items-center justify-start px-4 md:flex"},[t("span",{class:"text-sm font-medium text-gray-400"},"Role")])],-1),tt={class:"grid w-16"},et={class:"flex h-14 w-full divide-x"},st={class:"grid w-full grid-cols-2 divide-x md:grid-cols-3"},ot={class:"flex w-full items-center justify-start px-4"},it={class:"truncate text-sm font-medium text-gray-500"},nt={class:"flex w-full items-center justify-start px-4"},lt={class:"truncate text-sm font-medium text-gray-500"},at={class:"hidden w-full items-center justify-start px-4 md:flex"},rt={class:"truncate whitespace-nowrap text-sm font-medium text-gray-500"},ct={class:"grid w-16"},dt={key:0,disabled:"",class:"group flex cursor-not-allowed items-center justify-center bg-gray-50 px-3"},mt={class:"flex flex-col p-6"},ut=t("span",{class:"text-xl font-medium text-gray-700"},"Are you sure?",-1),_t={class:"mt-2 text-sm text-gray-500"},ft={class:"font-medium"},pt={class:"mt-4 flex gap-4"},Lt=E({__name:"index",props:{invited:{},contributors:{}},setup(ht){const w=J().value,{loading:C,showDialog:y,openDialog:u,performAction:b,closeDialog:k}=I(),D=async o=>{await b(()=>q.delete(route("ltu.contributors.delete",o)))};return(o,_)=>{const j=R,V=Y,z=S,f=A,p=T,B=N,M=L,h=x("tab"),Z=x("tabs"),H=$,d=F("tooltip");return n(),a(v,null,[e(j,{title:"Contributors"}),e(H,null,{default:s(()=>[t("div",K,[e(Z,null,{default:s(()=>[e(h,{name:"Contributors",prefix:''},{default:s(()=>[t("div",Q,[t("div",U,[t("div",W,[X,t("div",tt,[m((n(),O(z,{href:o.route("ltu.contributors.invite"),class:"group flex items-center justify-center px-3 hover:bg-blue-50"},{default:s(()=>[e(V,{class:"size-5 text-gray-400 group-hover:text-blue-600"})]),_:1},8,["href"])),[[d,"Invite Contributor"]])])])]),(n(!0),a(v,null,P(o.contributors.data,i=>(n(),a("div",{key:i.id,class:"w-full hover:bg-gray-100"},[t("div",et,[t("div",st,[t("div",ot,[t("span",it,r(i.name),1)]),t("div",nt,[t("span",lt,r(i.email),1)]),t("div",at,[t("div",rt,r(i.role.label),1)])]),t("div",ct,[l(w).id===i.id?m((n(),a("button",dt,[e(f,{class:"size-5 text-gray-400"})])),[[d,"You cannot delete yourself!"]]):m((n(),a("button",{key:1,class:"group flex items-center justify-center px-3 hover:bg-red-50",onClick:_[0]||(_[0]=(...g)=>l(u)&&l(u)(...g))},[e(f,{class:"size-5 text-gray-400 group-hover:text-red-600"})])),[[d,"Delete"]])]),e(B,{size:"sm",show:l(y)},{default:s(()=>[t("div",mt,[ut,t("span",_t,[c(" This action cannot be undone, This will permanently delete the "),t("span",ft,r(i.name),1),c(" invitation. ")]),t("div",pt,[e(p,{variant:"secondary",type:"button",size:"lg","full-width":"",onClick:l(k)},{default:s(()=>[c(" Cancel ")]),_:1},8,["onClick"]),e(p,{variant:"danger",type:"button",size:"lg","is-loading":l(C),"full-width":"",onClick:g=>D(i.id)},{default:s(()=>[c(" Delete ")]),_:2},1032,["is-loading","onClick"])])])]),_:2},1032,["show"])])]))),128)),e(M,{links:o.contributors.links,meta:o.contributors.meta},null,8,["links","meta"])])]),_:1}),e(h,{name:"Invited",prefix:''},{default:s(()=>[e(G,{invitations:o.invited},null,8,["invitations"])]),_:1})]),_:1})])]),_:1})],64)}}});export{Lt as default}; diff --git a/resources/dist/vendor/translations-ui/assets/index-bda9933d.js b/resources/dist/vendor/translations-ui/assets/index-bda9933d.js new file mode 100644 index 0000000..0dc8c28 --- /dev/null +++ b/resources/dist/vendor/translations-ui/assets/index-bda9933d.js @@ -0,0 +1 @@ +import{_ as E}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js";import{_ as I}from"./pagination.vue_vue_type_script_setup_true_lang-15830f26.js";import{_ as N}from"./icon-plus-5ba4f8f8.js";import{_ as U}from"./input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js";import{_ as L}from"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";import{_ as P}from"./icon-arrow-right-19101772.js";import{d as T,r as c,s as A,C as K,O,n as q,o as n,h as w,b as s,w as u,f as e,t as g,p as y,c as p,u as G,F as b,q as H,Z as R,i as W}from"./app-8d2ddf0a.js";import{_ as Z}from"./flag.vue_vue_type_script_setup_true_lang-f8d12804.js";import{l as J}from"./lodash-d6ff17c9.js";import{_ as M}from"./phrase-item.vue_vue_type_script_setup_true_lang-a857824f.js";import"./icon-publish-eaee4335.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-47b5a18d.js";import"./use-auth-9835d026.js";import"./transition-fb8d0e84.js";import"./icon-arrow-left-9aff8bd7.js";import"./use-input-size-a5ed2a71.js";import"./icon-pencil-c97c2a6b.js";import"./icon-language-e9642115.js";const Q={class:"w-full bg-white shadow"},X={class:"mx-auto flex w-full max-w-7xl items-center justify-between px-6 lg:px-8"},Y={class:"flex w-full items-center"},ee={class:"flex w-full items-center gap-3 py-4"},te={class:"h-5 shrink-0"},se={class:"flex items-center space-x-2"},ae=["textContent"],le=["textContent"],oe={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},ne={class:"w-full divide-y overflow-hidden rounded-md bg-white shadow"},ie={class:"flex w-full flex-wrap items-center justify-between gap-4 px-4 py-3 sm:flex-nowrap"},re={class:"w-full max-w-full md:max-w-sm"},de={class:"w-full max-w-full md:max-w-sm"},ue={class:"w-full max-w-full md:max-w-sm"},me={class:"w-full shadow-md"},ce={class:"flex h-14 w-full divide-x"},pe=e("div",{class:"hidden w-20 items-center justify-center px-4 md:flex"},[e("span",{class:"text-sm font-medium text-gray-400"},"State")],-1),fe=e("div",{class:"grid w-full grid-cols-2 divide-x md:grid-cols-3"},[e("div",{class:"flex w-full items-center justify-start px-4"},[e("span",{class:"text-sm font-medium text-gray-400"},"Key")]),e("div",{class:"hidden w-full items-center justify-start px-4 md:flex"},[e("span",{class:"text-sm font-medium text-gray-400"},"Source")]),e("div",{class:"flex w-full items-center justify-start px-4"},[e("span",{class:"text-sm font-medium text-gray-400"}," Translation ")])],-1),_e={class:"grid w-[67px] grid-cols-1 divide-x"},Ne=T({__name:"index",props:{phrases:{},translation:{},files:{},filter:{}},setup(k){var f,_,h;const o=k,i=c(((f=o.filter)==null?void 0:f.keyword)||""),r=c(((_=o.filter)==null?void 0:_.status)||""),d=c(((h=o.filter)==null?void 0:h.translationFile)||""),F=[{label:"Translated",value:"translated"},{label:"Untranslated",value:"untranslated"}],V=A(()=>o.files.map(t=>({value:t.id,label:t.nameWithExtension})));return K([i,r,d],J.debounce(()=>{O.get(route("ltu.phrases.index",{translation:o.translation.id}),{filter:{keyword:i.value||void 0,status:r.value||void 0,translationFile:d.value||void 0}},{preserveState:!0,preserveScroll:!0,only:["phrases"]})},300)),(t,l)=>{const j=R,S=Z,m=W,C=P,$=L,x=U,z=N,B=I,D=E,v=q("tooltip");return n(),w(b,null,[s(j,{title:"Phrases"}),s(D,null,{default:u(()=>[e("div",Q,[e("div",X,[e("div",Y,[e("div",ee,[s(m,{href:t.route("ltu.phrases.index",t.translation.id),class:"flex items-center gap-2 rounded-md border border-transparent bg-gray-50 px-2 py-1 hover:border-blue-400 hover:bg-blue-100"},{default:u(()=>[e("div",te,[s(S,{"country-code":t.translation.language.code,width:"w-5"},null,8,["country-code"])]),e("div",se,[e("div",{class:"text-sm font-semibold text-gray-600",textContent:g(t.translation.language.name)},null,8,ae)])]),_:1},8,["href"]),e("div",{class:"rounded-md border bg-white px-1.5 py-0.5 text-sm text-gray-500",textContent:g(t.translation.language.code)},null,8,le)])]),y((n(),p(m,{href:t.route("ltu.translation.index"),class:"flex size-10 items-center justify-center rounded-full bg-gray-100 p-1 hover:bg-gray-200"},{default:u(()=>[s(C,{class:"size-6 text-gray-400"})]),_:1},8,["href"])),[[v,"Go back"]])])]),e("div",oe,[e("div",ne,[e("div",ie,[e("div",re,[s($,{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=a=>i.value=a),placeholder:"Search by key or value",size:"md"},null,8,["modelValue"])]),e("div",de,[s(x,{id:"translationFile",modelValue:d.value,"onUpdate:modelValue":l[1]||(l[1]=a=>d.value=a),size:"md",placeholder:"Filter by file",items:G(V)},null,8,["modelValue","items"])]),e("div",ue,[s(x,{id:"status",modelValue:r.value,"onUpdate:modelValue":l[2]||(l[2]=a=>r.value=a),size:"md",placeholder:"Filter by status",items:F},null,8,["modelValue"])])]),e("div",me,[e("div",ce,[pe,fe,e("div",_e,[y((n(),p(m,{href:t.route("ltu.source_translation.add_source_key"),class:"group flex items-center justify-center hover:bg-blue-50"},{default:u(()=>[s(z,{class:"size-5 text-gray-400 group-hover:text-blue-600"})]),_:1},8,["href"])),[[v,"Add New Key"]])])])]),(n(!0),w(b,null,H(t.phrases.data,a=>(n(),p(M,{key:a.uuid,phrase:a,translation:t.translation},null,8,["phrase","translation"]))),128)),s(B,{links:t.phrases.links,meta:t.phrases.meta},null,8,["links","meta"])])])]),_:1})],64)}}});export{Ne as default}; diff --git a/resources/dist/vendor/translations-ui/assets/index-c1628707.js b/resources/dist/vendor/translations-ui/assets/index-c1628707.js new file mode 100644 index 0000000..6e2c698 --- /dev/null +++ b/resources/dist/vendor/translations-ui/assets/index-c1628707.js @@ -0,0 +1 @@ +import{_ as W}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js";import{_ as Z}from"./pagination.vue_vue_type_script_setup_true_lang-15830f26.js";import{u as J,_ as M}from"./use-confirmation-dialog-1471177b.js";import{_ as Q}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as X}from"./icon-trash-62f8df5f.js";import{_ as Y}from"./icon-plus-5ba4f8f8.js";import{_ as ee}from"./input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js";import{_ as te}from"./input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js";import{_ as se}from"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";import{_ as oe}from"./icon-arrow-right-19101772.js";import{d as le,r as p,s as b,C as ae,O as k,n as ne,o as r,h as f,b as s,w as a,f as e,t as C,p as h,c as g,E as ie,u as d,a as z,F as D,q as re,Z as de,i as ce}from"./app-8d2ddf0a.js";import{_ as ue}from"./flag.vue_vue_type_script_setup_true_lang-f8d12804.js";import{_ as me}from"./source-phrase-item.vue_vue_type_script_setup_true_lang-c6995ae0.js";import{l as _e}from"./lodash-d6ff17c9.js";import"./icon-publish-eaee4335.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-47b5a18d.js";import"./use-auth-9835d026.js";import"./transition-fb8d0e84.js";import"./icon-arrow-left-9aff8bd7.js";import"./dialog-6de4cc28.js";import"./use-input-size-a5ed2a71.js";import"./icon-pencil-c97c2a6b.js";const pe={class:"w-full bg-white shadow"},fe={class:"mx-auto flex w-full max-w-7xl items-center justify-between px-6 lg:px-8"},he={class:"flex w-full items-center"},ge={class:"flex w-full items-center gap-3 py-4"},ve={class:"h-5 shrink-0"},xe={class:"flex items-center space-x-2"},we=["textContent"],ye=["textContent"],be={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},ke={class:"w-full divide-y overflow-hidden rounded-md bg-white shadow"},Ce={class:"flex w-full flex-wrap items-center justify-between gap-4 px-4 py-3 sm:flex-nowrap"},ze={class:"w-full max-w-full md:max-w-sm"},De={class:"w-full max-w-full md:max-w-sm"},Se={class:"w-full shadow-md"},Fe={class:"flex h-14 w-full divide-x"},$e={class:"flex w-12 items-center justify-center p-4"},je=e("div",{class:"grid w-full grid-cols-2 divide-x"},[e("div",{class:"flex w-full items-center justify-start px-4"},[e("span",{class:"text-sm font-medium text-gray-400"},"Key")]),e("div",{class:"flex w-full items-center justify-start px-4"},[e("span",{class:"text-sm font-medium text-gray-400"},"String")])],-1),Ve={class:"grid w-36 grid-cols-2 divide-x"},Be={class:"flex h-full"},Ie={class:"flex w-full max-w-full"},Ae=["disabled"],Ne={class:"flex flex-col p-6"},Te=e("span",{class:"text-xl font-medium text-gray-700"},"Are you sure?",-1),Ee=e("span",{class:"mt-2 text-sm text-gray-500"}," This action cannot be undone, This will permanently delete the selected phrases and all of their translations. ",-1),Le={class:"mt-4 flex gap-4"},rt=le({__name:"index",props:{phrases:{},translation:{},files:{},filter:{}},setup(S){var x,w;const n=S,c=p(((x=n.filter)==null?void 0:x.keyword)||""),u=p(((w=n.filter)==null?void 0:w.translationFile)||""),F=b(()=>n.files.map(t=>({value:t.id,label:t.nameWithExtension})));ae([c,u],_e.debounce(()=>{k.get(route("ltu.source_translation"),{filter:{keyword:c.value||void 0,translationFile:u.value||void 0}},{preserveState:!0,preserveScroll:!0,only:["phrases"]})},300));const o=p([]),{loading:$,showDialog:j,openDialog:v,performAction:V,closeDialog:B}=J(),I=async()=>{await V(()=>k.post(route("ltu.source_translation.delete_phrases"),{selected_ids:o.value},{preserveScroll:!0,onSuccess:()=>{o.value=[]}}))};function A(){o.value.length===n.phrases.data.length?o.value=[]:o.value=n.phrases.data.map(t=>t.id)}const N=b(()=>o.value.length===Object.keys(n.phrases.data).length);return(t,i)=>{const T=de,E=ue,m=ce,L=oe,O=se,P=te,K=ee,U=Y,q=X,y=Q,G=M,H=Z,R=W,_=ne("tooltip");return r(),f(D,null,[s(T,{title:"Base Language"}),s(R,null,{default:a(()=>[e("div",pe,[e("div",fe,[e("div",he,[e("div",ge,[s(m,{href:t.route("ltu.source_translation"),class:"flex items-center gap-2 rounded-md border border-transparent bg-gray-50 px-2 py-1 hover:border-blue-400 hover:bg-blue-100"},{default:a(()=>[e("div",ve,[s(E,{"country-code":t.translation.language.code,width:"w-5"},null,8,["country-code"])]),e("div",xe,[e("div",{class:"text-sm font-semibold text-gray-600",textContent:C(t.translation.language.name)},null,8,we)])]),_:1},8,["href"]),e("div",{class:"rounded-md border bg-white px-1.5 py-0.5 text-sm text-gray-500",textContent:C(t.translation.language.code)},null,8,ye)])]),h((r(),g(m,{href:t.route("ltu.translation.index"),class:"flex size-10 items-center justify-center rounded-full bg-gray-100 p-1 hover:bg-gray-200"},{default:a(()=>[s(L,{class:"size-6 text-gray-400"})]),_:1},8,["href"])),[[_,"Go back"]])])]),e("div",be,[e("div",ke,[e("div",Ce,[e("div",ze,[s(O,{modelValue:c.value,"onUpdate:modelValue":i[0]||(i[0]=l=>c.value=l),placeholder:"Search by key or value",size:"md"},null,8,["modelValue"])]),e("div",De,[s(P,{id:"translationFile",modelValue:u.value,"onUpdate:modelValue":i[1]||(i[1]=l=>u.value=l),size:"md",placeholder:"Filter by file",items:F.value},null,8,["modelValue","items"])])]),e("div",Se,[e("div",Fe,[e("div",$e,[s(K,{disabled:!t.phrases.data.length,checked:N.value,onClick:A},null,8,["disabled","checked"])]),je,e("div",Ve,[h((r(),g(m,{href:t.route("ltu.source_translation.add_source_key"),class:"group flex items-center justify-center hover:bg-blue-50"},{default:a(()=>[s(U,{class:"size-5 text-gray-400 group-hover:text-blue-600"})]),_:1},8,["href"])),[[_,"Add New Key"]]),e("div",Be,[e("div",Ie,[h((r(),f("button",{type:"button",class:ie(["relative inline-flex size-14 select-none items-center justify-center p-4 text-sm font-medium uppercase tracking-wide text-gray-400 no-underline outline-none transition-colors duration-150 ease-out",{"cursor-not-allowed":!o.value.length,"cursor-pointer":o.value.length,"hover:bg-red-50 hover:text-red-600":o.value.length,"bg-gray-50":!o.value.length}]),disabled:!o.value.length,onClick:i[2]||(i[2]=(...l)=>d(v)&&d(v)(...l))},[s(q,{class:"size-5"})],10,Ae)),[[_,o.value.length?"Delete selected":"Select phrases to delete"]])])]),s(G,{size:"sm",show:d(j)},{default:a(()=>[e("div",Ne,[Te,Ee,e("div",Le,[s(y,{variant:"secondary",type:"button",size:"lg","full-width":"",onClick:d(B)},{default:a(()=>[z(" Cancel ")]),_:1},8,["onClick"]),s(y,{variant:"danger",type:"button",size:"lg","is-loading":d($),"full-width":"",onClick:I},{default:a(()=>[z(" Delete ")]),_:1},8,["is-loading"])])])]),_:1},8,["show"])])])]),(r(!0),f(D,null,re(t.phrases.data,l=>(r(),g(me,{key:l.uuid,phrase:l,"selected-ids":o.value},null,8,["phrase","selected-ids"]))),128)),s(H,{links:t.phrases.links,meta:t.phrases.meta},null,8,["links","meta"])])])]),_:1})],64)}}});export{rt as default}; diff --git a/resources/dist/vendor/translations-ui/assets/index-c492b9aa.js b/resources/dist/vendor/translations-ui/assets/index-c492b9aa.js deleted file mode 100644 index 3611cab..0000000 --- a/resources/dist/vendor/translations-ui/assets/index-c492b9aa.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as q}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js";import{_ as G}from"./pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js";import{u as H,_ as R}from"./use-confirmation-dialog-fc74ac1c.js";import{_ as U}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as Z}from"./icon-trash-5b13c52f.js";import{_ as J}from"./icon-plus-74060bd2.js";import{_ as M}from"./input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js";import{_ as Q}from"./input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js";import{_ as W}from"./icon-arrow-right-75251a2c.js";import{d as X,r as x,C as Y,O as w,s as ee,n as te,o as a,h as _,b as s,w as l,f as e,t as y,p,c as f,E as se,u as i,a as b,F as k,q as oe,Z as le,i as ne}from"./app-f79836f7.js";import{_ as ae}from"./flag.vue_vue_type_script_setup_true_lang-1258a665.js";import{_ as ie}from"./source-phrase-item.vue_vue_type_script_setup_true_lang-31cfc1e5.js";import{l as re}from"./lodash-5c2eb642.js";import"./icon-publish-2c3bbfd2.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-54a98bfe.js";import"./use-auth-b0f8b4d5.js";import"./transition-53b06f51.js";import"./icon-arrow-left-52c22ea1.js";import"./dialog-1dde479c.js";import"./use-input-size-03843395.js";import"./icon-pencil-9c3335bd.js";const ce={class:"w-full bg-white shadow"},de={class:"mx-auto flex w-full max-w-7xl items-center justify-between px-6 lg:px-8"},ue={class:"flex w-full items-center"},me={class:"flex w-full items-center gap-3 py-4"},_e={class:"h-5 shrink-0"},pe={class:"flex items-center space-x-2"},fe=["textContent"],he=["textContent"],ge={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},ve={class:"w-full divide-y overflow-hidden rounded-md bg-white shadow"},xe={class:"flex w-full flex-wrap items-center justify-between gap-4 px-4 py-3 sm:flex-nowrap"},we={class:"w-full max-w-full md:max-w-sm"},ye={class:"w-full shadow-md"},be={class:"flex h-14 w-full divide-x"},ke={class:"flex w-12 items-center justify-center p-4"},Ce=e("div",{class:"grid w-full grid-cols-2 divide-x"},[e("div",{class:"flex w-full items-center justify-start px-4"},[e("span",{class:"text-sm font-medium text-gray-400"},"Key")]),e("div",{class:"flex w-full items-center justify-start px-4"},[e("span",{class:"text-sm font-medium text-gray-400"},"String")])],-1),De={class:"grid w-36 grid-cols-2 divide-x"},ze={class:"flex h-full"},Se={class:"flex w-full max-w-full"},je=["disabled"],$e={class:"flex flex-col p-6"},Be=e("span",{class:"text-xl font-medium text-gray-700"},"Are you sure?",-1),Ie=e("span",{class:"mt-2 text-sm text-gray-500"}," This action cannot be undone, This will permanently delete the selected phrases and all of their translations. ",-1),Ve={class:"mt-4 flex gap-4"},tt=X({__name:"index",props:{phrases:{},translation:{},filter:{}},setup(C){var g;const r=C,c=x(((g=r.filter)==null?void 0:g.keyword)||"");Y([c],re.debounce(()=>{w.get(route("ltu.source_translation"),{filter:{keyword:c.value||void 0}},{preserveState:!0,preserveScroll:!0,only:["phrases"]})},300));const t=x([]),{loading:D,showDialog:z,openDialog:h,performAction:S,closeDialog:j}=H(),$=async()=>{await S(()=>w.post(route("ltu.source_translation.delete_phrases"),{selected_ids:t.value},{preserveScroll:!0,onSuccess:()=>{t.value=[]}}))};function B(){t.value.length===r.phrases.data.length?t.value=[]:t.value=r.phrases.data.map(o=>o.id)}const I=ee(()=>t.value.length===Object.keys(r.phrases.data).length);return(o,d)=>{const V=le,A=ae,u=ne,T=W,F=Q,L=M,N=J,E=Z,v=U,O=R,P=G,K=q,m=te("tooltip");return a(),_(k,null,[s(V,{title:"Base Language"}),s(K,null,{default:l(()=>[e("div",ce,[e("div",de,[e("div",ue,[e("div",me,[s(u,{href:o.route("ltu.source_translation"),class:"flex items-center gap-2 rounded-md border border-transparent bg-gray-50 px-2 py-1 hover:border-blue-400 hover:bg-blue-100"},{default:l(()=>[e("div",_e,[s(A,{"country-code":o.translation.language.code,width:"w-5"},null,8,["country-code"])]),e("div",pe,[e("div",{class:"text-sm font-semibold text-gray-600",textContent:y(o.translation.language.name)},null,8,fe)])]),_:1},8,["href"]),e("div",{class:"rounded-md border bg-white px-1.5 py-0.5 text-sm text-gray-500",textContent:y(o.translation.language.code)},null,8,he)])]),p((a(),f(u,{href:o.route("ltu.translation.index"),class:"flex size-10 items-center justify-center rounded-full bg-gray-100 p-1 hover:bg-gray-200"},{default:l(()=>[s(T,{class:"size-6 text-gray-400"})]),_:1},8,["href"])),[[m,"Go back"]])])]),e("div",ge,[e("div",ve,[e("div",xe,[e("div",we,[s(F,{modelValue:c.value,"onUpdate:modelValue":d[0]||(d[0]=n=>c.value=n),placeholder:"Search by key or value",size:"md"},null,8,["modelValue"])])]),e("div",ye,[e("div",be,[e("div",ke,[s(L,{disabled:!o.phrases.data.length,checked:I.value,onClick:B},null,8,["disabled","checked"])]),Ce,e("div",De,[p((a(),f(u,{href:o.route("ltu.source_translation.add_source_key"),class:"group flex items-center justify-center hover:bg-blue-50"},{default:l(()=>[s(N,{class:"size-5 text-gray-400 group-hover:text-blue-600"})]),_:1},8,["href"])),[[m,"Add New Key"]]),e("div",ze,[e("div",Se,[p((a(),_("button",{type:"button",class:se(["relative inline-flex size-14 select-none items-center justify-center p-4 text-sm font-medium uppercase tracking-wide text-gray-400 no-underline outline-none transition-colors duration-150 ease-out",{"cursor-not-allowed":!t.value.length,"cursor-pointer":t.value.length,"hover:bg-red-50 hover:text-red-600":t.value.length,"bg-gray-50":!t.value.length}]),disabled:!t.value.length,onClick:d[1]||(d[1]=(...n)=>i(h)&&i(h)(...n))},[s(E,{class:"size-5"})],10,je)),[[m,t.value.length?"Delete selected":"Select phrases to delete"]])])]),s(O,{size:"sm",show:i(z)},{default:l(()=>[e("div",$e,[Be,Ie,e("div",Ve,[s(v,{variant:"secondary",type:"button",size:"lg","full-width":"",onClick:i(j)},{default:l(()=>[b(" Cancel ")]),_:1},8,["onClick"]),s(v,{variant:"danger",type:"button",size:"lg","is-loading":i(D),"full-width":"",onClick:$},{default:l(()=>[b(" Delete ")]),_:1},8,["is-loading"])])])]),_:1},8,["show"])])])]),(a(!0),_(k,null,oe(o.phrases.data,n=>(a(),f(ie,{key:n.uuid,phrase:n,"selected-ids":t.value},null,8,["phrase","selected-ids"]))),128)),s(P,{links:o.phrases.links,meta:o.phrases.meta},null,8,["links","meta"])])])]),_:1})],64)}}});export{tt as default}; diff --git a/resources/dist/vendor/translations-ui/assets/index-56994201.js b/resources/dist/vendor/translations-ui/assets/index-c92090c8.js similarity index 94% rename from resources/dist/vendor/translations-ui/assets/index-56994201.js rename to resources/dist/vendor/translations-ui/assets/index-c92090c8.js index 7c22788..b61099d 100644 --- a/resources/dist/vendor/translations-ui/assets/index-56994201.js +++ b/resources/dist/vendor/translations-ui/assets/index-c92090c8.js @@ -1 +1 @@ -import{_ as se}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js";import{_ as ne}from"./icon-clipboard-b22b0eec.js";import{d as A,o as i,h as m,k as W,f as e,t as z,P as oe,r as L,C as E,s as V,n as le,b as a,w as c,e as N,p as C,c as w,E as ae,u as y,a as q,F,q as re,O as ie,Z as ce,i as ue}from"./app-f79836f7.js";import{_ as Y}from"./_plugin-vue_export-helper-c27b6911.js";import{_ as de}from"./flag.vue_vue_type_script_setup_true_lang-1258a665.js";import{u as fe,_ as me}from"./use-confirmation-dialog-fc74ac1c.js";import{_ as _e}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as pe}from"./icon-trash-5b13c52f.js";import{_ as he}from"./icon-plus-74060bd2.js";import{_ as ge}from"./input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js";import{_ as ve}from"./input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js";import{a as xe,t as $,b as we,i as U,n as ye,c as be,d as P,e as ke}from"./index-899e9fa6.js";import{_ as Ce}from"./translation-item.vue_vue_type_script_setup_true_lang-24d299e4.js";import"./icon-publish-2c3bbfd2.js";import"./logo-54a98bfe.js";import"./use-auth-b0f8b4d5.js";import"./transition-53b06f51.js";import"./dialog-1dde479c.js";import"./use-input-size-03843395.js";import"./icon-language-aa39478f.js";const ze={class:"flex w-full flex-col items-center justify-center overflow-hidden px-4"},$e={class:"mt-6 flex flex-col items-center justify-center text-center text-sm tracking-tight text-gray-400 sm:text-base"},Te=["textContent"],De=["textContent"],Le=A({__name:"empty-state",props:{title:{type:String,required:!0},description:{type:String,required:!0}},setup(t){return(s,n)=>(i(),m("div",ze,[W(s.$slots,"icon"),e("div",$e,[e("span",{textContent:z(t.title)},null,8,Te),e("span",{textContent:z(t.description)},null,8,De)]),W(s.$slots,"default")]))}}),Se={},je={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"currentColor",viewBox:"0 0 175 256"},Ve=e("path",{d:"M120.664 97.062V75.111h-13.21v16.946a81.929 81.929 0 0 0-13.89-2.705V75.111h-18.6v14.395a81.934 81.934 0 0 0-13.836 2.88V75.111H50.511V96.41a82.5 82.5 0 0 0-5.754 2.917V84.731h-7.311v19.204c-21.224 14.954-35.13 39.632-35.13 67.511C2.316 216.966 39.35 254 84.87 254s82.555-37.034 82.555-82.555c0-32.704-19.116-61.026-46.761-74.383zM62.175 222.637c-2.423-.21-1.264-12.855-2.529-16.227-1.265-3.373-3.687-3.159-3.687-5.478 0 0 3.583-9.128 5.163-8.041 1.581 1.087 4.352 7.699 4.774 11.386.42 3.688-1.298 18.57-3.721 18.36zm41.782-68.18a498.932 498.932 0 0 0-4.658 4.933 4.554 4.554 0 0 0-1.207 3.093v4.534c0 .513-.239.997-.647 1.309l-1.739 1.329a1.524 1.524 0 0 1-2.227-.419L86.763 158.2a17.076 17.076 0 0 1-2.163-5.525c-.684-3.41-1.91-8.803-3.036-9.966-3.018-3.119-12.487-8.061-15.648-8.693-3.161-.632-4.895.284-5.057 1.423-.317 2.213 8.535 4.056 8.693 6.955.171 3.133-12.368 14.817-15.331 13.751-3.951-1.423-4.056-10.958-5.479-13.066-1.226-1.818-4.016-2.91-5.427-1.633-1.66 1.501 4.335 17.674 6.401 18.65 2.746 1.297 6.559-2.964 8.456-1.541 1.896 1.423-.632 7.864-6.164 13.711-5.532 5.848-5.058 9.325-4.583 12.644.474 3.319 3.736 17.228 3.636 21.653-.137 6.013-4.583 11.064-4.583 11.064v15.433c-20.539-12.845-34.238-35.654-34.238-61.614a72.186 72.186 0 0 1 10.696-37.893c1.176 1.48 3.203 3.588 7.297 5.955 6.763 3.909 14.387.303 16.255-7.755.527-2.273-11.23-1.488-12.347-8.189-.238-1.43-.778-2.2-1.504-2.509 13.218-13.696 31.741-22.24 52.234-22.24 23.519 0 44.452 11.245 57.735 28.631.052 1.664-.259 3.255-1.455 4.202-3.793 3.003-4.425 5.532-3.161 8.535 1.264 3.003 1.896 6.48-1.738 9.642-2.272 1.976-5.47 3.704-7.549 4.723a2.982 2.982 0 0 0-1.637 3.148c.236 1.464.612 3.311-.812 5.019-.942 1.13-2.302 2.178-3.344 2.895-.841.58-1.98.456-2.666-.302-1.908-2.106-7.473-7.606-10.871-10.942a3.8 3.8 0 0 0-5.416.091zm27.928 21.288-1.445 2.91a3.573 3.573 0 0 1-6.641-.626l-.155-.553a3.572 3.572 0 0 1 1.037-3.607l4.729-4.299a1.31 1.31 0 0 1 2.167.72l.615 3.188c.15.77.042 1.566-.307 2.267zm14.058 33.225c-1.159 2.634-3.372 6.743-8.535 10.958-4.45 3.633-10.115 7.482-11.907 6.533-1.791-.949-.21-6.323-3.161-7.482-2.948-1.16-10.851 6.427-13.274 5.163-2.467-1.287 0-9.483 0-13.593 0-4.11 1.475-8.588 4.636-9.799 4.143-1.588 6.849-1.369 11.169-5.796 4.32-4.425 9.167-9.8 10.748-8.956 1.581.843-.527 8.851.527 9.799 1.054.949 4.847.422 6.111-1.791 1.264-2.213 1.791-7.902 4.004-6.638 2.213 1.264.737 5.796.737 9.167s.104 9.8-1.055 12.435zm4.165-25.931c-2.832-3.026-3.759-5.233-.603-7.743s6.874 3.414 7.058 7.962c.056 1.368.306 4.072-1.161 5.352-1.466 1.28-2.461-2.544-5.294-5.571zM93.398 56.162v13h-5.954v-13c0-6.279-5.108-11.387-11.387-11.387H74.64c-.001.083-.001.166-.005.247a2.977 2.977 0 0 1-5.947-.283v-.108a7.032 7.032 0 0 0-7.025-7.025c-1.56 0-3.037.502-4.271 1.452a2.976 2.976 0 1 1-3.63-4.718 12.85 12.85 0 0 1 7.902-2.688c5.066 0 9.452 2.925 11.589 7.169h2.804c9.561 0 17.341 7.779 17.341 17.341zm77.975 2.968a2.976 2.976 0 0 1-2.702 1.727h-15.104a13.062 13.062 0 0 1-10.861 11.104 13.075 13.075 0 0 1-11.732-4.032 2.975 2.975 0 0 1 .162-4.206 2.975 2.975 0 0 1 4.206.162 7.156 7.156 0 0 0 6.407 2.2 7.115 7.115 0 0 0 5.936-7.859 2.976 2.976 0 0 1 2.957-3.323h15.904a8.246 8.246 0 0 0-.335-4.641c-.647-1.712-1.838-3.022-3.353-3.688a6.954 6.954 0 0 0-4.489-.382 2.98 2.98 0 0 1-3.68-2.546c-.508-4.388-3.616-8.255-7.735-9.623a11.136 11.136 0 0 0-8.57.6 11.158 11.158 0 0 0-5.638 6.497c-.247.733-.441 1.743-.535 2.781a2.977 2.977 0 0 1-2.964 2.708h-4.276c-6.275 0-11.381 5.11-11.381 11.391v11.163h-5.954V57.999c0-9.564 7.776-17.345 17.334-17.345h1.735c.107-.469.236-.953.396-1.426.863-2.59 2.31-4.88 4.198-6.75a12.83 12.83 0 0 0-6.374-5.232 12.884 12.884 0 0 0-9.914.306 12.794 12.794 0 0 0-6.079 5.685 3.004 3.004 0 0 1-2.751 1.571 2.98 2.98 0 0 1-2.609-1.797c-.433-.977-4.578-9.539-14.856-5.984-2.107.98-3.803 2.547-4.914 4.54a2.976 2.976 0 0 1-5.532-.93c-1.237-6.975-7.623-7.748-8.347-7.813-1.404-.126-2.549-1.221-2.712-2.621-.621-5.309-4.294-9.832-9.358-11.523-7.353-2.451-14.861 1.318-17.458 8.764-.253.727-.55 2.48-.68 3.492a2.979 2.979 0 0 1-2.175 2.497 8.775 8.775 0 0 0-6.465 8.461c0 4.834 3.935 8.767 8.771 8.767a2.987 2.987 0 0 1 2.99 2.978l-.001 3.676c0 3.933 3.201 7.134 7.135 7.134h17.007c7.724 0 14.008 6.284 14.008 14.009v.704h-5.954v-.704c0-4.442-3.613-8.055-8.055-8.055H49.972c-7.217 0-13.089-5.872-13.089-13.089v-1.001c-5.998-1.232-10.66-6.116-11.584-12.209-4.418-1.14-9.163.268-12.23 3.673-4.544 5.046-4.137 12.847.907 17.392a12.155 12.155 0 0 0 4.074 2.439 2.978 2.978 0 0 1 1.664 4.133 7.01 7.01 0 0 0 .201 6.656 6.984 6.984 0 0 0 4.269 3.275 6.982 6.982 0 0 0 5.334-.702 6.984 6.984 0 0 0 3.447-5.136 2.975 2.975 0 0 1 2.002-2.419c.305-.102.702-.18 1.023-.18h23.392a2.977 2.977 0 0 1 2.977 2.977 2.967 2.967 0 0 1-2.712 2.95l-21.394.027a12.887 12.887 0 0 1-5.759 6.938 12.903 12.903 0 0 1-9.852 1.297 12.901 12.901 0 0 1-7.884-6.049 12.946 12.946 0 0 1-1.416-9.383 18.217 18.217 0 0 1-3.352-2.4c-7.482-6.74-8.086-18.313-1.346-25.798 4.283-4.758 10.779-6.882 16.988-5.708 1.166-4.338 4.27-7.97 8.457-9.746.166-.94.398-2.041.683-2.857C38.411 5.052 49.376-.42 59.739 3.032c6.53 2.18 11.442 7.649 12.999 14.265 3.094.811 7.022 2.858 9.448 6.94a17.005 17.005 0 0 1 4.191-2.687c.077-.035.155-.066.234-.094 9.577-3.39 16.221.655 19.853 5.053a18.755 18.755 0 0 1 6.104-4.386 18.792 18.792 0 0 1 14.465-.446 18.729 18.729 0 0 1 9.162 7.413c3.99-1.848 8.454-2.117 12.643-.715 5.324 1.768 9.539 6.266 11.159 11.653 1.791-.031 3.557.358 5.245 1.09 3.004 1.322 5.321 3.819 6.538 7.038 1.334 3.529 1.186 7.529-.407 10.974z"},null,-1),Ae=[Ve];function Ee(t,s){return i(),m("svg",je,Ae)}const Ie=Y(Se,[["render",Ee]]),Me={},Oe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},Be=e("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),He=e("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"},null,-1),We=[Be,He];function Ne(t,s){return i(),m("svg",Oe,We)}const qe=Y(Me,[["render",Ne]]);function Fe(t){var s;const n=$(t);return(s=n==null?void 0:n.$el)!=null?s:n}const Ue=ke?window:void 0;function Ye(...t){let s,n,o,_;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,o,_]=t,s=Ue):[s,n,o,_]=t,!s)return ye;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const f=[],r=()=>{f.forEach(d=>d()),f.length=0},u=(d,h,v,l)=>(d.addEventListener(h,v,l),()=>d.removeEventListener(h,v,l)),p=E(()=>[Fe(s),$(_)],([d,h])=>{if(r(),!d)return;const v=be(h)?{...h}:h;f.push(...n.flatMap(l=>o.map(x=>u(d,l,x,v))))},{immediate:!0,flush:"post"}),T=()=>{p(),r()};return P(T),T}const Pe=A({name:"UseClipboard",props:["source","read","navigator","copiedDuring","legacy"],setup(t,{slots:s}){const n=oe(xe(t));return()=>{var o;return(o=s.default)==null?void 0:o.call(s,n)}}});function j(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function X(t){const s=window.getComputedStyle(t);if(s.overflowX==="scroll"||s.overflowY==="scroll"||s.overflowX==="auto"&&t.clientWidth1?!0:(s.preventDefault&&s.preventDefault(),!1)}const D=new WeakMap;function Ke(t,s=!1){const n=L(s);let o=null;E(we(t),r=>{const u=j($(r));if(u){const p=u;D.get(p)||D.set(p,p.style.overflow),n.value&&(p.style.overflow="hidden")}},{immediate:!0});const _=()=>{const r=j($(t));!r||n.value||(U&&(o=Ye(r,"touchmove",u=>{Xe(u)},{passive:!1})),r.style.overflow="hidden",n.value=!0)},f=()=>{var r;const u=j($(t));!u||!n.value||(U&&(o==null||o()),u.style.overflow=(r=D.get(u))!=null?r:"",D.delete(u),n.value=!1)};return P(f),V({get(){return n.value},set(r){r?_():f()}})}function Qe(){let t=!1;const s=L(!1);return(n,o)=>{if(s.value=o.value,t)return;t=!0;const _=Ke(n,o.value);E(s,f=>_.value=f)}}Qe();const Re={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},Ze={key:0,class:"w-full"},Ge={class:"w-auto"},Je={key:1,class:"mt-4 overflow-hidden rounded-lg border bg-white shadow"},et={class:"relative z-10 flex w-full divide-x shadow"},tt={class:"flex w-14 shrink-0 items-center justify-center"},st={class:"flex shrink-0 items-center"},nt=e("div",{class:"hidden flex-1 items-center px-4 text-sm text-gray-500 sm:flex"},"Language name",-1),ot=e("div",{class:"hidden flex-1 items-center px-4 text-sm text-gray-500 md:flex md:max-w-72 lg:max-w-80 xl:max-w-96"},"Translation progress",-1),lt={class:"w-full sm:w-14"},at={class:"visible flex size-full items-center justify-center leading-none"},rt=e("span",{class:"mx-auto whitespace-nowrap sm:hidden"},"Add Language",-1),it={class:"flex h-full"},ct={class:"flex w-full max-w-full"},ut=["disabled"],dt={class:"flex flex-col p-6"},ft=e("span",{class:"text-xl font-medium text-gray-700"},"Are you sure?",-1),mt=e("span",{class:"mt-2 text-sm text-gray-500"}," This action cannot be undone, This will permanently delete the selected languages and all of their translations. ",-1),_t={class:"mt-4 flex gap-4"},pt={class:"divide-y"},ht={class:"flex h-14 flex-row gap-y-2 no-underline transition-colors duration-100 hover:bg-gray-50"},gt={class:"flex flex-1 divide-x border-r no-underline"},vt={class:"flex max-w-full"},xt={class:"mr-0 flex w-14 items-center justify-center bg-gray-50"},wt={class:"flex shrink-0 items-center opacity-50"},yt={class:"flex flex-1 justify-between gap-x-4 truncate px-4"},bt={class:"flex w-full items-center truncate font-medium"},kt={class:"mr-2 max-w-full truncate text-base text-gray-700"},Ct={class:"inline-block"},zt={class:"flex h-5 items-center rounded-md border px-1.5 text-xs font-normal leading-none text-gray-600"},$t={class:"hidden flex-1 flex-wrap content-center items-center gap-1 px-4 md:flex md:max-w-72 lg:max-w-80 xl:max-w-96"},Tt={class:"mr-1 shrink-0 text-sm leading-tight text-gray-600"},Dt={class:"relative inline-flex h-14 w-full cursor-pointer select-none items-center justify-center px-4 text-sm font-medium tracking-wide text-gray-700 outline-none transition-colors duration-150 ease-out focus:border-blue-50 group-hover:bg-blue-50 group-hover:text-blue-500"},Lt={class:"flex h-full"},St={class:"flex w-full max-w-full"},jt={class:"relative inline-flex size-14 cursor-not-allowed select-none items-center justify-center p-4 text-sm font-medium uppercase tracking-wide text-gray-400 no-underline outline-none transition-colors duration-150 ease-out"},Vt=e("div",{class:"text-sm font-medium uppercase tracking-wide"},"Add new language",-1),At={class:"visible flex items-center leading-none"},Et=e("span",{class:"whitespace-nowrap"},"Add languages",-1),It={class:"mt-4 flex items-center rounded-md border"},Mt=e("span",{class:"px-2 py-1 text-sm font-medium text-gray-500"},"php artisan translation:import",-1),Ot=["onClick"],l1=A({__name:"index",props:{translations:{},sourceTranslation:{}},setup(t){const s=t,n=L(""),o=L([]),{loading:_,showDialog:f,openDialog:r,performAction:u,closeDialog:p}=fe(),T=async l=>{await u(()=>ie.post(route("ltu.translation.delete_multiple"),{selected_ids:o.value},{preserveScroll:!0,onSuccess:()=>{o.value=[]}}))},d=V(()=>Object.keys(s.translations).map(l=>s.translations[l]).filter(l=>l&&(l.language.name.toLowerCase().includes(n.value.toLowerCase())||l.language.code.toLowerCase().includes(n.value.toLowerCase()))));function h(){o.value.length===s.translations.length?o.value=[]:o.value=s.translations.map(l=>l.id)}const v=V(()=>o.value.length===Object.keys(s.translations).length);return(l,x)=>{const K=ce,Q=ve,I=ge,S=he,b=ue,M=pe,O=_e,R=me,Z=de,G=qe,B=Ie,H=Le,J=ne,ee=se,k=le("tooltip");return i(),m(F,null,[a(K,{title:"Translations"}),a(ee,null,{default:c(()=>[e("div",Re,[l.sourceTranslation?(i(),m("div",Ze,[e("div",Ge,[a(Q,{modelValue:n.value,"onUpdate:modelValue":x[0]||(x[0]=g=>n.value=g),placeholder:"Search languages by name or code"},null,8,["modelValue"])])])):N("",!0),l.sourceTranslation?(i(),m("div",Je,[e("div",et,[e("div",tt,[e("div",st,[a(I,{disabled:!l.translations.length,checked:v.value,onInput:h},null,8,["disabled","checked"])])]),nt,ot,e("div",lt,[C((i(),w(b,{href:l.route("ltu.translation.create"),class:"relative inline-flex h-14 w-full cursor-pointer select-none items-center justify-center px-4 text-sm font-medium tracking-wide text-gray-700 outline-none transition-colors duration-150 ease-out hover:bg-blue-50 hover:text-blue-500 focus:border-blue-50 sm:text-gray-400"},{default:c(()=>[e("div",at,[rt,a(S,{class:"hidden size-5 fill-current sm:flex"})])]),_:1},8,["href"])),[[k,"Add Language"]])]),e("div",it,[e("div",ct,[C((i(),m("button",{type:"button",class:ae(["relative inline-flex size-14 select-none items-center justify-center p-4 text-sm font-medium uppercase tracking-wide text-gray-400 no-underline outline-none transition-colors duration-150 ease-out",{"cursor-not-allowed":!o.value.length,"cursor-pointer":o.value.length,"hover:bg-red-50 hover:text-red-600":o.value.length,"bg-gray-50":!o.value.length}]),disabled:!o.value.length,onClick:x[1]||(x[1]=(...g)=>y(r)&&y(r)(...g))},[a(M,{class:"size-5"})],10,ut)),[[k,o.value.length?"Delete selected":"Select languages to delete"]])])]),a(R,{size:"sm",show:y(f)},{default:c(()=>[e("div",dt,[ft,mt,e("div",_t,[a(O,{variant:"secondary",type:"button",size:"lg","full-width":"",onClick:y(p)},{default:c(()=>[q(" Cancel ")]),_:1},8,["onClick"]),a(O,{variant:"danger",type:"button",size:"lg","is-loading":y(_),"full-width":"",onClick:T},{default:c(()=>[q(" Delete ")]),_:1},8,["is-loading"])])])]),_:1},8,["show"])]),e("div",pt,[e("div",ht,[e("div",gt,[e("div",vt,[e("div",xt,[e("div",wt,[a(I,{disabled:""})])])]),a(b,{href:l.route("ltu.source_translation"),class:"flex w-full divide-x"},{default:c(()=>[e("div",yt,[e("div",bt,[a(Z,{"country-code":l.sourceTranslation.language.code,class:"mr-2"},null,8,["country-code"]),e("span",kt,z(l.sourceTranslation.language.name),1),e("div",Ct,[e("span",zt,z(l.sourceTranslation.language.code),1)])])]),e("div",$t,[e("span",Tt,z(l.sourceTranslation.phrases_count)+" source keys",1)])]),_:1},8,["href"])]),C((i(),w(b,{href:l.route("ltu.source_translation"),class:"group hidden w-full border-r sm:flex sm:w-14"},{default:c(()=>[e("div",Dt,[a(G,{class:"hidden size-5 fill-current text-gray-400 group-hover:text-blue-500 sm:flex"})])]),_:1},8,["href"])),[[k,"Manage Keys"]]),C((i(),m("div",Lt,[e("div",St,[e("div",jt,[a(M,{class:"size-5"})])])])),[[k,"Source language cannot be deleted!"]])]),d.value.length?(i(!0),m(F,{key:0},re(d.value,g=>(i(),w(Ce,{key:g.language.code,translation:g,"selected-ids":o.value},null,8,["translation","selected-ids"]))),128)):N("",!0),d.value.length?(i(),w(b,{key:1,href:l.route("ltu.translation.create"),class:"flex cursor-pointer items-center justify-between rounded-b border-t p-4 text-gray-500 transition-colors duration-100 hover:bg-blue-50 hover:text-blue-600"},{default:c(()=>[Vt,a(S,{class:"size-6"})]),_:1},8,["href"])):(i(),w(H,{key:2,class:"bg-gray-50 py-32",title:"There are no languages to translate your project to.",description:"Add the first one and start translating."},{icon:c(()=>[a(B,{class:"w-20 text-gray-400"})]),default:c(()=>[a(b,{href:l.route("ltu.translation.create"),class:"btn btn-primary btn-md mt-4"},{default:c(()=>[e("div",At,[a(S,{class:"mr-1 size-5 fill-white"}),Et])]),_:1},8,["href"])]),_:1}))])])):(i(),w(H,{key:2,class:"mt-4 min-h-[calc(100vh-11rem)] rounded-md border bg-white py-12 shadow",title:"Source language has not been imported yet.",description:"To import the source translation, run the following command in your terminal."},{icon:c(()=>[a(B,{class:"w-20 text-gray-400"})]),default:c(()=>[e("code",It,[Mt,a(y(Pe),{source:"php artisan translation:import"},{default:c(({copy:g,copied:te})=>[C((i(),m("button",{type:"button",class:"h-full border-l p-2 text-gray-400 hover:bg-blue-50 hover:text-blue-500",onClick:Bt=>g()},[a(J,{class:"size-4"})],8,Ot)),[[k,te?"Copied":"Copy"]])]),_:1})])]),_:1}))])]),_:1})],64)}}});export{l1 as default}; +import{_ as se}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-1d9d39f3.js";import{_ as ne}from"./icon-clipboard-d7e55528.js";import{d as A,o as i,h as m,k as W,f as e,t as z,P as oe,r as L,C as E,s as V,n as le,b as a,w as c,e as N,p as C,c as w,E as ae,u as y,a as q,F,q as re,O as ie,Z as ce,i as ue}from"./app-8d2ddf0a.js";import{_ as Y}from"./_plugin-vue_export-helper-c27b6911.js";import{_ as de}from"./flag.vue_vue_type_script_setup_true_lang-f8d12804.js";import{u as fe,_ as me}from"./use-confirmation-dialog-1471177b.js";import{_ as _e}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as pe}from"./icon-trash-62f8df5f.js";import{_ as he}from"./icon-plus-5ba4f8f8.js";import{_ as ge}from"./input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js";import{_ as ve}from"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";import{a as xe,t as $,b as we,i as U,n as ye,c as be,d as P,e as ke}from"./index-99365abf.js";import{_ as Ce}from"./translation-item.vue_vue_type_script_setup_true_lang-91da7643.js";import"./icon-publish-eaee4335.js";import"./logo-47b5a18d.js";import"./use-auth-9835d026.js";import"./transition-fb8d0e84.js";import"./dialog-6de4cc28.js";import"./use-input-size-a5ed2a71.js";import"./icon-language-e9642115.js";const ze={class:"flex w-full flex-col items-center justify-center overflow-hidden px-4"},$e={class:"mt-6 flex flex-col items-center justify-center text-center text-sm tracking-tight text-gray-400 sm:text-base"},Te=["textContent"],De=["textContent"],Le=A({__name:"empty-state",props:{title:{type:String,required:!0},description:{type:String,required:!0}},setup(t){return(s,n)=>(i(),m("div",ze,[W(s.$slots,"icon"),e("div",$e,[e("span",{textContent:z(t.title)},null,8,Te),e("span",{textContent:z(t.description)},null,8,De)]),W(s.$slots,"default")]))}}),Se={},je={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"currentColor",viewBox:"0 0 175 256"},Ve=e("path",{d:"M120.664 97.062V75.111h-13.21v16.946a81.929 81.929 0 0 0-13.89-2.705V75.111h-18.6v14.395a81.934 81.934 0 0 0-13.836 2.88V75.111H50.511V96.41a82.5 82.5 0 0 0-5.754 2.917V84.731h-7.311v19.204c-21.224 14.954-35.13 39.632-35.13 67.511C2.316 216.966 39.35 254 84.87 254s82.555-37.034 82.555-82.555c0-32.704-19.116-61.026-46.761-74.383zM62.175 222.637c-2.423-.21-1.264-12.855-2.529-16.227-1.265-3.373-3.687-3.159-3.687-5.478 0 0 3.583-9.128 5.163-8.041 1.581 1.087 4.352 7.699 4.774 11.386.42 3.688-1.298 18.57-3.721 18.36zm41.782-68.18a498.932 498.932 0 0 0-4.658 4.933 4.554 4.554 0 0 0-1.207 3.093v4.534c0 .513-.239.997-.647 1.309l-1.739 1.329a1.524 1.524 0 0 1-2.227-.419L86.763 158.2a17.076 17.076 0 0 1-2.163-5.525c-.684-3.41-1.91-8.803-3.036-9.966-3.018-3.119-12.487-8.061-15.648-8.693-3.161-.632-4.895.284-5.057 1.423-.317 2.213 8.535 4.056 8.693 6.955.171 3.133-12.368 14.817-15.331 13.751-3.951-1.423-4.056-10.958-5.479-13.066-1.226-1.818-4.016-2.91-5.427-1.633-1.66 1.501 4.335 17.674 6.401 18.65 2.746 1.297 6.559-2.964 8.456-1.541 1.896 1.423-.632 7.864-6.164 13.711-5.532 5.848-5.058 9.325-4.583 12.644.474 3.319 3.736 17.228 3.636 21.653-.137 6.013-4.583 11.064-4.583 11.064v15.433c-20.539-12.845-34.238-35.654-34.238-61.614a72.186 72.186 0 0 1 10.696-37.893c1.176 1.48 3.203 3.588 7.297 5.955 6.763 3.909 14.387.303 16.255-7.755.527-2.273-11.23-1.488-12.347-8.189-.238-1.43-.778-2.2-1.504-2.509 13.218-13.696 31.741-22.24 52.234-22.24 23.519 0 44.452 11.245 57.735 28.631.052 1.664-.259 3.255-1.455 4.202-3.793 3.003-4.425 5.532-3.161 8.535 1.264 3.003 1.896 6.48-1.738 9.642-2.272 1.976-5.47 3.704-7.549 4.723a2.982 2.982 0 0 0-1.637 3.148c.236 1.464.612 3.311-.812 5.019-.942 1.13-2.302 2.178-3.344 2.895-.841.58-1.98.456-2.666-.302-1.908-2.106-7.473-7.606-10.871-10.942a3.8 3.8 0 0 0-5.416.091zm27.928 21.288-1.445 2.91a3.573 3.573 0 0 1-6.641-.626l-.155-.553a3.572 3.572 0 0 1 1.037-3.607l4.729-4.299a1.31 1.31 0 0 1 2.167.72l.615 3.188c.15.77.042 1.566-.307 2.267zm14.058 33.225c-1.159 2.634-3.372 6.743-8.535 10.958-4.45 3.633-10.115 7.482-11.907 6.533-1.791-.949-.21-6.323-3.161-7.482-2.948-1.16-10.851 6.427-13.274 5.163-2.467-1.287 0-9.483 0-13.593 0-4.11 1.475-8.588 4.636-9.799 4.143-1.588 6.849-1.369 11.169-5.796 4.32-4.425 9.167-9.8 10.748-8.956 1.581.843-.527 8.851.527 9.799 1.054.949 4.847.422 6.111-1.791 1.264-2.213 1.791-7.902 4.004-6.638 2.213 1.264.737 5.796.737 9.167s.104 9.8-1.055 12.435zm4.165-25.931c-2.832-3.026-3.759-5.233-.603-7.743s6.874 3.414 7.058 7.962c.056 1.368.306 4.072-1.161 5.352-1.466 1.28-2.461-2.544-5.294-5.571zM93.398 56.162v13h-5.954v-13c0-6.279-5.108-11.387-11.387-11.387H74.64c-.001.083-.001.166-.005.247a2.977 2.977 0 0 1-5.947-.283v-.108a7.032 7.032 0 0 0-7.025-7.025c-1.56 0-3.037.502-4.271 1.452a2.976 2.976 0 1 1-3.63-4.718 12.85 12.85 0 0 1 7.902-2.688c5.066 0 9.452 2.925 11.589 7.169h2.804c9.561 0 17.341 7.779 17.341 17.341zm77.975 2.968a2.976 2.976 0 0 1-2.702 1.727h-15.104a13.062 13.062 0 0 1-10.861 11.104 13.075 13.075 0 0 1-11.732-4.032 2.975 2.975 0 0 1 .162-4.206 2.975 2.975 0 0 1 4.206.162 7.156 7.156 0 0 0 6.407 2.2 7.115 7.115 0 0 0 5.936-7.859 2.976 2.976 0 0 1 2.957-3.323h15.904a8.246 8.246 0 0 0-.335-4.641c-.647-1.712-1.838-3.022-3.353-3.688a6.954 6.954 0 0 0-4.489-.382 2.98 2.98 0 0 1-3.68-2.546c-.508-4.388-3.616-8.255-7.735-9.623a11.136 11.136 0 0 0-8.57.6 11.158 11.158 0 0 0-5.638 6.497c-.247.733-.441 1.743-.535 2.781a2.977 2.977 0 0 1-2.964 2.708h-4.276c-6.275 0-11.381 5.11-11.381 11.391v11.163h-5.954V57.999c0-9.564 7.776-17.345 17.334-17.345h1.735c.107-.469.236-.953.396-1.426.863-2.59 2.31-4.88 4.198-6.75a12.83 12.83 0 0 0-6.374-5.232 12.884 12.884 0 0 0-9.914.306 12.794 12.794 0 0 0-6.079 5.685 3.004 3.004 0 0 1-2.751 1.571 2.98 2.98 0 0 1-2.609-1.797c-.433-.977-4.578-9.539-14.856-5.984-2.107.98-3.803 2.547-4.914 4.54a2.976 2.976 0 0 1-5.532-.93c-1.237-6.975-7.623-7.748-8.347-7.813-1.404-.126-2.549-1.221-2.712-2.621-.621-5.309-4.294-9.832-9.358-11.523-7.353-2.451-14.861 1.318-17.458 8.764-.253.727-.55 2.48-.68 3.492a2.979 2.979 0 0 1-2.175 2.497 8.775 8.775 0 0 0-6.465 8.461c0 4.834 3.935 8.767 8.771 8.767a2.987 2.987 0 0 1 2.99 2.978l-.001 3.676c0 3.933 3.201 7.134 7.135 7.134h17.007c7.724 0 14.008 6.284 14.008 14.009v.704h-5.954v-.704c0-4.442-3.613-8.055-8.055-8.055H49.972c-7.217 0-13.089-5.872-13.089-13.089v-1.001c-5.998-1.232-10.66-6.116-11.584-12.209-4.418-1.14-9.163.268-12.23 3.673-4.544 5.046-4.137 12.847.907 17.392a12.155 12.155 0 0 0 4.074 2.439 2.978 2.978 0 0 1 1.664 4.133 7.01 7.01 0 0 0 .201 6.656 6.984 6.984 0 0 0 4.269 3.275 6.982 6.982 0 0 0 5.334-.702 6.984 6.984 0 0 0 3.447-5.136 2.975 2.975 0 0 1 2.002-2.419c.305-.102.702-.18 1.023-.18h23.392a2.977 2.977 0 0 1 2.977 2.977 2.967 2.967 0 0 1-2.712 2.95l-21.394.027a12.887 12.887 0 0 1-5.759 6.938 12.903 12.903 0 0 1-9.852 1.297 12.901 12.901 0 0 1-7.884-6.049 12.946 12.946 0 0 1-1.416-9.383 18.217 18.217 0 0 1-3.352-2.4c-7.482-6.74-8.086-18.313-1.346-25.798 4.283-4.758 10.779-6.882 16.988-5.708 1.166-4.338 4.27-7.97 8.457-9.746.166-.94.398-2.041.683-2.857C38.411 5.052 49.376-.42 59.739 3.032c6.53 2.18 11.442 7.649 12.999 14.265 3.094.811 7.022 2.858 9.448 6.94a17.005 17.005 0 0 1 4.191-2.687c.077-.035.155-.066.234-.094 9.577-3.39 16.221.655 19.853 5.053a18.755 18.755 0 0 1 6.104-4.386 18.792 18.792 0 0 1 14.465-.446 18.729 18.729 0 0 1 9.162 7.413c3.99-1.848 8.454-2.117 12.643-.715 5.324 1.768 9.539 6.266 11.159 11.653 1.791-.031 3.557.358 5.245 1.09 3.004 1.322 5.321 3.819 6.538 7.038 1.334 3.529 1.186 7.529-.407 10.974z"},null,-1),Ae=[Ve];function Ee(t,s){return i(),m("svg",je,Ae)}const Ie=Y(Se,[["render",Ee]]),Me={},Oe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},Be=e("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),He=e("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"},null,-1),We=[Be,He];function Ne(t,s){return i(),m("svg",Oe,We)}const qe=Y(Me,[["render",Ne]]);function Fe(t){var s;const n=$(t);return(s=n==null?void 0:n.$el)!=null?s:n}const Ue=ke?window:void 0;function Ye(...t){let s,n,o,_;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,o,_]=t,s=Ue):[s,n,o,_]=t,!s)return ye;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const f=[],r=()=>{f.forEach(d=>d()),f.length=0},u=(d,h,v,l)=>(d.addEventListener(h,v,l),()=>d.removeEventListener(h,v,l)),p=E(()=>[Fe(s),$(_)],([d,h])=>{if(r(),!d)return;const v=be(h)?{...h}:h;f.push(...n.flatMap(l=>o.map(x=>u(d,l,x,v))))},{immediate:!0,flush:"post"}),T=()=>{p(),r()};return P(T),T}const Pe=A({name:"UseClipboard",props:["source","read","navigator","copiedDuring","legacy"],setup(t,{slots:s}){const n=oe(xe(t));return()=>{var o;return(o=s.default)==null?void 0:o.call(s,n)}}});function j(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function X(t){const s=window.getComputedStyle(t);if(s.overflowX==="scroll"||s.overflowY==="scroll"||s.overflowX==="auto"&&t.clientWidth1?!0:(s.preventDefault&&s.preventDefault(),!1)}const D=new WeakMap;function Ke(t,s=!1){const n=L(s);let o=null;E(we(t),r=>{const u=j($(r));if(u){const p=u;D.get(p)||D.set(p,p.style.overflow),n.value&&(p.style.overflow="hidden")}},{immediate:!0});const _=()=>{const r=j($(t));!r||n.value||(U&&(o=Ye(r,"touchmove",u=>{Xe(u)},{passive:!1})),r.style.overflow="hidden",n.value=!0)},f=()=>{var r;const u=j($(t));!u||!n.value||(U&&(o==null||o()),u.style.overflow=(r=D.get(u))!=null?r:"",D.delete(u),n.value=!1)};return P(f),V({get(){return n.value},set(r){r?_():f()}})}function Qe(){let t=!1;const s=L(!1);return(n,o)=>{if(s.value=o.value,t)return;t=!0;const _=Ke(n,o.value);E(s,f=>_.value=f)}}Qe();const Re={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},Ze={key:0,class:"w-full"},Ge={class:"w-auto"},Je={key:1,class:"mt-4 overflow-hidden rounded-lg border bg-white shadow"},et={class:"relative z-10 flex w-full divide-x shadow"},tt={class:"flex w-14 shrink-0 items-center justify-center"},st={class:"flex shrink-0 items-center"},nt=e("div",{class:"hidden flex-1 items-center px-4 text-sm text-gray-500 sm:flex"},"Language name",-1),ot=e("div",{class:"hidden flex-1 items-center px-4 text-sm text-gray-500 md:flex md:max-w-72 lg:max-w-80 xl:max-w-96"},"Translation progress",-1),lt={class:"w-full sm:w-14"},at={class:"visible flex size-full items-center justify-center leading-none"},rt=e("span",{class:"mx-auto whitespace-nowrap sm:hidden"},"Add Language",-1),it={class:"flex h-full"},ct={class:"flex w-full max-w-full"},ut=["disabled"],dt={class:"flex flex-col p-6"},ft=e("span",{class:"text-xl font-medium text-gray-700"},"Are you sure?",-1),mt=e("span",{class:"mt-2 text-sm text-gray-500"}," This action cannot be undone, This will permanently delete the selected languages and all of their translations. ",-1),_t={class:"mt-4 flex gap-4"},pt={class:"divide-y"},ht={class:"flex h-14 flex-row gap-y-2 no-underline transition-colors duration-100 hover:bg-gray-50"},gt={class:"flex flex-1 divide-x border-r no-underline"},vt={class:"flex max-w-full"},xt={class:"mr-0 flex w-14 items-center justify-center bg-gray-50"},wt={class:"flex shrink-0 items-center opacity-50"},yt={class:"flex flex-1 justify-between gap-x-4 truncate px-4"},bt={class:"flex w-full items-center truncate font-medium"},kt={class:"mr-2 max-w-full truncate text-base text-gray-700"},Ct={class:"inline-block"},zt={class:"flex h-5 items-center rounded-md border px-1.5 text-xs font-normal leading-none text-gray-600"},$t={class:"hidden flex-1 flex-wrap content-center items-center gap-1 px-4 md:flex md:max-w-72 lg:max-w-80 xl:max-w-96"},Tt={class:"mr-1 shrink-0 text-sm leading-tight text-gray-600"},Dt={class:"relative inline-flex h-14 w-full cursor-pointer select-none items-center justify-center px-4 text-sm font-medium tracking-wide text-gray-700 outline-none transition-colors duration-150 ease-out focus:border-blue-50 group-hover:bg-blue-50 group-hover:text-blue-500"},Lt={class:"flex h-full"},St={class:"flex w-full max-w-full"},jt={class:"relative inline-flex size-14 cursor-not-allowed select-none items-center justify-center p-4 text-sm font-medium uppercase tracking-wide text-gray-400 no-underline outline-none transition-colors duration-150 ease-out"},Vt=e("div",{class:"text-sm font-medium uppercase tracking-wide"},"Add new language",-1),At={class:"visible flex items-center leading-none"},Et=e("span",{class:"whitespace-nowrap"},"Add languages",-1),It={class:"mt-4 flex items-center rounded-md border"},Mt=e("span",{class:"px-2 py-1 text-sm font-medium text-gray-500"},"php artisan translation:import",-1),Ot=["onClick"],l1=A({__name:"index",props:{translations:{},sourceTranslation:{}},setup(t){const s=t,n=L(""),o=L([]),{loading:_,showDialog:f,openDialog:r,performAction:u,closeDialog:p}=fe(),T=async l=>{await u(()=>ie.post(route("ltu.translation.delete_multiple"),{selected_ids:o.value},{preserveScroll:!0,onSuccess:()=>{o.value=[]}}))},d=V(()=>Object.keys(s.translations).map(l=>s.translations[l]).filter(l=>l&&(l.language.name.toLowerCase().includes(n.value.toLowerCase())||l.language.code.toLowerCase().includes(n.value.toLowerCase()))));function h(){o.value.length===s.translations.length?o.value=[]:o.value=s.translations.map(l=>l.id)}const v=V(()=>o.value.length===Object.keys(s.translations).length);return(l,x)=>{const K=ce,Q=ve,I=ge,S=he,b=ue,M=pe,O=_e,R=me,Z=de,G=qe,B=Ie,H=Le,J=ne,ee=se,k=le("tooltip");return i(),m(F,null,[a(K,{title:"Translations"}),a(ee,null,{default:c(()=>[e("div",Re,[l.sourceTranslation?(i(),m("div",Ze,[e("div",Ge,[a(Q,{modelValue:n.value,"onUpdate:modelValue":x[0]||(x[0]=g=>n.value=g),placeholder:"Search languages by name or code"},null,8,["modelValue"])])])):N("",!0),l.sourceTranslation?(i(),m("div",Je,[e("div",et,[e("div",tt,[e("div",st,[a(I,{disabled:!l.translations.length,checked:v.value,onInput:h},null,8,["disabled","checked"])])]),nt,ot,e("div",lt,[C((i(),w(b,{href:l.route("ltu.translation.create"),class:"relative inline-flex h-14 w-full cursor-pointer select-none items-center justify-center px-4 text-sm font-medium tracking-wide text-gray-700 outline-none transition-colors duration-150 ease-out hover:bg-blue-50 hover:text-blue-500 focus:border-blue-50 sm:text-gray-400"},{default:c(()=>[e("div",at,[rt,a(S,{class:"hidden size-5 fill-current sm:flex"})])]),_:1},8,["href"])),[[k,"Add Language"]])]),e("div",it,[e("div",ct,[C((i(),m("button",{type:"button",class:ae(["relative inline-flex size-14 select-none items-center justify-center p-4 text-sm font-medium uppercase tracking-wide text-gray-400 no-underline outline-none transition-colors duration-150 ease-out",{"cursor-not-allowed":!o.value.length,"cursor-pointer":o.value.length,"hover:bg-red-50 hover:text-red-600":o.value.length,"bg-gray-50":!o.value.length}]),disabled:!o.value.length,onClick:x[1]||(x[1]=(...g)=>y(r)&&y(r)(...g))},[a(M,{class:"size-5"})],10,ut)),[[k,o.value.length?"Delete selected":"Select languages to delete"]])])]),a(R,{size:"sm",show:y(f)},{default:c(()=>[e("div",dt,[ft,mt,e("div",_t,[a(O,{variant:"secondary",type:"button",size:"lg","full-width":"",onClick:y(p)},{default:c(()=>[q(" Cancel ")]),_:1},8,["onClick"]),a(O,{variant:"danger",type:"button",size:"lg","is-loading":y(_),"full-width":"",onClick:T},{default:c(()=>[q(" Delete ")]),_:1},8,["is-loading"])])])]),_:1},8,["show"])]),e("div",pt,[e("div",ht,[e("div",gt,[e("div",vt,[e("div",xt,[e("div",wt,[a(I,{disabled:""})])])]),a(b,{href:l.route("ltu.source_translation"),class:"flex w-full divide-x"},{default:c(()=>[e("div",yt,[e("div",bt,[a(Z,{"country-code":l.sourceTranslation.language.code,class:"mr-2"},null,8,["country-code"]),e("span",kt,z(l.sourceTranslation.language.name),1),e("div",Ct,[e("span",zt,z(l.sourceTranslation.language.code),1)])])]),e("div",$t,[e("span",Tt,z(l.sourceTranslation.phrases_count)+" source keys",1)])]),_:1},8,["href"])]),C((i(),w(b,{href:l.route("ltu.source_translation"),class:"group hidden w-full border-r sm:flex sm:w-14"},{default:c(()=>[e("div",Dt,[a(G,{class:"hidden size-5 fill-current text-gray-400 group-hover:text-blue-500 sm:flex"})])]),_:1},8,["href"])),[[k,"Manage Keys"]]),C((i(),m("div",Lt,[e("div",St,[e("div",jt,[a(M,{class:"size-5"})])])])),[[k,"Source language cannot be deleted!"]])]),d.value.length?(i(!0),m(F,{key:0},re(d.value,g=>(i(),w(Ce,{key:g.language.code,translation:g,"selected-ids":o.value},null,8,["translation","selected-ids"]))),128)):N("",!0),d.value.length?(i(),w(b,{key:1,href:l.route("ltu.translation.create"),class:"flex cursor-pointer items-center justify-between rounded-b border-t p-4 text-gray-500 transition-colors duration-100 hover:bg-blue-50 hover:text-blue-600"},{default:c(()=>[Vt,a(S,{class:"size-6"})]),_:1},8,["href"])):(i(),w(H,{key:2,class:"bg-gray-50 py-32",title:"There are no languages to translate your project to.",description:"Add the first one and start translating."},{icon:c(()=>[a(B,{class:"w-20 text-gray-400"})]),default:c(()=>[a(b,{href:l.route("ltu.translation.create"),class:"btn btn-primary btn-md mt-4"},{default:c(()=>[e("div",At,[a(S,{class:"mr-1 size-5 fill-white"}),Et])]),_:1},8,["href"])]),_:1}))])])):(i(),w(H,{key:2,class:"mt-4 min-h-[calc(100vh-11rem)] rounded-md border bg-white py-12 shadow",title:"Source language has not been imported yet.",description:"To import the source translation, run the following command in your terminal."},{icon:c(()=>[a(B,{class:"w-20 text-gray-400"})]),default:c(()=>[e("code",It,[Mt,a(y(Pe),{source:"php artisan translation:import"},{default:c(({copy:g,copied:te})=>[C((i(),m("button",{type:"button",class:"h-full border-l p-2 text-gray-400 hover:bg-blue-50 hover:text-blue-500",onClick:Bt=>g()},[a(J,{class:"size-4"})],8,Ot)),[[k,te?"Copied":"Copy"]])]),_:1})])]),_:1}))])]),_:1})],64)}}});export{l1 as default}; diff --git a/resources/dist/vendor/translations-ui/assets/index-f5c444fd.js b/resources/dist/vendor/translations-ui/assets/index-f5c444fd.js deleted file mode 100644 index 14729b1..0000000 --- a/resources/dist/vendor/translations-ui/assets/index-f5c444fd.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as F}from"./layout-dashboard.vue_vue_type_script_setup_true_lang-6f656053.js";import{_ as B}from"./pagination.vue_vue_type_script_setup_true_lang-9983a3dc.js";import{_ as D}from"./icon-plus-74060bd2.js";import{_ as I}from"./input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js";import{_ as N}from"./input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js";import{_ as E}from"./icon-arrow-right-75251a2c.js";import{d as L,r as f,C as P,O as T,n as U,o as a,h,b as s,w as i,f as e,t as x,p as v,c as u,F as g,q as A,Z as K,i as O}from"./app-f79836f7.js";import{_ as q}from"./flag.vue_vue_type_script_setup_true_lang-1258a665.js";import{l as G}from"./lodash-5c2eb642.js";import{_ as H}from"./phrase-item.vue_vue_type_script_setup_true_lang-4fdba4b5.js";import"./icon-publish-2c3bbfd2.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-54a98bfe.js";import"./use-auth-b0f8b4d5.js";import"./transition-53b06f51.js";import"./icon-arrow-left-52c22ea1.js";import"./use-input-size-03843395.js";import"./icon-pencil-9c3335bd.js";import"./icon-language-aa39478f.js";const R={class:"w-full bg-white shadow"},Z={class:"mx-auto flex w-full max-w-7xl items-center justify-between px-6 lg:px-8"},J={class:"flex w-full items-center"},M={class:"flex w-full items-center gap-3 py-4"},Q={class:"h-5 shrink-0"},W={class:"flex items-center space-x-2"},X=["textContent"],Y=["textContent"],ee={class:"mx-auto max-w-7xl px-6 py-10 lg:px-8"},te={class:"w-full divide-y overflow-hidden rounded-md bg-white shadow"},se={class:"flex w-full flex-wrap items-center justify-between gap-4 px-4 py-3 sm:flex-nowrap"},oe={class:"w-full max-w-full md:max-w-sm"},ae={class:"w-full max-w-full md:max-w-sm"},le={class:"w-full shadow-md"},ne={class:"flex h-14 w-full divide-x"},re=e("div",{class:"hidden w-20 items-center justify-center px-4 md:flex"},[e("span",{class:"text-sm font-medium text-gray-400"},"State")],-1),ie=e("div",{class:"grid w-full grid-cols-2 divide-x md:grid-cols-3"},[e("div",{class:"flex w-full items-center justify-start px-4"},[e("span",{class:"text-sm font-medium text-gray-400"},"Key")]),e("div",{class:"hidden w-full items-center justify-start px-4 md:flex"},[e("span",{class:"text-sm font-medium text-gray-400"},"Source")]),e("div",{class:"flex w-full items-center justify-start px-4"},[e("span",{class:"text-sm font-medium text-gray-400"}," Translation ")])],-1),de={class:"grid w-[67px] grid-cols-1 divide-x"},ze=L({__name:"index",props:{phrases:{},translation:{},filter:{}},setup(w){var m,p;const d=w,l=f(((m=d.filter)==null?void 0:m.keyword)||""),n=f(((p=d.filter)==null?void 0:p.status)||""),y=[{label:"Translated",value:"translated"},{label:"Untranslated",value:"untranslated"}];return P([l,n],G.debounce(()=>{T.get(route("ltu.phrases.index",{translation:d.translation.id}),{filter:{keyword:l.value||void 0,status:n.value||void 0}},{preserveState:!0,preserveScroll:!0,only:["phrases"]})},300)),(t,r)=>{const b=K,k=q,c=O,j=E,S=N,V=I,C=D,$=B,z=F,_=U("tooltip");return a(),h(g,null,[s(b,{title:"Phrases"}),s(z,null,{default:i(()=>[e("div",R,[e("div",Z,[e("div",J,[e("div",M,[s(c,{href:t.route("ltu.phrases.index",t.translation.id),class:"flex items-center gap-2 rounded-md border border-transparent bg-gray-50 px-2 py-1 hover:border-blue-400 hover:bg-blue-100"},{default:i(()=>[e("div",Q,[s(k,{"country-code":t.translation.language.code,width:"w-5"},null,8,["country-code"])]),e("div",W,[e("div",{class:"text-sm font-semibold text-gray-600",textContent:x(t.translation.language.name)},null,8,X)])]),_:1},8,["href"]),e("div",{class:"rounded-md border bg-white px-1.5 py-0.5 text-sm text-gray-500",textContent:x(t.translation.language.code)},null,8,Y)])]),v((a(),u(c,{href:t.route("ltu.translation.index"),class:"flex size-10 items-center justify-center rounded-full bg-gray-100 p-1 hover:bg-gray-200"},{default:i(()=>[s(j,{class:"size-6 text-gray-400"})]),_:1},8,["href"])),[[_,"Go back"]])])]),e("div",ee,[e("div",te,[e("div",se,[e("div",oe,[s(S,{modelValue:l.value,"onUpdate:modelValue":r[0]||(r[0]=o=>l.value=o),placeholder:"Search by key or value",size:"md"},null,8,["modelValue"])]),e("div",ae,[s(V,{id:"status",modelValue:n.value,"onUpdate:modelValue":r[1]||(r[1]=o=>n.value=o),size:"md",placeholder:"Filter by status",items:y},null,8,["modelValue"])])]),e("div",le,[e("div",ne,[re,ie,e("div",de,[v((a(),u(c,{href:t.route("ltu.source_translation.add_source_key"),class:"group flex items-center justify-center hover:bg-blue-50"},{default:i(()=>[s(C,{class:"size-5 text-gray-400 group-hover:text-blue-600"})]),_:1},8,["href"])),[[_,"Add New Key"]])])])]),(a(!0),h(g,null,A(t.phrases.data,o=>(a(),u(H,{key:o.uuid,phrase:o,translation:t.translation},null,8,["phrase","translation"]))),128)),s($,{links:t.phrases.links,meta:t.phrases.meta},null,8,["links","meta"])])])]),_:1})],64)}}});export{ze as default}; diff --git a/resources/dist/vendor/translations-ui/assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js b/resources/dist/vendor/translations-ui/assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js similarity index 86% rename from resources/dist/vendor/translations-ui/assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js rename to resources/dist/vendor/translations-ui/assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js index 452479f..b8c09a2 100644 --- a/resources/dist/vendor/translations-ui/assets/input-checkbox.vue_vue_type_script_setup_true_lang-cfe1cec4.js +++ b/resources/dist/vendor/translations-ui/assets/input-checkbox.vue_vue_type_script_setup_true_lang-8840f18d.js @@ -1 +1 @@ -import{d as t,J as u,j as d,p as n,a8 as r,o as c,h as m}from"./app-f79836f7.js";const p=["value"],v=t({__name:"input-checkbox",props:u({value:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const e=d(a,"modelValue");return(l,o)=>n((c(),m("input",{"onUpdate:modelValue":o[0]||(o[0]=s=>e.value=s),value:l.value,type:"checkbox",class:"rounded border-gray-300 text-blue-600 shadow-sm focus:ring-blue-500"},null,8,p)),[[r,e.value]])}});export{v as _}; +import{d as t,J as u,j as d,p as n,a8 as r,o as c,h as m}from"./app-8d2ddf0a.js";const p=["value"],v=t({__name:"input-checkbox",props:u({value:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const e=d(a,"modelValue");return(l,o)=>n((c(),m("input",{"onUpdate:modelValue":o[0]||(o[0]=s=>e.value=s),value:l.value,type:"checkbox",class:"rounded border-gray-300 text-blue-600 shadow-sm focus:ring-blue-500"},null,8,p)),[[r,e.value]])}});export{v as _}; diff --git a/resources/dist/vendor/translations-ui/assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js b/resources/dist/vendor/translations-ui/assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js similarity index 75% rename from resources/dist/vendor/translations-ui/assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js rename to resources/dist/vendor/translations-ui/assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js index 67ac46f..b7314d7 100644 --- a/resources/dist/vendor/translations-ui/assets/input-label.vue_vue_type_script_setup_true_lang-58f0b872.js +++ b/resources/dist/vendor/translations-ui/assets/input-label.vue_vue_type_script_setup_true_lang-b020cb97.js @@ -1 +1 @@ -import{_ as i}from"./icon-close-cd07b6ee.js";import{d as a,p as l,N as p,o as s,h as t,f as o,b as d,t as n,k as m}from"./app-f79836f7.js";const u={class:"flex items-center gap-1"},f={class:"flex size-4 items-center justify-center rounded-full border border-red-600"},h={class:"text-sm text-red-600"},y=a({__name:"input-error",props:{message:{}},setup(r){return(e,_)=>{const c=i;return l((s(),t("div",u,[o("div",f,[d(c,{class:"size-3 text-red-600"})]),o("p",h,n(e.message),1)],512)),[[p,e.message]])}}}),g={class:"block text-sm font-medium text-gray-700"},v={key:0},b={key:1},$=a({__name:"input-label",props:{value:{}},setup(r){return(e,_)=>(s(),t("label",g,[e.value?(s(),t("span",v,n(e.value),1)):(s(),t("span",b,[m(e.$slots,"default")]))]))}});export{$ as _,y as a}; +import{_ as i}from"./icon-close-2c219153.js";import{d as a,p as l,M as p,o as s,h as t,f as o,b as d,t as n,k as m}from"./app-8d2ddf0a.js";const u={class:"flex items-center gap-1"},f={class:"flex size-4 items-center justify-center rounded-full border border-red-600"},h={class:"text-sm text-red-600"},y=a({__name:"input-error",props:{message:{}},setup(r){return(e,_)=>{const c=i;return l((s(),t("div",u,[o("div",f,[d(c,{class:"size-3 text-red-600"})]),o("p",h,n(e.message),1)],512)),[[p,e.message]])}}}),g={class:"block text-sm font-medium text-gray-700"},v={key:0},b={key:1},$=a({__name:"input-label",props:{value:{}},setup(r){return(e,_)=>(s(),t("label",g,[e.value?(s(),t("span",v,n(e.value),1)):(s(),t("span",b,[m(e.$slots,"default")]))]))}});export{$ as _,y as a}; diff --git a/resources/dist/vendor/translations-ui/assets/input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js b/resources/dist/vendor/translations-ui/assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js similarity index 65% rename from resources/dist/vendor/translations-ui/assets/input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js rename to resources/dist/vendor/translations-ui/assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js index 95c5368..c107633 100644 --- a/resources/dist/vendor/translations-ui/assets/input-native-select.vue_vue_type_script_setup_true_lang-9e8068c6.js +++ b/resources/dist/vendor/translations-ui/assets/input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js @@ -1 +1 @@ -import{d as c,J as p,j as m,p as f,M as v,o as s,h as r,f as b,t as d,F as g,q as h,E as z,u as M}from"./app-f79836f7.js";import{u as V}from"./use-input-size-03843395.js";const S={value:"",selected:""},_=["value"],x=c({__name:"input-native-select",props:p({items:{},size:{},error:{},placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(l){const n=l,t=m(l,"modelValue"),{sizeClass:u}=V(n.size??"lg");return(o,a)=>f((s(),r("select",{"onUpdate:modelValue":a[0]||(a[0]=e=>t.value=e),class:z(["w-full rounded-md border border-gray-300 px-3 text-left shadow-sm focus:border-blue-500 focus:ring-blue-500",[M(u),{"border-red-300 text-red-900 placeholder:text-red-300 focus:border-red-500 focus:ring-red-500":o.error}]])},[b("option",S,d(o.placeholder??"Select an option"),1),(s(!0),r(g,null,h(o.items,(e,i)=>(s(),r("option",{key:i,value:e.value},d(e.label),9,_))),128))],2)),[[v,t.value]])}});export{x as _}; +import{d as c,J as p,j as m,p as f,N as v,o as s,h as r,f as b,t as d,F as g,q as h,E as z,u as V}from"./app-8d2ddf0a.js";import{u as M}from"./use-input-size-a5ed2a71.js";const S={value:"",selected:""},_=["value"],x=c({__name:"input-native-select",props:p({items:{},size:{},error:{},placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(l){const n=l,t=m(l,"modelValue"),{sizeClass:u}=M(n.size??"lg");return(o,a)=>f((s(),r("select",{"onUpdate:modelValue":a[0]||(a[0]=e=>t.value=e),class:z(["w-full rounded-md border border-gray-300 px-3 text-left shadow-sm focus:border-blue-500 focus:ring-blue-500",[V(u),{"border-red-300 text-red-900 placeholder:text-red-300 focus:border-red-500 focus:ring-red-500":o.error}]])},[b("option",S,d(o.placeholder??"Select an option"),1),(s(!0),r(g,null,h(o.items,(e,i)=>(s(),r("option",{key:i,value:e.value},d(e.label),9,_))),128))],2)),[[v,t.value]])}});export{x as _}; diff --git a/resources/dist/vendor/translations-ui/assets/input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js b/resources/dist/vendor/translations-ui/assets/input-password.vue_vue_type_script_setup_true_lang-c432caf8.js similarity index 95% rename from resources/dist/vendor/translations-ui/assets/input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js rename to resources/dist/vendor/translations-ui/assets/input-password.vue_vue_type_script_setup_true_lang-c432caf8.js index 627205f..4913f90 100644 --- a/resources/dist/vendor/translations-ui/assets/input-password.vue_vue_type_script_setup_true_lang-5b15ae96.js +++ b/resources/dist/vendor/translations-ui/assets/input-password.vue_vue_type_script_setup_true_lang-c432caf8.js @@ -1 +1 @@ -import{_ as u}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as r,f as o,d as w,r as a,j as k,b as x,m as g,u as d,c as i}from"./app-f79836f7.js";import{_ as v}from"./input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js";const y={},b={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$=o("path",{d:"M8.56818 4.70906C9.0375 4.59921 9.518 4.54429 10 4.54543C14.7727 4.54543 17.5 9.99997 17.5 9.99997C17.0861 10.7742 16.5925 11.5032 16.0273 12.175M11.4455 11.4454C11.2582 11.6464 11.0324 11.8076 10.7815 11.9194C10.5306 12.0312 10.2597 12.0913 9.98506 12.0961C9.71042 12.101 9.43761 12.0505 9.18292 11.9476C8.92822 11.8447 8.69686 11.6916 8.50262 11.4973C8.30839 11.3031 8.15527 11.0718 8.05239 10.8171C7.94952 10.5624 7.899 10.2896 7.90384 10.0149C7.90869 9.74027 7.9688 9.46941 8.0806 9.2185C8.19239 8.9676 8.35358 8.74178 8.55455 8.55452M14.05 14.05C12.8845 14.9384 11.4653 15.4306 10 15.4545C5.22727 15.4545 2.5 9.99997 2.5 9.99997C3.34811 8.41945 4.52441 7.03857 5.95 5.94997L14.05 14.05Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),M=o("path",{d:"M2.5 2.5L17.5 17.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),V=[$,M];function B(n,s){return e(),r("svg",b,V)}const j=u(y,[["render",B]]),E={},I={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Z=o("path",{d:"M2.5 10C2.5 10 5.22727 4.58337 10 4.58337C14.7727 4.58337 17.5 10 17.5 10C17.5 10 14.7727 15.4167 10 15.4167C5.22727 15.4167 2.5 10 2.5 10Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),z=o("path",{d:"M9.99965 12.0739C11.145 12.0739 12.0735 11.1454 12.0735 10C12.0735 8.85465 11.145 7.92615 9.99965 7.92615C8.85428 7.92615 7.92578 8.85465 7.92578 10C7.92578 11.1454 8.85428 12.0739 9.99965 12.0739Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),L=[Z,z];function N(n,s){return e(),r("svg",I,L)}const P=u(E,[["render",N]]),O={class:"bg-grey-100 placeholder:text-grey-400 flex items-center overflow-hidden rounded-md border border-gray-300 focus-within:border-blue-500 focus-within:shadow"},A=w({__name:"input-password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const s=a(null),c=k(n,"modelValue"),t=a("password"),_=()=>{t.value=t.value==="password"?"text":"password"};return(p,l)=>{const m=v,f=P,C=j;return e(),r("div",O,[x(m,g({ref_key:"input",ref:s,modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=h=>c.value=h),type:d(t)},p.$attrs,{class:"border-none focus:border-transparent focus:ring-transparent"}),null,16,["modelValue","type"]),o("button",{type:"button",class:"px-4 text-gray-400 focus:text-blue-500 focus:outline-none",tabindex:"-1",onClick:_},[d(t)==="password"?(e(),i(f,{key:0,class:"size-5"})):(e(),i(C,{key:1,class:"size-5"}))])])}}});export{A as _}; +import{_ as u}from"./_plugin-vue_export-helper-c27b6911.js";import{o as e,h as r,f as o,d as w,r as a,j as k,b as x,m as g,u as d,c as i}from"./app-8d2ddf0a.js";import{_ as v}from"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";const y={},b={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$=o("path",{d:"M8.56818 4.70906C9.0375 4.59921 9.518 4.54429 10 4.54543C14.7727 4.54543 17.5 9.99997 17.5 9.99997C17.0861 10.7742 16.5925 11.5032 16.0273 12.175M11.4455 11.4454C11.2582 11.6464 11.0324 11.8076 10.7815 11.9194C10.5306 12.0312 10.2597 12.0913 9.98506 12.0961C9.71042 12.101 9.43761 12.0505 9.18292 11.9476C8.92822 11.8447 8.69686 11.6916 8.50262 11.4973C8.30839 11.3031 8.15527 11.0718 8.05239 10.8171C7.94952 10.5624 7.899 10.2896 7.90384 10.0149C7.90869 9.74027 7.9688 9.46941 8.0806 9.2185C8.19239 8.9676 8.35358 8.74178 8.55455 8.55452M14.05 14.05C12.8845 14.9384 11.4653 15.4306 10 15.4545C5.22727 15.4545 2.5 9.99997 2.5 9.99997C3.34811 8.41945 4.52441 7.03857 5.95 5.94997L14.05 14.05Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),M=o("path",{d:"M2.5 2.5L17.5 17.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),V=[$,M];function B(n,s){return e(),r("svg",b,V)}const j=u(y,[["render",B]]),E={},I={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Z=o("path",{d:"M2.5 10C2.5 10 5.22727 4.58337 10 4.58337C14.7727 4.58337 17.5 10 17.5 10C17.5 10 14.7727 15.4167 10 15.4167C5.22727 15.4167 2.5 10 2.5 10Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),z=o("path",{d:"M9.99965 12.0739C11.145 12.0739 12.0735 11.1454 12.0735 10C12.0735 8.85465 11.145 7.92615 9.99965 7.92615C8.85428 7.92615 7.92578 8.85465 7.92578 10C7.92578 11.1454 8.85428 12.0739 9.99965 12.0739Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),L=[Z,z];function N(n,s){return e(),r("svg",I,L)}const P=u(E,[["render",N]]),O={class:"bg-grey-100 placeholder:text-grey-400 flex items-center overflow-hidden rounded-md border border-gray-300 focus-within:border-blue-500 focus-within:shadow"},A=w({__name:"input-password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const s=a(null),c=k(n,"modelValue"),t=a("password"),_=()=>{t.value=t.value==="password"?"text":"password"};return(p,l)=>{const m=v,f=P,C=j;return e(),r("div",O,[x(m,g({ref_key:"input",ref:s,modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=h=>c.value=h),type:d(t)},p.$attrs,{class:"border-none focus:border-transparent focus:ring-transparent"}),null,16,["modelValue","type"]),o("button",{type:"button",class:"px-4 text-gray-400 focus:text-blue-500 focus:outline-none",tabindex:"-1",onClick:_},[d(t)==="password"?(e(),i(f,{key:0,class:"size-5"})):(e(),i(C,{key:1,class:"size-5"}))])])}}});export{A as _}; diff --git a/resources/dist/vendor/translations-ui/assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js b/resources/dist/vendor/translations-ui/assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js similarity index 87% rename from resources/dist/vendor/translations-ui/assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js rename to resources/dist/vendor/translations-ui/assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js index e46cd30..b355535 100644 --- a/resources/dist/vendor/translations-ui/assets/input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js +++ b/resources/dist/vendor/translations-ui/assets/input-text.vue_vue_type_script_setup_true_lang-c368a274.js @@ -1 +1 @@ -import{d as n,J as i,r as p,j as c,y as f,$ as m,p as y,a0 as v,o as x,h as b,E as g,u as h}from"./app-f79836f7.js";import{u as z}from"./use-input-size-03843395.js";const M=["type"],_=n({__name:"input-text",props:i({type:{default:"text"},size:{default:"lg"},error:{default:""}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t,{expose:a}){const u=t,s=p(null),r=c(t,"modelValue"),{sizeClass:l}=z(u.size);return f(()=>{m(()=>{var e,o;(e=s.value)!=null&&e.hasAttribute("autofocus")&&((o=s.value)==null||o.focus())})}),a({focus:()=>{var e;return(e=s.value)==null?void 0:e.focus()}}),(e,o)=>y((x(),b("input",{ref_key:"input",ref:s,"onUpdate:modelValue":o[0]||(o[0]=d=>r.value=d),type:e.type,class:g(["w-full rounded-md border-gray-300 placeholder:text-sm placeholder:text-gray-400 focus:border-blue-500 focus:ring-blue-500",[h(l),{"border-red-300 text-red-900 placeholder:text-red-300 focus:border-red-500 focus:ring-red-500":e.error}]])},null,10,M)),[[v,r.value]])}});export{_}; +import{d as n,J as i,r as p,j as c,y as f,$ as m,p as y,a0 as v,o as x,h as b,E as g,u as h}from"./app-8d2ddf0a.js";import{u as z}from"./use-input-size-a5ed2a71.js";const M=["type"],_=n({__name:"input-text",props:i({type:{default:"text"},size:{default:"lg"},error:{default:""}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t,{expose:a}){const u=t,s=p(null),r=c(t,"modelValue"),{sizeClass:l}=z(u.size);return f(()=>{m(()=>{var e,o;(e=s.value)!=null&&e.hasAttribute("autofocus")&&((o=s.value)==null||o.focus())})}),a({focus:()=>{var e;return(e=s.value)==null?void 0:e.focus()}}),(e,o)=>y((x(),b("input",{ref_key:"input",ref:s,"onUpdate:modelValue":o[0]||(o[0]=d=>r.value=d),type:e.type,class:g(["w-full rounded-md border-gray-300 placeholder:text-sm placeholder:text-gray-400 focus:border-blue-500 focus:ring-blue-500",[h(l),{"border-red-300 text-red-900 placeholder:text-red-300 focus:border-red-500 focus:ring-red-500":e.error}]])},null,10,M)),[[v,r.value]])}});export{_}; diff --git a/resources/dist/vendor/translations-ui/assets/invite-6f56196a.js b/resources/dist/vendor/translations-ui/assets/invite-00e1c086.js similarity index 96% rename from resources/dist/vendor/translations-ui/assets/invite-6f56196a.js rename to resources/dist/vendor/translations-ui/assets/invite-00e1c086.js index d5487d1..8a6ba6b 100644 --- a/resources/dist/vendor/translations-ui/assets/invite-6f56196a.js +++ b/resources/dist/vendor/translations-ui/assets/invite-00e1c086.js @@ -1 +1 @@ -import{_ as ie}from"./dialog.vue_vue_type_script_setup_true_lang-4c8ea821.js";import{_ as ue}from"./base-button.vue_vue_type_script_setup_true_lang-eedf44f3.js";import{_ as de,a as ce}from"./input-label.vue_vue_type_script_setup_true_lang-58f0b872.js";import{_ as pe}from"./input-text.vue_vue_type_script_setup_true_lang-f69aa5d9.js";import{_ as me}from"./icon-close-cd07b6ee.js";import{_ as fe}from"./_plugin-vue_export-helper-c27b6911.js";import{r as R,s as f,v as ve,x as q,d as B,y as F,z as Z,u as p,A as J,B as S,C as be,D as K,F as P,o as V,h as G,f as b,T as ge,b as y,w as E,a as N,q as _e,c as ye,E as T,t as U,K as he,Z as xe}from"./app-f79836f7.js";import{i as j,I as z,A as D,O as ke,o as A,f as we,E as Ee,u as Se,T as $e,a as O,P as M,N as C,b as H}from"./transition-53b06f51.js";import{k as Y,K as Oe}from"./dialog-1dde479c.js";import"./use-input-size-03843395.js";function Re(e,l,a){let r=R(a==null?void 0:a.value),o=f(()=>e.value!==void 0);return[f(()=>o.value?e.value:r.value),function(u){return o.value||(r.value=u),l==null?void 0:l(u)}]}function Ne({container:e,accept:l,walk:a,enabled:r}){ve(()=>{let o=e.value;if(!o||r!==void 0&&!r.value)return;let u=j(e);if(!u)return;let c=Object.assign(d=>l(d),{acceptNode:l}),i=u.createTreeWalker(o,NodeFilter.SHOW_ELEMENT,c,!1);for(;i.nextNode();)a(i.currentNode)})}function Q(e={},l=null,a=[]){for(let[r,o]of Object.entries(e))ee(a,X(l,r),o);return a}function X(e,l){return e?e+"["+l+"]":l}function ee(e,l,a){if(Array.isArray(a))for(let[r,o]of a.entries())ee(e,X(l,r.toString()),o);else a instanceof Date?e.push([l,a.toISOString()]):typeof a=="boolean"?e.push([l,a?"1":"0"]):typeof a=="string"?e.push([l,a]):typeof a=="number"?e.push([l,`${a}`]):a==null?e.push([l,""]):Q(a,l,e)}function Te(e){var l,a;let r=(l=e==null?void 0:e.form)!=null?l:e.closest("form");if(r){for(let o of r.elements)if(o!==e&&(o.tagName==="INPUT"&&o.type==="submit"||o.tagName==="BUTTON"&&o.type==="submit"||o.nodeName==="INPUT"&&o.type==="image")){o.click();return}(a=r.requestSubmit)==null||a.call(r)}}let te=Symbol("LabelContext");function le(){let e=J(te,null);if(e===null){let l=new Error("You used a