diff --git a/docs/_app/immutable/assets/__layout-659bdd23.css b/docs/_app/immutable/assets/__layout-450b1fb7.css similarity index 70% rename from docs/_app/immutable/assets/__layout-659bdd23.css rename to docs/_app/immutable/assets/__layout-450b1fb7.css index 425aeba..85527ff 100644 --- a/docs/_app/immutable/assets/__layout-659bdd23.css +++ b/docs/_app/immutable/assets/__layout-450b1fb7.css @@ -1 +1 @@ -body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;@apply bg-gray-100 text-gray-700 dark:(bg-gray-900 text-gray-300) transition-color duration-500;> div > main {@apply p-8 max-w-4xl mx-auto;}}.prose{code,blockquote {&::before,&::after {content: "";}} pre {@apply bg-gray-200 dark:bg-gray-800 transition-color duration-500; code {@apply text-gray-700 dark:text-gray-300;}} blockquote {@apply border-gray-700 dark:border-gray-300 transition-color duration-500;} ul li:before {@apply bg-gray-300 dark:bg-gray-700 transition-color duration-500;}}table,tr{border:1px solid #ccc;border-collapse:collapse}th,td{padding:4px;text-align:left}table tr:nth-child(2n){background-color:#f5f5f5}.dark table tr:nth-child(2n){background-color:#535353}.dark .bg-orange-200{background:#553708!important}.std-calendar-wrap table,.std-calendar-wrap tr{border-width:0;border-collapse:collapse}.std-calendar-wrap th,.std-calendar-wrap td{padding:0;text-align:center}button[disabled]{opacity:.5}code[class*=language-],pre[class*=language-]{border-radius:4px;color:#464545;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;max-width:100%}:not(pre)>code[class*=language-],pre[class*=language-]{background-color:#e8e8e8}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#719cca}.token.punctuation{color:#451616}.token.tag,.token.attr-name,.token.deleted{color:#e2777a}.token.function-name{color:#0b2a48}.token.boolean,.token.token.function-name{color:#1f5dd0}.token.class-name,.token.symbol{color:#114b53}.token.important,.token.atrule,.token.keyword{color:#cc99cd}.token.char,.token.attr-value{color:#7ec699}.token.operator,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.inserted{color:green}.token.title,.token.string{color:#77b422}.token.regex{color:#95e6cb}.token.constant,.token.number{color:#fc6}.token.function,.token.selector,.token.attr-name{color:#d8a823}.token.entity{color:#d4bfff;cursor:help}[class*=language-]{color:#394211}.token.variable,.token.punctuation{color:#cbccc6}.token.property{color:#2c956b}.token.builtin,.token.class-name{color:#5ccfe6}.token.keyword{color:#d8a823}.token.operator{color:#164a93}.token.parameter{color:#192e63}.token.tag,.token.property{color:#238fa5}.token.punctuation{color:#3a219480}.token.namespace{opacity:.8}h2.header{@apply text-2xl mb-4;}h3.header{@apply text-xl my-4;}.picker-style{@apply border-1 rounded-md border-gray-300 p-1 w-full;}.dark .picker-style,.dark input,.dark select{color:#000}body .svelte-wrap{min-height:100vh}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59, 130, 246, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}::moz-focus-inner{border-style:none;padding:0}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;padding:0;line-height:inherit;color:inherit}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}button,[role=button]{cursor:pointer}code,kbd,samp,pre{font-size:1em}fieldset{margin:0;padding:0}hr{height:0;color:inherit;border-top-width:1px}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}img{border-style:solid}input::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder{opacity:1;color:#9ca3af}input::webkit-input-placeholder{opacity:1;color:#9ca3af}input::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder{opacity:1;color:#9ca3af}input::-ms-input-placeholder{opacity:1;color:#9ca3af}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}legend{padding:0}ol,ul{list-style:none;margin:0;padding:0}progress{vertical-align:baseline}pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}summary{display:list-item}table{text-indent:0;border-color:inherit;border-collapse:collapse}textarea{resize:vertical}textarea::-moz-placeholder{opacity:1;color:#9ca3af}textarea::placeholder{opacity:1;color:#9ca3af}textarea::webkit-input-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}a:not(.nav){color:#286090;text-decoration:underline}a:not(.nav):hover{color:#3b82f6;text-decoration:none}h2{color:#286090;font-weight:700;font-size:24px;margin-bottom:16px}h3{color:#286090;font-weight:700;font-size:20px;margin-bottom:16px}.dark h2{color:#2c6a9f;font-weight:700;font-size:24px;margin-bottom:16px}.dark h3{color:#2c6a9f;font-weight:700;font-size:20px;margin-bottom:16px}.dark a:not(.nav){color:#2c6a9f}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.nav{text-decoration:none}.nav.active{color:#286090;font-weight:500}.dark .nav.active{color:#2c6a9f}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.dark .dark\:bg-dark-600{--tw-bg-opacity:1;background-color:rgba(28,28,30,var(--tw-bg-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity))}.border-solid{border-style:solid}.border-l-1{border-left-width:1px}.dark .dark\:block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden,.dark .dark\:hidden{display:none}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.font-semibold{font-weight:600}.font-bold{font-weight:700}.h-full{height:100%}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.mx-auto{margin-left:auto;margin-right:auto}.mx-4{margin-left:1rem;margin-right:1rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mr-3{margin-right:.75rem}.mb-2{margin-bottom:.5rem}.\!max-w-screen-xl{max-width:1280px!important}.p-3{padding:.75rem}.p-2{padding:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pt-\$header-height{padding-top:var(--header-height)}.dark .dark\:text-light-200{--tw-text-opacity:1;color:rgba(250,250,250,var(--tw-text-opacity))}.decoration-transparent{-webkit-text-decoration-color:transparent;text-decoration-color:transparent}.text-stroke-dark-900{--tw-text-stroke-opacity:1;-webkit-text-stroke-color:rgba(15,15,15,var(--tw-text-stroke-opacity))}.w-full{width:100%}.z-50{z-index:50}.transition{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}@media (min-width: 1024px){.lg\:block{display:block}.lg\:hidden{display:none}.lg\:flex-row{flex-direction:row}.lg\:px-6{padding-left:1.5rem;padding-right:1.5rem}.lg\:pt-3{padding-top:.75rem}.lg\:pt-6{padding-top:1.5rem}.lg\:w-1\/5{width:20%}.lg\:w-4\/5{width:80%}.lg\:z-0{z-index:0}}[fill~=none]{fill:none}.picker-style{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity));border-radius:.375rem;border-width:1px;padding:.25rem;width:100%} +body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;@apply bg-gray-100 text-gray-700 dark:(bg-gray-900 text-gray-300) transition-color duration-500;> div > main {@apply p-8 max-w-4xl mx-auto;}}.prose{code,blockquote {&::before,&::after {content: "";}} pre {@apply bg-gray-200 dark:bg-gray-800 transition-color duration-500; code {@apply text-gray-700 dark:text-gray-300;}} blockquote {@apply border-gray-700 dark:border-gray-300 transition-color duration-500;} ul li:before {@apply bg-gray-300 dark:bg-gray-700 transition-color duration-500;}}table,tr{border:1px solid #ccc;border-collapse:collapse}th,td{padding:4px;text-align:left}table tr:nth-child(2n){background-color:#f5f5f5}.dark table tr:nth-child(2n){background-color:#535353}.dark .bg-orange-200{background:#553708!important}.std-calendar-wrap table,.std-calendar-wrap tr{border-width:0;border-collapse:collapse}.std-calendar-wrap th,.std-calendar-wrap td{padding:0;text-align:center}button[disabled]{opacity:.5}code[class*=language-],pre[class*=language-]{border-radius:4px;color:#464545;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;max-width:100%}:not(pre)>code[class*=language-],pre[class*=language-]{background-color:#e8e8e8}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#719cca}.token.punctuation{color:#451616}.token.tag,.token.attr-name,.token.deleted{color:#e2777a}.token.function-name{color:#0b2a48}.token.boolean,.token.token.function-name{color:#1f5dd0}.token.class-name,.token.symbol{color:#114b53}.token.important,.token.atrule,.token.keyword{color:#cc99cd}.token.char,.token.attr-value{color:#7ec699}.token.operator,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.inserted{color:green}.token.title,.token.string{color:#77b422}.token.regex{color:#95e6cb}.token.constant,.token.number{color:#fc6}.token.function,.token.selector,.token.attr-name{color:#d8a823}.token.entity{color:#d4bfff;cursor:help}[class*=language-]{color:#394211}.token.variable,.token.punctuation{color:#cbccc6}.token.property{color:#2c956b}.token.builtin,.token.class-name{color:#5ccfe6}.token.keyword{color:#d8a823}.token.operator{color:#164a93}.token.parameter{color:#192e63}.token.tag,.token.property{color:#238fa5}.token.punctuation{color:#3a219480}.token.namespace{opacity:.8}h2.header{@apply text-2xl mb-4;}h3.header{@apply text-xl my-4;}.picker-style{@apply border-1 rounded-md border-gray-300 p-1 w-full;}.dark .picker-style,.dark input,.dark select{color:#000}body .svelte-wrap{min-height:100vh}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59, 130, 246, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}::moz-focus-inner{border-style:none;padding:0}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;padding:0;line-height:inherit;color:inherit}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}button,[role=button]{cursor:pointer}code,kbd,samp,pre{font-size:1em}fieldset{margin:0;padding:0}hr{height:0;color:inherit;border-top-width:1px}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}img{border-style:solid}input::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder{opacity:1;color:#9ca3af}input::webkit-input-placeholder{opacity:1;color:#9ca3af}input::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder{opacity:1;color:#9ca3af}input::-ms-input-placeholder{opacity:1;color:#9ca3af}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}legend{padding:0}ol,ul{list-style:none;margin:0;padding:0}progress{vertical-align:baseline}pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}summary{display:list-item}table{text-indent:0;border-color:inherit;border-collapse:collapse}textarea{resize:vertical}textarea::-moz-placeholder{opacity:1;color:#9ca3af}textarea::placeholder{opacity:1;color:#9ca3af}textarea::webkit-input-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}a:not(.nav){color:#286090;text-decoration:underline}a:not(.nav):hover{color:#3b82f6;text-decoration:none}h2{color:#286090;font-weight:700;font-size:24px;margin-bottom:16px}h3{color:#286090;font-weight:700;font-size:20px;margin-bottom:16px}.dark h2{color:#2c6a9f;font-weight:700;font-size:24px;margin-bottom:16px}.dark h3{color:#2c6a9f;font-weight:700;font-size:20px;margin-bottom:16px}.dark a:not(.nav){color:#2c6a9f}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.nav{text-decoration:none}.nav.active{color:#286090;font-weight:500}.dark .nav.active{color:#2c6a9f}.nav{text-decoration:none}.nav.active{color:#286090;font-weight:500}.dark .nav.active{color:#2c6a9f}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.dark .dark\:bg-dark-600{--tw-bg-opacity:1;background-color:rgba(28,28,30,var(--tw-bg-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity))}.border-solid{border-style:solid}.border-l-1{border-left-width:1px}.dark .dark\:block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden,.dark .dark\:hidden{display:none}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.font-semibold{font-weight:600}.font-bold{font-weight:700}.h-full{height:100%}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.mx-auto{margin-left:auto;margin-right:auto}.mx-4{margin-left:1rem;margin-right:1rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mr-3{margin-right:.75rem}.mb-2{margin-bottom:.5rem}.mt-2{margin-top:.5rem}.\!max-w-screen-xl{max-width:1280px!important}.p-3{padding:.75rem}.p-2{padding:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pt-\$header-height{padding-top:var(--header-height)}.dark .dark\:text-light-200{--tw-text-opacity:1;color:rgba(250,250,250,var(--tw-text-opacity))}.decoration-transparent{-webkit-text-decoration-color:transparent;text-decoration-color:transparent}.text-stroke-dark-900{--tw-text-stroke-opacity:1;-webkit-text-stroke-color:rgba(15,15,15,var(--tw-text-stroke-opacity))}.w-full{width:100%}.z-50{z-index:50}.transition{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}@media (min-width: 1024px){.lg\:block{display:block}.lg\:hidden{display:none}.lg\:flex-row{flex-direction:row}.lg\:px-6{padding-left:1.5rem;padding-right:1.5rem}.lg\:pt-3{padding-top:.75rem}.lg\:pt-6{padding-top:1.5rem}.lg\:w-1\/5{width:20%}.lg\:w-4\/5{width:80%}.lg\:z-0{z-index:0}}[fill~=none]{fill:none}.picker-style{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity));border-radius:.375rem;border-width:1px;padding:.25rem;width:100%} diff --git a/docs/_app/immutable/chunks/SveltyPicker-25b77381.js b/docs/_app/immutable/chunks/SveltyPicker-25b77381.js new file mode 100644 index 0000000..cbf8b01 --- /dev/null +++ b/docs/_app/immutable/chunks/SveltyPicker-25b77381.js @@ -0,0 +1,4 @@ +import{Y as el,S as Ke,i as Xe,s as Qe,l as A,r as ce,a as te,K as ke,m as V,n as E,u as de,h as D,c as le,L as De,p as b,N as q,b as K,O as F,P as G,Z as we,v as ge,f as ne,g as Se,t as oe,d as Te,V as Oe,_ as xe,q as st,$ as Ye,a0 as Re,a1 as $e,U as Ie,a2 as Le,a3 as et,E as Vt,a4 as Be,a5 as tl,a6 as Pe,e as Je,o as ll,a7 as He,a8 as It,a9 as nl,aa as Ge,x as zt,y as Ut,z as Pt,C as Jt}from"./index-bfee2186.js";const sl={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Ne","Po","\xDAt","St","\u010Ct","P\xE1","So","Ne"],months:["Leden","\xDAnor","B\u0159ezen","Duben","Kv\u011Bten","\u010Cerven","\u010Cervenec","Srpen","Z\xE1\u0159\xED","\u0158\xEDjen","Listopad","Prosinec"],monthsShort:["Led","\xDAno","B\u0159e","Dub","Kv\u011B","\u010Cer","\u010Cer","Srp","Z\xE1\u0159","\u0158\xEDj","List","Pro"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Dnes",clearBtn:"Smazat",timeView:"Zobrazit hodiny",backToDate:"Zp\xE1tky na kalend\xE1\u0159"},al={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["Son","Mon","Die","Mie","Don","Fre","Sam","Son"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],meridiem:["am","pm"],suffix:["","","",""],todayBtn:"Heute",clearBtn:"Zur\xFCcksetzen",timeView:"Zeitansicht anzeigen",backToDate:"Zur\xFCck zur Kalenderansicht"},Rt={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Today",clearBtn:"Clear",timeView:"Show time view",backToDate:"Back to calendar view"},il={days:["Domingo","Lunes","Martes","Mi\xE9rcoles","Jueves","Viernes","S\xE1bado","Domingo"],daysShort:["Dom","Lun","Mar","Mi\xE9","Jue","Vie","S\xE1b","Dom"],daysMin:["Do","Lu","Ma","Mi","Ju","Vi","Sa","Do"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthsShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],meridiem:["am","pm"],suffix:["o","","",""],todayBtn:"Hoy",clearBtn:"Borrar",timeView:"Mostrar hora",backToDate:"Regresar al calendario"},rl={days:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu","Minggu"],daysShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab","Min"],daysMin:["Mn","Sn","Sl","Rb","Km","Jm","Sb","Mn"],months:["januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Hari Ini",clearBtn:"Hapus",timeView:"Tampilkan tampilan waktu",backToDate:"Kembali ke tampilan kalender"},ol={days:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5","\u65E5\u66DC\u65E5"],daysShort:["\u65E5\u66DC","\u6708\u66DC","\u706B\u66DC","\u6C34\u66DC","\u6728\u66DC","\u91D1\u66DC","\u571F\u66DC","\u65E5\u66DC"],daysMin:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F","\u65E5"],months:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthsShort:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],meridiem:["am","pm"],suffix:["","","",""],todayBtn:"\u4ECA\u65E5",clearBtn:"\u30AF\u30EA\u30A2",timeView:"\u30BF\u30A4\u30E0\u3092\u8868\u793A",backToDate:"\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u623B\u308B"},ul={days:["Nede\u013Ea","Pondelok","Utorok","Streda","\u0160tvrtok","Piatok","Sobota","Nede\u013Ea"],daysShort:["Ned","Pon","Uto","Str","\u0160tv","Pia","Sob","Ned"],daysMin:["Ne","Po","Ut","St","\u0160t","Pi","So","Ne"],months:["Janu\xE1r","Febru\xE1r","Marec","Apr\xEDl","M\xE1j","J\xFAn","J\xFAl","August","September","Okt\xF3ber","November","December"],monthsShort:["Jan","Feb","Mar","Apr","M\xE1j","J\xFAn","J\xFAl","Aug","Sep","Okt","Nov","Dec"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Dnes",clearBtn:"Zmaza\u0165",timeView:"Zobrazi\u0165 hodiny",backToDate:"Sp\xE4\u0165 na kalend\xE1r"},Sl={cz:sl,de:al,en:Rt,es:il,id:rl,jp:ol,sk:ul},fl={theme:"sdt-calendar-colors",mode:"auto",format:"yyyy-mm-dd",formatType:"standard",minuteIncrement:1,weekStart:1,inputClasses:"",todayBtnClasses:"sdt-action-btn sdt-today-btn",clearBtnClasses:"sdt-action-btn sdt-clear-btn",todayBtn:!0,clearBtn:!0,autoclose:!0,clearToggle:!0,i18n:Rt};function hl(l){const t=l-1;return t*t*t+1}function Fe(l,{delay:t=0,duration:e=400,easing:n=el}={}){const s=+getComputedStyle(l).opacity;return{delay:t,duration:e,easing:n,css:a=>`opacity: ${a*s}`}}const ye=0,Ee=1,_e=2;function ze(l,t,e,n,s){if(e===ye){let y=10,O=20;const v=-1,M=[];let S=[],Y=l.getFullYear()-l.getFullYear()%10;Y-=Y%20?12:10,Y%10&&(y=12,O=22);for(let ee=0;ee<32;ee++)S.push(Y+ee),S.length===4&&(M.push(S),S=[]);let L=null;return t||(t=new Date),t.getFullYear()>=Y&&(L=t.getFullYear()%Y),{years:M,todayMark:v,nextFrom:O,prevTo:y,selectionMark:L}}if(e===Ee){let y=[],O=[],v=12,M=24;const S=l.toISOString().split("T")[0].substring(0,8),Y=new Date(S+"01 00:00:00"),L=Y.getFullYear()-1;Y.setFullYear(L);let ee=0;for(let P=0;P<3;P++){for(let J=0;J<12;J++)Y.setMonth(J),O.push(n.monthsShort[J%12]),O.length===4&&(y.push(O),O=[]);Y.setFullYear(Y.getFullYear()+1)}let re=null;return t||(t=new Date),t.getFullYear()-L>=0&&t.getFullYear()-L<=2&&(re=t.getMonth()+(t.getFullYear()-L||0)*12),{months:y,todayMark:ee,nextFrom:M,prevTo:v,selectionMark:re}}let a=l||new Date,r=a.getFullYear(),i=a.getMonth();a.getDate(),a.getHours();let o=new Date,u=new Date(r,i-1,28,0,0,0,0),h=tt.getDaysInMonth(u.getFullYear(),u.getMonth());u.setDate(h),u.setDate(h-(u.getDay()-s+7)%7);let f=new Date(u);f.setDate(f.getDate()+42);let d=f.valueOf(),c=[],g=[],p=-1,k=null,j=0,Z=42,B=0;for(;u.valueOf()r||u.getFullYear()===r&&u.getMonth()>i)&&(Z=B-1),u.setDate(u.getDate()+1),u.getFullYear()===o.getFullYear()&&u.getMonth()===o.getMonth()&&u.getDate()===o.getDate()&&(p=B),!k&&t&&u.getFullYear()===t.getFullYear()&&u.getMonth()===t.getMonth()&&u.getDate()===t.getDate()&&(k=B),g.length===7&&(c.push(g),g=[]);return{grid:c,todayMark:p,prevTo:j,nextFrom:Z,selectionMark:k}}function Ue(l,t){return l<0&&(l=42+l),{x:l%7,y:Math.floor(l/7)}}const tt={isLeapYear:function(l){return l%4===0&&l%100!==0||l%400===0},getDaysInMonth:function(l,t){return[31,tt.isLeapYear(l)?29:28,31,30,31,30,31,31,30,31,30,31][t]}};function at(l,t){return l instanceof Date?l.getFullYear()t.getFullYear()||l.getMonth()>t.getMonth()||l.getDate()>=t.getDate():!1}function Ae(l,t,e,n){if(l instanceof Date)return l;const s=n==="php"?{date:"Y-m-d",datetime:"Y-m-d H:i",datetime_s:"Y-m-d H:i:s"}:{date:"yyyy-mm-dd",datetime:"yyyy-mm-dd hh:ii",datetime_s:"yyyy-mm-dd hh:ii:ss"};let a;/^\d{4}\-\d{1,2}\-\d{1,2}$/.test(l)?a=ve.parseFormat(s.date,n):/^\d{4}\-\d{1,2}\-\d{1,2}[T ]\d{1,2}\:\d{1,2}$/.test(l)?a=ve.parseFormat(s.datetime,n):/^\d{4}\-\d{1,2}\-\d{1,2}[T ]\d{1,2}\:\d{1,2}\:\d{1,2}[Z]{0,1}$/.test(l)?a=ve.parseFormat(s.datetime_s,n):a=ve.parseFormat(t,n);const r=l&&l.toString().match(ve.nonpunctuation)||[];l=new Date,l.setHours(0,0,0,0);const i={},{setters_order:o,setters_map:u}=ve.setters(n);let h,f;if(r.length!==a.parts.length&&a.parts.includes("S")){const p=r[a.parts.indexOf("S")-1].match(/(\d+)([a-zA-Z]+)/).slice(1,3);r.splice(a.parts.indexOf("S")-1,1,...p)}if(r.length===a.parts.length){for(var d=0,c=a.parts.length;dn.setHours(s),h:(n,s)=>n.setHours(s),HH:(n,s)=>n.setHours(s===12?0:s),H:(n,s)=>n.setHours(s===12?0:s),i:(n,s)=>n.setMinutes(s),s:(n,s)=>n.setSeconds(s),yyyy:(n,s)=>n.setFullYear(s),yy:(n,s)=>n.setFullYear((s<50?2e3:1900)+s),m:(n,s)=>{for(s-=1;s<0;)s+=12;for(s%=12,n.setMonth(s);n.getMonth()!==s;){if(isNaN(n.getMonth()))return n;n.setDate(n.getDate()-1)}return n},d:(n,s)=>n.setDate(s),p:(n,s)=>n.setHours(s===1&&n.getHours()<12?n.getHours()+12:n.getHours()),t:(n,s)=>n.setTime(s),mm:()=>{},M:()=>{},MM:()=>{},ii:()=>{},ss:()=>{},dd:()=>{},D:()=>{},DD:()=>{},P:()=>{}},e.mm=e.M=e.MM=e.m,e.ii=e.i,e.ss=e.s,e.dd=e.D=e.DD=e.d,e.P=e.p):(t=["H","G","h","g","i","s","d","D","j","l","N","S","m","M","F","n","Y","yy","p","P","U"],e={H:(n,s)=>n.setHours(s),G:(n,s)=>n.setHours(s),h:(n,s)=>n.setHours(s===12?0:s),g:(n,s)=>n.setHours(s===12?0:s),i:(n,s)=>n.setMinutes(s),s:(n,s)=>n.setSeconds(s),Y:(n,s)=>n.setFullYear(s),yy:(n,s)=>n.setFullYear((s<50?2e3:1900)+s),m:(n,s)=>{for(s-=1;s<0;)s+=12;for(s%=12,n.setMonth(s);n.getMonth()!==s;){if(isNaN(n.getMonth()))return n;n.setDate(n.getDate()-1)}return n},d:(n,s)=>n.setDate(s),a:(n,s)=>n.setHours(s===1?n.getHours()+12:n.getHours()),U:(n,s)=>n.setTime(s*1e3)},e.F=e.M=e.m,e.D=e.j=e.l=e.N=e.d,e.A=e.a),{setters_order:t,setters_map:e}}};function cl(l,{inputEl:t,visible:e,inputRect:n}){if(!e){const a=l.getBoundingClientRect(),r=["position: absolute","z-index: 12250"];r.push(n.x+a.width>window.innerWidth?"right: 1rem":`left: ${n.left}px`),a.height+a.top>window.innerHeight+window.scrollY?r.push("bottom: 1rem"):r.push(`top: ${n.top+n.height+window.scrollY}px`),l.style=r.join(";"),l.hidden=!1,document.body.appendChild(l)}l.hidden=!1;function s(){l.parentNode&&l.parentNode.removeChild(l)}return{destroy:s}}function dl(l,{delay:t=0,duration:e=400,easing:n=hl,start:s=0,end:a=1,opacity:r=0}={}){const i=getComputedStyle(l),o=+i.opacity,u=i.transform==="none"?"":i.transform,h=1-s,f=o*(1-r);return{delay:t,duration:e,easing:n,css:(d,c)=>` + transform: ${u} scale(${a!==1?s+a*c:1-h*c}); + opacity: ${o-f*c}; + `}}function rt(l,t,e){const n=l.slice();return n[40]=t[e],n[42]=e,n}function ot(l,t,e){const n=l.slice();return n[43]=t[e],n[45]=e,n}function ut(l,t,e){const n=l.slice();return n[46]=t[e],n}function ft(l,t,e){const n=l.slice();return n[40]=t[e],n[42]=e,n}function ht(l,t,e){const n=l.slice();return n[50]=t[e],n[45]=e,n}function ct(l,t,e){const n=l.slice();return n[40]=t[e],n[42]=e,n}function dt(l,t,e){const n=l.slice();return n[53]=t[e],n[45]=e,n}function gt(l){let t,e,n,s,a,r;return{c(){t=A("button"),e=ke("svg"),n=ke("path"),this.h()},l(i){t=V(i,"BUTTON",{class:!0,title:!0});var o=E(t);e=De(o,"svg",{class:!0,xmlns:!0,viewBox:!0,width:!0,height:!0});var u=E(e);n=De(u,"path",{"fill-rule":!0,d:!0}),E(n).forEach(D),u.forEach(D),o.forEach(D),this.h()},h(){b(n,"fill-rule","evenodd"),b(n,"d","M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zm.5 4.75a.75.75 0 00-1.5 0v3.5a.75.75 0 00.471.696l2.5 1a.75.75 0 00.557-1.392L8.5 7.742V4.75z"),b(e,"class","sdt-svg svelte-6hyah7"),b(e,"xmlns","http://www.w3.org/2000/svg"),b(e,"viewBox","0 0 16 16"),b(e,"width","16"),b(e,"height","16"),b(t,"class","std-btn std-btn-header icon-btn sdt-time-icon svelte-6hyah7"),b(t,"title",s=l[0].timeView)},m(i,o){K(i,t,o),F(t,e),F(e,n),a||(r=G(t,"click",we(l[21])),a=!0)},p(i,o){o[0]&1&&s!==(s=i[0].timeView)&&b(t,"title",s)},d(i){i&&D(t),a=!1,r()}}}function mt(l){let t,e,n,s,a,r,i,o,u=l[10].years,h=[];for(let f=0;f{a&&a.end(1),s=Re(e,l[12],{duration:Ne,start:l[14],opacity:1}),s.start()}),r=!0)},o(f){s&&s.invalidate(),f&&(a=$e(e,l[12],{duration:Ne,end:l[13],start:1})),r=!1},d(f){f&&D(t),Ie(h,f),f&&a&&a.end(),i=!1,Oe(o)}}}function _t(l,t){let e,n,s=t[53]+"",a,r,i,o;function u(){return t[30](t[53])}return{key:l,first:null,c(){e=A("td"),n=A("button"),a=ce(s),this.h()},l(h){e=V(h,"TD",{class:!0});var f=E(e);n=V(f,"BUTTON",{class:!0});var d=E(n);a=de(d,s),d.forEach(D),f.forEach(D),this.h()},h(){b(n,"class","std-btn svelte-6hyah7"),n.disabled=r=t[16](new Date(t[53],t[3].getMonth(),t[3].getDate())),q(n,"not-current",!t[15](t[42]*4+t[45])),b(e,"class","sdt-cal-td svelte-6hyah7"),q(e,"is-selected",t[42]*4+t[45]===t[10].selectionMark),this.first=e},m(h,f){K(h,e,f),F(e,n),F(n,a),i||(o=G(n,"click",we(u)),i=!0)},p(h,f){t=h,f[0]&1024&&s!==(s=t[53]+"")&&ge(a,s),f[0]&1032&&r!==(r=t[16](new Date(t[53],t[3].getMonth(),t[3].getDate())))&&(n.disabled=r),f[0]&33792&&q(n,"not-current",!t[15](t[42]*4+t[45])),f[0]&1024&&q(e,"is-selected",t[42]*4+t[45]===t[10].selectionMark)},d(h){h&&D(e),i=!1,o()}}}function bt(l){let t,e=[],n=new Map,s,a=l[40];const r=i=>i[45];for(let i=0;i{a&&a.end(1),s=Re(e,l[12],{duration:Ne,start:l[14],opacity:1}),s.start()}),r=!0)},o(f){s&&s.invalidate(),f&&(a=$e(e,l[12],{duration:Ne,end:l[13],start:1})),r=!1},d(f){f&&D(t),Ie(h,f),f&&a&&a.end(),i=!1,Oe(o)}}}function Mt(l,t){let e,n,s=t[50]+"",a,r,i,o;function u(){return t[32](t[50])}return{key:l,first:null,c(){e=A("td"),n=A("button"),a=ce(s),this.h()},l(h){e=V(h,"TD",{class:!0});var f=E(e);n=V(f,"BUTTON",{class:!0});var d=E(n);a=de(d,s),d.forEach(D),f.forEach(D),this.h()},h(){b(n,"class","std-btn svelte-6hyah7"),n.disabled=r=t[16](new Date(t[3].getFullYear(),t[0].monthsShort.indexOf(t[50]),t[3].getDate())),q(n,"not-current",!t[15](t[42]*4+t[45])),b(e,"class","sdt-cal-td svelte-6hyah7"),q(e,"is-selected",t[42]*4+t[45]===t[10].selectionMark),this.first=e},m(h,f){K(h,e,f),F(e,n),F(n,a),i||(o=G(n,"click",we(u)),i=!0)},p(h,f){t=h,f[0]&1024&&s!==(s=t[50]+"")&&ge(a,s),f[0]&1033&&r!==(r=t[16](new Date(t[3].getFullYear(),t[0].monthsShort.indexOf(t[50]),t[3].getDate())))&&(n.disabled=r),f[0]&33792&&q(n,"not-current",!t[15](t[42]*4+t[45])),f[0]&1024&&q(e,"is-selected",t[42]*4+t[45]===t[10].selectionMark)},d(h){h&&D(e),i=!1,o()}}}function kt(l){let t,e=[],n=new Map,s,a=l[40];const r=i=>i[45];for(let i=0;i{r&&r.end(1),a=Re(e,l[12],{duration:Ne,start:.5,opacity:1}),a.start()}),i=!0)},o(g){a&&a.invalidate(),g&&(r=$e(e,l[12],{duration:Ne,start:Math.abs(l[5])})),i=!1},d(g){g&&D(t),Ie(f,g),Ie(c,g),g&&r&&r.end(),o=!1,u()}}}function wt(l){let t,e=l[46]+"",n;return{c(){t=A("th"),n=ce(e),this.h()},l(s){t=V(s,"TH",{class:!0});var a=E(t);n=de(a,e),a.forEach(D),this.h()},h(){b(t,"class","sdt-cal-th svelte-6hyah7")},m(s,a){K(s,t,a),F(t,n)},p(s,a){a[0]&2048&&e!==(e=s[46]+"")&&ge(n,e)},d(s){s&&D(t)}}}function pt(l,t){let e,n,s=t[43].getDate()+"",a,r,i,o;function u(){return t[34](t[43])}return{key:l,first:null,c(){e=A("td"),n=A("button"),a=ce(s),this.h()},l(h){e=V(h,"TD",{class:!0});var f=E(e);n=V(f,"BUTTON",{class:!0});var d=E(n);a=de(d,s),d.forEach(D),f.forEach(D),this.h()},h(){b(n,"class","std-btn sdt-btn-day svelte-6hyah7"),n.disabled=r=t[16](t[43]),q(n,"not-current",!t[15](t[42]*7+t[45])),b(e,"class","sdt-cal-td svelte-6hyah7"),q(e,"sdt-today",t[42]*7+t[45]===t[10].todayMark),q(e,"is-selected",t[42]*7+t[45]===t[10].selectionMark),this.first=e},m(h,f){K(h,e,f),F(e,n),F(n,a),i||(o=G(n,"click",we(u)),i=!0)},p(h,f){t=h,f[0]&1024&&s!==(s=t[43].getDate()+"")&&ge(a,s),f[0]&1024&&r!==(r=t[16](t[43]))&&(n.disabled=r),f[0]&33792&&q(n,"not-current",!t[15](t[42]*7+t[45])),f[0]&1024&&q(e,"sdt-today",t[42]*7+t[45]===t[10].todayMark),f[0]&1024&&q(e,"is-selected",t[42]*7+t[45]===t[10].selectionMark)},d(h){h&&D(e),i=!1,o()}}}function vt(l){let t,e=[],n=new Map,s,a=l[40];const r=i=>i[45];for(let i=0;i{O=null}),Te()),S[4]===Ee?v?(v.p(S,Y),Y[0]&16&&ne(v,1)):(v=yt(S),v.c(),ne(v,1),v.m(p,j)):v&&(Se(),oe(v,1,1,()=>{v=null}),Te()),S[4]===_e?M?(M.p(S,Y),Y[0]&16&&ne(M,1)):(M=Dt(S),M.c(),ne(M,1),M.m(p,null)):M&&(Se(),oe(M,1,1,()=>{M=null}),Te()),Y[0]&64&&q(p,"is-grid",S[6])},i(S){ne(O),ne(v),ne(M)},o(S){oe(O),oe(v),oe(M)},d(S){S&&D(t),y&&y.d(),S&&D(g),S&&D(p),O&&O.d(),v&&v.d(),M&&M.d(),Z=!1,Oe(B)}}}let Ne=400;const be=222,Ve=148;function ml(l,t,e){let n,s,a,r,i,o,u,{date:h=null}=t,{startDate:f=null}=t,{endDate:d=null}=t,{weekStart:c=1}=t,{initialView:g=_e}=t,{i18n:p}=t,{enableTimeToggle:k=!1}=t;function j(w,z){if(!B){W(new Date);return}let N,x;switch(w){case"PageDown":z=!0;case"ArrowDown":if(z)return Z(y.getFullYear(),y.getMonth()+1,1);if(x=i.selectionMark+7,x>=i.nextFrom){const se=new Date(y.getFullYear(),y.getUTCMonth()+1,28);let $=ze(se,B,v,p,c);P(1),N=$.selectionMark!==null?{y:Math.floor(($.selectionMark+7)/7),x:($.selectionMark+7)%7}:{y:(x+7)%7<$.prevTo?1:0,x:(x+7)%7},W($.grid[N.y][N.x]);return}N=Ue(i.selectionMark+7),i.grid[N.y][N.x].getMonth()!==y.getMonth()&&P(1),W(i.grid[N.y][N.x]);break;case"PageUp":z=!0;case"ArrowUp":if(z)return Z(y.getFullYear(),y.getMonth()-1,-1);if(x=i.selectionMark-7,x<=i.prevTo){const se=new Date(y.getFullYear()+(y.getMonth()>0?0:-1),y.getMonth()>0?y.getMonth()-1:11,1),$=ze(se,B,v,p,c);P(-1),N=$.selectionMark!==null?{x:Math.floor(($.selectionMark-7)/7),y:($.selectionMark-7)%7}:{x:5,y:x},W($.grid[N.x][N.y]);return}N=Ue(i.selectionMark-7),i.grid[N.y][N.x].getMonth()!==y.getMonth()&&P(-1),W(i.grid[N.y][N.x]);break;case"ArrowLeft":if(z)return Z(y.getFullYear()-1,y.getMonth(),1);N=Ue(i.selectionMark-1),i.grid[N.y][N.x].getMonth()!==y.getMonth()&&P(-1),W(i.grid[N.y][N.x]);break;case"ArrowRight":if(z)return Z(y.getFullYear()+1,y.getMonth(),1);N=Ue(i.selectionMark+1),i.grid[N.y][N.x].getMonth()!==y.getMonth()&&P(1),W(i.grid[N.y][N.x]);break}}function Z(w,z,N){let x,se=y.getDate();do x=new Date(w,z,se),se--;while(x.getMonth()===y.getMonth());const $=ze(x,x,v,p,c),X=$.grid[Math.floor($.selectionMark/7)][$.selectionMark%7];d&&it(X,d)||f&&at(X,f)||(P(N),W(X))}let B=h,y=h?new Date(h.valueOf()):new Date;const O=xe();let v=g,M=-2,S=!1,Y=be,L=null;function ee(w){return i.prevTo<=w&&ww||d&&d<=w)return!0;break;case Ee:if(n&&n.getFullYear()===w.getFullYear()&&n.getMonth()>w.getMonth()||d&&d.getFullYear()===w.getFullYear()&&d.getMonth()w.getFullYear()||d&&d.getFullYear()=10?be:Ve:be)}function J(w){if(v===_e)return P(w);if(e(8,L=()=>{P(w)}),v===ye){e(7,Y=Y===Ve?w===-1?Y-be:be+Ve:w===-1?Y-be:Y+Ve);return}e(7,Y=w===-1?Y-be:Y+be)}function ae(){if(e(5,M=-1),e(6,S=!0),v&&e(4,v--,v),v===ye){const w=Math.floor(y.getFullYear()/10)*10%20===0;e(7,Y=w?Ve:be)}}function W(w){switch(e(5,M=1),e(6,S=!0),v){case 0:y.setFullYear(w),e(3,y),e(22,h),e(2,B);break;case 1:y.setMonth(p.monthsShort.indexOf(w)),e(3,y),e(22,h),e(2,B);break;case 2:if(f&&!it(w,f)||d&&!at(w,d))return;const z=new Date(w.getFullYear(),w.getMonth(),w.getDate());B&&(z.setMinutes(B.getMinutes()),z.setHours(B.getHours())),e(2,B=z),O("date",B);break}v<_e&&e(4,v++,v),e(7,Y=be)}function ie(){e(6,S=!1)}function U(){O("switch","time")}function Me(w,z){switch(w){case ye:const N=[Math.floor(i.prevTo/4),i.prevTo%4],x=[Math.floor(i.nextFrom/4),i.nextFrom%4];return`${i.years[N.shift()][N.shift()]} - ${i.years[x.shift()][x.shift()]-1}`;case Ee:return z.getFullYear();case _e:return p.months[z.getMonth()]+" "+z.getFullYear()}}const T=()=>J(-1),H=()=>J(1),C=w=>{W(w)},m=()=>L&&L(),I=w=>{W(w)},R=()=>L&&L(),Q=w=>{W(w)};return l.$$set=w=>{"date"in w&&e(22,h=w.date),"startDate"in w&&e(23,f=w.startDate),"endDate"in w&&e(24,d=w.endDate),"weekStart"in w&&e(25,c=w.weekStart),"initialView"in w&&e(26,g=w.initialView),"i18n"in w&&e(0,p=w.i18n),"enableTimeToggle"in w&&e(1,k=w.enableTimeToggle)},l.$$.update=()=>{l.$$.dirty[0]&8388608&&(n=f?new Date(f.getFullYear(),f.getMonth(),f.getDate(),0,0,0,0):null),l.$$.dirty[0]&4194308&&h!==B&&(e(2,B=h),h&&e(3,y=new Date(h.valueOf())),e(5,M=1),e(6,S=!0),e(4,v=_e)),l.$$.dirty[0]&32&&e(14,s=M<1?1.5:.5),l.$$.dirty[0]&32&&e(13,a=M<1?1:1.5),l.$$.dirty[0]&32&&e(12,r=M===-2?Fe:M!==null?dl:()=>{}),l.$$.dirty[0]&33554461&&e(10,i=ze(y,B,v,p,c)),l.$$.dirty[0]&33554433&&e(11,o=c>-1?p.daysMin.concat(p.daysMin).slice(c,7+c):p.daysMin.slice(c,7+c)),l.$$.dirty[0]&25&&e(9,u=p&&Me(v,y))},[p,k,B,y,v,M,S,Y,L,u,i,o,r,a,s,ee,re,J,ae,W,ie,U,h,f,d,c,g,j,T,H,C,m,I,R,Q]}class _l extends Ke{constructor(t){super(),Xe(this,t,ml,gl,Qe,{date:22,startDate:23,endDate:24,weekStart:25,initialView:26,i18n:0,enableTimeToggle:1,handleGridNav:27},null,[-1,-1])}get handleGridNav(){return this.$$.ctx[27]}}function St(l,t,e){const n=l.slice();return n[36]=t[e],n[38]=e,n}function Tt(l,t,e){const n=l.slice();return n[36]=t[e],n[38]=e,n}function Ft(l){let t,e,n,s,a,r;return{c(){t=A("button"),e=ke("svg"),n=ke("path"),this.h()},l(i){t=V(i,"BUTTON",{class:!0,title:!0});var o=E(t);e=De(o,"svg",{class:!0,xmlns:!0,viewBox:!0,width:!0,height:!0});var u=E(e);n=De(u,"path",{"fill-rule":!0,d:!0}),E(n).forEach(D),u.forEach(D),o.forEach(D),this.h()},h(){b(n,"fill-rule","evenodd"),b(n,"d","M6.75 0a.75.75 0 01.75.75V3h9V.75a.75.75 0 011.5 0V3h2.75c.966 0 1.75.784 1.75 1.75v16a1.75 1.75 0 01-1.75 1.75H3.25a1.75 1.75 0 01-1.75-1.75v-16C1.5 3.784 2.284 3 3.25 3H6V.75A.75.75 0 016.75 0zm-3.5 4.5a.25.25 0 00-.25.25V8h18V4.75a.25.25 0 00-.25-.25H3.25zM21 9.5H3v11.25c0 .138.112.25.25.25h17.5a.25.25 0 00.25-.25V9.5z"),b(e,"class","sdt-svg svelte-163fzlc"),b(e,"xmlns","http://www.w3.org/2000/svg"),b(e,"viewBox","0 0 24 24"),b(e,"width","20"),b(e,"height","20"),b(t,"class","sdt-time-btn sdt-back-btn svelte-163fzlc"),b(t,"title",s=l[4].backToDate)},m(i,o){K(i,t,o),F(t,e),F(e,n),a||(r=G(t,"click",l[20]),a=!0)},p(i,o){o[0]&16&&s!==(s=i[4].backToDate)&&b(t,"title",s)},d(i){i&&D(t),a=!1,r()}}}function Yt(l){let t,e,n=l[11]?"PM":"AM",s,a,r,i;return{c(){t=A("div"),e=A("button"),s=ce(n),this.h()},l(o){t=V(o,"DIV",{class:!0});var u=E(t);e=V(u,"BUTTON",{type:!0,class:!0,"data-value":!0});var h=E(e);s=de(h,n),h.forEach(D),u.forEach(D),this.h()},h(){b(e,"type","button"),b(e,"class","sdt-time-btn sdt-time-figure is-active svelte-163fzlc"),b(e,"data-value",a=l[11]?l[6]%12:l[6]+12),b(t,"class","sdt-meridian svelte-163fzlc")},m(o,u){K(o,t,u),F(t,e),F(e,s),r||(i=G(e,"click",l[18]),r=!0)},p(o,u){u[0]&2048&&n!==(n=o[11]?"PM":"AM")&&ge(s,n),u[0]&2112&&a!==(a=o[11]?o[6]%12:o[6]+12)&&b(e,"data-value",a)},d(o){o&&D(t),r=!1,i()}}}function Et(l,t){let e,n=t[36].val+"",s,a,r,i,o,u;return{key:l,first:null,c(){e=A("button"),s=ce(n),this.h()},l(h){e=V(h,"BUTTON",{style:!0,class:!0,"data-value":!0});var f=E(e);s=de(f,n),f.forEach(D),this.h()},h(){b(e,"style",a=`left:${t[36].x}px; top:${t[36].y}px`),b(e,"class","sdt-tick svelte-163fzlc"),b(e,"data-value",r=t[36].val),e.disabled=i=(t[0]||t[1])&&t[16](t[36].val,!1),q(e,"outer-tick",t[5]),q(e,"is-selected",t[15](t[6],t[36].val,t[38])),this.first=e},m(h,f){K(h,e,f),F(e,s),u=!0},p(h,f){t=h,(!u||f[0]&8192)&&n!==(n=t[36].val+"")&&ge(s,n),(!u||f[0]&8192&&a!==(a=`left:${t[36].x}px; top:${t[36].y}px`))&&b(e,"style",a),(!u||f[0]&8192&&r!==(r=t[36].val))&&b(e,"data-value",r),(!u||f[0]&8195&&i!==(i=(t[0]||t[1])&&t[16](t[36].val,!1)))&&(e.disabled=i),(!u||f[0]&32)&&q(e,"outer-tick",t[5]),(!u||f[0]&41024)&&q(e,"is-selected",t[15](t[6],t[36].val,t[38]))},i(h){u||(h&&Ye(()=>{o||(o=Be(e,Fe,{duration:200},!0)),o.run(1)}),u=!0)},o(h){h&&(o||(o=Be(e,Fe,{duration:200},!1)),o.run(0)),u=!1},d(h){h&&D(e),h&&o&&o.end()}}}function Bt(l){let t,e=l[36].val+"",n,s,a,r,i,o;return{c(){t=A("button"),n=ce(e),this.h()},l(u){t=V(u,"BUTTON",{style:!0,class:!0,"data-value":!0});var h=E(t);n=de(h,e),h.forEach(D),this.h()},h(){b(t,"style",s=`left:${l[36].x}px; top:${l[36].y}px;`),b(t,"class","sdt-tick svelte-163fzlc"),b(t,"data-value",a=l[36].val),t.disabled=r=(l[0]||l[1])&&l[16](l[36].val,!1),q(t,"outer-tick",l[2]&&!l[5]),q(t,"is-selected",l[15](l[5]?l[7]:l[6],l[36].val,l[38]))},m(u,h){K(u,t,h),F(t,n),o=!0},p(u,h){(!o||h[0]&4096)&&e!==(e=u[36].val+"")&&ge(n,e),(!o||h[0]&4096&&s!==(s=`left:${u[36].x}px; top:${u[36].y}px;`))&&b(t,"style",s),(!o||h[0]&4096&&a!==(a=u[36].val))&&b(t,"data-value",a),(!o||h[0]&4099&&r!==(r=(u[0]||u[1])&&u[16](u[36].val,!1)))&&(t.disabled=r),(!o||h[0]&36)&&q(t,"outer-tick",u[2]&&!u[5]),(!o||h[0]&37088)&&q(t,"is-selected",u[15](u[5]?u[7]:u[6],u[36].val,u[38]))},i(u){o||(u&&Ye(()=>{i||(i=Be(t,Fe,{duration:200},!0)),i.run(1)}),o=!0)},o(u){u&&(i||(i=Be(t,Fe,{duration:200},!1)),i.run(0)),o=!1},d(u){u&&D(t),u&&i&&i.end()}}}function bl(l){let t,e,n,s,a=l[14](l[6],l[2])+"",r,i,o,u,h,f,d=l[14](l[7],!1)+"",c,g,p,k,j,Z,B,y,O,v=[],M=new Map,S,Y,L,ee,re,P=l[3]&&Ft(l),J=l[2]&&Yt(l),ae=l[13];const W=T=>T[36].val;for(let T=0;Toe(U[T],1,1,()=>{U[T]=null});return{c(){t=A("div"),e=A("div"),P&&P.c(),n=te(),s=A("button"),r=ce(a),i=te(),o=A("span"),u=ce(":"),h=te(),f=A("button"),c=ce(d),g=te(),J&&J.c(),p=te(),k=A("div"),j=A("div"),Z=te(),B=A("div"),y=A("div"),O=te();for(let T=0;T{Y=Re(t,Fe,{duration:200}),Y.start()}),L=!0}},o(T){for(let H=0;H=9||X<3?-1:1)*I),val:Q?X*5||R:X?X+w:R});return $}function re(m,I){return I?s&&m===12?12:m<10||m%12<10?`0${m%12}`:m%12:m<10?`0${m}`:m}function P(m,I,R){return y?I===m||R===0&&R===m:g?s&&I==12&&m===12||!s&&I==12&&m===0?!0:I===(m?m%12:12):I>12?(R?r*R+12:0)===m:I==="00"||I==="12"?m===12&&parseInt(I)==12||I==="00"&&m===0:I===m}function J(m,I=!1){return typeof m=="string"&&(m=parseInt(m)),f&&d&&i?y||I?f.getHours()===M.getHours()&&f.getMinutes()>m||d.getHours()===M.getHours()&&d.getMinutes()m||d.getHours()m:f.getHours()>m:d&&d.getDate()===M.getDate()&&d.getMonth()===M.getMonth()&&d.getFullYear()===M.getFullYear()?y||I?d.getHours()===M.getHours()&&d.getMinutes()N?se=z>x?2:1:se=z>x?3:4,se){case 1:I=w-N,R=x-z;break;case 2:I=w-N,R=z-x;break;case 3:I=N-w,R=z-x;break;case 4:I=N-w,R=x-z;break}const $=Math.sqrt(I*I+R*R),X=90-Math.asin(I/$)*(180/Math.PI);let fe=0;switch(se){case 1:fe=90-X;break;case 2:fe=X+90;break;case 3:fe=270-X;break;case 4:fe=X+270;break}fe=Math.round(fe/6/c)*c,fe===60&&(fe=0),M.setMinutes(fe)}e(25,M),e(21,h),S=!1,Y("time",M),!O&&y&&setTimeout(()=>{Y("close")},300),v&&!y&&e(5,y=!0),v=!0,setTimeout(()=>{v=!1,S=!0},200)}function W(m){const I=parseInt(m.target.dataset.value);M.setHours(I),e(25,M),e(21,h),Y("time",M)}function ie(m){e(9,O=m.type==="mousedown")}function U(){Y("switch","date")}const Me=()=>e(5,y=!1),T=()=>e(5,y=!0),H=m=>{O&&ae(m)};function C(m){Pe[m?"unshift":"push"](()=>{B=m,e(8,B)})}return l.$$set=m=>{"date"in m&&e(21,h=m.date),"startDate"in m&&e(0,f=m.startDate),"endDate"in m&&e(1,d=m.endDate),"minuteIncrement"in m&&e(22,c=m.minuteIncrement),"showMeridian"in m&&e(2,g=m.showMeridian),"hasDateComponent"in m&&e(3,p=m.hasDateComponent),"i18n"in m&&e(4,k=m.i18n)},l.$$.update=()=>{if(l.$$.dirty[0]&35651584&&h!==M&&h&&e(25,M=h),l.$$.dirty[0]&33554435){let m=!1;f&&f.toDateString()===M.toDateString()&&(J(M.getHours())&&(M.setHours(f.getHours()),m=!0),J(M.getMinutes(),!0)&&(M.setMinutes(f.getMinutes()),m=!0)),d&&d.toDateString()===M.toDateString()&&(J(M.getHours())&&(M.setHours(d.getHours()),m=!0),J(M.getMinutes(),!0)&&(M.setMinutes(d.getMinutes()),m=!0)),m&&Vt().then(()=>Y("time",M))}if(l.$$.dirty[0]&33554432&&e(6,n=M?M.getHours():0),l.$$.dirty[0]&68&&e(11,s=g?n>=12:!1),l.$$.dirty[0]&33554432&&e(7,a=M?M.getMinutes():0),l.$$.dirty[0]&228){let m=y?a*6:n%12*30;e(10,L=y||g||n<12?`transform: rotateZ(${m}deg);`:`transform: rotateZ(${m}deg); height: calc(25% + 1px)`)}l.$$.dirty[0]&32&&(r=y?5:1),l.$$.dirty[0]&3&&(i=f&&d&&["getFullYear","getMonth","getDate"].every(m=>d[m]()===f[m]())),l.$$.dirty[0]&32&&e(13,o=ee(y?260:220,130,"00",!1,0)),l.$$.dirty[0]&32&&e(12,u=ee(y?220:140,130,y?"00":"12",y,12)),l.$$.dirty[0]&32&&Y("time-switch",y)},[f,d,g,p,k,y,n,a,B,O,L,s,u,o,re,P,J,ae,W,ie,U,h,c,j,Z,M,Me,T,H,C]}class Ml extends Ke{constructor(t){super(),Xe(this,t,yl,bl,Qe,{date:21,startDate:0,endDate:1,minuteIncrement:22,showMeridian:2,hasDateComponent:3,i18n:4,minuteSwitch:23,makeTick:24},null,[-1,-1])}get minuteSwitch(){return this.$$.ctx[23]}get makeTick(){return this.$$.ctx[24]}}function Ht(l){let t,e,n,s,a;return{c(){t=A("input"),this.h()},l(r){t=V(r,"INPUT",{type:!0,id:!0,inputmode:!0,tabindex:!0,name:!0,placeholder:!0,autocomplete:!0,class:!0}),this.h()},h(){b(t,"type",e=l[8]?"hidden":"text"),b(t,"id",l[3]),b(t,"inputmode","none"),b(t,"tabindex","0"),b(t,"name",l[4]),t.disabled=l[5],t.required=l[7],t.value=l[1],b(t,"placeholder",l[6]),b(t,"autocomplete","off"),b(t,"class",n=He(l[14])+" svelte-1t6pprq"),t.readOnly=l[22]},m(r,i){K(r,t,i),l[58](t),s||(a=[It(l[35].call(null,t,l[36])),G(t,"focus",l[43]),G(t,"blur",l[44]),G(t,"click",l[59]),G(t,"input",l[56]),G(t,"change",l[57]),G(t,"keydown",l[40])],s=!0)},p(r,i){i[0]&256&&e!==(e=r[8]?"hidden":"text")&&b(t,"type",e),i[0]&8&&b(t,"id",r[3]),i[0]&16&&b(t,"name",r[4]),i[0]&32&&(t.disabled=r[5]),i[0]&128&&(t.required=r[7]),i[0]&2&&t.value!==r[1]&&(t.value=r[1]),i[0]&64&&b(t,"placeholder",r[6]),i[0]&16384&&n!==(n=He(r[14])+" svelte-1t6pprq")&&b(t,"class",n),i[0]&4194304&&(t.readOnly=r[22])},d(r){r&&D(t),l[58](null),s=!1,Oe(a)}}}function Nt(l){let t,e,n,s,a,r,i,o,u;const h=[Dl,kl],f=[];function d(c,g){return c[24]==="date"?0:1}return e=d(l),n=f[e]=h[e](l),{c(){t=A("div"),n.c(),this.h()},l(c){t=V(c,"DIV",{class:!0});var g=E(t);n.l(g),g.forEach(D),this.h()},h(){b(t,"class",s="std-calendar-wrap is-popup "+l[9]+" svelte-1t6pprq")},m(c,g){K(c,t,g),f[e].m(t,null),i=!0,o||(u=[It(a=l[20].call(null,t,{inputEl:l[27],visible:l[32],inputRect:l[28]})),G(t,"mousedown",we(l[55]))],o=!0)},p(c,g){let p=e;e=d(c),e===p?f[e].p(c,g):(Se(),oe(f[p],1,1,()=>{f[p]=null}),Te(),n=f[e],n?n.p(c,g):(n=f[e]=h[e](c),n.c()),ne(n,1),n.m(t,null)),(!i||g[0]&512&&s!==(s="std-calendar-wrap is-popup "+c[9]+" svelte-1t6pprq"))&&b(t,"class",s),a&&nl(a.update)&&g[0]&402653184|g[1]&2&&a.update.call(null,{inputEl:c[27],visible:c[32],inputRect:c[28]})},i(c){i||(ne(n),c&&Ye(()=>{r||(r=Be(t,l[33],{duration:200},!0)),r.run(1)}),i=!0)},o(c){oe(n),c&&(r||(r=Be(t,l[33],{duration:200},!1)),r.run(0)),i=!1},d(c){c&&D(t),f[e].d(),c&&r&&r.end(),o=!1,Oe(u)}}}function kl(l){let t,e,n={date:l[21],startDate:l[25],endDate:l[26],hasDateComponent:l[23]!=="time",showMeridian:l[10].match(l[11]==="php"?"a|A":"p|P")!==null,i18n:l[19],minuteIncrement:l[12]};return t=new Ml({props:n}),l[61](t),t.$on("time",l[37]),t.$on("switch",l[41]),t.$on("close",l[42]),{c(){zt(t.$$.fragment)},l(s){Ut(t.$$.fragment,s)},m(s,a){Pt(t,s,a),e=!0},p(s,a){const r={};a[0]&2097152&&(r.date=s[21]),a[0]&33554432&&(r.startDate=s[25]),a[0]&67108864&&(r.endDate=s[26]),a[0]&8388608&&(r.hasDateComponent=s[23]!=="time"),a[0]&3072&&(r.showMeridian=s[10].match(s[11]==="php"?"a|A":"p|P")!==null),a[0]&524288&&(r.i18n=s[19]),a[0]&4096&&(r.minuteIncrement=s[12]),t.$set(r)},i(s){e||(ne(t.$$.fragment,s),e=!0)},o(s){oe(t.$$.fragment,s),e=!1},d(s){l[61](null),Jt(t,s)}}}function Dl(l){var i;let t,e,n,s,a={date:l[21],startDate:l[25],endDate:l[26],enableTimeToggle:(i=l[23])==null?void 0:i.includes("time"),initialView:l[2]>2?2:l[2],i18n:l[19],weekStart:l[13]};t=new _l({props:a}),l[60](t),t.$on("date",l[37]),t.$on("switch",l[41]);let r=(l[17]||l[18])&&Ot(l);return{c(){zt(t.$$.fragment),e=te(),r&&r.c(),n=Je()},l(o){Ut(t.$$.fragment,o),e=le(o),r&&r.l(o),n=Je()},m(o,u){Pt(t,o,u),K(o,e,u),r&&r.m(o,u),K(o,n,u),s=!0},p(o,u){var f;const h={};u[0]&2097152&&(h.date=o[21]),u[0]&33554432&&(h.startDate=o[25]),u[0]&67108864&&(h.endDate=o[26]),u[0]&8388608&&(h.enableTimeToggle=(f=o[23])==null?void 0:f.includes("time")),u[0]&4&&(h.initialView=o[2]>2?2:o[2]),u[0]&524288&&(h.i18n=o[19]),u[0]&8192&&(h.weekStart=o[13]),t.$set(h),o[17]||o[18]?r?r.p(o,u):(r=Ot(o),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i(o){s||(ne(t.$$.fragment,o),s=!0)},o(o){oe(t.$$.fragment,o),s=!1},d(o){l[60](null),Jt(t,o),o&&D(e),r&&r.d(o),o&&D(n)}}}function Ot(l){let t,e,n=l[17]&&Ct(l),s=l[18]&&At(l);return{c(){t=A("div"),n&&n.c(),e=te(),s&&s.c(),this.h()},l(a){t=V(a,"DIV",{class:!0});var r=E(t);n&&n.l(r),e=le(r),s&&s.l(r),r.forEach(D),this.h()},h(){b(t,"class","std-btn-row svelte-1t6pprq")},m(a,r){K(a,t,r),n&&n.m(t,null),F(t,e),s&&s.m(t,null)},p(a,r){a[17]?n?n.p(a,r):(n=Ct(a),n.c(),n.m(t,e)):n&&(n.d(1),n=null),a[18]?s?s.p(a,r):(s=At(a),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(a){a&&D(t),n&&n.d(),s&&s.d()}}}function Ct(l){let t,e=l[19].todayBtn+"",n,s,a,r;return{c(){t=A("button"),n=ce(e),this.h()},l(i){t=V(i,"BUTTON",{class:!0});var o=E(t);n=de(o,e),o.forEach(D),this.h()},h(){b(t,"class",s=He(l[15])+" svelte-1t6pprq"),t.disabled=l[34]},m(i,o){K(i,t,o),F(t,n),a||(r=G(t,"click",l[38]),a=!0)},p(i,o){o[0]&524288&&e!==(e=i[19].todayBtn+"")&&ge(n,e),o[0]&32768&&s!==(s=He(i[15])+" svelte-1t6pprq")&&b(t,"class",s),o[1]&8&&(t.disabled=i[34])},d(i){i&&D(t),a=!1,r()}}}function At(l){let t,e=l[19].clearBtn+"",n,s,a,r,i;return{c(){t=A("button"),n=ce(e),this.h()},l(o){t=V(o,"BUTTON",{class:!0});var u=E(t);n=de(u,e),u.forEach(D),this.h()},h(){b(t,"class",s=He(l[16])+" svelte-1t6pprq"),t.disabled=a=!l[21]},m(o,u){K(o,t,u),F(t,n),r||(i=G(t,"click",l[39]),r=!0)},p(o,u){u[0]&524288&&e!==(e=o[19].clearBtn+"")&&ge(n,e),u[0]&65536&&s!==(s=He(o[16])+" svelte-1t6pprq")&&b(t,"class",s),u[0]&2097152&&a!==(a=!o[21])&&(t.disabled=a)},d(o){o&&D(t),r=!1,i()}}}function wl(l){let t,e,n,s=!l[0]&&Ht(l),a=l[31]&&l[22]&&Nt(l);return{c(){s&&s.c(),t=te(),a&&a.c(),e=Je()},l(r){s&&s.l(r),t=le(r),a&&a.l(r),e=Je()},m(r,i){s&&s.m(r,i),K(r,t,i),a&&a.m(r,i),K(r,e,i),n=!0},p(r,i){r[0]?s&&(s.d(1),s=null):s?s.p(r,i):(s=Ht(r),s.c(),s.m(t.parentNode,t)),r[31]&&r[22]?a?(a.p(r,i),i[0]&4194304|i[1]&1&&ne(a,1)):(a=Nt(r),a.c(),ne(a,1),a.m(e.parentNode,e)):a&&(Se(),oe(a,1,1,()=>{a=null}),Te())},i(r){n||(ne(a),n=!0)},o(r){oe(a),n=!1},d(r){s&&s.d(r),r&&D(t),a&&a.d(r),r&&D(e)}}}const ue=fl;function pl(l,t,e){let n,s,a,r,i,o,{inputId:u=""}=t,{name:h="date"}=t,{disabled:f=!1}=t,{placeholder:d=null}=t,{required:c=!1}=t,{inputElement:g=null}=t,{value:p=null}=t,{initialDate:k=null}=t,{startDate:j=null}=t,{endDate:Z=null}=t,{pickerOnly:B=!1}=t,{startView:y=_e}=t,{theme:O=ue.theme}=t,{mode:v=ue.mode}=t,{format:M=ue.format}=t,{formatType:S=ue.formatType}=t,{minuteIncrement:Y=ue.minuteIncrement}=t,{weekStart:L=ue.weekStart}=t,{inputClasses:ee=ue.inputClasses}=t,{todayBtnClasses:re=ue.todayBtnClasses}=t,{clearBtnClasses:P=ue.clearBtnClasses}=t,{todayBtn:J=ue.todayBtn}=t,{clearBtn:ae=ue.clearBtn}=t,{clearToggle:W=ue.clearToggle}=t,{autoclose:ie=ue.autoclose}=t,{i18n:U=ue.i18n}=t,{positionFn:Me=cl}=t,{validatorAction:T=null}=t;function H(_){e(21,R=Ae(_,M,U,S))}const C=xe();p&&(p=p.replace(/(:\d+):\d+/,"$1"));let m=p,I=M,R=k&&k instanceof Date?k:p?Ae(p,M,U,S):null;R&&k&&(p=We(R,M,U,S));let Q=B,w=g,z=null,N=T?T.shift():()=>{},x=T||[],se,$,X=!1,fe=null,he=y&&y===3?"time":"",me=he==="time"?"time":"date";function qe(){e(2,y=_e),B||e(31,r=!1),he!=="time"&&e(24,me="date")}function je(_){let pe=_.detail||null;_.detail&&R&&R.getFullYear()===_.detail.getFullYear()&&R.getMonth()===_.detail.getMonth()&&R.getDate()===_.detail.getDate()&&he==="date"&&W&&(pe=null),e(1,p=pe?We(pe,M,U,S):null),ie&&(he==="date"||!pe)&&!B&&!X&&qe(),pe&&!X&&he==="datetime"&&me==="date"&&e(24,me="time"),X&&me==="time"?fe=setTimeout(()=>{X=!1},400):X=!1,Vt().then(()=>{g&&e(0,g.value=p||"",g),w&&w.dispatchEvent(new Event("input")),C("change",p)})}function Lt(){const _=new Date;if(n&&n>_)return;const pe=R?R.getHours():_.getHours(),$t=R?R.getMinutes():_.getMinutes();je(new CustomEvent("ontoday",{detail:new Date(_.getFullYear(),_.getMonth(),_.getDate(),pe,$t,0)}))}function Ze(){je(new CustomEvent("clear",{detail:null}))}function lt(_){if(r||(["Backspace","Delete"].includes(_.key)&&Ze(),_.key==="Enter"&&Ce()),!r&&_.key!=="Tab"){e(31,r=_.key!=="Shift"),_.preventDefault();return}switch(_.key){case"PageDown":case"PageUp":case"ArrowDown":case"ArrowUp":case"ArrowLeft":case"ArrowRight":_.preventDefault(),fe&&clearTimeout(fe),X=!0,me==="date"?se.handleGridNav(_.key,_.shiftKey):$.makeTick(["ArrowDown","ArrowLeft","PageDown"].includes(_.key)?-1:1);break;case"Escape":Q&&e(31,r=!1);break;case"Backspace":case"Delete":Ze();break;case"Enter":if(Q&&_.preventDefault(),me==="time")return $.minuteSwitch(null)?qe():$.minuteSwitch(!0);Q&&he==="date"&&e(31,r=!1),R&&he.includes("time")&&e(24,me="time");break;case"Tab":r&&(e(31,r=!1),_.preventDefault());case"F5":break;default:_.preventDefault()}}function qt(_){e(2,y=_e),e(24,me=_.detail)}function jt(){ie&&!X&&qe()}function Ce(){e(28,z=w&&w.getBoundingClientRect()),e(22,Q=!0),e(31,r=!0)}function nt(){e(22,Q=!1),e(31,r=!1),!g&&C("blur")}ll(()=>{g&&(e(0,g.onfocus=Ce,g),e(0,g.onblur=nt,g),e(0,g.onclick=()=>!r&&Ce(),g),e(0,g.onkeydown=lt,g))});function Zt(_){Ge.call(this,l,_)}function Gt(_){Ge.call(this,l,_)}function Wt(_){Ge.call(this,l,_)}function Kt(_){Pe[_?"unshift":"push"](()=>{w=_,e(27,w)})}const Xt=()=>{!r&&Ce()};function Qt(_){Pe[_?"unshift":"push"](()=>{se=_,e(29,se)})}function xt(_){Pe[_?"unshift":"push"](()=>{$=_,e(30,$)})}return l.$$set=_=>{"inputId"in _&&e(3,u=_.inputId),"name"in _&&e(4,h=_.name),"disabled"in _&&e(5,f=_.disabled),"placeholder"in _&&e(6,d=_.placeholder),"required"in _&&e(7,c=_.required),"inputElement"in _&&e(0,g=_.inputElement),"value"in _&&e(1,p=_.value),"initialDate"in _&&e(45,k=_.initialDate),"startDate"in _&&e(46,j=_.startDate),"endDate"in _&&e(47,Z=_.endDate),"pickerOnly"in _&&e(8,B=_.pickerOnly),"startView"in _&&e(2,y=_.startView),"theme"in _&&e(9,O=_.theme),"mode"in _&&e(48,v=_.mode),"format"in _&&e(10,M=_.format),"formatType"in _&&e(11,S=_.formatType),"minuteIncrement"in _&&e(12,Y=_.minuteIncrement),"weekStart"in _&&e(13,L=_.weekStart),"inputClasses"in _&&e(14,ee=_.inputClasses),"todayBtnClasses"in _&&e(15,re=_.todayBtnClasses),"clearBtnClasses"in _&&e(16,P=_.clearBtnClasses),"todayBtn"in _&&e(17,J=_.todayBtn),"clearBtn"in _&&e(18,ae=_.clearBtn),"clearToggle"in _&&e(49,W=_.clearToggle),"autoclose"in _&&e(50,ie=_.autoclose),"i18n"in _&&e(19,U=_.i18n),"positionFn"in _&&e(20,Me=_.positionFn),"validatorAction"in _&&e(51,T=_.validatorAction)},l.$$.update=()=>{if(l.$$.dirty[0]&527360|l.$$.dirty[1]&32768&&e(25,n=j?Ae(j,M,U,S):null),l.$$.dirty[0]&527360|l.$$.dirty[1]&65536&&e(26,s=Z?new Date(Ae(Z,M,U,S).setSeconds(1)):null),l.$$.dirty[0]&100663296&&e(34,a=n&&n>new Date||s&&s{}:Fe),l.$$.dirty[0]&25166848|l.$$.dirty[1]&131072&&(e(23,he=v==="auto"?M.match(/g|hh?|ii?/i)&&M.match(/y|m|d/i)?"datetime":M.match(/g|hh?|ii?/i)?"time":"date":v),he==="time"&&me!==he&&e(24,me=he)),l.$$.dirty[0]&4194305&&g&&e(0,g.readOnly=Q,g),l.$$.dirty[0]&256&&e(32,o=!!B),l.$$.dirty[0]&2624514|l.$$.dirty[1]&12713984){if(p!==m){const _=p?Ae(p,M,U,S):null;e(21,R=_),e(53,m=p)}I!==M&&R&&(e(1,p=We(R,M,U,S)),e(53,m=p),e(54,I=M),v==="auto"&&e(23,he=M.match(/g|hh?|ii?/i)&&M.match(/y|m|d/i)?"datetime":M.match(/g|hh?|ii?/i)?"time":"date"))}},[g,p,y,u,h,f,d,c,B,O,M,S,Y,L,ee,re,P,J,ae,U,Me,R,Q,he,me,n,s,w,z,se,$,r,o,i,a,N,x,je,Lt,Ze,lt,qt,jt,Ce,nt,k,j,Z,v,W,ie,T,H,m,I,Zt,Gt,Wt,Kt,Xt,Qt,xt]}class Tl extends Ke{constructor(t){super(),Xe(this,t,pl,wl,Qe,{inputId:3,name:4,disabled:5,placeholder:6,required:7,inputElement:0,value:1,initialDate:45,startDate:46,endDate:47,pickerOnly:8,startView:2,theme:9,mode:48,format:10,formatType:11,minuteIncrement:12,weekStart:13,inputClasses:14,todayBtnClasses:15,clearBtnClasses:16,todayBtn:17,clearBtn:18,clearToggle:49,autoclose:50,i18n:19,positionFn:20,validatorAction:51,setDateValue:52},null,[-1,-1,-1])}get setDateValue(){return this.$$.ctx[52]}}export{Tl as S,ue as c,al as d,Rt as e,Sl as i}; diff --git a/docs/_app/immutable/chunks/SveltyPicker-a0faa711.js b/docs/_app/immutable/chunks/SveltyPicker-a0faa711.js deleted file mode 100644 index 97504e2..0000000 --- a/docs/_app/immutable/chunks/SveltyPicker-a0faa711.js +++ /dev/null @@ -1,4 +0,0 @@ -import{X as $t,S as We,i as Ke,s as Xe,l as I,r as he,a as le,J as Me,m as V,n as O,u as ce,h as D,c as ne,K as ke,p as b,M as R,b as K,N as Y,O as G,Y as De,v as de,f as ae,g as ve,t as ue,d as Se,U as Ne,Z as Qe,q as nt,_ as Fe,$ as Pe,a0 as xe,T as Ie,a1 as Re,a2 as $e,D as At,a3 as Be,a4 as el,a5 as Ue,e as Je,o as tl,a6 as Ee,a7 as It,a8 as ll,a9 as Ze,w as Vt,x as zt,y as Ut,B as Jt}from"./index-28983a80.js";const nl={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Ne","Po","\xDAt","St","\u010Ct","P\xE1","So","Ne"],months:["Leden","\xDAnor","B\u0159ezen","Duben","Kv\u011Bten","\u010Cerven","\u010Cervenec","Srpen","Z\xE1\u0159\xED","\u0158\xEDjen","Listopad","Prosinec"],monthsShort:["Led","\xDAno","B\u0159e","Dub","Kv\u011B","\u010Cer","\u010Cer","Srp","Z\xE1\u0159","\u0158\xEDj","List","Pro"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Dnes",clearBtn:"Smazat",timeView:"Zobrazit hodiny",backToDate:"Zp\xE1tky na kalend\xE1\u0159"},sl={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["Son","Mon","Die","Mie","Don","Fre","Sam","Son"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],meridiem:["am","pm"],suffix:["","","",""],todayBtn:"Heute",clearBtn:"Zur\xFCcksetzen",timeView:"Zeitansicht anzeigen",backToDate:"Zur\xFCck zur Kalenderansicht"},Pt={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Today",clearBtn:"Clear",timeView:"Show time view",backToDate:"Back to calendar view"},al={days:["Domingo","Lunes","Martes","Mi\xE9rcoles","Jueves","Viernes","S\xE1bado","Domingo"],daysShort:["Dom","Lun","Mar","Mi\xE9","Jue","Vie","S\xE1b","Dom"],daysMin:["Do","Lu","Ma","Mi","Ju","Vi","Sa","Do"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthsShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],meridiem:["am","pm"],suffix:["o","","",""],todayBtn:"Hoy",clearBtn:"Borrar",timeView:"Mostrar hora",backToDate:"Regresar al calendario"},rl={days:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu","Minggu"],daysShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab","Min"],daysMin:["Mn","Sn","Sl","Rb","Km","Jm","Sb","Mn"],months:["januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Hari Ini",clearBtn:"Hapus",timeView:"Tampilkan tampilan waktu",backToDate:"Kembali ke tampilan kalender"},il={days:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5","\u65E5\u66DC\u65E5"],daysShort:["\u65E5\u66DC","\u6708\u66DC","\u706B\u66DC","\u6C34\u66DC","\u6728\u66DC","\u91D1\u66DC","\u571F\u66DC","\u65E5\u66DC"],daysMin:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F","\u65E5"],months:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthsShort:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],meridiem:["am","pm"],suffix:["","","",""],todayBtn:"\u4ECA\u65E5",clearBtn:"\u30AF\u30EA\u30A2",timeView:"\u30BF\u30A4\u30E0\u3092\u8868\u793A",backToDate:"\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u623B\u308B"},ol={days:["Nede\u013Ea","Pondelok","Utorok","Streda","\u0160tvrtok","Piatok","Sobota","Nede\u013Ea"],daysShort:["Ned","Pon","Uto","Str","\u0160tv","Pia","Sob","Ned"],daysMin:["Ne","Po","Ut","St","\u0160t","Pi","So","Ne"],months:["Janu\xE1r","Febru\xE1r","Marec","Apr\xEDl","M\xE1j","J\xFAn","J\xFAl","August","September","Okt\xF3ber","November","December"],monthsShort:["Jan","Feb","Mar","Apr","M\xE1j","J\xFAn","J\xFAl","Aug","Sep","Okt","Nov","Dec"],meridiem:["am","pm"],suffix:["st","nd","rd","th"],todayBtn:"Dnes",clearBtn:"Zmaza\u0165",timeView:"Zobrazi\u0165 hodiny",backToDate:"Sp\xE4\u0165 na kalend\xE1r"},vl={cz:nl,de:sl,en:Pt,es:al,id:rl,jp:il,sk:ol},ul={theme:"sdt-calendar-colors",mode:"auto",format:"yyyy-mm-dd",formatType:"standard",minuteIncrement:1,weekStart:1,inputClasses:"",todayBtnClasses:"sdt-action-btn sdt-today-btn",clearBtnClasses:"sdt-action-btn sdt-clear-btn",todayBtn:!0,clearBtn:!0,autoclose:!0,clearToggle:!0,i18n:Pt};function fl(l){const t=l-1;return t*t*t+1}function Te(l,{delay:t=0,duration:e=400,easing:n=$t}={}){const s=+getComputedStyle(l).opacity;return{delay:t,duration:e,easing:n,css:a=>`opacity: ${a*s}`}}const be=0,Ye=1,ye=2;function Ve(l,t,e,n,s){if(e===be){let T=10,w=20;const p=-1,y=[];let F=[],E=l.getFullYear()-l.getFullYear()%10;E-=E%20?12:10,E%10&&(T=12,w=22);for(let x=0;x<32;x++)F.push(E+x),F.length===4&&(y.push(F),F=[]);let Q=null;return t||(t=new Date),t.getFullYear()>=E&&(Q=t.getFullYear()%E),{years:y,todayMark:p,nextFrom:w,prevTo:T,selectionMark:Q}}if(e===Ye){let T=[],w=[],p=12,y=24;const F=l.toISOString().split("T")[0].substring(0,8),E=new Date(F+"01 00:00:00"),Q=E.getFullYear()-1;E.setFullYear(Q);let x=0;for(let L=0;L<3;L++){for(let U=0;U<12;U++)E.setMonth(U),w.push(n.monthsShort[U%12]),w.length===4&&(T.push(w),w=[]);E.setFullYear(E.getFullYear()+1)}let $=null;return t||(t=new Date),t.getFullYear()-Q>=0&&t.getFullYear()-Q<=2&&($=t.getMonth()+(t.getFullYear()-Q||0)*12),{months:T,todayMark:x,nextFrom:y,prevTo:p,selectionMark:$}}let a=l||new Date,i=a.getFullYear(),r=a.getMonth();a.getDate(),a.getHours();let o=new Date,u=new Date(i,r-1,28,0,0,0,0),h=et.getDaysInMonth(u.getFullYear(),u.getMonth());u.setDate(h),u.setDate(h-(u.getDay()-s+7)%7);let f=new Date(u);f.setDate(f.getDate()+42);let g=f.valueOf(),c=[],d=[],S=-1,M=null,J=0,z=42,v=0;for(;u.valueOf()i||u.getFullYear()===i&&u.getMonth()>r)&&(z=v-1),u.setDate(u.getDate()+1),u.getFullYear()===o.getFullYear()&&u.getMonth()===o.getMonth()&&u.getDate()===o.getDate()&&(S=v),!M&&t&&u.getFullYear()===t.getFullYear()&&u.getMonth()===t.getMonth()&&u.getDate()===t.getDate()&&(M=v),d.length===7&&(c.push(d),d=[]);return{grid:c,todayMark:S,prevTo:J,nextFrom:z,selectionMark:M}}function ze(l,t){return l<0&&(l=42+l),{x:l%7,y:Math.floor(l/7)}}const et={isLeapYear:function(l){return l%4===0&&l%100!==0||l%400===0},getDaysInMonth:function(l,t){return[31,et.isLeapYear(l)?29:28,31,30,31,30,31,31,30,31,30,31][t]}};function st(l,t){return l instanceof Date?l.getFullYear()t.getFullYear()||l.getMonth()>t.getMonth()||l.getDate()>=t.getDate():!1}function Ce(l,t,e,n){if(l instanceof Date)return l;const s=n==="php"?{date:"Y-m-d",datetime:"Y-m-d H:i",datetime_s:"Y-m-d H:i:s"}:{date:"yyyy-mm-dd",datetime:"yyyy-mm-dd hh:ii",datetime_s:"yyyy-mm-dd hh:ii:ss"};let a;/^\d{4}\-\d{1,2}\-\d{1,2}$/.test(l)?a=we.parseFormat(s.date,n):/^\d{4}\-\d{1,2}\-\d{1,2}[T ]\d{1,2}\:\d{1,2}$/.test(l)?a=we.parseFormat(s.datetime,n):/^\d{4}\-\d{1,2}\-\d{1,2}[T ]\d{1,2}\:\d{1,2}\:\d{1,2}[Z]{0,1}$/.test(l)?a=we.parseFormat(s.datetime_s,n):a=we.parseFormat(t,n);const i=l&&l.toString().match(we.nonpunctuation)||[];l=new Date,l.setHours(0,0,0,0);const r={},{setters_order:o,setters_map:u}=we.setters(n);let h,f;if(i.length!==a.parts.length&&a.parts.includes("S")){const S=i[a.parts.indexOf("S")-1].match(/(\d+)([a-zA-Z]+)/).slice(1,3);i.splice(a.parts.indexOf("S")-1,1,...S)}if(i.length===a.parts.length){for(var g=0,c=a.parts.length;gn.setHours(s),h:(n,s)=>n.setHours(s),HH:(n,s)=>n.setHours(s===12?0:s),H:(n,s)=>n.setHours(s===12?0:s),i:(n,s)=>n.setMinutes(s),s:(n,s)=>n.setSeconds(s),yyyy:(n,s)=>n.setFullYear(s),yy:(n,s)=>n.setFullYear((s<50?2e3:1900)+s),m:(n,s)=>{for(s-=1;s<0;)s+=12;for(s%=12,n.setMonth(s);n.getMonth()!==s;){if(isNaN(n.getMonth()))return n;n.setDate(n.getDate()-1)}return n},d:(n,s)=>n.setDate(s),p:(n,s)=>n.setHours(s===1&&n.getHours()<12?n.getHours()+12:n.getHours()),t:(n,s)=>n.setTime(s),mm:()=>{},M:()=>{},MM:()=>{},ii:()=>{},ss:()=>{},dd:()=>{},D:()=>{},DD:()=>{},P:()=>{}},e.mm=e.M=e.MM=e.m,e.ii=e.i,e.ss=e.s,e.dd=e.D=e.DD=e.d,e.P=e.p):(t=["H","G","h","g","i","s","d","D","j","l","N","S","m","M","F","n","Y","yy","p","P","U"],e={H:(n,s)=>n.setHours(s),G:(n,s)=>n.setHours(s),h:(n,s)=>n.setHours(s===12?0:s),g:(n,s)=>n.setHours(s===12?0:s),i:(n,s)=>n.setMinutes(s),s:(n,s)=>n.setSeconds(s),Y:(n,s)=>n.setFullYear(s),yy:(n,s)=>n.setFullYear((s<50?2e3:1900)+s),m:(n,s)=>{for(s-=1;s<0;)s+=12;for(s%=12,n.setMonth(s);n.getMonth()!==s;){if(isNaN(n.getMonth()))return n;n.setDate(n.getDate()-1)}return n},d:(n,s)=>n.setDate(s),a:(n,s)=>n.setHours(s===1?n.getHours()+12:n.getHours()),U:(n,s)=>n.setTime(s*1e3)},e.F=e.M=e.m,e.D=e.j=e.l=e.N=e.d,e.A=e.a),{setters_order:t,setters_map:e}}};function hl(l,{inputEl:t,visible:e,inputRect:n}){if(!e){const a=l.getBoundingClientRect(),i=["position: absolute","z-index: 12250"];i.push(n.x+a.width>window.innerWidth?"right: 1rem":`left: ${n.left}px`),a.height+a.top>window.innerHeight+window.scrollY?i.push("bottom: 1rem"):i.push(`top: ${n.top+n.height+window.scrollY}px`),l.style=i.join(";"),l.hidden=!1,document.body.appendChild(l)}l.hidden=!1;function s(){l.parentNode&&l.parentNode.removeChild(l)}return{destroy:s}}function cl(l,{delay:t=0,duration:e=400,easing:n=fl,start:s=0,end:a=1,opacity:i=0}={}){const r=getComputedStyle(l),o=+r.opacity,u=r.transform==="none"?"":r.transform,h=1-s,f=o*(1-i);return{delay:t,duration:e,easing:n,css:(g,c)=>` - transform: ${u} scale(${a!==1?s+a*c:1-h*c}); - opacity: ${o-f*c}; - `}}function rt(l,t,e){const n=l.slice();return n[39]=t[e],n[41]=e,n}function it(l,t,e){const n=l.slice();return n[42]=t[e],n[44]=e,n}function ot(l,t,e){const n=l.slice();return n[45]=t[e],n}function ut(l,t,e){const n=l.slice();return n[39]=t[e],n[41]=e,n}function ft(l,t,e){const n=l.slice();return n[49]=t[e],n[44]=e,n}function ht(l,t,e){const n=l.slice();return n[39]=t[e],n[41]=e,n}function ct(l,t,e){const n=l.slice();return n[52]=t[e],n[44]=e,n}function dt(l){let t,e,n,s,a,i;return{c(){t=I("button"),e=Me("svg"),n=Me("path"),this.h()},l(r){t=V(r,"BUTTON",{class:!0,title:!0});var o=O(t);e=ke(o,"svg",{class:!0,xmlns:!0,viewBox:!0,width:!0,height:!0});var u=O(e);n=ke(u,"path",{"fill-rule":!0,d:!0}),O(n).forEach(D),u.forEach(D),o.forEach(D),this.h()},h(){b(n,"fill-rule","evenodd"),b(n,"d","M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zm.5 4.75a.75.75 0 00-1.5 0v3.5a.75.75 0 00.471.696l2.5 1a.75.75 0 00.557-1.392L8.5 7.742V4.75z"),b(e,"class","sdt-svg svelte-6hyah7"),b(e,"xmlns","http://www.w3.org/2000/svg"),b(e,"viewBox","0 0 16 16"),b(e,"width","16"),b(e,"height","16"),b(t,"class","std-btn std-btn-header icon-btn sdt-time-icon svelte-6hyah7"),b(t,"title",s=l[0].timeView)},m(r,o){K(r,t,o),Y(t,e),Y(e,n),a||(i=G(t,"click",De(l[21])),a=!0)},p(r,o){o[0]&1&&s!==(s=r[0].timeView)&&b(t,"title",s)},d(r){r&&D(t),a=!1,i()}}}function gt(l){let t,e,n,s,a,i,r,o,u=l[10].years,h=[];for(let f=0;f{a&&a.end(1),s=Pe(e,l[12],{duration:He,start:l[14],opacity:1}),s.start()}),i=!0)},o(f){s&&s.invalidate(),f&&(a=xe(e,l[12],{duration:He,end:l[13],start:1})),i=!1},d(f){f&&D(t),Ie(h,f),f&&a&&a.end(),r=!1,Ne(o)}}}function mt(l,t){let e,n,s=t[52]+"",a,i,r,o;function u(){return t[29](t[52])}return{key:l,first:null,c(){e=I("td"),n=I("button"),a=he(s),this.h()},l(h){e=V(h,"TD",{class:!0});var f=O(e);n=V(f,"BUTTON",{class:!0});var g=O(n);a=ce(g,s),g.forEach(D),f.forEach(D),this.h()},h(){b(n,"class","std-btn svelte-6hyah7"),n.disabled=i=t[16](new Date(t[52],t[3].getMonth(),t[3].getDate())),R(n,"not-current",!t[15](t[41]*4+t[44])),b(e,"class","sdt-cal-td svelte-6hyah7"),R(e,"is-selected",t[41]*4+t[44]===t[10].selectionMark),this.first=e},m(h,f){K(h,e,f),Y(e,n),Y(n,a),r||(o=G(n,"click",De(u)),r=!0)},p(h,f){t=h,f[0]&1024&&s!==(s=t[52]+"")&&de(a,s),f[0]&1032&&i!==(i=t[16](new Date(t[52],t[3].getMonth(),t[3].getDate())))&&(n.disabled=i),f[0]&33792&&R(n,"not-current",!t[15](t[41]*4+t[44])),f[0]&1024&&R(e,"is-selected",t[41]*4+t[44]===t[10].selectionMark)},d(h){h&&D(e),r=!1,o()}}}function _t(l){let t,e=[],n=new Map,s,a=l[39];const i=r=>r[44];for(let r=0;r{a&&a.end(1),s=Pe(e,l[12],{duration:He,start:l[14],opacity:1}),s.start()}),i=!0)},o(f){s&&s.invalidate(),f&&(a=xe(e,l[12],{duration:He,end:l[13],start:1})),i=!1},d(f){f&&D(t),Ie(h,f),f&&a&&a.end(),r=!1,Ne(o)}}}function yt(l,t){let e,n,s=t[49]+"",a,i,r,o;function u(){return t[31](t[49])}return{key:l,first:null,c(){e=I("td"),n=I("button"),a=he(s),this.h()},l(h){e=V(h,"TD",{class:!0});var f=O(e);n=V(f,"BUTTON",{class:!0});var g=O(n);a=ce(g,s),g.forEach(D),f.forEach(D),this.h()},h(){b(n,"class","std-btn svelte-6hyah7"),n.disabled=i=t[16](new Date(t[3].getFullYear(),t[0].monthsShort.indexOf(t[49]),t[3].getDate())),R(n,"not-current",!t[15](t[41]*4+t[44])),b(e,"class","sdt-cal-td svelte-6hyah7"),R(e,"is-selected",t[41]*4+t[44]===t[10].selectionMark),this.first=e},m(h,f){K(h,e,f),Y(e,n),Y(n,a),r||(o=G(n,"click",De(u)),r=!0)},p(h,f){t=h,f[0]&1024&&s!==(s=t[49]+"")&&de(a,s),f[0]&1033&&i!==(i=t[16](new Date(t[3].getFullYear(),t[0].monthsShort.indexOf(t[49]),t[3].getDate())))&&(n.disabled=i),f[0]&33792&&R(n,"not-current",!t[15](t[41]*4+t[44])),f[0]&1024&&R(e,"is-selected",t[41]*4+t[44]===t[10].selectionMark)},d(h){h&&D(e),r=!1,o()}}}function Mt(l){let t,e=[],n=new Map,s,a=l[39];const i=r=>r[44];for(let r=0;r{i&&i.end(1),a=Pe(e,l[12],{duration:He,start:.5,opacity:1}),a.start()}),r=!0)},o(d){a&&a.invalidate(),d&&(i=xe(e,l[12],{duration:He,start:Math.abs(l[5])})),r=!1},d(d){d&&D(t),Ie(f,d),Ie(c,d),d&&i&&i.end(),o=!1,u()}}}function Dt(l){let t,e=l[45]+"",n;return{c(){t=I("th"),n=he(e),this.h()},l(s){t=V(s,"TH",{class:!0});var a=O(t);n=ce(a,e),a.forEach(D),this.h()},h(){b(t,"class","sdt-cal-th svelte-6hyah7")},m(s,a){K(s,t,a),Y(t,n)},p(s,a){a[0]&2048&&e!==(e=s[45]+"")&&de(n,e)},d(s){s&&D(t)}}}function pt(l,t){let e,n,s=t[42].getDate()+"",a,i,r,o;function u(){return t[33](t[42])}return{key:l,first:null,c(){e=I("td"),n=I("button"),a=he(s),this.h()},l(h){e=V(h,"TD",{class:!0});var f=O(e);n=V(f,"BUTTON",{class:!0});var g=O(n);a=ce(g,s),g.forEach(D),f.forEach(D),this.h()},h(){b(n,"class","std-btn sdt-btn-day svelte-6hyah7"),n.disabled=i=t[16](t[42]),R(n,"not-current",!t[15](t[41]*7+t[44])),b(e,"class","sdt-cal-td svelte-6hyah7"),R(e,"sdt-today",t[41]*7+t[44]===t[10].todayMark),R(e,"is-selected",t[41]*7+t[44]===t[10].selectionMark),this.first=e},m(h,f){K(h,e,f),Y(e,n),Y(n,a),r||(o=G(n,"click",De(u)),r=!0)},p(h,f){t=h,f[0]&1024&&s!==(s=t[42].getDate()+"")&&de(a,s),f[0]&1024&&i!==(i=t[16](t[42]))&&(n.disabled=i),f[0]&33792&&R(n,"not-current",!t[15](t[41]*7+t[44])),f[0]&1024&&R(e,"sdt-today",t[41]*7+t[44]===t[10].todayMark),f[0]&1024&&R(e,"is-selected",t[41]*7+t[44]===t[10].selectionMark)},d(h){h&&D(e),r=!1,o()}}}function wt(l){let t,e=[],n=new Map,s,a=l[39];const i=r=>r[44];for(let r=0;r{w=null}),Se()),F[4]===Ye?p?(p.p(F,E),E[0]&16&&ae(p,1)):(p=bt(F),p.c(),ae(p,1),p.m(S,J)):p&&(ve(),ue(p,1,1,()=>{p=null}),Se()),F[4]===ye?y?(y.p(F,E),E[0]&16&&ae(y,1)):(y=kt(F),y.c(),ae(y,1),y.m(S,null)):y&&(ve(),ue(y,1,1,()=>{y=null}),Se()),E[0]&64&&R(S,"is-grid",F[6])},i(F){ae(w),ae(p),ae(y)},o(F){ue(w),ue(p),ue(y)},d(F){F&&D(t),T&&T.d(),F&&D(d),F&&D(S),w&&w.d(),p&&p.d(),y&&y.d(),z=!1,Ne(v)}}}let He=400;const _e=222,Ae=148;function gl(l,t,e){let n,s,a,i,r,o,u,{date:h=null}=t,{startDate:f=null}=t,{endDate:g=null}=t,{weekStart:c=1}=t,{i18n:d}=t,{enableTimeToggle:S=!1}=t;function M(k,P){if(!z){j(new Date);return}let N,Z;switch(k){case"PageDown":P=!0;case"ArrowDown":if(P)return J(v.getFullYear(),v.getMonth()+1,1);if(Z=r.selectionMark+7,Z>=r.nextFrom){const se=new Date(v.getFullYear(),v.getUTCMonth()+1,28);let W=Ve(se,z,w,d,c);$(1),N=W.selectionMark!==null?{y:Math.floor((W.selectionMark+7)/7),x:(W.selectionMark+7)%7}:{y:(Z+7)%70?0:-1),v.getMonth()>0?v.getMonth()-1:11,1),W=Ve(se,z,w,d,c);$(-1),N=W.selectionMark!==null?{x:Math.floor((W.selectionMark-7)/7),y:(W.selectionMark-7)%7}:{x:5,y:Z},j(W.grid[N.x][N.y]);return}N=ze(r.selectionMark-7),r.grid[N.y][N.x].getMonth()!==v.getMonth()&&$(-1),j(r.grid[N.y][N.x]);break;case"ArrowLeft":if(P)return J(v.getFullYear()-1,v.getMonth(),1);N=ze(r.selectionMark-1),r.grid[N.y][N.x].getMonth()!==v.getMonth()&&$(-1),j(r.grid[N.y][N.x]);break;case"ArrowRight":if(P)return J(v.getFullYear()+1,v.getMonth(),1);N=ze(r.selectionMark+1),r.grid[N.y][N.x].getMonth()!==v.getMonth()&&$(1),j(r.grid[N.y][N.x]);break}}function J(k,P,N){let Z,se=v.getDate();do Z=new Date(k,P,se),se--;while(Z.getMonth()===v.getMonth());const W=Ve(Z,Z,w,d,c),oe=W.grid[Math.floor(W.selectionMark/7)][W.selectionMark%7];g&&at(oe,g)||f&&st(oe,f)||($(N),j(oe))}let z=h,v=h?new Date(h.valueOf()):new Date;const T=Qe();let w=ye,p=-2,y=!1,F=_e,E=null;function Q(k){return r.prevTo<=k&&kk||g&&g<=k)return!0;break;case Ye:if(n&&n.getFullYear()===k.getFullYear()&&n.getMonth()>k.getMonth()||g&&g.getFullYear()===k.getFullYear()&&g.getMonth()k.getFullYear()||g&&g.getFullYear()=10?_e:Ae:_e)}function L(k){if(w===ye)return $(k);if(e(8,E=()=>{$(k)}),w===be){e(7,F=F===Ae?k===-1?F-_e:_e+Ae:k===-1?F-_e:F+Ae);return}e(7,F=k===-1?F-_e:F+_e)}function U(){if(e(5,p=-1),e(6,y=!0),w&&e(4,w--,w),w===be){const k=Math.floor(v.getFullYear()/10)*10%20===0;e(7,F=k?Ae:_e)}}function j(k){switch(e(5,p=1),e(6,y=!0),w){case 0:v.setFullYear(k),e(3,v),e(22,h),e(2,z);break;case 1:v.setMonth(d.monthsShort.indexOf(k)),e(3,v),e(22,h),e(2,z);break;case 2:if(f&&!at(k,f)||g&&!st(k,g))return;const P=new Date(k.getFullYear(),k.getMonth(),k.getDate());z&&(P.setMinutes(z.getMinutes()),P.setHours(z.getHours())),e(2,z=P),T("date",z);break}wL(-1),B=()=>L(1),C=k=>{j(k)},A=()=>E&&E(),m=k=>{j(k)},H=()=>E&&E(),X=k=>{j(k)};return l.$$set=k=>{"date"in k&&e(22,h=k.date),"startDate"in k&&e(23,f=k.startDate),"endDate"in k&&e(24,g=k.endDate),"weekStart"in k&&e(25,c=k.weekStart),"i18n"in k&&e(0,d=k.i18n),"enableTimeToggle"in k&&e(1,S=k.enableTimeToggle)},l.$$.update=()=>{l.$$.dirty[0]&8388608&&(n=f?new Date(f.getFullYear(),f.getMonth(),f.getDate(),0,0,0,0):null),l.$$.dirty[0]&4194308&&h!==z&&(e(2,z=h),h&&e(3,v=new Date(h.valueOf())),e(5,p=1),e(6,y=!0),e(4,w=ye)),l.$$.dirty[0]&32&&e(14,s=p<1?1.5:.5),l.$$.dirty[0]&32&&e(13,a=p<1?1:1.5),l.$$.dirty[0]&32&&e(12,i=p===-2?Te:p!==null?cl:()=>{}),l.$$.dirty[0]&33554461&&e(10,r=Ve(v,z,w,d,c)),l.$$.dirty[0]&33554433&&e(11,o=c>-1?d.daysMin.concat(d.daysMin).slice(c,7+c):d.daysMin.slice(c,7+c)),l.$$.dirty[0]&25&&e(9,u=d&&q(w,v))},[d,S,z,v,w,p,y,F,E,u,r,o,i,a,s,Q,x,L,U,j,ie,te,h,f,g,c,M,ge,B,C,A,m,H,X]}class ml extends We{constructor(t){super(),Ke(this,t,gl,dl,Xe,{date:22,startDate:23,endDate:24,weekStart:25,i18n:0,enableTimeToggle:1,handleGridNav:26},null,[-1,-1])}get handleGridNav(){return this.$$.ctx[26]}}function vt(l,t,e){const n=l.slice();return n[36]=t[e],n[38]=e,n}function St(l,t,e){const n=l.slice();return n[36]=t[e],n[38]=e,n}function Tt(l){let t,e,n,s,a,i;return{c(){t=I("button"),e=Me("svg"),n=Me("path"),this.h()},l(r){t=V(r,"BUTTON",{class:!0,title:!0});var o=O(t);e=ke(o,"svg",{class:!0,xmlns:!0,viewBox:!0,width:!0,height:!0});var u=O(e);n=ke(u,"path",{"fill-rule":!0,d:!0}),O(n).forEach(D),u.forEach(D),o.forEach(D),this.h()},h(){b(n,"fill-rule","evenodd"),b(n,"d","M6.75 0a.75.75 0 01.75.75V3h9V.75a.75.75 0 011.5 0V3h2.75c.966 0 1.75.784 1.75 1.75v16a1.75 1.75 0 01-1.75 1.75H3.25a1.75 1.75 0 01-1.75-1.75v-16C1.5 3.784 2.284 3 3.25 3H6V.75A.75.75 0 016.75 0zm-3.5 4.5a.25.25 0 00-.25.25V8h18V4.75a.25.25 0 00-.25-.25H3.25zM21 9.5H3v11.25c0 .138.112.25.25.25h17.5a.25.25 0 00.25-.25V9.5z"),b(e,"class","sdt-svg svelte-163fzlc"),b(e,"xmlns","http://www.w3.org/2000/svg"),b(e,"viewBox","0 0 24 24"),b(e,"width","20"),b(e,"height","20"),b(t,"class","sdt-time-btn sdt-back-btn svelte-163fzlc"),b(t,"title",s=l[4].backToDate)},m(r,o){K(r,t,o),Y(t,e),Y(e,n),a||(i=G(t,"click",l[20]),a=!0)},p(r,o){o[0]&16&&s!==(s=r[4].backToDate)&&b(t,"title",s)},d(r){r&&D(t),a=!1,i()}}}function Ft(l){let t,e,n=l[11]?"PM":"AM",s,a,i,r;return{c(){t=I("div"),e=I("button"),s=he(n),this.h()},l(o){t=V(o,"DIV",{class:!0});var u=O(t);e=V(u,"BUTTON",{type:!0,class:!0,"data-value":!0});var h=O(e);s=ce(h,n),h.forEach(D),u.forEach(D),this.h()},h(){b(e,"type","button"),b(e,"class","sdt-time-btn sdt-time-figure is-active svelte-163fzlc"),b(e,"data-value",a=l[11]?l[6]%12:l[6]+12),b(t,"class","sdt-meridian svelte-163fzlc")},m(o,u){K(o,t,u),Y(t,e),Y(e,s),i||(r=G(e,"click",l[18]),i=!0)},p(o,u){u[0]&2048&&n!==(n=o[11]?"PM":"AM")&&de(s,n),u[0]&2112&&a!==(a=o[11]?o[6]%12:o[6]+12)&&b(e,"data-value",a)},d(o){o&&D(t),i=!1,r()}}}function Yt(l,t){let e,n=t[36].val+"",s,a,i,r,o,u;return{key:l,first:null,c(){e=I("button"),s=he(n),this.h()},l(h){e=V(h,"BUTTON",{style:!0,class:!0,"data-value":!0});var f=O(e);s=ce(f,n),f.forEach(D),this.h()},h(){b(e,"style",a=`left:${t[36].x}px; top:${t[36].y}px`),b(e,"class","sdt-tick svelte-163fzlc"),b(e,"data-value",i=t[36].val),e.disabled=r=(t[0]||t[1])&&t[16](t[36].val,!1),R(e,"outer-tick",t[5]),R(e,"is-selected",t[15](t[6],t[36].val,t[38])),this.first=e},m(h,f){K(h,e,f),Y(e,s),u=!0},p(h,f){t=h,(!u||f[0]&8192)&&n!==(n=t[36].val+"")&&de(s,n),(!u||f[0]&8192&&a!==(a=`left:${t[36].x}px; top:${t[36].y}px`))&&b(e,"style",a),(!u||f[0]&8192&&i!==(i=t[36].val))&&b(e,"data-value",i),(!u||f[0]&8195&&r!==(r=(t[0]||t[1])&&t[16](t[36].val,!1)))&&(e.disabled=r),f[0]&32&&R(e,"outer-tick",t[5]),f[0]&41024&&R(e,"is-selected",t[15](t[6],t[36].val,t[38]))},i(h){u||(h&&Fe(()=>{o||(o=Be(e,Te,{duration:200},!0)),o.run(1)}),u=!0)},o(h){h&&(o||(o=Be(e,Te,{duration:200},!1)),o.run(0)),u=!1},d(h){h&&D(e),h&&o&&o.end()}}}function Bt(l){let t,e=l[36].val+"",n,s,a,i,r,o;return{c(){t=I("button"),n=he(e),this.h()},l(u){t=V(u,"BUTTON",{style:!0,class:!0,"data-value":!0});var h=O(t);n=ce(h,e),h.forEach(D),this.h()},h(){b(t,"style",s=`left:${l[36].x}px; top:${l[36].y}px;`),b(t,"class","sdt-tick svelte-163fzlc"),b(t,"data-value",a=l[36].val),t.disabled=i=(l[0]||l[1])&&l[16](l[36].val,!1),R(t,"outer-tick",l[2]&&!l[5]),R(t,"is-selected",l[15](l[5]?l[7]:l[6],l[36].val,l[38]))},m(u,h){K(u,t,h),Y(t,n),o=!0},p(u,h){(!o||h[0]&4096)&&e!==(e=u[36].val+"")&&de(n,e),(!o||h[0]&4096&&s!==(s=`left:${u[36].x}px; top:${u[36].y}px;`))&&b(t,"style",s),(!o||h[0]&4096&&a!==(a=u[36].val))&&b(t,"data-value",a),(!o||h[0]&4099&&i!==(i=(u[0]||u[1])&&u[16](u[36].val,!1)))&&(t.disabled=i),h[0]&36&&R(t,"outer-tick",u[2]&&!u[5]),h[0]&37088&&R(t,"is-selected",u[15](u[5]?u[7]:u[6],u[36].val,u[38]))},i(u){o||(u&&Fe(()=>{r||(r=Be(t,Te,{duration:200},!0)),r.run(1)}),o=!0)},o(u){u&&(r||(r=Be(t,Te,{duration:200},!1)),r.run(0)),o=!1},d(u){u&&D(t),u&&r&&r.end()}}}function _l(l){let t,e,n,s,a=l[14](l[6],l[2])+"",i,r,o,u,h,f,g=l[14](l[7],!1)+"",c,d,S,M,J,z,v,T,w,p=[],y=new Map,F,E,Q,x,$,L=l[3]&&Tt(l),U=l[2]&&Ft(l),j=l[13];const ie=B=>B[36].val;for(let B=0;Bue(q[B],1,1,()=>{q[B]=null});return{c(){t=I("div"),e=I("div"),L&&L.c(),n=le(),s=I("button"),i=he(a),r=le(),o=I("span"),u=he(":"),h=le(),f=I("button"),c=he(g),d=le(),U&&U.c(),S=le(),M=I("div"),J=I("div"),z=le(),v=I("div"),T=I("div"),w=le();for(let B=0;B{E=Pe(t,Te,{duration:200}),E.start()}),Q=!0}},o(B){for(let C=0;C=9||re<3?-1:1)*H),val:k?re*5||X:re?re+P:X});return oe}function $(m,H){return H?s&&m===12?12:m<10||m%12<10?`0${m%12}`:m%12:m<10?`0${m}`:m}function L(m,H,X){return T?H===m||X===0&&X===m:d?s&&H==12&&m===12||!s&&H==12&&m===0?!0:H===(m?m%12:12):H>12?(X?i*X+12:0)===m:H==="00"||H==="12"?m===12&&parseInt(H)==12||H==="00"&&m===0:H===m}function U(m,H=!1){return typeof m=="string"&&(m=parseInt(m)),f&&g&&r?T||H?f.getHours()===y.getHours()&&f.getMinutes()>m||g.getHours()===y.getHours()&&g.getMinutes()m||g.getHours()m:f.getHours()>m:g&&g.getDate()===y.getDate()&&g.getMonth()===y.getMonth()&&g.getFullYear()===y.getFullYear()?T||H?g.getHours()===y.getHours()&&g.getMinutes()Z?W=N>se?2:1:W=N>se?3:4,W){case 1:H=P-Z,X=se-N;break;case 2:H=P-Z,X=N-se;break;case 3:H=Z-P,X=N-se;break;case 4:H=Z-P,X=se-N;break}const oe=Math.sqrt(H*H+X*X),re=90-Math.asin(H/oe)*(180/Math.PI);let ee=0;switch(W){case 1:ee=90-re;break;case 2:ee=re+90;break;case 3:ee=270-re;break;case 4:ee=re+270;break}ee=Math.round(ee/6/c)*c,ee===60&&(ee=0),y.setMinutes(ee)}e(25,y),e(21,h),F=!1,E("time",y),!w&&T&&setTimeout(()=>{E("close")},300),p&&!T&&e(5,T=!0),p=!0,setTimeout(()=>{p=!1,F=!0},200)}function ie(m){const H=parseInt(m.target.dataset.value);y.setHours(H),e(25,y),e(21,h),E("time",y)}function te(m){e(9,w=m.type==="mousedown")}function q(){E("switch","date")}const ge=()=>e(5,T=!1),B=()=>e(5,T=!0),C=m=>{w&&j(m)};function A(m){Ue[m?"unshift":"push"](()=>{v=m,e(8,v)})}return l.$$set=m=>{"date"in m&&e(21,h=m.date),"startDate"in m&&e(0,f=m.startDate),"endDate"in m&&e(1,g=m.endDate),"minuteIncrement"in m&&e(22,c=m.minuteIncrement),"showMeridian"in m&&e(2,d=m.showMeridian),"hasDateComponent"in m&&e(3,S=m.hasDateComponent),"i18n"in m&&e(4,M=m.i18n)},l.$$.update=()=>{if(l.$$.dirty[0]&35651584&&h!==y&&h&&e(25,y=h),l.$$.dirty[0]&33554435){let m=!1;f&&f.toDateString()===y.toDateString()&&(U(y.getHours())&&(y.setHours(f.getHours()),m=!0),U(y.getMinutes(),!0)&&(y.setMinutes(f.getMinutes()),m=!0)),g&&g.toDateString()===y.toDateString()&&(U(y.getHours())&&(y.setHours(g.getHours()),m=!0),U(y.getMinutes(),!0)&&(y.setMinutes(g.getMinutes()),m=!0)),m&&At().then(()=>E("time",y))}if(l.$$.dirty[0]&33554432&&e(6,n=y?y.getHours():0),l.$$.dirty[0]&68&&e(11,s=d?n>=12:!1),l.$$.dirty[0]&33554432&&e(7,a=y?y.getMinutes():0),l.$$.dirty[0]&228){let m=T?a*6:n%12*30;e(10,Q=T||d||n<12?`transform: rotateZ(${m}deg);`:`transform: rotateZ(${m}deg); height: calc(25% + 1px)`)}l.$$.dirty[0]&32&&(i=T?5:1),l.$$.dirty[0]&3&&(r=f&&g&&["getFullYear","getMonth","getDate"].every(m=>g[m]()===f[m]())),l.$$.dirty[0]&32&&e(13,o=x(T?260:220,130,"00",!1,0)),l.$$.dirty[0]&32&&e(12,u=x(T?220:140,130,T?"00":"12",T,12)),l.$$.dirty[0]&32&&E("time-switch",T)},[f,g,d,S,M,T,n,a,v,w,Q,s,u,o,$,L,U,j,ie,te,q,h,c,J,z,y,ge,B,C,A]}class yl extends We{constructor(t){super(),Ke(this,t,bl,_l,Xe,{date:21,startDate:0,endDate:1,minuteIncrement:22,showMeridian:2,hasDateComponent:3,i18n:4,minuteSwitch:23,makeTick:24},null,[-1,-1])}get minuteSwitch(){return this.$$.ctx[23]}get makeTick(){return this.$$.ctx[24]}}function Et(l){let t,e,n,s,a;return{c(){t=I("input"),this.h()},l(i){t=V(i,"INPUT",{type:!0,id:!0,inputmode:!0,tabindex:!0,name:!0,placeholder:!0,autocomplete:!0,class:!0}),this.h()},h(){b(t,"type",e=l[7]?"hidden":"text"),b(t,"id",l[2]),b(t,"inputmode","none"),b(t,"tabindex","0"),b(t,"name",l[3]),t.disabled=l[4],t.required=l[6],t.value=l[1],b(t,"placeholder",l[5]),b(t,"autocomplete","off"),b(t,"class",n=Ee(l[13])+" svelte-1t6pprq"),t.readOnly=l[21]},m(i,r){K(i,t,r),l[57](t),s||(a=[It(l[34].call(null,t,l[35])),G(t,"focus",l[42]),G(t,"blur",l[43]),G(t,"click",l[58]),G(t,"input",l[55]),G(t,"change",l[56]),G(t,"keydown",l[39])],s=!0)},p(i,r){r[0]&128&&e!==(e=i[7]?"hidden":"text")&&b(t,"type",e),r[0]&4&&b(t,"id",i[2]),r[0]&8&&b(t,"name",i[3]),r[0]&16&&(t.disabled=i[4]),r[0]&64&&(t.required=i[6]),r[0]&2&&t.value!==i[1]&&(t.value=i[1]),r[0]&32&&b(t,"placeholder",i[5]),r[0]&8192&&n!==(n=Ee(i[13])+" svelte-1t6pprq")&&b(t,"class",n),r[0]&2097152&&(t.readOnly=i[21])},d(i){i&&D(t),l[57](null),s=!1,Ne(a)}}}function Ht(l){let t,e,n,s,a,i,r,o,u;const h=[kl,Ml],f=[];function g(c,d){return c[23]==="date"?0:1}return e=g(l),n=f[e]=h[e](l),{c(){t=I("div"),n.c(),this.h()},l(c){t=V(c,"DIV",{class:!0});var d=O(t);n.l(d),d.forEach(D),this.h()},h(){b(t,"class",s="std-calendar-wrap is-popup "+l[8]+" svelte-1t6pprq")},m(c,d){K(c,t,d),f[e].m(t,null),r=!0,o||(u=[It(a=l[19].call(null,t,{inputEl:l[26],visible:l[31],inputRect:l[27]})),G(t,"mousedown",De(l[54]))],o=!0)},p(c,d){let S=e;e=g(c),e===S?f[e].p(c,d):(ve(),ue(f[S],1,1,()=>{f[S]=null}),Se(),n=f[e],n?n.p(c,d):(n=f[e]=h[e](c),n.c()),ae(n,1),n.m(t,null)),(!r||d[0]&256&&s!==(s="std-calendar-wrap is-popup "+c[8]+" svelte-1t6pprq"))&&b(t,"class",s),a&&ll(a.update)&&d[0]&201326592|d[1]&1&&a.update.call(null,{inputEl:c[26],visible:c[31],inputRect:c[27]})},i(c){r||(ae(n),c&&Fe(()=>{i||(i=Be(t,l[32],{duration:200},!0)),i.run(1)}),r=!0)},o(c){ue(n),c&&(i||(i=Be(t,l[32],{duration:200},!1)),i.run(0)),r=!1},d(c){c&&D(t),f[e].d(),c&&i&&i.end(),o=!1,Ne(u)}}}function Ml(l){let t,e,n={date:l[20],startDate:l[24],endDate:l[25],hasDateComponent:l[22]!=="time",showMeridian:l[9].match(l[10]==="php"?"a|A":"p|P")!==null,i18n:l[18],minuteIncrement:l[11]};return t=new yl({props:n}),l[60](t),t.$on("time",l[36]),t.$on("switch",l[40]),t.$on("close",l[41]),{c(){Vt(t.$$.fragment)},l(s){zt(t.$$.fragment,s)},m(s,a){Ut(t,s,a),e=!0},p(s,a){const i={};a[0]&1048576&&(i.date=s[20]),a[0]&16777216&&(i.startDate=s[24]),a[0]&33554432&&(i.endDate=s[25]),a[0]&4194304&&(i.hasDateComponent=s[22]!=="time"),a[0]&1536&&(i.showMeridian=s[9].match(s[10]==="php"?"a|A":"p|P")!==null),a[0]&262144&&(i.i18n=s[18]),a[0]&2048&&(i.minuteIncrement=s[11]),t.$set(i)},i(s){e||(ae(t.$$.fragment,s),e=!0)},o(s){ue(t.$$.fragment,s),e=!1},d(s){l[60](null),Jt(t,s)}}}function kl(l){var r;let t,e,n,s,a={date:l[20],startDate:l[24],endDate:l[25],enableTimeToggle:(r=l[22])==null?void 0:r.includes("time"),i18n:l[18],weekStart:l[12]};t=new ml({props:a}),l[59](t),t.$on("date",l[36]),t.$on("switch",l[40]);let i=(l[16]||l[17])&&Nt(l);return{c(){Vt(t.$$.fragment),e=le(),i&&i.c(),n=Je()},l(o){zt(t.$$.fragment,o),e=ne(o),i&&i.l(o),n=Je()},m(o,u){Ut(t,o,u),K(o,e,u),i&&i.m(o,u),K(o,n,u),s=!0},p(o,u){var f;const h={};u[0]&1048576&&(h.date=o[20]),u[0]&16777216&&(h.startDate=o[24]),u[0]&33554432&&(h.endDate=o[25]),u[0]&4194304&&(h.enableTimeToggle=(f=o[22])==null?void 0:f.includes("time")),u[0]&262144&&(h.i18n=o[18]),u[0]&4096&&(h.weekStart=o[12]),t.$set(h),o[16]||o[17]?i?i.p(o,u):(i=Nt(o),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i(o){s||(ae(t.$$.fragment,o),s=!0)},o(o){ue(t.$$.fragment,o),s=!1},d(o){l[59](null),Jt(t,o),o&&D(e),i&&i.d(o),o&&D(n)}}}function Nt(l){let t,e,n=l[16]&&Ot(l),s=l[17]&&Ct(l);return{c(){t=I("div"),n&&n.c(),e=le(),s&&s.c(),this.h()},l(a){t=V(a,"DIV",{class:!0});var i=O(t);n&&n.l(i),e=ne(i),s&&s.l(i),i.forEach(D),this.h()},h(){b(t,"class","std-btn-row svelte-1t6pprq")},m(a,i){K(a,t,i),n&&n.m(t,null),Y(t,e),s&&s.m(t,null)},p(a,i){a[16]?n?n.p(a,i):(n=Ot(a),n.c(),n.m(t,e)):n&&(n.d(1),n=null),a[17]?s?s.p(a,i):(s=Ct(a),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(a){a&&D(t),n&&n.d(),s&&s.d()}}}function Ot(l){let t,e=l[18].todayBtn+"",n,s,a,i;return{c(){t=I("button"),n=he(e),this.h()},l(r){t=V(r,"BUTTON",{class:!0});var o=O(t);n=ce(o,e),o.forEach(D),this.h()},h(){b(t,"class",s=Ee(l[14])+" svelte-1t6pprq"),t.disabled=l[33]},m(r,o){K(r,t,o),Y(t,n),a||(i=G(t,"click",l[37]),a=!0)},p(r,o){o[0]&262144&&e!==(e=r[18].todayBtn+"")&&de(n,e),o[0]&16384&&s!==(s=Ee(r[14])+" svelte-1t6pprq")&&b(t,"class",s),o[1]&4&&(t.disabled=r[33])},d(r){r&&D(t),a=!1,i()}}}function Ct(l){let t,e=l[18].clearBtn+"",n,s,a,i,r;return{c(){t=I("button"),n=he(e),this.h()},l(o){t=V(o,"BUTTON",{class:!0});var u=O(t);n=ce(u,e),u.forEach(D),this.h()},h(){b(t,"class",s=Ee(l[15])+" svelte-1t6pprq"),t.disabled=a=!l[20]},m(o,u){K(o,t,u),Y(t,n),i||(r=G(t,"click",l[38]),i=!0)},p(o,u){u[0]&262144&&e!==(e=o[18].clearBtn+"")&&de(n,e),u[0]&32768&&s!==(s=Ee(o[15])+" svelte-1t6pprq")&&b(t,"class",s),u[0]&1048576&&a!==(a=!o[20])&&(t.disabled=a)},d(o){o&&D(t),i=!1,r()}}}function Dl(l){let t,e,n,s=!l[0]&&Et(l),a=l[30]&&l[21]&&Ht(l);return{c(){s&&s.c(),t=le(),a&&a.c(),e=Je()},l(i){s&&s.l(i),t=ne(i),a&&a.l(i),e=Je()},m(i,r){s&&s.m(i,r),K(i,t,r),a&&a.m(i,r),K(i,e,r),n=!0},p(i,r){i[0]?s&&(s.d(1),s=null):s?s.p(i,r):(s=Et(i),s.c(),s.m(t.parentNode,t)),i[30]&&i[21]?a?(a.p(i,r),r[0]&1075838976&&ae(a,1)):(a=Ht(i),a.c(),ae(a,1),a.m(e.parentNode,e)):a&&(ve(),ue(a,1,1,()=>{a=null}),Se())},i(i){n||(ae(a),n=!0)},o(i){ue(a),n=!1},d(i){s&&s.d(i),i&&D(t),a&&a.d(i),i&&D(e)}}}const fe=ul;function pl(l,t,e){let n,s,a,i,r,o,{inputId:u=""}=t,{name:h="date"}=t,{disabled:f=!1}=t,{placeholder:g=null}=t,{required:c=!1}=t,{inputElement:d=null}=t,{value:S=null}=t,{initialDate:M=null}=t,{startDate:J=null}=t,{endDate:z=null}=t,{pickerOnly:v=!1}=t,{theme:T=fe.theme}=t,{mode:w=fe.mode}=t,{format:p=fe.format}=t,{formatType:y=fe.formatType}=t,{minuteIncrement:F=fe.minuteIncrement}=t,{weekStart:E=fe.weekStart}=t,{inputClasses:Q=fe.inputClasses}=t,{todayBtnClasses:x=fe.todayBtnClasses}=t,{clearBtnClasses:$=fe.clearBtnClasses}=t,{todayBtn:L=fe.todayBtn}=t,{clearBtn:U=fe.clearBtn}=t,{clearToggle:j=fe.clearToggle}=t,{autoclose:ie=fe.autoclose}=t,{i18n:te=fe.i18n}=t,{positionFn:q=hl}=t,{validatorAction:ge=null}=t;function B(_){e(20,H=Ce(_,p,te,y))}const C=Qe();S&&(S=S.replace(/(:\d+):\d+/,"$1"));let A=S,m=p,H=M&&M instanceof Date?M:S?Ce(S,p,te,y):null;H&&M&&(S=Ge(H,p,te,y));let X=v,k=d,P=null,N=ge?ge.shift():()=>{},Z=ge||[],se,W,oe=!1,re=null,ee="",me=ee==="time"?"time":"date";function Le(){v||e(30,i=!1),ee!=="time"&&e(23,me="date")}function qe(_){let pe=_.detail||null;_.detail&&H&&H.getFullYear()===_.detail.getFullYear()&&H.getMonth()===_.detail.getMonth()&&H.getDate()===_.detail.getDate()&&ee==="date"&&j&&(pe=null),e(1,S=pe?Ge(pe,p,te,y):null),ie&&(ee==="date"||!pe)&&!v&&!oe&&Le(),pe&&!oe&&ee==="datetime"&&me==="date"&&e(23,me="time"),oe&&me==="time"?re=setTimeout(()=>{oe=!1},400):oe=!1,At().then(()=>{d&&e(0,d.value=S||"",d),k&&k.dispatchEvent(new Event("input")),C("change",S)})}function Rt(){const _=new Date;if(n&&n>_)return;const pe=H?H.getHours():_.getHours(),xt=H?H.getMinutes():_.getMinutes();qe(new CustomEvent("ontoday",{detail:new Date(_.getFullYear(),_.getMonth(),_.getDate(),pe,xt,0)}))}function je(){qe(new CustomEvent("clear",{detail:null}))}function tt(_){if(i||(["Backspace","Delete"].includes(_.key)&&je(),_.key==="Enter"&&Oe()),!i&&_.key!=="Tab"){e(30,i=_.key!=="Shift"),_.preventDefault();return}switch(_.key){case"PageDown":case"PageUp":case"ArrowDown":case"ArrowUp":case"ArrowLeft":case"ArrowRight":_.preventDefault(),re&&clearTimeout(re),oe=!0,me==="date"?se.handleGridNav(_.key,_.shiftKey):W.makeTick(["ArrowDown","ArrowLeft","PageDown"].includes(_.key)?-1:1);break;case"Escape":X&&e(30,i=!1);break;case"Backspace":case"Delete":je();break;case"Enter":if(X&&_.preventDefault(),me==="time")return W.minuteSwitch(null)?Le():W.minuteSwitch(!0);X&&ee==="date"&&e(30,i=!1),H&&ee.includes("time")&&e(23,me="time");break;case"Tab":i&&(e(30,i=!1),_.preventDefault());case"F5":break;default:_.preventDefault()}}function Lt(_){e(23,me=_.detail)}function qt(){ie&&!oe&&Le()}function Oe(){e(27,P=k&&k.getBoundingClientRect()),e(21,X=!0),e(30,i=!0)}function lt(){e(21,X=!1),e(30,i=!1),!d&&C("blur")}tl(()=>{d&&(e(0,d.onfocus=Oe,d),e(0,d.onblur=lt,d),e(0,d.onclick=()=>!i&&Oe(),d),e(0,d.onkeydown=tt,d))});function jt(_){Ze.call(this,l,_)}function Zt(_){Ze.call(this,l,_)}function Gt(_){Ze.call(this,l,_)}function Wt(_){Ue[_?"unshift":"push"](()=>{k=_,e(26,k)})}const Kt=()=>{!i&&Oe()};function Xt(_){Ue[_?"unshift":"push"](()=>{se=_,e(28,se)})}function Qt(_){Ue[_?"unshift":"push"](()=>{W=_,e(29,W)})}return l.$$set=_=>{"inputId"in _&&e(2,u=_.inputId),"name"in _&&e(3,h=_.name),"disabled"in _&&e(4,f=_.disabled),"placeholder"in _&&e(5,g=_.placeholder),"required"in _&&e(6,c=_.required),"inputElement"in _&&e(0,d=_.inputElement),"value"in _&&e(1,S=_.value),"initialDate"in _&&e(44,M=_.initialDate),"startDate"in _&&e(45,J=_.startDate),"endDate"in _&&e(46,z=_.endDate),"pickerOnly"in _&&e(7,v=_.pickerOnly),"theme"in _&&e(8,T=_.theme),"mode"in _&&e(47,w=_.mode),"format"in _&&e(9,p=_.format),"formatType"in _&&e(10,y=_.formatType),"minuteIncrement"in _&&e(11,F=_.minuteIncrement),"weekStart"in _&&e(12,E=_.weekStart),"inputClasses"in _&&e(13,Q=_.inputClasses),"todayBtnClasses"in _&&e(14,x=_.todayBtnClasses),"clearBtnClasses"in _&&e(15,$=_.clearBtnClasses),"todayBtn"in _&&e(16,L=_.todayBtn),"clearBtn"in _&&e(17,U=_.clearBtn),"clearToggle"in _&&e(48,j=_.clearToggle),"autoclose"in _&&e(49,ie=_.autoclose),"i18n"in _&&e(18,te=_.i18n),"positionFn"in _&&e(19,q=_.positionFn),"validatorAction"in _&&e(50,ge=_.validatorAction)},l.$$.update=()=>{if(l.$$.dirty[0]&263680|l.$$.dirty[1]&16384&&e(24,n=J?Ce(J,p,te,y):null),l.$$.dirty[0]&263680|l.$$.dirty[1]&32768&&e(25,s=z?new Date(Ce(z,p,te,y).setSeconds(1)):null),l.$$.dirty[0]&50331648&&e(33,a=n&&n>new Date||s&&s{}:Te),l.$$.dirty[0]&12583424|l.$$.dirty[1]&65536&&(e(22,ee=w==="auto"?p.match(/g|hh?|ii?/i)&&p.match(/y|m|d/i)?"datetime":p.match(/g|hh?|ii?/i)?"time":"date":w),ee==="time"&&me!==ee&&e(23,me=ee)),l.$$.dirty[0]&2097153&&d&&e(0,d.readOnly=X,d),l.$$.dirty[0]&128&&e(31,o=!!v),l.$$.dirty[0]&1312258|l.$$.dirty[1]&6356992){if(S!==A){const _=S?Ce(S,p,te,y):null;e(20,H=_),e(52,A=S)}m!==p&&H&&(e(1,S=Ge(H,p,te,y)),e(52,A=S),e(53,m=p),w==="auto"&&e(22,ee=p.match(/g|hh?|ii?/i)&&p.match(/y|m|d/i)?"datetime":p.match(/g|hh?|ii?/i)?"time":"date"))}},[d,S,u,h,f,g,c,v,T,p,y,F,E,Q,x,$,L,U,te,q,H,X,ee,me,n,s,k,P,se,W,i,o,r,a,N,Z,qe,Rt,je,tt,Lt,qt,Oe,lt,M,J,z,w,j,ie,ge,B,A,m,jt,Zt,Gt,Wt,Kt,Xt,Qt]}class Sl extends We{constructor(t){super(),Ke(this,t,pl,Dl,Xe,{inputId:2,name:3,disabled:4,placeholder:5,required:6,inputElement:0,value:1,initialDate:44,startDate:45,endDate:46,pickerOnly:7,theme:8,mode:47,format:9,formatType:10,minuteIncrement:11,weekStart:12,inputClasses:13,todayBtnClasses:14,clearBtnClasses:15,todayBtn:16,clearBtn:17,clearToggle:48,autoclose:49,i18n:18,positionFn:19,validatorAction:50,setDateValue:51},null,[-1,-1,-1])}get setDateValue(){return this.$$.ctx[51]}}export{Sl as S,fe as c,sl as d,Pt as e,vl as i}; diff --git a/docs/_app/immutable/chunks/custom-element-388ce934.js b/docs/_app/immutable/chunks/custom-element-9a94d319.js similarity index 95% rename from docs/_app/immutable/chunks/custom-element-388ce934.js rename to docs/_app/immutable/chunks/custom-element-9a94d319.js index bd9ff8a..948ece0 100644 --- a/docs/_app/immutable/chunks/custom-element-388ce934.js +++ b/docs/_app/immutable/chunks/custom-element-9a94d319.js @@ -1 +1 @@ -import{c as b,S as l}from"./SveltyPicker-a0faa711.js";import"./index-28983a80.js";const h=["value","name","placeholder","start-date","end-date","disabled","input-classes","mode","format","format-type","week-start","today-btn","clear-btn","autoclose","required"];function a(n,s){switch(n){case"value":return s||"";case"required":case"disabled":case"today-btn":case"clear-btn":case"autoclose":return s!==null&&s!=="false";case"weekStart":return parseInt(s)}return s}function c(n){return n.includes("-")?n.split("-").reduce((s,e,i)=>(i&&(e=e[0].toUpperCase()+e.substr(1)),s+e),""):n}class p extends HTMLInputElement{constructor(){super(),this.picker=null;const s=["name","placeholder","mode","format"].reduce((t,r)=>(t[r]={get(){return a(r,this.getAttribute(r))},set(o){this.setAttribute(r,o)}},t),{}),e={form:{get(){return this.closest("form")}},weekStart:{get(){return this.getAttribute("week-start")},set(t){this.setAttribute("week-start",t)}},startDate:{get(){return this.getAttribute("start-date")},set(t){t&&this.setAttribute("start-date",t),!t&&this.removeAttribute("start-date")}},endDate:{get(){return this.getAttribute("end-date")},set(t){t&&this.setAttribute("end-date",t),!t&&this.removeAttribute("end-date")}},inputClasses:{get(){return this.getAttribute("input-classes")},set(t){t&&this.setAttribute("input-classes",t),!t&&this.removeAttribute("input-classes")}},formatType:{get(){return this.getAttribute("format-type")},set(t){t&&["standard","php"].includes(t)&&this.setAttribute("format-type",t),!t&&this.removeAttribute("format-type")}}},i=["required","disabled","today-btn","clear-btn","autoclose"].reduce((t,r)=>{const o=c(r);return t[o]={get(){const u=this.hasAttribute(r),d=u?this.getAttribute(r)!=="false":!0;return u?d:b[o]},set(u){u?this.setAttribute(r,u=""):this.hasAttribute(r)?this.removeAttribute(r):this.picker.$set({[o]:u})}},t},{});Object.defineProperties(this,Object.assign({},s,e,i))}focus(){if(this.disabled)return;const s=this.querySelector("input");s&&s.focus()}static get observedAttributes(){return h}attributeChangedCallback(s,e,i){this.picker&&e!==i&&(this.picker.$set({[c(s)]:a(s,i)}),s==="value"&&(this.value=i))}connectedCallback(){if(this.picker)return;let s={inputElement:this,value:this.value};for(const e of h)this.hasAttribute(e)&&(s[c(e)]=a(e,this.getAttribute(e)));this.picker=new l({target:this.parentElement,props:s}),this.picker.$on("input",e=>{this.setAttribute("value",e.target.value),this.dispatchEvent(new Event("input"))}),this.picker.$on("blur",e=>{this.dispatchEvent(new Event("blur"))}),setTimeout(()=>{if(this.hasAttribute("from")){const e=document.getElementById(this.getAttribute("from"));e.oninput=i=>{this.picker.$set({startDate:e.value})}}if(this.hasAttribute("to")){const e=document.getElementById(this.getAttribute("to"));e.oninput=i=>{this.picker.$set({endDate:e.value})}}})}disconnectedCallback(){this.picker&&this.picker.$destroy()}}function g(n){window.customElements.define(n,p,{extends:"input"})}export{g as registerElement}; +import{c as b,S as l}from"./SveltyPicker-25b77381.js";import"./index-bfee2186.js";const h=["value","name","placeholder","start-date","end-date","disabled","input-classes","mode","format","format-type","week-start","today-btn","clear-btn","autoclose","required"];function a(n,s){switch(n){case"value":return s||"";case"required":case"disabled":case"today-btn":case"clear-btn":case"autoclose":return s!==null&&s!=="false";case"weekStart":return parseInt(s)}return s}function c(n){return n.includes("-")?n.split("-").reduce((s,e,i)=>(i&&(e=e[0].toUpperCase()+e.substr(1)),s+e),""):n}class p extends HTMLInputElement{constructor(){super(),this.picker=null;const s=["name","placeholder","mode","format"].reduce((t,r)=>(t[r]={get(){return a(r,this.getAttribute(r))},set(o){this.setAttribute(r,o)}},t),{}),e={form:{get(){return this.closest("form")}},weekStart:{get(){return this.getAttribute("week-start")},set(t){this.setAttribute("week-start",t)}},startDate:{get(){return this.getAttribute("start-date")},set(t){t&&this.setAttribute("start-date",t),!t&&this.removeAttribute("start-date")}},endDate:{get(){return this.getAttribute("end-date")},set(t){t&&this.setAttribute("end-date",t),!t&&this.removeAttribute("end-date")}},inputClasses:{get(){return this.getAttribute("input-classes")},set(t){t&&this.setAttribute("input-classes",t),!t&&this.removeAttribute("input-classes")}},formatType:{get(){return this.getAttribute("format-type")},set(t){t&&["standard","php"].includes(t)&&this.setAttribute("format-type",t),!t&&this.removeAttribute("format-type")}}},i=["required","disabled","today-btn","clear-btn","autoclose"].reduce((t,r)=>{const o=c(r);return t[o]={get(){const u=this.hasAttribute(r),d=u?this.getAttribute(r)!=="false":!0;return u?d:b[o]},set(u){u?this.setAttribute(r,u=""):this.hasAttribute(r)?this.removeAttribute(r):this.picker.$set({[o]:u})}},t},{});Object.defineProperties(this,Object.assign({},s,e,i))}focus(){if(this.disabled)return;const s=this.querySelector("input");s&&s.focus()}static get observedAttributes(){return h}attributeChangedCallback(s,e,i){this.picker&&e!==i&&(this.picker.$set({[c(s)]:a(s,i)}),s==="value"&&(this.value=i))}connectedCallback(){if(this.picker)return;let s={inputElement:this,value:this.value};for(const e of h)this.hasAttribute(e)&&(s[c(e)]=a(e,this.getAttribute(e)));this.picker=new l({target:this.parentElement,props:s}),this.picker.$on("input",e=>{this.setAttribute("value",e.target.value),this.dispatchEvent(new Event("input"))}),this.picker.$on("blur",e=>{this.dispatchEvent(new Event("blur"))}),setTimeout(()=>{if(this.hasAttribute("from")){const e=document.getElementById(this.getAttribute("from"));e.oninput=i=>{this.picker.$set({startDate:e.value})}}if(this.hasAttribute("to")){const e=document.getElementById(this.getAttribute("to"));e.oninput=i=>{this.picker.$set({endDate:e.value})}}})}disconnectedCallback(){this.picker&&this.picker.$destroy()}}function g(n){window.customElements.define(n,p,{extends:"input"})}export{g as registerElement}; diff --git a/docs/_app/immutable/chunks/formatting_php-cc2feb4d.js b/docs/_app/immutable/chunks/formatting_php-7c70d85b.js similarity index 82% rename from docs/_app/immutable/chunks/formatting_php-cc2feb4d.js rename to docs/_app/immutable/chunks/formatting_php-7c70d85b.js index 1f589fb..39da2b0 100644 --- a/docs/_app/immutable/chunks/formatting_php-cc2feb4d.js +++ b/docs/_app/immutable/chunks/formatting_php-7c70d85b.js @@ -1 +1 @@ -import{S as yl,i as wl,s as Ol,l as o,r as a,a as n,m as r,n as d,u as l,h as e,c as h,b as Zd,N as t,E as ta}from"./index-28983a80.js";function Cl(nl){let i,K,E,Q,ko,Jo,V,No,jo,X,Bo,Lo,s,_,Z,tt,Uo,Wo,et,Yo,Go,ot,Io,qo,v,rt,dt,$o,Ko,at,Qo,Vo,lt,Xo,Zo,D,nt,ht,tr,er,st,or,rr,ct,dr,ar,T,ft,it,lr,nr,Et,hr,sr,_t,cr,fr,u,vt,Dt,ir,Er,Tt,_r,vr,G,Dr,ue,J,me,A,ge,pe,ye,Tr,we,fe,ur,ut,mr,gr,m,mt,gt,pr,yr,pt,wr,Or,yt,Cr,Rr,g,wt,Ot,zr,xr,Ct,Mr,Ar,Rt,Sr,br,p,zt,xt,Hr,Fr,Mt,Pr,kr,At,Jr,Nr,y,St,bt,jr,Br,Ht,Lr,Ur,Ft,Wr,Yr,w,Pt,kt,Gr,Ir,Jt,qr,$r,Nt,Kr,Qr,O,jt,Bt,Vr,Xr,Lt,Zr,td,Ut,ed,od,C,Wt,Yt,rd,dd,Gt,ad,ld,It,nd,hd,R,qt,$t,sd,cd,Kt,fd,id,Qt,Ed,_d,z,Vt,Xt,vd,Dd,Zt,Td,ud,te,md,gd,x,ee,oe,pd,yd,re,wd,Od,de,Cd,Rd,M,ae,le,zd,xd,I,Md,Oe,Ce,Ad,Re,N,ze,S,xe,Me,Ae,Sd,Se,be,bd,He,j,Fe,b,Pe,ke,Je,Hd,ie,Ne,je,Fd,B,ne,Be,Pd,L,he,Le,kd,Ue,We,Jd,U,se,Ye,Nd,W,Y,Ge,Ie,jd,qe,Bd,Ho,Ee,q,Ld,H,$e,Ke,F,$,Fo,_e,Gd,Ud,Wd,c,ve,Po,Id,qd;return{c(){i=o("table"),K=o("thead"),E=o("tr"),Q=o("th"),ko=a("Format"),Jo=n(),V=o("th"),No=a("Description"),jo=n(),X=o("th"),Bo=a("Example"),Lo=n(),s=o("tbody"),_=o("tr"),Z=o("td"),tt=o("code"),Uo=a("d"),Wo=n(),et=o("td"),Yo=a("day of the month without leading zeros"),Go=n(),ot=o("td"),Io=a("1 to 31"),qo=n(),v=o("tr"),rt=o("td"),dt=o("code"),$o=a("dd"),Ko=n(),at=o("td"),Qo=a("day of the month, 2 digits with leading zeros"),Vo=n(),lt=o("td"),Xo=a("01 to 31"),Zo=n(),D=o("tr"),nt=o("td"),ht=o("code"),tr=a("D"),er=n(),st=o("td"),or=a("short textual representation of a weekday (i18n.daysShort)"),rr=n(),ct=o("td"),dr=a("Mon through Sun"),ar=n(),T=o("tr"),ft=o("td"),it=o("code"),lr=a("DD"),nr=n(),Et=o("td"),hr=a("long textual representation of a weekday (i18n.days)"),sr=n(),_t=o("td"),cr=a("Sunday through Saturday"),fr=n(),u=o("tr"),vt=o("td"),Dt=o("code"),ir=a("S"),Er=n(),Tt=o("td"),_r=a("English ordinal suffix for the day of the month, (i18n.suffix)"),vr=n(),G=o("td"),Dr=a("st, nd, rd or th. Works well with "),ue=o("code"),J=a("d"),me=n(),A=o("tr"),ge=o("td"),pe=o("code"),ye=a("m"),Tr=n(),we=o("td"),fe=a("numeric representation of month without leading zeros"),ur=n(),ut=o("td"),mr=a("1 to 12"),gr=n(),m=o("tr"),mt=o("td"),gt=o("code"),pr=a("mm"),yr=n(),pt=o("td"),wr=a("numeric representation of the month, 2 digits with leading zeros"),Or=n(),yt=o("td"),Cr=a("01 to 12"),Rr=n(),g=o("tr"),wt=o("td"),Ot=o("code"),zr=a("M"),xr=n(),Ct=o("td"),Mr=a("short textual representation of a month, three letters (i18n.monthsShort)"),Ar=n(),Rt=o("td"),Sr=a("Jan through Dec"),br=n(),p=o("tr"),zt=o("td"),xt=o("code"),Hr=a("MM"),Fr=n(),Mt=o("td"),Pr=a("full textual representation of a month, such as January or March (i18n.months)"),kr=n(),At=o("td"),Jr=a("January through December"),Nr=n(),y=o("tr"),St=o("td"),bt=o("code"),jr=a("yy"),Br=n(),Ht=o("td"),Lr=a("two digit representation of a year"),Ur=n(),Ft=o("td"),Wr=a("99 or 03"),Yr=n(),w=o("tr"),Pt=o("td"),kt=o("code"),Gr=a("yyyy"),Ir=n(),Jt=o("td"),qr=a("full numeric representation of a year, 4 digits"),$r=n(),Nt=o("td"),Kr=a("1999, 2003"),Qr=n(),O=o("tr"),jt=o("td"),Bt=o("code"),Vr=a("h"),Xr=n(),Lt=o("td"),Zr=a("hour without leading zeros - 24-hour format"),td=n(),Ut=o("td"),ed=a("0 - 23"),od=n(),C=o("tr"),Wt=o("td"),Yt=o("code"),rd=a("hh"),dd=n(),Gt=o("td"),ad=a("hour, 2 digits with leading zeros - 24-hour format"),ld=n(),It=o("td"),nd=a("00 - 23"),hd=n(),R=o("tr"),qt=o("td"),$t=o("code"),sd=a("H"),cd=n(),Kt=o("td"),fd=a("hour without leading zeros - 12-hour format"),id=n(),Qt=o("td"),Ed=a("1 - 12"),_d=n(),z=o("tr"),Vt=o("td"),Xt=o("code"),vd=a("HH"),Dd=n(),Zt=o("td"),Td=a("hour, 2 digits with leading zeros - 12-hour format"),ud=n(),te=o("td"),md=a("01 - 12"),gd=n(),x=o("tr"),ee=o("td"),oe=o("code"),pd=a("i"),yd=n(),re=o("td"),wd=a("minutes, 2 digits with leading zeros"),Od=n(),de=o("td"),Cd=a("00 - 59"),Rd=n(),M=o("tr"),ae=o("td"),le=o("code"),zd=a("ii"),xd=n(),I=o("td"),Md=a("alias for "),Oe=o("code"),Ce=a("i"),Ad=n(),Re=o("td"),N=a("00 - 59"),ze=n(),S=o("tr"),xe=o("td"),Me=o("code"),Ae=a("s"),Sd=n(),Se=o("td"),be=a("seconds, 2 digits with leading zeros"),bd=n(),He=o("td"),j=a("00"),Fe=n(),b=o("tr"),Pe=o("td"),ke=o("code"),Je=a("ss"),Hd=n(),ie=o("td"),Ne=a("alias for "),je=o("code"),Fd=a("s"),B=n(),ne=o("td"),Be=a("00"),Pd=n(),L=o("tr"),he=o("td"),Le=o("code"),kd=a("p"),Ue=n(),We=o("td"),Jd=a("meridian in lower case (\u2018am\u2019 or \u2018pm\u2019) - according to locale file (i18n.meridiem)"),U=n(),se=o("td"),Ye=a("am or pm"),Nd=n(),W=o("tr"),Y=o("td"),Ge=o("code"),Ie=a("P"),jd=n(),qe=o("td"),Bd=a("meridian in upper case (\u2018AM\u2019 or \u2018PM\u2019) - according to locale file (i18n.meridiem)"),Ho=n(),Ee=o("td"),q=a("AM or PM"),Ld=n(),H=o("tr"),$e=o("td"),Ke=o("code"),F=a("t"),$=n(),Fo=o("td"),_e=a("timestamp in milliseconds (although milliseconds are always 0)."),Gd=n(),Ud=o("td"),Wd=n(),c=o("p"),ve=a("\u{1F4A1} For timestamp in seconds use "),Po=o("code"),Id=a("php"),qd=a(" format")},l(k){i=r(k,"TABLE",{});var P=d(i);K=r(P,"THEAD",{});var ea=d(K);E=r(ea,"TR",{});var Qe=d(E);Q=r(Qe,"TH",{});var oa=d(Q);ko=l(oa,"Format"),oa.forEach(e),Jo=h(Qe),V=r(Qe,"TH",{});var ra=d(V);No=l(ra,"Description"),ra.forEach(e),jo=h(Qe),X=r(Qe,"TH",{});var Ve=d(X);Bo=l(Ve,"Example"),Ve.forEach(e),Qe.forEach(e),ea.forEach(e),Lo=h(P),s=r(P,"TBODY",{});var f=d(s);_=r(f,"TR",{});var Xe=d(_);Z=r(Xe,"TD",{});var da=d(Z);tt=r(da,"CODE",{});var aa=d(tt);Uo=l(aa,"d"),aa.forEach(e),da.forEach(e),Wo=h(Xe),et=r(Xe,"TD",{});var Ze=d(et);Yo=l(Ze,"day of the month without leading zeros"),Ze.forEach(e),Go=h(Xe),ot=r(Xe,"TD",{});var la=d(ot);Io=l(la,"1 to 31"),la.forEach(e),Xe.forEach(e),qo=h(f),v=r(f,"TR",{});var to=d(v);rt=r(to,"TD",{});var na=d(rt);dt=r(na,"CODE",{});var ha=d(dt);$o=l(ha,"dd"),ha.forEach(e),na.forEach(e),Ko=h(to),at=r(to,"TD",{});var eo=d(at);Qo=l(eo,"day of the month, 2 digits with leading zeros"),eo.forEach(e),Vo=h(to),lt=r(to,"TD",{});var sa=d(lt);Xo=l(sa,"01 to 31"),sa.forEach(e),to.forEach(e),Zo=h(f),D=r(f,"TR",{});var oo=d(D);nt=r(oo,"TD",{});var ca=d(nt);ht=r(ca,"CODE",{});var fa=d(ht);tr=l(fa,"D"),fa.forEach(e),ca.forEach(e),er=h(oo),st=r(oo,"TD",{});var ro=d(st);or=l(ro,"short textual representation of a weekday (i18n.daysShort)"),ro.forEach(e),rr=h(oo),ct=r(oo,"TD",{});var ia=d(ct);dr=l(ia,"Mon through Sun"),ia.forEach(e),oo.forEach(e),ar=h(f),T=r(f,"TR",{});var ao=d(T);ft=r(ao,"TD",{});var Ea=d(ft);it=r(Ea,"CODE",{});var $d=d(it);lr=l($d,"DD"),$d.forEach(e),Ea.forEach(e),nr=h(ao),Et=r(ao,"TD",{});var _a=d(Et);hr=l(_a,"long textual representation of a weekday (i18n.days)"),_a.forEach(e),sr=h(ao),_t=r(ao,"TD",{});var lo=d(_t);cr=l(lo,"Sunday through Saturday"),lo.forEach(e),ao.forEach(e),fr=h(f),u=r(f,"TR",{});var no=d(u);vt=r(no,"TD",{});var va=d(vt);Dt=r(va,"CODE",{});var Da=d(Dt);ir=l(Da,"S"),Da.forEach(e),va.forEach(e),Er=h(no),Tt=r(no,"TD",{});var Ta=d(Tt);_r=l(Ta,"English ordinal suffix for the day of the month, (i18n.suffix)"),Ta.forEach(e),vr=h(no),G=r(no,"TD",{});var De=d(G);Dr=l(De,"st, nd, rd or th. Works well with "),ue=r(De,"CODE",{});var ua=d(ue);J=l(ua,"d"),ua.forEach(e),De.forEach(e),no.forEach(e),me=h(f),A=r(f,"TR",{});var ho=d(A);ge=r(ho,"TD",{});var ma=d(ge);pe=r(ma,"CODE",{});var ga=d(pe);ye=l(ga,"m"),ga.forEach(e),ma.forEach(e),Tr=h(ho),we=r(ho,"TD",{});var so=d(we);fe=l(so,"numeric representation of month without leading zeros"),so.forEach(e),ur=h(ho),ut=r(ho,"TD",{});var pa=d(ut);mr=l(pa,"1 to 12"),pa.forEach(e),ho.forEach(e),gr=h(f),m=r(f,"TR",{});var co=d(m);mt=r(co,"TD",{});var ya=d(mt);gt=r(ya,"CODE",{});var wa=d(gt);pr=l(wa,"mm"),wa.forEach(e),ya.forEach(e),yr=h(co),pt=r(co,"TD",{});var fo=d(pt);wr=l(fo,"numeric representation of the month, 2 digits with leading zeros"),fo.forEach(e),Or=h(co),yt=r(co,"TD",{});var Oa=d(yt);Cr=l(Oa,"01 to 12"),Oa.forEach(e),co.forEach(e),Rr=h(f),g=r(f,"TR",{});var io=d(g);wt=r(io,"TD",{});var Ca=d(wt);Ot=r(Ca,"CODE",{});var Ra=d(Ot);zr=l(Ra,"M"),Ra.forEach(e),Ca.forEach(e),xr=h(io),Ct=r(io,"TD",{});var Eo=d(Ct);Mr=l(Eo,"short textual representation of a month, three letters (i18n.monthsShort)"),Eo.forEach(e),Ar=h(io),Rt=r(io,"TD",{});var za=d(Rt);Sr=l(za,"Jan through Dec"),za.forEach(e),io.forEach(e),br=h(f),p=r(f,"TR",{});var _o=d(p);zt=r(_o,"TD",{});var xa=d(zt);xt=r(xa,"CODE",{});var Ma=d(xt);Hr=l(Ma,"MM"),Ma.forEach(e),xa.forEach(e),Fr=h(_o),Mt=r(_o,"TD",{});var vo=d(Mt);Pr=l(vo,"full textual representation of a month, such as January or March (i18n.months)"),vo.forEach(e),kr=h(_o),At=r(_o,"TD",{});var Aa=d(At);Jr=l(Aa,"January through December"),Aa.forEach(e),_o.forEach(e),Nr=h(f),y=r(f,"TR",{});var Do=d(y);St=r(Do,"TD",{});var Sa=d(St);bt=r(Sa,"CODE",{});var ba=d(bt);jr=l(ba,"yy"),ba.forEach(e),Sa.forEach(e),Br=h(Do),Ht=r(Do,"TD",{});var To=d(Ht);Lr=l(To,"two digit representation of a year"),To.forEach(e),Ur=h(Do),Ft=r(Do,"TD",{});var Ha=d(Ft);Wr=l(Ha,"99 or 03"),Ha.forEach(e),Do.forEach(e),Yr=h(f),w=r(f,"TR",{});var uo=d(w);Pt=r(uo,"TD",{});var Fa=d(Pt);kt=r(Fa,"CODE",{});var Pa=d(kt);Gr=l(Pa,"yyyy"),Pa.forEach(e),Fa.forEach(e),Ir=h(uo),Jt=r(uo,"TD",{});var mo=d(Jt);qr=l(mo,"full numeric representation of a year, 4 digits"),mo.forEach(e),$r=h(uo),Nt=r(uo,"TD",{});var ka=d(Nt);Kr=l(ka,"1999, 2003"),ka.forEach(e),uo.forEach(e),Qr=h(f),O=r(f,"TR",{});var go=d(O);jt=r(go,"TD",{});var Ja=d(jt);Bt=r(Ja,"CODE",{});var Na=d(Bt);Vr=l(Na,"h"),Na.forEach(e),Ja.forEach(e),Xr=h(go),Lt=r(go,"TD",{});var po=d(Lt);Zr=l(po,"hour without leading zeros - 24-hour format"),po.forEach(e),td=h(go),Ut=r(go,"TD",{});var ja=d(Ut);ed=l(ja,"0 - 23"),ja.forEach(e),go.forEach(e),od=h(f),C=r(f,"TR",{});var yo=d(C);Wt=r(yo,"TD",{});var Ba=d(Wt);Yt=r(Ba,"CODE",{});var La=d(Yt);rd=l(La,"hh"),La.forEach(e),Ba.forEach(e),dd=h(yo),Gt=r(yo,"TD",{});var wo=d(Gt);ad=l(wo,"hour, 2 digits with leading zeros - 24-hour format"),wo.forEach(e),ld=h(yo),It=r(yo,"TD",{});var Ua=d(It);nd=l(Ua,"00 - 23"),Ua.forEach(e),yo.forEach(e),hd=h(f),R=r(f,"TR",{});var Oo=d(R);qt=r(Oo,"TD",{});var Wa=d(qt);$t=r(Wa,"CODE",{});var Ya=d($t);sd=l(Ya,"H"),Ya.forEach(e),Wa.forEach(e),cd=h(Oo),Kt=r(Oo,"TD",{});var Co=d(Kt);fd=l(Co,"hour without leading zeros - 12-hour format"),Co.forEach(e),id=h(Oo),Qt=r(Oo,"TD",{});var Ga=d(Qt);Ed=l(Ga,"1 - 12"),Ga.forEach(e),Oo.forEach(e),_d=h(f),z=r(f,"TR",{});var Ro=d(z);Vt=r(Ro,"TD",{});var Ia=d(Vt);Xt=r(Ia,"CODE",{});var qa=d(Xt);vd=l(qa,"HH"),qa.forEach(e),Ia.forEach(e),Dd=h(Ro),Zt=r(Ro,"TD",{});var zo=d(Zt);Td=l(zo,"hour, 2 digits with leading zeros - 12-hour format"),zo.forEach(e),ud=h(Ro),te=r(Ro,"TD",{});var $a=d(te);md=l($a,"01 - 12"),$a.forEach(e),Ro.forEach(e),gd=h(f),x=r(f,"TR",{});var xo=d(x);ee=r(xo,"TD",{});var Ka=d(ee);oe=r(Ka,"CODE",{});var Qa=d(oe);pd=l(Qa,"i"),Qa.forEach(e),Ka.forEach(e),yd=h(xo),re=r(xo,"TD",{});var Mo=d(re);wd=l(Mo,"minutes, 2 digits with leading zeros"),Mo.forEach(e),Od=h(xo),de=r(xo,"TD",{});var Va=d(de);Cd=l(Va,"00 - 59"),Va.forEach(e),xo.forEach(e),Rd=h(f),M=r(f,"TR",{});var Ao=d(M);ae=r(Ao,"TD",{});var Xa=d(ae);le=r(Xa,"CODE",{});var Za=d(le);zd=l(Za,"ii"),Za.forEach(e),Xa.forEach(e),xd=h(Ao),I=r(Ao,"TD",{});var Te=d(I);Md=l(Te,"alias for "),Oe=r(Te,"CODE",{});var tl=d(Oe);Ce=l(tl,"i"),tl.forEach(e),Te.forEach(e),Ad=h(Ao),Re=r(Ao,"TD",{});var el=d(Re);N=l(el,"00 - 59"),el.forEach(e),Ao.forEach(e),ze=h(f),S=r(f,"TR",{});var So=d(S);xe=r(So,"TD",{});var ol=d(xe);Me=r(ol,"CODE",{});var bo=d(Me);Ae=l(bo,"s"),bo.forEach(e),ol.forEach(e),Sd=h(So),Se=r(So,"TD",{});var rl=d(Se);be=l(rl,"seconds, 2 digits with leading zeros"),rl.forEach(e),bd=h(So),He=r(So,"TD",{});var dl=d(He);j=l(dl,"00"),dl.forEach(e),So.forEach(e),Fe=h(f),b=r(f,"TR",{});var ce=d(b);Pe=r(ce,"TD",{});var al=d(Pe);ke=r(al,"CODE",{});var Yd=d(ke);Je=l(Yd,"ss"),Yd.forEach(e),al.forEach(e),Hd=h(ce),ie=r(ce,"TD",{});var Kd=d(ie);Ne=l(Kd,"alias for "),je=r(Kd,"CODE",{});var hl=d(je);Fd=l(hl,"s"),hl.forEach(e),Kd.forEach(e),B=h(ce),ne=r(ce,"TD",{});var sl=d(ne);Be=l(sl,"00"),sl.forEach(e),ce.forEach(e),Pd=h(f),L=r(f,"TR",{});var Qd=d(L);he=r(Qd,"TD",{});var cl=d(he);Le=r(cl,"CODE",{});var fl=d(Le);kd=l(fl,"p"),fl.forEach(e),cl.forEach(e),Ue=h(Qd),We=r(Qd,"TD",{});var il=d(We);Jd=l(il,"meridian in lower case (\u2018am\u2019 or \u2018pm\u2019) - according to locale file (i18n.meridiem)"),il.forEach(e),U=h(Qd),se=r(Qd,"TD",{});var El=d(se);Ye=l(El,"am or pm"),El.forEach(e),Qd.forEach(e),Nd=h(f),W=r(f,"TR",{});var Vd=d(W);Y=r(Vd,"TD",{});var _l=d(Y);Ge=r(_l,"CODE",{});var vl=d(Ge);Ie=l(vl,"P"),vl.forEach(e),_l.forEach(e),jd=h(Vd),qe=r(Vd,"TD",{});var Dl=d(qe);Bd=l(Dl,"meridian in upper case (\u2018AM\u2019 or \u2018PM\u2019) - according to locale file (i18n.meridiem)"),Dl.forEach(e),Ho=h(Vd),Ee=r(Vd,"TD",{});var Tl=d(Ee);q=l(Tl,"AM or PM"),Tl.forEach(e),Vd.forEach(e),Ld=h(f),H=r(f,"TR",{});var Xd=d(H);$e=r(Xd,"TD",{});var ul=d($e);Ke=r(ul,"CODE",{});var ml=d(Ke);F=l(ml,"t"),ml.forEach(e),ul.forEach(e),$=h(Xd),Fo=r(Xd,"TD",{});var gl=d(Fo);_e=l(gl,"timestamp in milliseconds (although milliseconds are always 0)."),gl.forEach(e),Gd=h(Xd),Ud=r(Xd,"TD",{}),d(Ud).forEach(e),Xd.forEach(e),f.forEach(e),P.forEach(e),Wd=h(k),c=r(k,"P",{});var ll=d(c);ve=l(ll,"\u{1F4A1} For timestamp in seconds use "),Po=r(ll,"CODE",{});var pl=d(Po);Id=l(pl,"php"),pl.forEach(e),qd=l(ll," format"),ll.forEach(e)},m(k,P){Zd(k,i,P),t(i,K),t(K,E),t(E,Q),t(Q,ko),t(E,Jo),t(E,V),t(V,No),t(E,jo),t(E,X),t(X,Bo),t(i,Lo),t(i,s),t(s,_),t(_,Z),t(Z,tt),t(tt,Uo),t(_,Wo),t(_,et),t(et,Yo),t(_,Go),t(_,ot),t(ot,Io),t(s,qo),t(s,v),t(v,rt),t(rt,dt),t(dt,$o),t(v,Ko),t(v,at),t(at,Qo),t(v,Vo),t(v,lt),t(lt,Xo),t(s,Zo),t(s,D),t(D,nt),t(nt,ht),t(ht,tr),t(D,er),t(D,st),t(st,or),t(D,rr),t(D,ct),t(ct,dr),t(s,ar),t(s,T),t(T,ft),t(ft,it),t(it,lr),t(T,nr),t(T,Et),t(Et,hr),t(T,sr),t(T,_t),t(_t,cr),t(s,fr),t(s,u),t(u,vt),t(vt,Dt),t(Dt,ir),t(u,Er),t(u,Tt),t(Tt,_r),t(u,vr),t(u,G),t(G,Dr),t(G,ue),t(ue,J),t(s,me),t(s,A),t(A,ge),t(ge,pe),t(pe,ye),t(A,Tr),t(A,we),t(we,fe),t(A,ur),t(A,ut),t(ut,mr),t(s,gr),t(s,m),t(m,mt),t(mt,gt),t(gt,pr),t(m,yr),t(m,pt),t(pt,wr),t(m,Or),t(m,yt),t(yt,Cr),t(s,Rr),t(s,g),t(g,wt),t(wt,Ot),t(Ot,zr),t(g,xr),t(g,Ct),t(Ct,Mr),t(g,Ar),t(g,Rt),t(Rt,Sr),t(s,br),t(s,p),t(p,zt),t(zt,xt),t(xt,Hr),t(p,Fr),t(p,Mt),t(Mt,Pr),t(p,kr),t(p,At),t(At,Jr),t(s,Nr),t(s,y),t(y,St),t(St,bt),t(bt,jr),t(y,Br),t(y,Ht),t(Ht,Lr),t(y,Ur),t(y,Ft),t(Ft,Wr),t(s,Yr),t(s,w),t(w,Pt),t(Pt,kt),t(kt,Gr),t(w,Ir),t(w,Jt),t(Jt,qr),t(w,$r),t(w,Nt),t(Nt,Kr),t(s,Qr),t(s,O),t(O,jt),t(jt,Bt),t(Bt,Vr),t(O,Xr),t(O,Lt),t(Lt,Zr),t(O,td),t(O,Ut),t(Ut,ed),t(s,od),t(s,C),t(C,Wt),t(Wt,Yt),t(Yt,rd),t(C,dd),t(C,Gt),t(Gt,ad),t(C,ld),t(C,It),t(It,nd),t(s,hd),t(s,R),t(R,qt),t(qt,$t),t($t,sd),t(R,cd),t(R,Kt),t(Kt,fd),t(R,id),t(R,Qt),t(Qt,Ed),t(s,_d),t(s,z),t(z,Vt),t(Vt,Xt),t(Xt,vd),t(z,Dd),t(z,Zt),t(Zt,Td),t(z,ud),t(z,te),t(te,md),t(s,gd),t(s,x),t(x,ee),t(ee,oe),t(oe,pd),t(x,yd),t(x,re),t(re,wd),t(x,Od),t(x,de),t(de,Cd),t(s,Rd),t(s,M),t(M,ae),t(ae,le),t(le,zd),t(M,xd),t(M,I),t(I,Md),t(I,Oe),t(Oe,Ce),t(M,Ad),t(M,Re),t(Re,N),t(s,ze),t(s,S),t(S,xe),t(xe,Me),t(Me,Ae),t(S,Sd),t(S,Se),t(Se,be),t(S,bd),t(S,He),t(He,j),t(s,Fe),t(s,b),t(b,Pe),t(Pe,ke),t(ke,Je),t(b,Hd),t(b,ie),t(ie,Ne),t(ie,je),t(je,Fd),t(b,B),t(b,ne),t(ne,Be),t(s,Pd),t(s,L),t(L,he),t(he,Le),t(Le,kd),t(L,Ue),t(L,We),t(We,Jd),t(L,U),t(L,se),t(se,Ye),t(s,Nd),t(s,W),t(W,Y),t(Y,Ge),t(Ge,Ie),t(W,jd),t(W,qe),t(qe,Bd),t(W,Ho),t(W,Ee),t(Ee,q),t(s,Ld),t(s,H),t(H,$e),t($e,Ke),t(Ke,F),t(H,$),t(H,Fo),t(Fo,_e),t(H,Gd),t(H,Ud),Zd(k,Wd,P),Zd(k,c,P),t(c,ve),t(c,Po),t(Po,Id),t(c,qd)},p:ta,i:ta,o:ta,d(k){k&&e(i),k&&e(Wd),k&&e(c)}}}class xl extends yl{constructor(i){super(),wl(this,i,null,Cl,Ol,{})}}function Rl(nl){let i,K,E,Q,ko,Jo,V,No,jo,X,Bo,Lo,s,_,Z,tt,Uo,Wo,et,Yo,Go,ot,Io,qo,v,rt,dt,$o,Ko,at,Qo,Vo,lt,Xo,Zo,D,nt,ht,tr,er,st,or,rr,ct,dr,ar,T,ft,it,lr,nr,Et,hr,sr,_t,cr,fr,u,vt,Dt,ir,Er,Tt,_r,vr,G,Dr,ue,J,me,A,ge,pe,ye,Tr,we,fe,ur,ut,mr,gr,m,mt,gt,pr,yr,pt,wr,Or,yt,Cr,Rr,g,wt,Ot,zr,xr,Ct,Mr,Ar,Rt,Sr,br,p,zt,xt,Hr,Fr,Mt,Pr,kr,At,Jr,Nr,y,St,bt,jr,Br,Ht,Lr,Ur,Ft,Wr,Yr,w,Pt,kt,Gr,Ir,Jt,qr,$r,Nt,Kr,Qr,O,jt,Bt,Vr,Xr,Lt,Zr,td,Ut,ed,od,C,Wt,Yt,rd,dd,Gt,ad,ld,It,nd,hd,R,qt,$t,sd,cd,Kt,fd,id,Qt,Ed,_d,z,Vt,Xt,vd,Dd,Zt,Td,ud,te,md,gd,x,ee,oe,pd,yd,re,wd,Od,de,Cd,Rd,M,ae,le,zd,xd,I,Md,Oe,Ce,Ad,Re,N,ze,S,xe,Me,Ae,Sd,Se,be,bd,He,j,Fe,b,Pe,ke,Je,Hd,ie,Ne,je,Fd,B,ne,Be,Pd,L,he,Le,kd,Ue,We,Jd,U,se,Ye,Nd,W,Y,Ge,Ie,jd,qe,Bd,Ho,Ee,q,Ld,H,$e,Ke;return{c(){i=o("table"),K=o("thead"),E=o("tr"),Q=o("th"),ko=a("Format"),Jo=n(),V=o("th"),No=a("Description"),jo=n(),X=o("th"),Bo=a("Example"),Lo=n(),s=o("tbody"),_=o("tr"),Z=o("td"),tt=o("code"),Uo=a("d"),Wo=n(),et=o("td"),Yo=a("Day of the month, 2 digits with leading zeros"),Go=n(),ot=o("td"),Io=a("01 to 31"),qo=n(),v=o("tr"),rt=o("td"),dt=o("code"),$o=a("D"),Ko=n(),at=o("td"),Qo=a("A textual representation of a day, three letters"),Vo=n(),lt=o("td"),Xo=a("Mon through Sun"),Zo=n(),D=o("tr"),nt=o("td"),ht=o("code"),tr=a("j"),er=n(),st=o("td"),or=a("Day of the month without leading zeros"),rr=n(),ct=o("td"),dr=a("1 to 31"),ar=n(),T=o("tr"),ft=o("td"),it=o("code"),lr=a("l"),nr=n(),Et=o("td"),hr=a("A full textual representation of the day of the week"),sr=n(),_t=o("td"),cr=a("Sunday through Saturday"),fr=n(),u=o("tr"),vt=o("td"),Dt=o("code"),ir=a("N"),Er=n(),Tt=o("td"),_r=a("ISO 8601 numeric representation of the day of the week"),vr=n(),G=o("td"),Dr=a("1 (for Monday) through 7 (for Sunday)"),ue=n(),J=o("tr"),me=o("td"),A=o("code"),ge=a("S"),pe=n(),ye=o("td"),Tr=a("English ordinal suffix for the day of the month, 2 characters"),we=n(),fe=o("td"),ur=a("st, nd, rd or th. Works well with "),ut=o("code"),mr=a("j"),gr=n(),m=o("tr"),mt=o("td"),gt=o("code"),pr=a("F"),yr=n(),pt=o("td"),wr=a("A full textual representation of a month, such as January or March"),Or=n(),yt=o("td"),Cr=a("January through December"),Rr=n(),g=o("tr"),wt=o("td"),Ot=o("code"),zr=a("m"),xr=n(),Ct=o("td"),Mr=a("Numeric representation of a month, with leading zeros"),Ar=n(),Rt=o("td"),Sr=a("01 through 12"),br=n(),p=o("tr"),zt=o("td"),xt=o("code"),Hr=a("M"),Fr=n(),Mt=o("td"),Pr=a("A short textual representation of a month, three letters"),kr=n(),At=o("td"),Jr=a("Jan through Dec"),Nr=n(),y=o("tr"),St=o("td"),bt=o("code"),jr=a("n"),Br=n(),Ht=o("td"),Lr=a("Numeric representation of a month, without leading zeros"),Ur=n(),Ft=o("td"),Wr=a("1 through 12"),Yr=n(),w=o("tr"),Pt=o("td"),kt=o("code"),Gr=a("Y"),Ir=n(),Jt=o("td"),qr=a("A full numeric representation of a year, at least 4 digits"),$r=n(),Nt=o("td"),Kr=a("0787, 1999, 2003"),Qr=n(),O=o("tr"),jt=o("td"),Bt=o("code"),Vr=a("y"),Xr=n(),Lt=o("td"),Zr=a("A two digit representation of a year"),td=n(),Ut=o("td"),ed=a("99 or 03"),od=n(),C=o("tr"),Wt=o("td"),Yt=o("code"),rd=a("a"),dd=n(),Gt=o("td"),ad=a("Lowercase Ante meridiem and Post meridiem"),ld=n(),It=o("td"),nd=a("am or pm"),hd=n(),R=o("tr"),qt=o("td"),$t=o("code"),sd=a("A"),cd=n(),Kt=o("td"),fd=a("Uppercase Ante meridiem and Post meridiem"),id=n(),Qt=o("td"),Ed=a("AM or PM"),_d=n(),z=o("tr"),Vt=o("td"),Xt=o("code"),vd=a("g"),Dd=n(),Zt=o("td"),Td=a("12-hour format of an hour without leading zeros"),ud=n(),te=o("td"),md=a("1 through 12"),gd=n(),x=o("tr"),ee=o("td"),oe=o("code"),pd=a("G"),yd=n(),re=o("td"),wd=a("24-hour format of an hour without leading zeros"),Od=n(),de=o("td"),Cd=a("0 through 23"),Rd=n(),M=o("tr"),ae=o("td"),le=o("code"),zd=a("h"),xd=n(),I=o("td"),Md=a("12-hour format of an hour with leading zeros"),Oe=n(),Ce=o("td"),Ad=a("01 through 12"),Re=n(),N=o("tr"),ze=o("td"),S=o("code"),xe=a("H"),Me=n(),Ae=o("td"),Sd=a("24-hour format of an hour with leading zeros"),Se=n(),be=o("td"),bd=a("00 through 23"),He=n(),j=o("tr"),Fe=o("td"),b=o("code"),Pe=a("i"),ke=n(),Je=o("td"),Hd=a("Minutes with leading zeros"),ie=n(),Ne=o("td"),je=a("00 to 59"),Fd=n(),B=o("tr"),ne=o("td"),Be=o("code"),Pd=a("s"),L=n(),he=o("td"),Le=a("Seconds with leading zeros"),kd=n(),Ue=o("td"),We=a("00"),Jd=n(),U=o("tr"),se=o("td"),Ye=o("code"),Nd=a("U"),W=n(),Y=o("td"),Ge=a("timestamp in seconds. For timestamp with miliseconds use "),Ie=o("code"),jd=a("standard"),qe=a(" format"),Bd=n(),Ho=o("td"),Ee=n(),q=o("p"),Ld=a("\u{1F4A1} For timestamp with miliseconds use "),H=o("code"),$e=a("standard"),Ke=a(" format")},l(F){i=r(F,"TABLE",{});var $=d(i);K=r($,"THEAD",{});var Fo=d(K);E=r(Fo,"TR",{});var _e=d(E);Q=r(_e,"TH",{});var Gd=d(Q);ko=l(Gd,"Format"),Gd.forEach(e),Jo=h(_e),V=r(_e,"TH",{});var Ud=d(V);No=l(Ud,"Description"),Ud.forEach(e),jo=h(_e),X=r(_e,"TH",{});var Wd=d(X);Bo=l(Wd,"Example"),Wd.forEach(e),_e.forEach(e),Fo.forEach(e),Lo=h($),s=r($,"TBODY",{});var c=d(s);_=r(c,"TR",{});var ve=d(_);Z=r(ve,"TD",{});var Po=d(Z);tt=r(Po,"CODE",{});var Id=d(tt);Uo=l(Id,"d"),Id.forEach(e),Po.forEach(e),Wo=h(ve),et=r(ve,"TD",{});var qd=d(et);Yo=l(qd,"Day of the month, 2 digits with leading zeros"),qd.forEach(e),Go=h(ve),ot=r(ve,"TD",{});var k=d(ot);Io=l(k,"01 to 31"),k.forEach(e),ve.forEach(e),qo=h(c),v=r(c,"TR",{});var P=d(v);rt=r(P,"TD",{});var ea=d(rt);dt=r(ea,"CODE",{});var Qe=d(dt);$o=l(Qe,"D"),Qe.forEach(e),ea.forEach(e),Ko=h(P),at=r(P,"TD",{});var oa=d(at);Qo=l(oa,"A textual representation of a day, three letters"),oa.forEach(e),Vo=h(P),lt=r(P,"TD",{});var ra=d(lt);Xo=l(ra,"Mon through Sun"),ra.forEach(e),P.forEach(e),Zo=h(c),D=r(c,"TR",{});var Ve=d(D);nt=r(Ve,"TD",{});var f=d(nt);ht=r(f,"CODE",{});var Xe=d(ht);tr=l(Xe,"j"),Xe.forEach(e),f.forEach(e),er=h(Ve),st=r(Ve,"TD",{});var da=d(st);or=l(da,"Day of the month without leading zeros"),da.forEach(e),rr=h(Ve),ct=r(Ve,"TD",{});var aa=d(ct);dr=l(aa,"1 to 31"),aa.forEach(e),Ve.forEach(e),ar=h(c),T=r(c,"TR",{});var Ze=d(T);ft=r(Ze,"TD",{});var la=d(ft);it=r(la,"CODE",{});var to=d(it);lr=l(to,"l"),to.forEach(e),la.forEach(e),nr=h(Ze),Et=r(Ze,"TD",{});var na=d(Et);hr=l(na,"A full textual representation of the day of the week"),na.forEach(e),sr=h(Ze),_t=r(Ze,"TD",{});var ha=d(_t);cr=l(ha,"Sunday through Saturday"),ha.forEach(e),Ze.forEach(e),fr=h(c),u=r(c,"TR",{});var eo=d(u);vt=r(eo,"TD",{});var sa=d(vt);Dt=r(sa,"CODE",{});var oo=d(Dt);ir=l(oo,"N"),oo.forEach(e),sa.forEach(e),Er=h(eo),Tt=r(eo,"TD",{});var ca=d(Tt);_r=l(ca,"ISO 8601 numeric representation of the day of the week"),ca.forEach(e),vr=h(eo),G=r(eo,"TD",{});var fa=d(G);Dr=l(fa,"1 (for Monday) through 7 (for Sunday)"),fa.forEach(e),eo.forEach(e),ue=h(c),J=r(c,"TR",{});var ro=d(J);me=r(ro,"TD",{});var ia=d(me);A=r(ia,"CODE",{});var ao=d(A);ge=l(ao,"S"),ao.forEach(e),ia.forEach(e),pe=h(ro),ye=r(ro,"TD",{});var Ea=d(ye);Tr=l(Ea,"English ordinal suffix for the day of the month, 2 characters"),Ea.forEach(e),we=h(ro),fe=r(ro,"TD",{});var $d=d(fe);ur=l($d,"st, nd, rd or th. Works well with "),ut=r($d,"CODE",{});var _a=d(ut);mr=l(_a,"j"),_a.forEach(e),$d.forEach(e),ro.forEach(e),gr=h(c),m=r(c,"TR",{});var lo=d(m);mt=r(lo,"TD",{});var no=d(mt);gt=r(no,"CODE",{});var va=d(gt);pr=l(va,"F"),va.forEach(e),no.forEach(e),yr=h(lo),pt=r(lo,"TD",{});var Da=d(pt);wr=l(Da,"A full textual representation of a month, such as January or March"),Da.forEach(e),Or=h(lo),yt=r(lo,"TD",{});var Ta=d(yt);Cr=l(Ta,"January through December"),Ta.forEach(e),lo.forEach(e),Rr=h(c),g=r(c,"TR",{});var De=d(g);wt=r(De,"TD",{});var ua=d(wt);Ot=r(ua,"CODE",{});var ho=d(Ot);zr=l(ho,"m"),ho.forEach(e),ua.forEach(e),xr=h(De),Ct=r(De,"TD",{});var ma=d(Ct);Mr=l(ma,"Numeric representation of a month, with leading zeros"),ma.forEach(e),Ar=h(De),Rt=r(De,"TD",{});var ga=d(Rt);Sr=l(ga,"01 through 12"),ga.forEach(e),De.forEach(e),br=h(c),p=r(c,"TR",{});var so=d(p);zt=r(so,"TD",{});var pa=d(zt);xt=r(pa,"CODE",{});var co=d(xt);Hr=l(co,"M"),co.forEach(e),pa.forEach(e),Fr=h(so),Mt=r(so,"TD",{});var ya=d(Mt);Pr=l(ya,"A short textual representation of a month, three letters"),ya.forEach(e),kr=h(so),At=r(so,"TD",{});var wa=d(At);Jr=l(wa,"Jan through Dec"),wa.forEach(e),so.forEach(e),Nr=h(c),y=r(c,"TR",{});var fo=d(y);St=r(fo,"TD",{});var Oa=d(St);bt=r(Oa,"CODE",{});var io=d(bt);jr=l(io,"n"),io.forEach(e),Oa.forEach(e),Br=h(fo),Ht=r(fo,"TD",{});var Ca=d(Ht);Lr=l(Ca,"Numeric representation of a month, without leading zeros"),Ca.forEach(e),Ur=h(fo),Ft=r(fo,"TD",{});var Ra=d(Ft);Wr=l(Ra,"1 through 12"),Ra.forEach(e),fo.forEach(e),Yr=h(c),w=r(c,"TR",{});var Eo=d(w);Pt=r(Eo,"TD",{});var za=d(Pt);kt=r(za,"CODE",{});var _o=d(kt);Gr=l(_o,"Y"),_o.forEach(e),za.forEach(e),Ir=h(Eo),Jt=r(Eo,"TD",{});var xa=d(Jt);qr=l(xa,"A full numeric representation of a year, at least 4 digits"),xa.forEach(e),$r=h(Eo),Nt=r(Eo,"TD",{});var Ma=d(Nt);Kr=l(Ma,"0787, 1999, 2003"),Ma.forEach(e),Eo.forEach(e),Qr=h(c),O=r(c,"TR",{});var vo=d(O);jt=r(vo,"TD",{});var Aa=d(jt);Bt=r(Aa,"CODE",{});var Do=d(Bt);Vr=l(Do,"y"),Do.forEach(e),Aa.forEach(e),Xr=h(vo),Lt=r(vo,"TD",{});var Sa=d(Lt);Zr=l(Sa,"A two digit representation of a year"),Sa.forEach(e),td=h(vo),Ut=r(vo,"TD",{});var ba=d(Ut);ed=l(ba,"99 or 03"),ba.forEach(e),vo.forEach(e),od=h(c),C=r(c,"TR",{});var To=d(C);Wt=r(To,"TD",{});var Ha=d(Wt);Yt=r(Ha,"CODE",{});var uo=d(Yt);rd=l(uo,"a"),uo.forEach(e),Ha.forEach(e),dd=h(To),Gt=r(To,"TD",{});var Fa=d(Gt);ad=l(Fa,"Lowercase Ante meridiem and Post meridiem"),Fa.forEach(e),ld=h(To),It=r(To,"TD",{});var Pa=d(It);nd=l(Pa,"am or pm"),Pa.forEach(e),To.forEach(e),hd=h(c),R=r(c,"TR",{});var mo=d(R);qt=r(mo,"TD",{});var ka=d(qt);$t=r(ka,"CODE",{});var go=d($t);sd=l(go,"A"),go.forEach(e),ka.forEach(e),cd=h(mo),Kt=r(mo,"TD",{});var Ja=d(Kt);fd=l(Ja,"Uppercase Ante meridiem and Post meridiem"),Ja.forEach(e),id=h(mo),Qt=r(mo,"TD",{});var Na=d(Qt);Ed=l(Na,"AM or PM"),Na.forEach(e),mo.forEach(e),_d=h(c),z=r(c,"TR",{});var po=d(z);Vt=r(po,"TD",{});var ja=d(Vt);Xt=r(ja,"CODE",{});var yo=d(Xt);vd=l(yo,"g"),yo.forEach(e),ja.forEach(e),Dd=h(po),Zt=r(po,"TD",{});var Ba=d(Zt);Td=l(Ba,"12-hour format of an hour without leading zeros"),Ba.forEach(e),ud=h(po),te=r(po,"TD",{});var La=d(te);md=l(La,"1 through 12"),La.forEach(e),po.forEach(e),gd=h(c),x=r(c,"TR",{});var wo=d(x);ee=r(wo,"TD",{});var Ua=d(ee);oe=r(Ua,"CODE",{});var Oo=d(oe);pd=l(Oo,"G"),Oo.forEach(e),Ua.forEach(e),yd=h(wo),re=r(wo,"TD",{});var Wa=d(re);wd=l(Wa,"24-hour format of an hour without leading zeros"),Wa.forEach(e),Od=h(wo),de=r(wo,"TD",{});var Ya=d(de);Cd=l(Ya,"0 through 23"),Ya.forEach(e),wo.forEach(e),Rd=h(c),M=r(c,"TR",{});var Co=d(M);ae=r(Co,"TD",{});var Ga=d(ae);le=r(Ga,"CODE",{});var Ro=d(le);zd=l(Ro,"h"),Ro.forEach(e),Ga.forEach(e),xd=h(Co),I=r(Co,"TD",{});var Ia=d(I);Md=l(Ia,"12-hour format of an hour with leading zeros"),Ia.forEach(e),Oe=h(Co),Ce=r(Co,"TD",{});var qa=d(Ce);Ad=l(qa,"01 through 12"),qa.forEach(e),Co.forEach(e),Re=h(c),N=r(c,"TR",{});var zo=d(N);ze=r(zo,"TD",{});var $a=d(ze);S=r($a,"CODE",{});var xo=d(S);xe=l(xo,"H"),xo.forEach(e),$a.forEach(e),Me=h(zo),Ae=r(zo,"TD",{});var Ka=d(Ae);Sd=l(Ka,"24-hour format of an hour with leading zeros"),Ka.forEach(e),Se=h(zo),be=r(zo,"TD",{});var Qa=d(be);bd=l(Qa,"00 through 23"),Qa.forEach(e),zo.forEach(e),He=h(c),j=r(c,"TR",{});var Mo=d(j);Fe=r(Mo,"TD",{});var Va=d(Fe);b=r(Va,"CODE",{});var Ao=d(b);Pe=l(Ao,"i"),Ao.forEach(e),Va.forEach(e),ke=h(Mo),Je=r(Mo,"TD",{});var Xa=d(Je);Hd=l(Xa,"Minutes with leading zeros"),Xa.forEach(e),ie=h(Mo),Ne=r(Mo,"TD",{});var Za=d(Ne);je=l(Za,"00 to 59"),Za.forEach(e),Mo.forEach(e),Fd=h(c),B=r(c,"TR",{});var Te=d(B);ne=r(Te,"TD",{});var tl=d(ne);Be=r(tl,"CODE",{});var el=d(Be);Pd=l(el,"s"),el.forEach(e),tl.forEach(e),L=h(Te),he=r(Te,"TD",{});var So=d(he);Le=l(So,"Seconds with leading zeros"),So.forEach(e),kd=h(Te),Ue=r(Te,"TD",{});var ol=d(Ue);We=l(ol,"00"),ol.forEach(e),Te.forEach(e),Jd=h(c),U=r(c,"TR",{});var bo=d(U);se=r(bo,"TD",{});var rl=d(se);Ye=r(rl,"CODE",{});var dl=d(Ye);Nd=l(dl,"U"),dl.forEach(e),rl.forEach(e),W=h(bo),Y=r(bo,"TD",{});var ce=d(Y);Ge=l(ce,"timestamp in seconds. For timestamp with miliseconds use "),Ie=r(ce,"CODE",{});var al=d(Ie);jd=l(al,"standard"),al.forEach(e),qe=l(ce," format"),ce.forEach(e),Bd=h(bo),Ho=r(bo,"TD",{}),d(Ho).forEach(e),bo.forEach(e),c.forEach(e),$.forEach(e),Ee=h(F),q=r(F,"P",{});var Yd=d(q);Ld=l(Yd,"\u{1F4A1} For timestamp with miliseconds use "),H=r(Yd,"CODE",{});var Kd=d(H);$e=l(Kd,"standard"),Kd.forEach(e),Ke=l(Yd," format"),Yd.forEach(e)},m(F,$){Zd(F,i,$),t(i,K),t(K,E),t(E,Q),t(Q,ko),t(E,Jo),t(E,V),t(V,No),t(E,jo),t(E,X),t(X,Bo),t(i,Lo),t(i,s),t(s,_),t(_,Z),t(Z,tt),t(tt,Uo),t(_,Wo),t(_,et),t(et,Yo),t(_,Go),t(_,ot),t(ot,Io),t(s,qo),t(s,v),t(v,rt),t(rt,dt),t(dt,$o),t(v,Ko),t(v,at),t(at,Qo),t(v,Vo),t(v,lt),t(lt,Xo),t(s,Zo),t(s,D),t(D,nt),t(nt,ht),t(ht,tr),t(D,er),t(D,st),t(st,or),t(D,rr),t(D,ct),t(ct,dr),t(s,ar),t(s,T),t(T,ft),t(ft,it),t(it,lr),t(T,nr),t(T,Et),t(Et,hr),t(T,sr),t(T,_t),t(_t,cr),t(s,fr),t(s,u),t(u,vt),t(vt,Dt),t(Dt,ir),t(u,Er),t(u,Tt),t(Tt,_r),t(u,vr),t(u,G),t(G,Dr),t(s,ue),t(s,J),t(J,me),t(me,A),t(A,ge),t(J,pe),t(J,ye),t(ye,Tr),t(J,we),t(J,fe),t(fe,ur),t(fe,ut),t(ut,mr),t(s,gr),t(s,m),t(m,mt),t(mt,gt),t(gt,pr),t(m,yr),t(m,pt),t(pt,wr),t(m,Or),t(m,yt),t(yt,Cr),t(s,Rr),t(s,g),t(g,wt),t(wt,Ot),t(Ot,zr),t(g,xr),t(g,Ct),t(Ct,Mr),t(g,Ar),t(g,Rt),t(Rt,Sr),t(s,br),t(s,p),t(p,zt),t(zt,xt),t(xt,Hr),t(p,Fr),t(p,Mt),t(Mt,Pr),t(p,kr),t(p,At),t(At,Jr),t(s,Nr),t(s,y),t(y,St),t(St,bt),t(bt,jr),t(y,Br),t(y,Ht),t(Ht,Lr),t(y,Ur),t(y,Ft),t(Ft,Wr),t(s,Yr),t(s,w),t(w,Pt),t(Pt,kt),t(kt,Gr),t(w,Ir),t(w,Jt),t(Jt,qr),t(w,$r),t(w,Nt),t(Nt,Kr),t(s,Qr),t(s,O),t(O,jt),t(jt,Bt),t(Bt,Vr),t(O,Xr),t(O,Lt),t(Lt,Zr),t(O,td),t(O,Ut),t(Ut,ed),t(s,od),t(s,C),t(C,Wt),t(Wt,Yt),t(Yt,rd),t(C,dd),t(C,Gt),t(Gt,ad),t(C,ld),t(C,It),t(It,nd),t(s,hd),t(s,R),t(R,qt),t(qt,$t),t($t,sd),t(R,cd),t(R,Kt),t(Kt,fd),t(R,id),t(R,Qt),t(Qt,Ed),t(s,_d),t(s,z),t(z,Vt),t(Vt,Xt),t(Xt,vd),t(z,Dd),t(z,Zt),t(Zt,Td),t(z,ud),t(z,te),t(te,md),t(s,gd),t(s,x),t(x,ee),t(ee,oe),t(oe,pd),t(x,yd),t(x,re),t(re,wd),t(x,Od),t(x,de),t(de,Cd),t(s,Rd),t(s,M),t(M,ae),t(ae,le),t(le,zd),t(M,xd),t(M,I),t(I,Md),t(M,Oe),t(M,Ce),t(Ce,Ad),t(s,Re),t(s,N),t(N,ze),t(ze,S),t(S,xe),t(N,Me),t(N,Ae),t(Ae,Sd),t(N,Se),t(N,be),t(be,bd),t(s,He),t(s,j),t(j,Fe),t(Fe,b),t(b,Pe),t(j,ke),t(j,Je),t(Je,Hd),t(j,ie),t(j,Ne),t(Ne,je),t(s,Fd),t(s,B),t(B,ne),t(ne,Be),t(Be,Pd),t(B,L),t(B,he),t(he,Le),t(B,kd),t(B,Ue),t(Ue,We),t(s,Jd),t(s,U),t(U,se),t(se,Ye),t(Ye,Nd),t(U,W),t(U,Y),t(Y,Ge),t(Y,Ie),t(Ie,jd),t(Y,qe),t(U,Bd),t(U,Ho),Zd(F,Ee,$),Zd(F,q,$),t(q,Ld),t(q,H),t(H,$e),t(q,Ke)},p:ta,i:ta,o:ta,d(F){F&&e(i),F&&e(Ee),F&&e(q)}}}class Ml extends yl{constructor(i){super(),wl(this,i,null,Rl,Ol,{})}}export{Ml as F,xl as a}; +import{S as yl,i as wl,s as Ol,l as o,r as a,a as n,m as r,n as d,u as l,h as e,c as h,b as Zd,O as t,F as ta}from"./index-bfee2186.js";function Cl(nl){let i,K,E,Q,ko,Jo,V,No,jo,X,Bo,Lo,s,_,Z,tt,Uo,Wo,et,Yo,Go,ot,Io,qo,v,rt,dt,$o,Ko,at,Qo,Vo,lt,Xo,Zo,D,nt,ht,tr,er,st,or,rr,ct,dr,ar,T,ft,it,lr,nr,Et,hr,sr,_t,cr,fr,u,vt,Dt,ir,Er,Tt,_r,vr,G,Dr,ue,J,me,A,ge,pe,ye,Tr,we,fe,ur,ut,mr,gr,m,mt,gt,pr,yr,pt,wr,Or,yt,Cr,Rr,g,wt,Ot,zr,xr,Ct,Mr,Ar,Rt,Sr,br,p,zt,xt,Fr,Hr,Mt,Pr,kr,At,Jr,Nr,y,St,bt,jr,Br,Ft,Lr,Ur,Ht,Wr,Yr,w,Pt,kt,Gr,Ir,Jt,qr,$r,Nt,Kr,Qr,O,jt,Bt,Vr,Xr,Lt,Zr,td,Ut,ed,od,C,Wt,Yt,rd,dd,Gt,ad,ld,It,nd,hd,R,qt,$t,sd,cd,Kt,fd,id,Qt,Ed,_d,z,Vt,Xt,vd,Dd,Zt,Td,ud,te,md,gd,x,ee,oe,pd,yd,re,wd,Od,de,Cd,Rd,M,ae,le,zd,xd,I,Md,Oe,Ce,Ad,Re,N,ze,S,xe,Me,Ae,Sd,Se,be,bd,Fe,j,He,b,Pe,ke,Je,Fd,ie,Ne,je,Hd,B,ne,Be,Pd,L,he,Le,kd,Ue,We,Jd,U,se,Ye,Nd,W,Y,Ge,Ie,jd,qe,Bd,Fo,Ee,q,Ld,F,$e,Ke,H,$,Ho,_e,Gd,Ud,Wd,c,ve,Po,Id,qd;return{c(){i=o("table"),K=o("thead"),E=o("tr"),Q=o("th"),ko=a("Format"),Jo=n(),V=o("th"),No=a("Description"),jo=n(),X=o("th"),Bo=a("Example"),Lo=n(),s=o("tbody"),_=o("tr"),Z=o("td"),tt=o("code"),Uo=a("d"),Wo=n(),et=o("td"),Yo=a("day of the month without leading zeros"),Go=n(),ot=o("td"),Io=a("1 to 31"),qo=n(),v=o("tr"),rt=o("td"),dt=o("code"),$o=a("dd"),Ko=n(),at=o("td"),Qo=a("day of the month, 2 digits with leading zeros"),Vo=n(),lt=o("td"),Xo=a("01 to 31"),Zo=n(),D=o("tr"),nt=o("td"),ht=o("code"),tr=a("D"),er=n(),st=o("td"),or=a("short textual representation of a weekday (i18n.daysShort)"),rr=n(),ct=o("td"),dr=a("Mon through Sun"),ar=n(),T=o("tr"),ft=o("td"),it=o("code"),lr=a("DD"),nr=n(),Et=o("td"),hr=a("long textual representation of a weekday (i18n.days)"),sr=n(),_t=o("td"),cr=a("Sunday through Saturday"),fr=n(),u=o("tr"),vt=o("td"),Dt=o("code"),ir=a("S"),Er=n(),Tt=o("td"),_r=a("English ordinal suffix for the day of the month, (i18n.suffix)"),vr=n(),G=o("td"),Dr=a("st, nd, rd or th. Works well with "),ue=o("code"),J=a("d"),me=n(),A=o("tr"),ge=o("td"),pe=o("code"),ye=a("m"),Tr=n(),we=o("td"),fe=a("numeric representation of month without leading zeros"),ur=n(),ut=o("td"),mr=a("1 to 12"),gr=n(),m=o("tr"),mt=o("td"),gt=o("code"),pr=a("mm"),yr=n(),pt=o("td"),wr=a("numeric representation of the month, 2 digits with leading zeros"),Or=n(),yt=o("td"),Cr=a("01 to 12"),Rr=n(),g=o("tr"),wt=o("td"),Ot=o("code"),zr=a("M"),xr=n(),Ct=o("td"),Mr=a("short textual representation of a month, three letters (i18n.monthsShort)"),Ar=n(),Rt=o("td"),Sr=a("Jan through Dec"),br=n(),p=o("tr"),zt=o("td"),xt=o("code"),Fr=a("MM"),Hr=n(),Mt=o("td"),Pr=a("full textual representation of a month, such as January or March (i18n.months)"),kr=n(),At=o("td"),Jr=a("January through December"),Nr=n(),y=o("tr"),St=o("td"),bt=o("code"),jr=a("yy"),Br=n(),Ft=o("td"),Lr=a("two digit representation of a year"),Ur=n(),Ht=o("td"),Wr=a("99 or 03"),Yr=n(),w=o("tr"),Pt=o("td"),kt=o("code"),Gr=a("yyyy"),Ir=n(),Jt=o("td"),qr=a("full numeric representation of a year, 4 digits"),$r=n(),Nt=o("td"),Kr=a("1999, 2003"),Qr=n(),O=o("tr"),jt=o("td"),Bt=o("code"),Vr=a("h"),Xr=n(),Lt=o("td"),Zr=a("hour without leading zeros - 24-hour format"),td=n(),Ut=o("td"),ed=a("0 - 23"),od=n(),C=o("tr"),Wt=o("td"),Yt=o("code"),rd=a("hh"),dd=n(),Gt=o("td"),ad=a("hour, 2 digits with leading zeros - 24-hour format"),ld=n(),It=o("td"),nd=a("00 - 23"),hd=n(),R=o("tr"),qt=o("td"),$t=o("code"),sd=a("H"),cd=n(),Kt=o("td"),fd=a("hour without leading zeros - 12-hour format"),id=n(),Qt=o("td"),Ed=a("1 - 12"),_d=n(),z=o("tr"),Vt=o("td"),Xt=o("code"),vd=a("HH"),Dd=n(),Zt=o("td"),Td=a("hour, 2 digits with leading zeros - 12-hour format"),ud=n(),te=o("td"),md=a("01 - 12"),gd=n(),x=o("tr"),ee=o("td"),oe=o("code"),pd=a("i"),yd=n(),re=o("td"),wd=a("minutes, 2 digits with leading zeros"),Od=n(),de=o("td"),Cd=a("00 - 59"),Rd=n(),M=o("tr"),ae=o("td"),le=o("code"),zd=a("ii"),xd=n(),I=o("td"),Md=a("alias for "),Oe=o("code"),Ce=a("i"),Ad=n(),Re=o("td"),N=a("00 - 59"),ze=n(),S=o("tr"),xe=o("td"),Me=o("code"),Ae=a("s"),Sd=n(),Se=o("td"),be=a("seconds, 2 digits with leading zeros"),bd=n(),Fe=o("td"),j=a("00"),He=n(),b=o("tr"),Pe=o("td"),ke=o("code"),Je=a("ss"),Fd=n(),ie=o("td"),Ne=a("alias for "),je=o("code"),Hd=a("s"),B=n(),ne=o("td"),Be=a("00"),Pd=n(),L=o("tr"),he=o("td"),Le=o("code"),kd=a("p"),Ue=n(),We=o("td"),Jd=a("meridian in lower case (\u2018am\u2019 or \u2018pm\u2019) - according to locale file (i18n.meridiem)"),U=n(),se=o("td"),Ye=a("am or pm"),Nd=n(),W=o("tr"),Y=o("td"),Ge=o("code"),Ie=a("P"),jd=n(),qe=o("td"),Bd=a("meridian in upper case (\u2018AM\u2019 or \u2018PM\u2019) - according to locale file (i18n.meridiem)"),Fo=n(),Ee=o("td"),q=a("AM or PM"),Ld=n(),F=o("tr"),$e=o("td"),Ke=o("code"),H=a("t"),$=n(),Ho=o("td"),_e=a("timestamp in milliseconds (although milliseconds are always 0)."),Gd=n(),Ud=o("td"),Wd=n(),c=o("p"),ve=a("\u{1F4A1} For timestamp in seconds use "),Po=o("code"),Id=a("php"),qd=a(" format")},l(k){i=r(k,"TABLE",{});var P=d(i);K=r(P,"THEAD",{});var ea=d(K);E=r(ea,"TR",{});var Qe=d(E);Q=r(Qe,"TH",{});var oa=d(Q);ko=l(oa,"Format"),oa.forEach(e),Jo=h(Qe),V=r(Qe,"TH",{});var ra=d(V);No=l(ra,"Description"),ra.forEach(e),jo=h(Qe),X=r(Qe,"TH",{});var Ve=d(X);Bo=l(Ve,"Example"),Ve.forEach(e),Qe.forEach(e),ea.forEach(e),Lo=h(P),s=r(P,"TBODY",{});var f=d(s);_=r(f,"TR",{});var Xe=d(_);Z=r(Xe,"TD",{});var da=d(Z);tt=r(da,"CODE",{});var aa=d(tt);Uo=l(aa,"d"),aa.forEach(e),da.forEach(e),Wo=h(Xe),et=r(Xe,"TD",{});var Ze=d(et);Yo=l(Ze,"day of the month without leading zeros"),Ze.forEach(e),Go=h(Xe),ot=r(Xe,"TD",{});var la=d(ot);Io=l(la,"1 to 31"),la.forEach(e),Xe.forEach(e),qo=h(f),v=r(f,"TR",{});var to=d(v);rt=r(to,"TD",{});var na=d(rt);dt=r(na,"CODE",{});var ha=d(dt);$o=l(ha,"dd"),ha.forEach(e),na.forEach(e),Ko=h(to),at=r(to,"TD",{});var eo=d(at);Qo=l(eo,"day of the month, 2 digits with leading zeros"),eo.forEach(e),Vo=h(to),lt=r(to,"TD",{});var sa=d(lt);Xo=l(sa,"01 to 31"),sa.forEach(e),to.forEach(e),Zo=h(f),D=r(f,"TR",{});var oo=d(D);nt=r(oo,"TD",{});var ca=d(nt);ht=r(ca,"CODE",{});var fa=d(ht);tr=l(fa,"D"),fa.forEach(e),ca.forEach(e),er=h(oo),st=r(oo,"TD",{});var ro=d(st);or=l(ro,"short textual representation of a weekday (i18n.daysShort)"),ro.forEach(e),rr=h(oo),ct=r(oo,"TD",{});var ia=d(ct);dr=l(ia,"Mon through Sun"),ia.forEach(e),oo.forEach(e),ar=h(f),T=r(f,"TR",{});var ao=d(T);ft=r(ao,"TD",{});var Ea=d(ft);it=r(Ea,"CODE",{});var $d=d(it);lr=l($d,"DD"),$d.forEach(e),Ea.forEach(e),nr=h(ao),Et=r(ao,"TD",{});var _a=d(Et);hr=l(_a,"long textual representation of a weekday (i18n.days)"),_a.forEach(e),sr=h(ao),_t=r(ao,"TD",{});var lo=d(_t);cr=l(lo,"Sunday through Saturday"),lo.forEach(e),ao.forEach(e),fr=h(f),u=r(f,"TR",{});var no=d(u);vt=r(no,"TD",{});var va=d(vt);Dt=r(va,"CODE",{});var Da=d(Dt);ir=l(Da,"S"),Da.forEach(e),va.forEach(e),Er=h(no),Tt=r(no,"TD",{});var Ta=d(Tt);_r=l(Ta,"English ordinal suffix for the day of the month, (i18n.suffix)"),Ta.forEach(e),vr=h(no),G=r(no,"TD",{});var De=d(G);Dr=l(De,"st, nd, rd or th. Works well with "),ue=r(De,"CODE",{});var ua=d(ue);J=l(ua,"d"),ua.forEach(e),De.forEach(e),no.forEach(e),me=h(f),A=r(f,"TR",{});var ho=d(A);ge=r(ho,"TD",{});var ma=d(ge);pe=r(ma,"CODE",{});var ga=d(pe);ye=l(ga,"m"),ga.forEach(e),ma.forEach(e),Tr=h(ho),we=r(ho,"TD",{});var so=d(we);fe=l(so,"numeric representation of month without leading zeros"),so.forEach(e),ur=h(ho),ut=r(ho,"TD",{});var pa=d(ut);mr=l(pa,"1 to 12"),pa.forEach(e),ho.forEach(e),gr=h(f),m=r(f,"TR",{});var co=d(m);mt=r(co,"TD",{});var ya=d(mt);gt=r(ya,"CODE",{});var wa=d(gt);pr=l(wa,"mm"),wa.forEach(e),ya.forEach(e),yr=h(co),pt=r(co,"TD",{});var fo=d(pt);wr=l(fo,"numeric representation of the month, 2 digits with leading zeros"),fo.forEach(e),Or=h(co),yt=r(co,"TD",{});var Oa=d(yt);Cr=l(Oa,"01 to 12"),Oa.forEach(e),co.forEach(e),Rr=h(f),g=r(f,"TR",{});var io=d(g);wt=r(io,"TD",{});var Ca=d(wt);Ot=r(Ca,"CODE",{});var Ra=d(Ot);zr=l(Ra,"M"),Ra.forEach(e),Ca.forEach(e),xr=h(io),Ct=r(io,"TD",{});var Eo=d(Ct);Mr=l(Eo,"short textual representation of a month, three letters (i18n.monthsShort)"),Eo.forEach(e),Ar=h(io),Rt=r(io,"TD",{});var za=d(Rt);Sr=l(za,"Jan through Dec"),za.forEach(e),io.forEach(e),br=h(f),p=r(f,"TR",{});var _o=d(p);zt=r(_o,"TD",{});var xa=d(zt);xt=r(xa,"CODE",{});var Ma=d(xt);Fr=l(Ma,"MM"),Ma.forEach(e),xa.forEach(e),Hr=h(_o),Mt=r(_o,"TD",{});var vo=d(Mt);Pr=l(vo,"full textual representation of a month, such as January or March (i18n.months)"),vo.forEach(e),kr=h(_o),At=r(_o,"TD",{});var Aa=d(At);Jr=l(Aa,"January through December"),Aa.forEach(e),_o.forEach(e),Nr=h(f),y=r(f,"TR",{});var Do=d(y);St=r(Do,"TD",{});var Sa=d(St);bt=r(Sa,"CODE",{});var ba=d(bt);jr=l(ba,"yy"),ba.forEach(e),Sa.forEach(e),Br=h(Do),Ft=r(Do,"TD",{});var To=d(Ft);Lr=l(To,"two digit representation of a year"),To.forEach(e),Ur=h(Do),Ht=r(Do,"TD",{});var Fa=d(Ht);Wr=l(Fa,"99 or 03"),Fa.forEach(e),Do.forEach(e),Yr=h(f),w=r(f,"TR",{});var uo=d(w);Pt=r(uo,"TD",{});var Ha=d(Pt);kt=r(Ha,"CODE",{});var Pa=d(kt);Gr=l(Pa,"yyyy"),Pa.forEach(e),Ha.forEach(e),Ir=h(uo),Jt=r(uo,"TD",{});var mo=d(Jt);qr=l(mo,"full numeric representation of a year, 4 digits"),mo.forEach(e),$r=h(uo),Nt=r(uo,"TD",{});var ka=d(Nt);Kr=l(ka,"1999, 2003"),ka.forEach(e),uo.forEach(e),Qr=h(f),O=r(f,"TR",{});var go=d(O);jt=r(go,"TD",{});var Ja=d(jt);Bt=r(Ja,"CODE",{});var Na=d(Bt);Vr=l(Na,"h"),Na.forEach(e),Ja.forEach(e),Xr=h(go),Lt=r(go,"TD",{});var po=d(Lt);Zr=l(po,"hour without leading zeros - 24-hour format"),po.forEach(e),td=h(go),Ut=r(go,"TD",{});var ja=d(Ut);ed=l(ja,"0 - 23"),ja.forEach(e),go.forEach(e),od=h(f),C=r(f,"TR",{});var yo=d(C);Wt=r(yo,"TD",{});var Ba=d(Wt);Yt=r(Ba,"CODE",{});var La=d(Yt);rd=l(La,"hh"),La.forEach(e),Ba.forEach(e),dd=h(yo),Gt=r(yo,"TD",{});var wo=d(Gt);ad=l(wo,"hour, 2 digits with leading zeros - 24-hour format"),wo.forEach(e),ld=h(yo),It=r(yo,"TD",{});var Ua=d(It);nd=l(Ua,"00 - 23"),Ua.forEach(e),yo.forEach(e),hd=h(f),R=r(f,"TR",{});var Oo=d(R);qt=r(Oo,"TD",{});var Wa=d(qt);$t=r(Wa,"CODE",{});var Ya=d($t);sd=l(Ya,"H"),Ya.forEach(e),Wa.forEach(e),cd=h(Oo),Kt=r(Oo,"TD",{});var Co=d(Kt);fd=l(Co,"hour without leading zeros - 12-hour format"),Co.forEach(e),id=h(Oo),Qt=r(Oo,"TD",{});var Ga=d(Qt);Ed=l(Ga,"1 - 12"),Ga.forEach(e),Oo.forEach(e),_d=h(f),z=r(f,"TR",{});var Ro=d(z);Vt=r(Ro,"TD",{});var Ia=d(Vt);Xt=r(Ia,"CODE",{});var qa=d(Xt);vd=l(qa,"HH"),qa.forEach(e),Ia.forEach(e),Dd=h(Ro),Zt=r(Ro,"TD",{});var zo=d(Zt);Td=l(zo,"hour, 2 digits with leading zeros - 12-hour format"),zo.forEach(e),ud=h(Ro),te=r(Ro,"TD",{});var $a=d(te);md=l($a,"01 - 12"),$a.forEach(e),Ro.forEach(e),gd=h(f),x=r(f,"TR",{});var xo=d(x);ee=r(xo,"TD",{});var Ka=d(ee);oe=r(Ka,"CODE",{});var Qa=d(oe);pd=l(Qa,"i"),Qa.forEach(e),Ka.forEach(e),yd=h(xo),re=r(xo,"TD",{});var Mo=d(re);wd=l(Mo,"minutes, 2 digits with leading zeros"),Mo.forEach(e),Od=h(xo),de=r(xo,"TD",{});var Va=d(de);Cd=l(Va,"00 - 59"),Va.forEach(e),xo.forEach(e),Rd=h(f),M=r(f,"TR",{});var Ao=d(M);ae=r(Ao,"TD",{});var Xa=d(ae);le=r(Xa,"CODE",{});var Za=d(le);zd=l(Za,"ii"),Za.forEach(e),Xa.forEach(e),xd=h(Ao),I=r(Ao,"TD",{});var Te=d(I);Md=l(Te,"alias for "),Oe=r(Te,"CODE",{});var tl=d(Oe);Ce=l(tl,"i"),tl.forEach(e),Te.forEach(e),Ad=h(Ao),Re=r(Ao,"TD",{});var el=d(Re);N=l(el,"00 - 59"),el.forEach(e),Ao.forEach(e),ze=h(f),S=r(f,"TR",{});var So=d(S);xe=r(So,"TD",{});var ol=d(xe);Me=r(ol,"CODE",{});var bo=d(Me);Ae=l(bo,"s"),bo.forEach(e),ol.forEach(e),Sd=h(So),Se=r(So,"TD",{});var rl=d(Se);be=l(rl,"seconds, 2 digits with leading zeros"),rl.forEach(e),bd=h(So),Fe=r(So,"TD",{});var dl=d(Fe);j=l(dl,"00"),dl.forEach(e),So.forEach(e),He=h(f),b=r(f,"TR",{});var ce=d(b);Pe=r(ce,"TD",{});var al=d(Pe);ke=r(al,"CODE",{});var Yd=d(ke);Je=l(Yd,"ss"),Yd.forEach(e),al.forEach(e),Fd=h(ce),ie=r(ce,"TD",{});var Kd=d(ie);Ne=l(Kd,"alias for "),je=r(Kd,"CODE",{});var hl=d(je);Hd=l(hl,"s"),hl.forEach(e),Kd.forEach(e),B=h(ce),ne=r(ce,"TD",{});var sl=d(ne);Be=l(sl,"00"),sl.forEach(e),ce.forEach(e),Pd=h(f),L=r(f,"TR",{});var Qd=d(L);he=r(Qd,"TD",{});var cl=d(he);Le=r(cl,"CODE",{});var fl=d(Le);kd=l(fl,"p"),fl.forEach(e),cl.forEach(e),Ue=h(Qd),We=r(Qd,"TD",{});var il=d(We);Jd=l(il,"meridian in lower case (\u2018am\u2019 or \u2018pm\u2019) - according to locale file (i18n.meridiem)"),il.forEach(e),U=h(Qd),se=r(Qd,"TD",{});var El=d(se);Ye=l(El,"am or pm"),El.forEach(e),Qd.forEach(e),Nd=h(f),W=r(f,"TR",{});var Vd=d(W);Y=r(Vd,"TD",{});var _l=d(Y);Ge=r(_l,"CODE",{});var vl=d(Ge);Ie=l(vl,"P"),vl.forEach(e),_l.forEach(e),jd=h(Vd),qe=r(Vd,"TD",{});var Dl=d(qe);Bd=l(Dl,"meridian in upper case (\u2018AM\u2019 or \u2018PM\u2019) - according to locale file (i18n.meridiem)"),Dl.forEach(e),Fo=h(Vd),Ee=r(Vd,"TD",{});var Tl=d(Ee);q=l(Tl,"AM or PM"),Tl.forEach(e),Vd.forEach(e),Ld=h(f),F=r(f,"TR",{});var Xd=d(F);$e=r(Xd,"TD",{});var ul=d($e);Ke=r(ul,"CODE",{});var ml=d(Ke);H=l(ml,"t"),ml.forEach(e),ul.forEach(e),$=h(Xd),Ho=r(Xd,"TD",{});var gl=d(Ho);_e=l(gl,"timestamp in milliseconds (although milliseconds are always 0)."),gl.forEach(e),Gd=h(Xd),Ud=r(Xd,"TD",{}),d(Ud).forEach(e),Xd.forEach(e),f.forEach(e),P.forEach(e),Wd=h(k),c=r(k,"P",{});var ll=d(c);ve=l(ll,"\u{1F4A1} For timestamp in seconds use "),Po=r(ll,"CODE",{});var pl=d(Po);Id=l(pl,"php"),pl.forEach(e),qd=l(ll," format"),ll.forEach(e)},m(k,P){Zd(k,i,P),t(i,K),t(K,E),t(E,Q),t(Q,ko),t(E,Jo),t(E,V),t(V,No),t(E,jo),t(E,X),t(X,Bo),t(i,Lo),t(i,s),t(s,_),t(_,Z),t(Z,tt),t(tt,Uo),t(_,Wo),t(_,et),t(et,Yo),t(_,Go),t(_,ot),t(ot,Io),t(s,qo),t(s,v),t(v,rt),t(rt,dt),t(dt,$o),t(v,Ko),t(v,at),t(at,Qo),t(v,Vo),t(v,lt),t(lt,Xo),t(s,Zo),t(s,D),t(D,nt),t(nt,ht),t(ht,tr),t(D,er),t(D,st),t(st,or),t(D,rr),t(D,ct),t(ct,dr),t(s,ar),t(s,T),t(T,ft),t(ft,it),t(it,lr),t(T,nr),t(T,Et),t(Et,hr),t(T,sr),t(T,_t),t(_t,cr),t(s,fr),t(s,u),t(u,vt),t(vt,Dt),t(Dt,ir),t(u,Er),t(u,Tt),t(Tt,_r),t(u,vr),t(u,G),t(G,Dr),t(G,ue),t(ue,J),t(s,me),t(s,A),t(A,ge),t(ge,pe),t(pe,ye),t(A,Tr),t(A,we),t(we,fe),t(A,ur),t(A,ut),t(ut,mr),t(s,gr),t(s,m),t(m,mt),t(mt,gt),t(gt,pr),t(m,yr),t(m,pt),t(pt,wr),t(m,Or),t(m,yt),t(yt,Cr),t(s,Rr),t(s,g),t(g,wt),t(wt,Ot),t(Ot,zr),t(g,xr),t(g,Ct),t(Ct,Mr),t(g,Ar),t(g,Rt),t(Rt,Sr),t(s,br),t(s,p),t(p,zt),t(zt,xt),t(xt,Fr),t(p,Hr),t(p,Mt),t(Mt,Pr),t(p,kr),t(p,At),t(At,Jr),t(s,Nr),t(s,y),t(y,St),t(St,bt),t(bt,jr),t(y,Br),t(y,Ft),t(Ft,Lr),t(y,Ur),t(y,Ht),t(Ht,Wr),t(s,Yr),t(s,w),t(w,Pt),t(Pt,kt),t(kt,Gr),t(w,Ir),t(w,Jt),t(Jt,qr),t(w,$r),t(w,Nt),t(Nt,Kr),t(s,Qr),t(s,O),t(O,jt),t(jt,Bt),t(Bt,Vr),t(O,Xr),t(O,Lt),t(Lt,Zr),t(O,td),t(O,Ut),t(Ut,ed),t(s,od),t(s,C),t(C,Wt),t(Wt,Yt),t(Yt,rd),t(C,dd),t(C,Gt),t(Gt,ad),t(C,ld),t(C,It),t(It,nd),t(s,hd),t(s,R),t(R,qt),t(qt,$t),t($t,sd),t(R,cd),t(R,Kt),t(Kt,fd),t(R,id),t(R,Qt),t(Qt,Ed),t(s,_d),t(s,z),t(z,Vt),t(Vt,Xt),t(Xt,vd),t(z,Dd),t(z,Zt),t(Zt,Td),t(z,ud),t(z,te),t(te,md),t(s,gd),t(s,x),t(x,ee),t(ee,oe),t(oe,pd),t(x,yd),t(x,re),t(re,wd),t(x,Od),t(x,de),t(de,Cd),t(s,Rd),t(s,M),t(M,ae),t(ae,le),t(le,zd),t(M,xd),t(M,I),t(I,Md),t(I,Oe),t(Oe,Ce),t(M,Ad),t(M,Re),t(Re,N),t(s,ze),t(s,S),t(S,xe),t(xe,Me),t(Me,Ae),t(S,Sd),t(S,Se),t(Se,be),t(S,bd),t(S,Fe),t(Fe,j),t(s,He),t(s,b),t(b,Pe),t(Pe,ke),t(ke,Je),t(b,Fd),t(b,ie),t(ie,Ne),t(ie,je),t(je,Hd),t(b,B),t(b,ne),t(ne,Be),t(s,Pd),t(s,L),t(L,he),t(he,Le),t(Le,kd),t(L,Ue),t(L,We),t(We,Jd),t(L,U),t(L,se),t(se,Ye),t(s,Nd),t(s,W),t(W,Y),t(Y,Ge),t(Ge,Ie),t(W,jd),t(W,qe),t(qe,Bd),t(W,Fo),t(W,Ee),t(Ee,q),t(s,Ld),t(s,F),t(F,$e),t($e,Ke),t(Ke,H),t(F,$),t(F,Ho),t(Ho,_e),t(F,Gd),t(F,Ud),Zd(k,Wd,P),Zd(k,c,P),t(c,ve),t(c,Po),t(Po,Id),t(c,qd)},p:ta,i:ta,o:ta,d(k){k&&e(i),k&&e(Wd),k&&e(c)}}}class xl extends yl{constructor(i){super(),wl(this,i,null,Cl,Ol,{})}}function Rl(nl){let i,K,E,Q,ko,Jo,V,No,jo,X,Bo,Lo,s,_,Z,tt,Uo,Wo,et,Yo,Go,ot,Io,qo,v,rt,dt,$o,Ko,at,Qo,Vo,lt,Xo,Zo,D,nt,ht,tr,er,st,or,rr,ct,dr,ar,T,ft,it,lr,nr,Et,hr,sr,_t,cr,fr,u,vt,Dt,ir,Er,Tt,_r,vr,G,Dr,ue,J,me,A,ge,pe,ye,Tr,we,fe,ur,ut,mr,gr,m,mt,gt,pr,yr,pt,wr,Or,yt,Cr,Rr,g,wt,Ot,zr,xr,Ct,Mr,Ar,Rt,Sr,br,p,zt,xt,Fr,Hr,Mt,Pr,kr,At,Jr,Nr,y,St,bt,jr,Br,Ft,Lr,Ur,Ht,Wr,Yr,w,Pt,kt,Gr,Ir,Jt,qr,$r,Nt,Kr,Qr,O,jt,Bt,Vr,Xr,Lt,Zr,td,Ut,ed,od,C,Wt,Yt,rd,dd,Gt,ad,ld,It,nd,hd,R,qt,$t,sd,cd,Kt,fd,id,Qt,Ed,_d,z,Vt,Xt,vd,Dd,Zt,Td,ud,te,md,gd,x,ee,oe,pd,yd,re,wd,Od,de,Cd,Rd,M,ae,le,zd,xd,I,Md,Oe,Ce,Ad,Re,N,ze,S,xe,Me,Ae,Sd,Se,be,bd,Fe,j,He,b,Pe,ke,Je,Fd,ie,Ne,je,Hd,B,ne,Be,Pd,L,he,Le,kd,Ue,We,Jd,U,se,Ye,Nd,W,Y,Ge,Ie,jd,qe,Bd,Fo,Ee,q,Ld,F,$e,Ke;return{c(){i=o("table"),K=o("thead"),E=o("tr"),Q=o("th"),ko=a("Format"),Jo=n(),V=o("th"),No=a("Description"),jo=n(),X=o("th"),Bo=a("Example"),Lo=n(),s=o("tbody"),_=o("tr"),Z=o("td"),tt=o("code"),Uo=a("d"),Wo=n(),et=o("td"),Yo=a("Day of the month, 2 digits with leading zeros"),Go=n(),ot=o("td"),Io=a("01 to 31"),qo=n(),v=o("tr"),rt=o("td"),dt=o("code"),$o=a("D"),Ko=n(),at=o("td"),Qo=a("A textual representation of a day, three letters"),Vo=n(),lt=o("td"),Xo=a("Mon through Sun"),Zo=n(),D=o("tr"),nt=o("td"),ht=o("code"),tr=a("j"),er=n(),st=o("td"),or=a("Day of the month without leading zeros"),rr=n(),ct=o("td"),dr=a("1 to 31"),ar=n(),T=o("tr"),ft=o("td"),it=o("code"),lr=a("l"),nr=n(),Et=o("td"),hr=a("A full textual representation of the day of the week"),sr=n(),_t=o("td"),cr=a("Sunday through Saturday"),fr=n(),u=o("tr"),vt=o("td"),Dt=o("code"),ir=a("N"),Er=n(),Tt=o("td"),_r=a("ISO 8601 numeric representation of the day of the week"),vr=n(),G=o("td"),Dr=a("1 (for Monday) through 7 (for Sunday)"),ue=n(),J=o("tr"),me=o("td"),A=o("code"),ge=a("S"),pe=n(),ye=o("td"),Tr=a("English ordinal suffix for the day of the month, 2 characters"),we=n(),fe=o("td"),ur=a("st, nd, rd or th. Works well with "),ut=o("code"),mr=a("j"),gr=n(),m=o("tr"),mt=o("td"),gt=o("code"),pr=a("F"),yr=n(),pt=o("td"),wr=a("A full textual representation of a month, such as January or March"),Or=n(),yt=o("td"),Cr=a("January through December"),Rr=n(),g=o("tr"),wt=o("td"),Ot=o("code"),zr=a("m"),xr=n(),Ct=o("td"),Mr=a("Numeric representation of a month, with leading zeros"),Ar=n(),Rt=o("td"),Sr=a("01 through 12"),br=n(),p=o("tr"),zt=o("td"),xt=o("code"),Fr=a("M"),Hr=n(),Mt=o("td"),Pr=a("A short textual representation of a month, three letters"),kr=n(),At=o("td"),Jr=a("Jan through Dec"),Nr=n(),y=o("tr"),St=o("td"),bt=o("code"),jr=a("n"),Br=n(),Ft=o("td"),Lr=a("Numeric representation of a month, without leading zeros"),Ur=n(),Ht=o("td"),Wr=a("1 through 12"),Yr=n(),w=o("tr"),Pt=o("td"),kt=o("code"),Gr=a("Y"),Ir=n(),Jt=o("td"),qr=a("A full numeric representation of a year, at least 4 digits"),$r=n(),Nt=o("td"),Kr=a("0787, 1999, 2003"),Qr=n(),O=o("tr"),jt=o("td"),Bt=o("code"),Vr=a("y"),Xr=n(),Lt=o("td"),Zr=a("A two digit representation of a year"),td=n(),Ut=o("td"),ed=a("99 or 03"),od=n(),C=o("tr"),Wt=o("td"),Yt=o("code"),rd=a("a"),dd=n(),Gt=o("td"),ad=a("Lowercase Ante meridiem and Post meridiem"),ld=n(),It=o("td"),nd=a("am or pm"),hd=n(),R=o("tr"),qt=o("td"),$t=o("code"),sd=a("A"),cd=n(),Kt=o("td"),fd=a("Uppercase Ante meridiem and Post meridiem"),id=n(),Qt=o("td"),Ed=a("AM or PM"),_d=n(),z=o("tr"),Vt=o("td"),Xt=o("code"),vd=a("g"),Dd=n(),Zt=o("td"),Td=a("12-hour format of an hour without leading zeros"),ud=n(),te=o("td"),md=a("1 through 12"),gd=n(),x=o("tr"),ee=o("td"),oe=o("code"),pd=a("G"),yd=n(),re=o("td"),wd=a("24-hour format of an hour without leading zeros"),Od=n(),de=o("td"),Cd=a("0 through 23"),Rd=n(),M=o("tr"),ae=o("td"),le=o("code"),zd=a("h"),xd=n(),I=o("td"),Md=a("12-hour format of an hour with leading zeros"),Oe=n(),Ce=o("td"),Ad=a("01 through 12"),Re=n(),N=o("tr"),ze=o("td"),S=o("code"),xe=a("H"),Me=n(),Ae=o("td"),Sd=a("24-hour format of an hour with leading zeros"),Se=n(),be=o("td"),bd=a("00 through 23"),Fe=n(),j=o("tr"),He=o("td"),b=o("code"),Pe=a("i"),ke=n(),Je=o("td"),Fd=a("Minutes with leading zeros"),ie=n(),Ne=o("td"),je=a("00 to 59"),Hd=n(),B=o("tr"),ne=o("td"),Be=o("code"),Pd=a("s"),L=n(),he=o("td"),Le=a("Seconds with leading zeros"),kd=n(),Ue=o("td"),We=a("00"),Jd=n(),U=o("tr"),se=o("td"),Ye=o("code"),Nd=a("U"),W=n(),Y=o("td"),Ge=a("timestamp in seconds. For timestamp with miliseconds use "),Ie=o("code"),jd=a("standard"),qe=a(" format"),Bd=n(),Fo=o("td"),Ee=n(),q=o("p"),Ld=a("\u{1F4A1} For timestamp with miliseconds use "),F=o("code"),$e=a("standard"),Ke=a(" format")},l(H){i=r(H,"TABLE",{});var $=d(i);K=r($,"THEAD",{});var Ho=d(K);E=r(Ho,"TR",{});var _e=d(E);Q=r(_e,"TH",{});var Gd=d(Q);ko=l(Gd,"Format"),Gd.forEach(e),Jo=h(_e),V=r(_e,"TH",{});var Ud=d(V);No=l(Ud,"Description"),Ud.forEach(e),jo=h(_e),X=r(_e,"TH",{});var Wd=d(X);Bo=l(Wd,"Example"),Wd.forEach(e),_e.forEach(e),Ho.forEach(e),Lo=h($),s=r($,"TBODY",{});var c=d(s);_=r(c,"TR",{});var ve=d(_);Z=r(ve,"TD",{});var Po=d(Z);tt=r(Po,"CODE",{});var Id=d(tt);Uo=l(Id,"d"),Id.forEach(e),Po.forEach(e),Wo=h(ve),et=r(ve,"TD",{});var qd=d(et);Yo=l(qd,"Day of the month, 2 digits with leading zeros"),qd.forEach(e),Go=h(ve),ot=r(ve,"TD",{});var k=d(ot);Io=l(k,"01 to 31"),k.forEach(e),ve.forEach(e),qo=h(c),v=r(c,"TR",{});var P=d(v);rt=r(P,"TD",{});var ea=d(rt);dt=r(ea,"CODE",{});var Qe=d(dt);$o=l(Qe,"D"),Qe.forEach(e),ea.forEach(e),Ko=h(P),at=r(P,"TD",{});var oa=d(at);Qo=l(oa,"A textual representation of a day, three letters"),oa.forEach(e),Vo=h(P),lt=r(P,"TD",{});var ra=d(lt);Xo=l(ra,"Mon through Sun"),ra.forEach(e),P.forEach(e),Zo=h(c),D=r(c,"TR",{});var Ve=d(D);nt=r(Ve,"TD",{});var f=d(nt);ht=r(f,"CODE",{});var Xe=d(ht);tr=l(Xe,"j"),Xe.forEach(e),f.forEach(e),er=h(Ve),st=r(Ve,"TD",{});var da=d(st);or=l(da,"Day of the month without leading zeros"),da.forEach(e),rr=h(Ve),ct=r(Ve,"TD",{});var aa=d(ct);dr=l(aa,"1 to 31"),aa.forEach(e),Ve.forEach(e),ar=h(c),T=r(c,"TR",{});var Ze=d(T);ft=r(Ze,"TD",{});var la=d(ft);it=r(la,"CODE",{});var to=d(it);lr=l(to,"l"),to.forEach(e),la.forEach(e),nr=h(Ze),Et=r(Ze,"TD",{});var na=d(Et);hr=l(na,"A full textual representation of the day of the week"),na.forEach(e),sr=h(Ze),_t=r(Ze,"TD",{});var ha=d(_t);cr=l(ha,"Sunday through Saturday"),ha.forEach(e),Ze.forEach(e),fr=h(c),u=r(c,"TR",{});var eo=d(u);vt=r(eo,"TD",{});var sa=d(vt);Dt=r(sa,"CODE",{});var oo=d(Dt);ir=l(oo,"N"),oo.forEach(e),sa.forEach(e),Er=h(eo),Tt=r(eo,"TD",{});var ca=d(Tt);_r=l(ca,"ISO 8601 numeric representation of the day of the week"),ca.forEach(e),vr=h(eo),G=r(eo,"TD",{});var fa=d(G);Dr=l(fa,"1 (for Monday) through 7 (for Sunday)"),fa.forEach(e),eo.forEach(e),ue=h(c),J=r(c,"TR",{});var ro=d(J);me=r(ro,"TD",{});var ia=d(me);A=r(ia,"CODE",{});var ao=d(A);ge=l(ao,"S"),ao.forEach(e),ia.forEach(e),pe=h(ro),ye=r(ro,"TD",{});var Ea=d(ye);Tr=l(Ea,"English ordinal suffix for the day of the month, 2 characters"),Ea.forEach(e),we=h(ro),fe=r(ro,"TD",{});var $d=d(fe);ur=l($d,"st, nd, rd or th. Works well with "),ut=r($d,"CODE",{});var _a=d(ut);mr=l(_a,"j"),_a.forEach(e),$d.forEach(e),ro.forEach(e),gr=h(c),m=r(c,"TR",{});var lo=d(m);mt=r(lo,"TD",{});var no=d(mt);gt=r(no,"CODE",{});var va=d(gt);pr=l(va,"F"),va.forEach(e),no.forEach(e),yr=h(lo),pt=r(lo,"TD",{});var Da=d(pt);wr=l(Da,"A full textual representation of a month, such as January or March"),Da.forEach(e),Or=h(lo),yt=r(lo,"TD",{});var Ta=d(yt);Cr=l(Ta,"January through December"),Ta.forEach(e),lo.forEach(e),Rr=h(c),g=r(c,"TR",{});var De=d(g);wt=r(De,"TD",{});var ua=d(wt);Ot=r(ua,"CODE",{});var ho=d(Ot);zr=l(ho,"m"),ho.forEach(e),ua.forEach(e),xr=h(De),Ct=r(De,"TD",{});var ma=d(Ct);Mr=l(ma,"Numeric representation of a month, with leading zeros"),ma.forEach(e),Ar=h(De),Rt=r(De,"TD",{});var ga=d(Rt);Sr=l(ga,"01 through 12"),ga.forEach(e),De.forEach(e),br=h(c),p=r(c,"TR",{});var so=d(p);zt=r(so,"TD",{});var pa=d(zt);xt=r(pa,"CODE",{});var co=d(xt);Fr=l(co,"M"),co.forEach(e),pa.forEach(e),Hr=h(so),Mt=r(so,"TD",{});var ya=d(Mt);Pr=l(ya,"A short textual representation of a month, three letters"),ya.forEach(e),kr=h(so),At=r(so,"TD",{});var wa=d(At);Jr=l(wa,"Jan through Dec"),wa.forEach(e),so.forEach(e),Nr=h(c),y=r(c,"TR",{});var fo=d(y);St=r(fo,"TD",{});var Oa=d(St);bt=r(Oa,"CODE",{});var io=d(bt);jr=l(io,"n"),io.forEach(e),Oa.forEach(e),Br=h(fo),Ft=r(fo,"TD",{});var Ca=d(Ft);Lr=l(Ca,"Numeric representation of a month, without leading zeros"),Ca.forEach(e),Ur=h(fo),Ht=r(fo,"TD",{});var Ra=d(Ht);Wr=l(Ra,"1 through 12"),Ra.forEach(e),fo.forEach(e),Yr=h(c),w=r(c,"TR",{});var Eo=d(w);Pt=r(Eo,"TD",{});var za=d(Pt);kt=r(za,"CODE",{});var _o=d(kt);Gr=l(_o,"Y"),_o.forEach(e),za.forEach(e),Ir=h(Eo),Jt=r(Eo,"TD",{});var xa=d(Jt);qr=l(xa,"A full numeric representation of a year, at least 4 digits"),xa.forEach(e),$r=h(Eo),Nt=r(Eo,"TD",{});var Ma=d(Nt);Kr=l(Ma,"0787, 1999, 2003"),Ma.forEach(e),Eo.forEach(e),Qr=h(c),O=r(c,"TR",{});var vo=d(O);jt=r(vo,"TD",{});var Aa=d(jt);Bt=r(Aa,"CODE",{});var Do=d(Bt);Vr=l(Do,"y"),Do.forEach(e),Aa.forEach(e),Xr=h(vo),Lt=r(vo,"TD",{});var Sa=d(Lt);Zr=l(Sa,"A two digit representation of a year"),Sa.forEach(e),td=h(vo),Ut=r(vo,"TD",{});var ba=d(Ut);ed=l(ba,"99 or 03"),ba.forEach(e),vo.forEach(e),od=h(c),C=r(c,"TR",{});var To=d(C);Wt=r(To,"TD",{});var Fa=d(Wt);Yt=r(Fa,"CODE",{});var uo=d(Yt);rd=l(uo,"a"),uo.forEach(e),Fa.forEach(e),dd=h(To),Gt=r(To,"TD",{});var Ha=d(Gt);ad=l(Ha,"Lowercase Ante meridiem and Post meridiem"),Ha.forEach(e),ld=h(To),It=r(To,"TD",{});var Pa=d(It);nd=l(Pa,"am or pm"),Pa.forEach(e),To.forEach(e),hd=h(c),R=r(c,"TR",{});var mo=d(R);qt=r(mo,"TD",{});var ka=d(qt);$t=r(ka,"CODE",{});var go=d($t);sd=l(go,"A"),go.forEach(e),ka.forEach(e),cd=h(mo),Kt=r(mo,"TD",{});var Ja=d(Kt);fd=l(Ja,"Uppercase Ante meridiem and Post meridiem"),Ja.forEach(e),id=h(mo),Qt=r(mo,"TD",{});var Na=d(Qt);Ed=l(Na,"AM or PM"),Na.forEach(e),mo.forEach(e),_d=h(c),z=r(c,"TR",{});var po=d(z);Vt=r(po,"TD",{});var ja=d(Vt);Xt=r(ja,"CODE",{});var yo=d(Xt);vd=l(yo,"g"),yo.forEach(e),ja.forEach(e),Dd=h(po),Zt=r(po,"TD",{});var Ba=d(Zt);Td=l(Ba,"12-hour format of an hour without leading zeros"),Ba.forEach(e),ud=h(po),te=r(po,"TD",{});var La=d(te);md=l(La,"1 through 12"),La.forEach(e),po.forEach(e),gd=h(c),x=r(c,"TR",{});var wo=d(x);ee=r(wo,"TD",{});var Ua=d(ee);oe=r(Ua,"CODE",{});var Oo=d(oe);pd=l(Oo,"G"),Oo.forEach(e),Ua.forEach(e),yd=h(wo),re=r(wo,"TD",{});var Wa=d(re);wd=l(Wa,"24-hour format of an hour without leading zeros"),Wa.forEach(e),Od=h(wo),de=r(wo,"TD",{});var Ya=d(de);Cd=l(Ya,"0 through 23"),Ya.forEach(e),wo.forEach(e),Rd=h(c),M=r(c,"TR",{});var Co=d(M);ae=r(Co,"TD",{});var Ga=d(ae);le=r(Ga,"CODE",{});var Ro=d(le);zd=l(Ro,"h"),Ro.forEach(e),Ga.forEach(e),xd=h(Co),I=r(Co,"TD",{});var Ia=d(I);Md=l(Ia,"12-hour format of an hour with leading zeros"),Ia.forEach(e),Oe=h(Co),Ce=r(Co,"TD",{});var qa=d(Ce);Ad=l(qa,"01 through 12"),qa.forEach(e),Co.forEach(e),Re=h(c),N=r(c,"TR",{});var zo=d(N);ze=r(zo,"TD",{});var $a=d(ze);S=r($a,"CODE",{});var xo=d(S);xe=l(xo,"H"),xo.forEach(e),$a.forEach(e),Me=h(zo),Ae=r(zo,"TD",{});var Ka=d(Ae);Sd=l(Ka,"24-hour format of an hour with leading zeros"),Ka.forEach(e),Se=h(zo),be=r(zo,"TD",{});var Qa=d(be);bd=l(Qa,"00 through 23"),Qa.forEach(e),zo.forEach(e),Fe=h(c),j=r(c,"TR",{});var Mo=d(j);He=r(Mo,"TD",{});var Va=d(He);b=r(Va,"CODE",{});var Ao=d(b);Pe=l(Ao,"i"),Ao.forEach(e),Va.forEach(e),ke=h(Mo),Je=r(Mo,"TD",{});var Xa=d(Je);Fd=l(Xa,"Minutes with leading zeros"),Xa.forEach(e),ie=h(Mo),Ne=r(Mo,"TD",{});var Za=d(Ne);je=l(Za,"00 to 59"),Za.forEach(e),Mo.forEach(e),Hd=h(c),B=r(c,"TR",{});var Te=d(B);ne=r(Te,"TD",{});var tl=d(ne);Be=r(tl,"CODE",{});var el=d(Be);Pd=l(el,"s"),el.forEach(e),tl.forEach(e),L=h(Te),he=r(Te,"TD",{});var So=d(he);Le=l(So,"Seconds with leading zeros"),So.forEach(e),kd=h(Te),Ue=r(Te,"TD",{});var ol=d(Ue);We=l(ol,"00"),ol.forEach(e),Te.forEach(e),Jd=h(c),U=r(c,"TR",{});var bo=d(U);se=r(bo,"TD",{});var rl=d(se);Ye=r(rl,"CODE",{});var dl=d(Ye);Nd=l(dl,"U"),dl.forEach(e),rl.forEach(e),W=h(bo),Y=r(bo,"TD",{});var ce=d(Y);Ge=l(ce,"timestamp in seconds. For timestamp with miliseconds use "),Ie=r(ce,"CODE",{});var al=d(Ie);jd=l(al,"standard"),al.forEach(e),qe=l(ce," format"),ce.forEach(e),Bd=h(bo),Fo=r(bo,"TD",{}),d(Fo).forEach(e),bo.forEach(e),c.forEach(e),$.forEach(e),Ee=h(H),q=r(H,"P",{});var Yd=d(q);Ld=l(Yd,"\u{1F4A1} For timestamp with miliseconds use "),F=r(Yd,"CODE",{});var Kd=d(F);$e=l(Kd,"standard"),Kd.forEach(e),Ke=l(Yd," format"),Yd.forEach(e)},m(H,$){Zd(H,i,$),t(i,K),t(K,E),t(E,Q),t(Q,ko),t(E,Jo),t(E,V),t(V,No),t(E,jo),t(E,X),t(X,Bo),t(i,Lo),t(i,s),t(s,_),t(_,Z),t(Z,tt),t(tt,Uo),t(_,Wo),t(_,et),t(et,Yo),t(_,Go),t(_,ot),t(ot,Io),t(s,qo),t(s,v),t(v,rt),t(rt,dt),t(dt,$o),t(v,Ko),t(v,at),t(at,Qo),t(v,Vo),t(v,lt),t(lt,Xo),t(s,Zo),t(s,D),t(D,nt),t(nt,ht),t(ht,tr),t(D,er),t(D,st),t(st,or),t(D,rr),t(D,ct),t(ct,dr),t(s,ar),t(s,T),t(T,ft),t(ft,it),t(it,lr),t(T,nr),t(T,Et),t(Et,hr),t(T,sr),t(T,_t),t(_t,cr),t(s,fr),t(s,u),t(u,vt),t(vt,Dt),t(Dt,ir),t(u,Er),t(u,Tt),t(Tt,_r),t(u,vr),t(u,G),t(G,Dr),t(s,ue),t(s,J),t(J,me),t(me,A),t(A,ge),t(J,pe),t(J,ye),t(ye,Tr),t(J,we),t(J,fe),t(fe,ur),t(fe,ut),t(ut,mr),t(s,gr),t(s,m),t(m,mt),t(mt,gt),t(gt,pr),t(m,yr),t(m,pt),t(pt,wr),t(m,Or),t(m,yt),t(yt,Cr),t(s,Rr),t(s,g),t(g,wt),t(wt,Ot),t(Ot,zr),t(g,xr),t(g,Ct),t(Ct,Mr),t(g,Ar),t(g,Rt),t(Rt,Sr),t(s,br),t(s,p),t(p,zt),t(zt,xt),t(xt,Fr),t(p,Hr),t(p,Mt),t(Mt,Pr),t(p,kr),t(p,At),t(At,Jr),t(s,Nr),t(s,y),t(y,St),t(St,bt),t(bt,jr),t(y,Br),t(y,Ft),t(Ft,Lr),t(y,Ur),t(y,Ht),t(Ht,Wr),t(s,Yr),t(s,w),t(w,Pt),t(Pt,kt),t(kt,Gr),t(w,Ir),t(w,Jt),t(Jt,qr),t(w,$r),t(w,Nt),t(Nt,Kr),t(s,Qr),t(s,O),t(O,jt),t(jt,Bt),t(Bt,Vr),t(O,Xr),t(O,Lt),t(Lt,Zr),t(O,td),t(O,Ut),t(Ut,ed),t(s,od),t(s,C),t(C,Wt),t(Wt,Yt),t(Yt,rd),t(C,dd),t(C,Gt),t(Gt,ad),t(C,ld),t(C,It),t(It,nd),t(s,hd),t(s,R),t(R,qt),t(qt,$t),t($t,sd),t(R,cd),t(R,Kt),t(Kt,fd),t(R,id),t(R,Qt),t(Qt,Ed),t(s,_d),t(s,z),t(z,Vt),t(Vt,Xt),t(Xt,vd),t(z,Dd),t(z,Zt),t(Zt,Td),t(z,ud),t(z,te),t(te,md),t(s,gd),t(s,x),t(x,ee),t(ee,oe),t(oe,pd),t(x,yd),t(x,re),t(re,wd),t(x,Od),t(x,de),t(de,Cd),t(s,Rd),t(s,M),t(M,ae),t(ae,le),t(le,zd),t(M,xd),t(M,I),t(I,Md),t(M,Oe),t(M,Ce),t(Ce,Ad),t(s,Re),t(s,N),t(N,ze),t(ze,S),t(S,xe),t(N,Me),t(N,Ae),t(Ae,Sd),t(N,Se),t(N,be),t(be,bd),t(s,Fe),t(s,j),t(j,He),t(He,b),t(b,Pe),t(j,ke),t(j,Je),t(Je,Fd),t(j,ie),t(j,Ne),t(Ne,je),t(s,Hd),t(s,B),t(B,ne),t(ne,Be),t(Be,Pd),t(B,L),t(B,he),t(he,Le),t(B,kd),t(B,Ue),t(Ue,We),t(s,Jd),t(s,U),t(U,se),t(se,Ye),t(Ye,Nd),t(U,W),t(U,Y),t(Y,Ge),t(Y,Ie),t(Ie,jd),t(Y,qe),t(U,Bd),t(U,Fo),Zd(H,Ee,$),Zd(H,q,$),t(q,Ld),t(q,F),t(F,$e),t(q,Ke)},p:ta,i:ta,o:ta,d(H){H&&e(i),H&&e(Ee),H&&e(q)}}}class Ml extends yl{constructor(i){super(),wl(this,i,null,Rl,Ol,{})}}export{Ml as F,xl as a}; diff --git a/docs/_app/immutable/chunks/index-0a3ccbdb.js b/docs/_app/immutable/chunks/index-0382ca5d.js similarity index 85% rename from docs/_app/immutable/chunks/index-0a3ccbdb.js rename to docs/_app/immutable/chunks/index-0382ca5d.js index 029eb34..4a9e3c0 100644 --- a/docs/_app/immutable/chunks/index-0a3ccbdb.js +++ b/docs/_app/immutable/chunks/index-0382ca5d.js @@ -1 +1 @@ -import{E as f,s as l}from"./index-28983a80.js";const e=[];function h(n,u=f){let o;const i=new Set;function r(t){if(l(n,t)&&(n=t,o)){const c=!e.length;for(const s of i)s[1](),e.push(s,n);if(c){for(let s=0;s{i.delete(s),i.size===0&&(o(),o=null)}}return{set:r,update:b,subscribe:p}}export{h as w}; +import{F as f,s as l}from"./index-bfee2186.js";const e=[];function h(n,u=f){let o;const i=new Set;function r(t){if(l(n,t)&&(n=t,o)){const c=!e.length;for(const s of i)s[1](),e.push(s,n);if(c){for(let s=0;s{i.delete(s),i.size===0&&(o(),o=null)}}return{set:r,update:b,subscribe:p}}export{h as w}; diff --git a/docs/_app/immutable/chunks/index-28983a80.js b/docs/_app/immutable/chunks/index-28983a80.js deleted file mode 100644 index cd5d077..0000000 --- a/docs/_app/immutable/chunks/index-28983a80.js +++ /dev/null @@ -1,4 +0,0 @@ -function k(){}const V=t=>t;function gt(t,e){for(const n in e)t[n]=e[n];return t}function rt(t){return t()}function it(){return Object.create(null)}function S(t){t.forEach(rt)}function R(t){return typeof t=="function"}function It(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let L;function Ht(t,e){return L||(L=document.createElement("a")),L.href=e,t===L.href}function bt(t){return Object.keys(t).length===0}function $t(t,...e){if(t==null)return k;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Wt(t,e,n){t.$$.on_destroy.push($t(e,n))}function Gt(t,e,n,i){if(t){const r=ct(t,e,n,i);return t[0](r)}}function ct(t,e,n,i){return t[1]&&i?gt(n.ctx.slice(),t[1](i(e))):n.ctx}function Jt(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const o=[],s=Math.max(e.dirty.length,r.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),Y=ot?t=>requestAnimationFrame(t):k;const N=new Set;function lt(t){N.forEach(e=>{e.c(t)||(N.delete(e),e.f())}),N.size!==0&&Y(lt)}function Z(t){let e;return N.size===0&&Y(lt),{promise:new Promise(n=>{N.add(e={c:t,f:n})}),abort(){N.delete(e)}}}let G=!1;function xt(){G=!0}function wt(){G=!1}function vt(t,e,n,i){for(;t>1);n(r)<=i?t=r+1:e=r}return t}function kt(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let a=0;a0&&e[n[r]].claim_order<=a?r+1:vt(1,r,u=>e[n[u]].claim_order,a))-1;i[c]=n[_]+1;const f=_+1;n[f]=c,r=Math.max(f,r)}const o=[],s=[];let l=e.length-1;for(let c=n[r]+1;c!=0;c=i[c-1]){for(o.push(e[c-1]);l>=c;l--)s.push(e[l]);l--}for(;l>=0;l--)s.push(e[l]);o.reverse(),s.sort((c,a)=>c.claim_order-a.claim_order);for(let c=0,a=0;c=o[a].claim_order;)a++;const _=at.removeEventListener(e,n,i)}function se(t){return function(e){return e.preventDefault(),t.call(this,e)}}function re(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function ce(t){return t===""?null:+t}function Mt(t){return Array.from(t.childNodes)}function Dt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function ft(t,e,n,i,r=!1){Dt(t);const o=(()=>{for(let s=t.claim_info.last_index;s=0;s--){const l=t[s];if(e(l)){const c=n(l);return c===void 0?t.splice(s,1):t[s]=c,r?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,l}}return i()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function _t(t,e,n,i){return ft(t,r=>r.nodeName===e,r=>{const o=[];for(let s=0;sr.removeAttribute(s))},()=>i(e))}function oe(t,e,n){return _t(t,e,n,ut)}function le(t,e,n){return _t(t,e,n,At)}function Pt(t,e){return ft(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>tt(e),!0)}function ae(t){return Pt(t," ")}function ue(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function fe(t,e){t.value=e==null?"":e}function _e(t,e,n,i){n===null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function de(t,e){for(let n=0;n>>0}function qt(t,e){const n={stylesheet:St(e),rules:{}};return F.set(t,n),n}function H(t,e,n,i,r,o,s,l=0){const c=16.666/i;let a=`{ -`;for(let m=0;m<=1;m+=c){const g=e+(n-e)*o(m);a+=m*100+`%{${s(g,1-g)}} -`}const _=a+`100% {${s(n,1-n)}} -}`,f=`__svelte_${Rt(_)}_${l}`,u=at(t),{stylesheet:d,rules:h}=F.get(u)||qt(u,t);h[f]||(h[f]=!0,d.insertRule(`@keyframes ${f} ${_}`,d.cssRules.length));const y=t.style.animation||"";return t.style.animation=`${y?`${y}, `:""}${f} ${i}ms linear ${r}ms 1 both`,I+=1,f}function W(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),r=n.length-i.length;r&&(t.style.animation=i.join(", "),I-=r,I||Ot())}function Ot(){Y(()=>{I||(F.forEach(t=>{const{stylesheet:e}=t;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.rules={}}),F.clear())})}let P;function D(t){P=t}function j(){if(!P)throw new Error("Function called outside component initialization");return P}function pe(t){j().$$.on_mount.push(t)}function ye(t){j().$$.after_update.push(t)}function ge(t){j().$$.on_destroy.push(t)}function be(){const t=j();return(e,n,{cancelable:i=!1}={})=>{const r=t.$$.callbacks[e];if(r){const o=dt(e,n,{cancelable:i});return r.slice().forEach(s=>{s.call(t,o)}),!o.defaultPrevented}return!0}}function $e(t,e){return j().$$.context.set(t,e),e}function xe(t){return j().$$.context.get(t)}function we(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const M=[],st=[],z=[],Q=[],ht=Promise.resolve();let U=!1;function mt(){U||(U=!0,ht.then(pt))}function ve(){return mt(),ht}function C(t){z.push(t)}function ke(t){Q.push(t)}const K=new Set;let T=0;function pt(){const t=P;do{for(;T{A=null})),A}function E(t,e,n){t.dispatchEvent(dt(`${e?"intro":"outro"}${n}`))}const B=new Set;let v;function Ee(){v={r:0,c:[],p:v}}function Se(){v.r||S(v.c),v=v.p}function yt(t,e){t&&t.i&&(B.delete(t),t.i(e))}function Tt(t,e,n,i){if(t&&t.o){if(B.has(t))return;B.add(t),v.c.push(()=>{B.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const nt={duration:0};function Ne(t,e,n){let i=e(t,n),r=!1,o,s,l=0;function c(){o&&W(t,o)}function a(){const{delay:f=0,duration:u=300,easing:d=V,tick:h=k,css:y}=i||nt;y&&(o=H(t,0,1,u,f,d,y,l++)),h(0,1);const m=X()+f,g=m+u;s&&s.abort(),r=!0,C(()=>E(t,!0,"start")),s=Z(b=>{if(r){if(b>=g)return h(1,0),E(t,!0,"end"),c(),r=!1;if(b>=m){const $=d((b-m)/u);h($,1-$)}}return r})}let _=!1;return{start(){_||(_=!0,W(t),R(i)?(i=i(),et().then(a)):a())},invalidate(){_=!1},end(){r&&(c(),r=!1)}}}function Ce(t,e,n){let i=e(t,n),r=!0,o;const s=v;s.r+=1;function l(){const{delay:c=0,duration:a=300,easing:_=V,tick:f=k,css:u}=i||nt;u&&(o=H(t,1,0,a,c,_,u));const d=X()+c,h=d+a;C(()=>E(t,!1,"start")),Z(y=>{if(r){if(y>=h)return f(0,1),E(t,!1,"end"),--s.r||S(s.c),!1;if(y>=d){const m=_((y-d)/a);f(1-m,m)}}return r})}return R(i)?et().then(()=>{i=i(),l()}):l(),{end(c){c&&i.tick&&i.tick(1,0),r&&(o&&W(t,o),r=!1)}}}function je(t,e,n,i){let r=e(t,n),o=i?0:1,s=null,l=null,c=null;function a(){c&&W(t,c)}function _(u,d){const h=u.b-o;return d*=Math.abs(h),{a:o,b:u.b,d:h,duration:d,start:u.start,end:u.start+d,group:u.group}}function f(u){const{delay:d=0,duration:h=300,easing:y=V,tick:m=k,css:g}=r||nt,b={start:X()+d,b:u};u||(b.group=v,v.r+=1),s||l?l=b:(g&&(a(),c=H(t,o,u,h,d,y,g)),u&&m(0,1),s=_(b,h),C(()=>E(t,u,"start")),Z($=>{if(l&&$>l.start&&(s=_(l,h),l=null,E(t,s.b,"start"),g&&(a(),c=H(t,o,s.b,s.duration,0,y,r.css))),s){if($>=s.end)m(o=s.b,1-o),E(t,s.b,"end"),l||(s.b?a():--s.group.r||S(s.group.c)),s=null;else if($>=s.start){const q=$-s.start;o=s.a+s.d*y(q/s.duration),m(o,1-o)}}return!!(s||l)}))}return{run(u){R(r)?et().then(()=>{r=r(),f(u)}):f(u)},end(){a(),s=l=null}}}function Ae(t,e){t.d(1),e.delete(t.key)}function Me(t,e){Tt(t,1,1,()=>{e.delete(t.key)})}function De(t,e,n,i,r,o,s,l,c,a,_,f){let u=t.length,d=o.length,h=u;const y={};for(;h--;)y[t[h].key]=h;const m=[],g=new Map,b=new Map;for(h=d;h--;){const p=f(r,o,h),x=n(p);let w=s.get(x);w?i&&w.p(p,e):(w=a(x,p),w.c()),g.set(x,m[h]=w),x in y&&b.set(x,Math.abs(h-y[x]))}const $=new Set,q=new Set;function J(p){yt(p,1),p.m(l,_),s.set(p.key,p),_=p.first,d--}for(;u&&d;){const p=m[d-1],x=t[u-1],w=p.key,O=x.key;p===x?(_=p.first,u--,d--):g.has(O)?!s.has(w)||$.has(w)?J(p):q.has(O)?u--:b.get(w)>b.get(O)?(q.add(w),J(p)):($.add(O),u--):(c(x,s),u--)}for(;u--;){const p=t[u];g.has(p.key)||c(p,s)}for(;d;)J(m[d-1]);return m}function Pe(t,e){const n={},i={},r={$$scope:1};let o=t.length;for(;o--;){const s=t[o],l=e[o];if(l){for(const c in s)c in l||(i[c]=1);for(const c in l)r[c]||(n[c]=l[c],r[c]=1);t[o]=l}else for(const c in s)r[c]=1}for(const s in i)s in n||(n[s]=void 0);return n}function Re(t){return typeof t=="object"&&t!==null?t:{}}function qe(t,e,n){const i=t.$$.props[e];i!==void 0&&(t.$$.bound[i]=n,n(t.$$.ctx[i]))}function Oe(t){t&&t.c()}function Le(t,e){t&&t.l(e)}function zt(t,e,n,i){const{fragment:r,on_mount:o,on_destroy:s,after_update:l}=t.$$;r&&r.m(e,n),i||C(()=>{const c=o.map(rt).filter(R);s?s.push(...c):S(c),t.$$.on_mount=[]}),l.forEach(C)}function Bt(t,e){const n=t.$$;n.fragment!==null&&(S(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Ft(t,e){t.$$.dirty[0]===-1&&(M.push(t),mt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const h=d.length?d[0]:u;return a.ctx&&r(a.ctx[f],a.ctx[f]=h)&&(!a.skip_bound&&a.bound[f]&&a.bound[f](h),_&&Ft(t,f)),u}):[],a.update(),_=!0,S(a.before_update),a.fragment=i?i(a.ctx):!1,e.target){if(e.hydrate){xt();const f=Mt(e.target);a.fragment&&a.fragment.l(f),f.forEach(jt)}else a.fragment&&a.fragment.c();e.intro&&yt(t.$$.fragment),zt(t,e.target,e.anchor,e.customElement),wt(),pt()}D(c)}class ze{$destroy(){Bt(this,1),this.$destroy=k}$on(e,n){const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!bt(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{Ne as $,Re as A,Bt as B,gt as C,ve as D,k as E,xe as F,Wt as G,Vt as H,Gt as I,At as J,le as K,Ht as L,me as M,Ct as N,ie as O,Kt as P,Qt as Q,Jt as R,ze as S,Zt as T,S as U,te as V,fe as W,V as X,se as Y,be as Z,C as _,ee as a,Ce as a0,De as a1,Ae as a2,je as a3,Me as a4,st as a5,Ut as a6,Xt as a7,R as a8,we as a9,ge as aa,qe as ab,ke as ac,ce as ad,he as ae,de as af,Yt as b,ae as c,Se as d,ne as e,yt as f,Ee as g,jt as h,Te as i,$e as j,ye as k,ut as l,oe as m,Mt as n,pe as o,re as p,_e as q,tt as r,It as s,Tt as t,Pt as u,ue as v,Oe as w,Le as x,zt as y,Pe as z}; diff --git a/docs/_app/immutable/chunks/index-bfee2186.js b/docs/_app/immutable/chunks/index-bfee2186.js new file mode 100644 index 0000000..a2e14db --- /dev/null +++ b/docs/_app/immutable/chunks/index-bfee2186.js @@ -0,0 +1,4 @@ +function E(){}const V=t=>t;function $t(t,e){for(const n in e)t[n]=e[n];return t}function st(t){return t()}function it(){return Object.create(null)}function S(t){t.forEach(st)}function D(t){return typeof t=="function"}function It(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let z;function Ht(t,e){return z||(z=document.createElement("a")),z.href=e,t===z.href}function bt(t){return Object.keys(t).length===0}function xt(t,...e){if(t==null)return E;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Wt(t,e,n){t.$$.on_destroy.push(xt(e,n))}function Gt(t,e,n,i){if(t){const r=ot(t,e,n,i);return t[0](r)}}function ot(t,e,n,i){return t[1]&&i?$t(n.ctx.slice(),t[1](i(e))):n.ctx}function Jt(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const a=[],s=Math.max(e.dirty.length,r.length);for(let o=0;o32){const e=[],n=t.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),Y=ct?t=>requestAnimationFrame(t):E;const A=new Set;function at(t){A.forEach(e=>{e.c(t)||(A.delete(e),e.f())}),A.size!==0&&Y(at)}function Z(t){let e;return A.size===0&&Y(at),{promise:new Promise(n=>{A.add(e={c:t,f:n})}),abort(){A.delete(e)}}}let J=!1;function wt(){J=!0}function vt(){J=!1}function kt(t,e,n,i){for(;t>1);n(r)<=i?t=r+1:e=r}return t}function Et(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let l=0;l0&&e[n[r]].claim_order<=l?r+1:kt(1,r,h=>e[n[h]].claim_order,l))-1;i[c]=n[f]+1;const _=f+1;n[_]=c,r=Math.max(_,r)}const a=[],s=[];let o=e.length-1;for(let c=n[r]+1;c!=0;c=i[c-1]){for(a.push(e[c-1]);o>=c;o--)s.push(e[o]);o--}for(;o>=0;o--)s.push(e[o]);a.reverse(),s.sort((c,l)=>c.claim_order-l.claim_order);for(let c=0,l=0;c=a[l].claim_order;)l++;const f=lt.removeEventListener(e,n,i)}function re(t){return function(e){return e.preventDefault(),t.call(this,e)}}function se(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function oe(t){return t===""?null:+t}function Mt(t){return Array.from(t.childNodes)}function Dt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function _t(t,e,n,i,r=!1){Dt(t);const a=(()=>{for(let s=t.claim_info.last_index;s=0;s--){const o=t[s];if(e(o)){const c=n(o);return c===void 0?t.splice(s,1):t[s]=c,r?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,o}}return i()})();return a.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,a}function dt(t,e,n,i){return _t(t,r=>r.nodeName===e,r=>{const a=[];for(let s=0;sr.removeAttribute(s))},()=>i(e))}function ce(t,e,n){return dt(t,e,n,ft)}function ae(t,e,n){return dt(t,e,n,At)}function Pt(t,e){return _t(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>tt(e),!0)}function le(t){return Pt(t," ")}function ue(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function fe(t,e){t.value=e==null?"":e}function _e(t,e,n,i){n===null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function de(t,e){for(let n=0;n>>0}function Ot(t,e){const n={stylesheet:St(e),rules:{}};return I.set(t,n),n}function W(t,e,n,i,r,a,s,o=0){const c=16.666/i;let l=`{ +`;for(let m=0;m<=1;m+=c){const g=e+(n-e)*a(m);l+=m*100+`%{${s(g,1-g)}} +`}const f=l+`100% {${s(n,1-n)}} +}`,_=`__svelte_${qt(f)}_${o}`,h=lt(t),{stylesheet:u,rules:d}=I.get(h)||Ot(h,t);d[_]||(d[_]=!0,u.insertRule(`@keyframes ${_} ${f}`,u.cssRules.length));const p=t.style.animation||"";return t.style.animation=`${p?`${p}, `:""}${_} ${i}ms linear ${r}ms 1 both`,H+=1,_}function G(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?a=>a.indexOf(e)<0:a=>a.indexOf("__svelte")===-1),r=n.length-i.length;r&&(t.style.animation=i.join(", "),H-=r,H||Lt())}function Lt(){Y(()=>{H||(I.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&ut(e)}),I.clear())})}let R;function L(t){R=t}function P(){if(!R)throw new Error("Function called outside component initialization");return R}function ye(t){P().$$.on_mount.push(t)}function ge(t){P().$$.after_update.push(t)}function $e(t){P().$$.on_destroy.push(t)}function be(){const t=P();return(e,n,{cancelable:i=!1}={})=>{const r=t.$$.callbacks[e];if(r){const a=ht(e,n,{cancelable:i});return r.slice().forEach(s=>{s.call(t,a)}),!a.defaultPrevented}return!0}}function xe(t,e){return P().$$.context.set(t,e),e}function we(t){return P().$$.context.get(t)}function ve(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const j=[],rt=[],B=[],Q=[],mt=Promise.resolve();let U=!1;function pt(){U||(U=!0,mt.then(yt))}function ke(){return pt(),mt}function M(t){B.push(t)}function Ee(t){Q.push(t)}const K=new Set;let C=0;function yt(){if(C!==0)return;const t=R;do{try{for(;C{O=null})),O}function N(t,e,n){t.dispatchEvent(ht(`${e?"intro":"outro"}${n}`))}const F=new Set;let v;function Ne(){v={r:0,c:[],p:v}}function Se(){v.r||S(v.c),v=v.p}function gt(t,e){t&&t.i&&(F.delete(t),t.i(e))}function Tt(t,e,n,i){if(t&&t.o){if(F.has(t))return;F.add(t),v.c.push(()=>{F.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const nt={duration:0};function Ce(t,e,n){const i={direction:"in"};let r=e(t,n,i),a=!1,s,o,c=0;function l(){s&&G(t,s)}function f(){const{delay:h=0,duration:u=300,easing:d=V,tick:p=E,css:m}=r||nt;m&&(s=W(t,0,1,u,h,d,m,c++)),p(0,1);const g=X()+h,k=g+u;o&&o.abort(),a=!0,M(()=>N(t,!0,"start")),o=Z($=>{if(a){if($>=k)return p(1,0),N(t,!0,"end"),l(),a=!1;if($>=g){const b=d(($-g)/u);p(b,1-b)}}return a})}let _=!1;return{start(){_||(_=!0,G(t),D(r)?(r=r(i),et().then(f)):f())},invalidate(){_=!1},end(){a&&(l(),a=!1)}}}function je(t,e,n){const i={direction:"out"};let r=e(t,n,i),a=!0,s;const o=v;o.r+=1;function c(){const{delay:l=0,duration:f=300,easing:_=V,tick:h=E,css:u}=r||nt;u&&(s=W(t,1,0,f,l,_,u));const d=X()+l,p=d+f;M(()=>N(t,!1,"start")),Z(m=>{if(a){if(m>=p)return h(0,1),N(t,!1,"end"),--o.r||S(o.c),!1;if(m>=d){const g=_((m-d)/f);h(1-g,g)}}return a})}return D(r)?et().then(()=>{r=r(i),c()}):c(),{end(l){l&&r.tick&&r.tick(1,0),a&&(s&&G(t,s),a=!1)}}}function Ae(t,e,n,i){const r={direction:"both"};let a=e(t,n,r),s=i?0:1,o=null,c=null,l=null;function f(){l&&G(t,l)}function _(u,d){const p=u.b-s;return d*=Math.abs(p),{a:s,b:u.b,d:p,duration:d,start:u.start,end:u.start+d,group:u.group}}function h(u){const{delay:d=0,duration:p=300,easing:m=V,tick:g=E,css:k}=a||nt,$={start:X()+d,b:u};u||($.group=v,v.r+=1),o||c?c=$:(k&&(f(),l=W(t,s,u,p,d,m,k)),u&&g(0,1),o=_($,p),M(()=>N(t,u,"start")),Z(b=>{if(c&&b>c.start&&(o=_(c,p),c=null,N(t,o.b,"start"),k&&(f(),l=W(t,s,o.b,o.duration,0,m,a.css))),o){if(b>=o.end)g(s=o.b,1-s),N(t,o.b,"end"),c||(o.b?f():--o.group.r||S(o.group.c)),o=null;else if(b>=o.start){const q=b-o.start;s=o.a+o.d*m(q/o.duration),g(s,1-s)}}return!!(o||c)}))}return{run(u){D(a)?et().then(()=>{a=a(r),h(u)}):h(u)},end(){f(),o=c=null}}}function Me(t,e){t.d(1),e.delete(t.key)}function De(t,e){Tt(t,1,1,()=>{e.delete(t.key)})}function Pe(t,e,n,i,r,a,s,o,c,l,f,_){let h=t.length,u=a.length,d=h;const p={};for(;d--;)p[t[d].key]=d;const m=[],g=new Map,k=new Map;for(d=u;d--;){const y=_(r,a,d),x=n(y);let w=s.get(x);w?i&&w.p(y,e):(w=l(x,y),w.c()),g.set(x,m[d]=w),x in p&&k.set(x,Math.abs(d-p[x]))}const $=new Set,b=new Set;function q(y){gt(y,1),y.m(o,f),s.set(y.key,y),f=y.first,u--}for(;h&&u;){const y=m[u-1],x=t[h-1],w=y.key,T=x.key;y===x?(f=y.first,h--,u--):g.has(T)?!s.has(w)||$.has(w)?q(y):b.has(T)?h--:k.get(w)>k.get(T)?(b.add(w),q(y)):($.add(T),h--):(c(x,s),h--)}for(;h--;){const y=t[h];g.has(y.key)||c(y,s)}for(;u;)q(m[u-1]);return m}function qe(t,e){const n={},i={},r={$$scope:1};let a=t.length;for(;a--;){const s=t[a],o=e[a];if(o){for(const c in s)c in o||(i[c]=1);for(const c in o)r[c]||(n[c]=o[c],r[c]=1);t[a]=o}else for(const c in s)r[c]=1}for(const s in i)s in n||(n[s]=void 0);return n}function Oe(t){return typeof t=="object"&&t!==null?t:{}}function Le(t,e,n){const i=t.$$.props[e];i!==void 0&&(t.$$.bound[i]=n,n(t.$$.ctx[i]))}function Re(t){t&&t.c()}function Te(t,e){t&&t.l(e)}function zt(t,e,n,i){const{fragment:r,after_update:a}=t.$$;r&&r.m(e,n),i||M(()=>{const s=t.$$.on_mount.map(st).filter(D);t.$$.on_destroy?t.$$.on_destroy.push(...s):S(s),t.$$.on_mount=[]}),a.forEach(M)}function Bt(t,e){const n=t.$$;n.fragment!==null&&(S(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Ft(t,e){t.$$.dirty[0]===-1&&(j.push(t),pt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const d=u.length?u[0]:h;return l.ctx&&r(l.ctx[_],l.ctx[_]=d)&&(!l.skip_bound&&l.bound[_]&&l.bound[_](d),f&&Ft(t,_)),h}):[],l.update(),f=!0,S(l.before_update),l.fragment=i?i(l.ctx):!1,e.target){if(e.hydrate){wt();const _=Mt(e.target);l.fragment&&l.fragment.l(_),_.forEach(ut)}else l.fragment&&l.fragment.c();e.intro&>(t.$$.fragment),zt(t,e.target,e.anchor,e.customElement),vt(),yt()}L(c)}class Be{$destroy(){Bt(this,1),this.$destroy=E}$on(e,n){if(!D(n))return E;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!bt(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{M as $,qe as A,Oe as B,Bt as C,$t as D,ke as E,E as F,we as G,Wt as H,Vt as I,Gt as J,At as K,ae as L,Ht as M,me as N,jt as O,ie as P,Kt as Q,Qt as R,Be as S,Jt as T,Zt as U,S as V,te as W,fe as X,V as Y,re as Z,be as _,ee as a,Ce as a0,je as a1,Pe as a2,Me as a3,Ae as a4,De as a5,rt as a6,Ut as a7,Xt as a8,D as a9,ve as aa,$e as ab,Le as ac,Ee as ad,oe as ae,he as af,de as ag,Yt as b,le as c,Se as d,ne as e,gt as f,Ne as g,ut as h,ze as i,xe as j,ge as k,ft as l,ce as m,Mt as n,ye as o,se as p,_e as q,tt as r,It as s,Tt as t,Pt as u,ue as v,pe as w,Re as x,Te as y,zt as z}; diff --git a/docs/_app/immutable/chunks/options-6ad1c8ff.js b/docs/_app/immutable/chunks/options-733041ee.js similarity index 69% rename from docs/_app/immutable/chunks/options-6ad1c8ff.js rename to docs/_app/immutable/chunks/options-733041ee.js index 6d04cad..321159c 100644 --- a/docs/_app/immutable/chunks/options-6ad1c8ff.js +++ b/docs/_app/immutable/chunks/options-733041ee.js @@ -1 +1 @@ -import{S as RE,i as wE,s as kE,l as d,r,a as c,m as o,n as l,u as a,h as e,c as n,p as gE,b as BE,N as t,E as pn}from"./index-28983a80.js";function SE(yE){let z,At,h,jt,Uo,Lo,xt,No,Yo,Ht,Go,Jo,It,Ko,Qo,s,v,Pt,Vo,Wo,Ft,qt,Xo,Zo,zt,Mt,$o,tl,_t,el,Ut,dl,ol,ll,_,Lt,rl,al,Nt,Yt,cl,nl,Gt,Jt,sl,il,Dt,El,Kt,fl,hl,vl,D,Qt,_l,Dl,Vt,Wt,ul,Tl,Xt,Zt,ml,bl,ut,Cl,$t,Ol,pl,gl,u,te,yl,Rl,ee,de,wl,kl,oe,le,Bl,Sl,Tt,Al,re,jl,xl,Hl,T,ae,Il,Pl,ce,ne,Fl,ql,se,ie,zl,Ml,Ee,Ul,Ll,m,fe,Nl,Yl,he,ve,Gl,Jl,_e,De,Kl,Ql,yt,Vl,ue,Wl,Xl,b,Te,Zl,$l,mt,me,tr,er,be,dr,or,Ce,Oe,lr,rr,pe,ar,cr,C,ge,nr,sr,bt,ye,ir,Er,Re,fr,hr,we,ke,vr,_r,Be,Dr,ur,O,Se,Tr,mr,Ae,je,br,Cr,xe,He,Or,pr,Ie,gr,yr,p,Pe,Rr,wr,Fe,qe,kr,Br,ze,Me,Sr,Ar,Rt,jr,wt,xr,Hr,g,Ue,Ir,Pr,Le,Ne,Fr,qr,Ye,Ge,zr,Mr,Je,Ur,Lr,y,Ke,Nr,Yr,Qe,Ve,Gr,Jr,We,Xe,Kr,Qr,Ct,Vr,kt,Wr,Xr,Zr,R,Ze,$r,ta,$e,td,ea,da,ed,dd,oa,la,Ot,ra,od,aa,ca,na,w,ld,sa,ia,rd,ad,Ea,fa,cd,nd,ha,va,L,_a,sd,Da,ua,id,Ta,ma,k,Ed,ba,Ca,fd,hd,Oa,pa,vd,ga,ya,_d,Ra,wa,B,Dd,ka,Ba,ud,Td,Sa,Aa,md,ja,xa,bd,Ha,Ia,S,Cd,Pa,Fa,Od,pd,qa,za,gd,yd,Ma,Ua,Rd,La,Na,A,wd,Ya,Ga,kd,Bd,Ja,Ka,Sd,Ad,Qa,Va,jd,Wa,Xa,j,xd,Za,$a,Hd,Id,tc,ec,Pd,Fd,dc,oc,qd,lc,rc,x,zd,ac,cc,Md,Ud,nc,sc,Ld,Nd,ic,Ec,Yd,fc,hc,H,Gd,vc,_c,Jd,Kd,Dc,uc,Qd,Vd,Tc,mc,M,bc,Wd,Cc,Oc,Xd,pc,gc,Zd,yc,Rc,I,$d,wc,kc,to,eo,Bc,Sc,oo,lo,Ac,jc,pt,xc,ro,Hc,Ic,Pc,P,ao,Fc,qc,co,no,zc,Mc,so,io,Uc,Lc,Eo,Nc,Yc,F,fo,Gc,Jc,ho,vo,Kc,Qc,_o,Do,uo,Vc,Wc,E,Xc,To,Zc,$c,mo,tn,en,bo,dn,on,Co,ln,rn,Oo,an,cn,nn,q,po,sn,En,go,yo,fn,hn,Ro,wo,vn,_n,U,Dn,ko,un,Tn,Bo,mn,bn;return{c(){z=d("table"),At=d("thead"),h=d("tr"),jt=d("th"),Uo=r("Property"),Lo=c(),xt=d("th"),No=r("Type"),Yo=c(),Ht=d("th"),Go=r("Default"),Jo=c(),It=d("th"),Ko=r("Description"),Qo=c(),s=d("tbody"),v=d("tr"),Pt=d("td"),Vo=r("name"),Wo=c(),Ft=d("td"),qt=d("code"),Xo=r("string"),Zo=c(),zt=d("td"),Mt=d("code"),$o=r("date"),tl=c(),_t=d("td"),el=r("html attribute for underlying "),Ut=d("code"),dl=r(""),ol=r(" element"),ll=c(),_=d("tr"),Lt=d("td"),rl=r("disabled"),al=c(),Nt=d("td"),Yt=d("code"),cl=r("bool"),nl=c(),Gt=d("td"),Jt=d("code"),sl=r("false"),il=c(),Dt=d("td"),El=r("html attribute for underlying "),Kt=d("code"),fl=r(""),hl=r(" element"),vl=c(),D=d("tr"),Qt=d("td"),_l=r("placeholder"),Dl=c(),Vt=d("td"),Wt=d("code"),ul=r("string"),Tl=c(),Xt=d("td"),Zt=d("code"),ml=r("null"),bl=c(),ut=d("td"),Cl=r("html attribute for underlying "),$t=d("code"),Ol=r(""),pl=r(" element"),gl=c(),u=d("tr"),te=d("td"),yl=r("required"),Rl=c(),ee=d("td"),de=d("code"),wl=r("bool"),kl=c(),oe=d("td"),le=d("code"),Bl=r("false"),Sl=c(),Tt=d("td"),Al=r("html attribute for underlying "),re=d("code"),jl=r(""),xl=r(" element"),Hl=c(),T=d("tr"),ae=d("td"),Il=r("value"),Pl=c(),ce=d("td"),ne=d("code"),Fl=r("string"),ql=c(),se=d("td"),ie=d("code"),zl=r("null"),Ml=c(),Ee=d("td"),Ul=r("string representation of selected value"),Ll=c(),m=d("tr"),fe=d("td"),Nl=r("initialDate"),Yl=c(),he=d("td"),ve=d("code"),Gl=r("Date"),Jl=c(),_e=d("td"),De=d("code"),Kl=r("null"),Ql=c(),yt=d("td"),Vl=r("initial date object, if you prefer that to "),ue=d("code"),Wl=r("value"),Xl=c(),b=d("tr"),Te=d("td"),Zl=r("startDate"),$l=c(),mt=d("td"),me=d("code"),tr=r("string"),er=r("|"),be=d("code"),dr=r("Date"),or=c(),Ce=d("td"),Oe=d("code"),lr=r("null"),rr=c(),pe=d("td"),ar=r("limit minimal selectable date"),cr=c(),C=d("tr"),ge=d("td"),nr=r("endDate"),sr=c(),bt=d("td"),ye=d("code"),ir=r("string"),Er=r("|"),Re=d("code"),fr=r("Date"),hr=c(),we=d("td"),ke=d("code"),vr=r("null"),_r=c(),Be=d("td"),Dr=r("limit maximal selectable date"),ur=c(),O=d("tr"),Se=d("td"),Tr=r("pickerOnly"),mr=c(),Ae=d("td"),je=d("code"),br=r("bool"),Cr=c(),xe=d("td"),He=d("code"),Or=r("false"),pr=c(),Ie=d("td"),gr=r("Picker is always visible and input field is then hidden, but still present"),yr=c(),p=d("tr"),Pe=d("td"),Rr=r("theme"),wr=c(),Fe=d("td"),qe=d("code"),kr=r("string"),Br=c(),ze=d("td"),Me=d("code"),Sr=r("sdt-calendar-colors"),Ar=c(),Rt=d("td"),jr=r("css class defining "),wt=d("a"),xr=r("css variables"),Hr=c(),g=d("tr"),Ue=d("td"),Ir=r("mode"),Pr=c(),Le=d("td"),Ne=d("code"),Fr=r("string"),qr=c(),Ye=d("td"),Ge=d("code"),zr=r("auto"),Mr=c(),Je=d("td"),Ur=r("restrict picker\u2019s mode. Possible values: `auto"),Lr=c(),y=d("tr"),Ke=d("td"),Nr=r("format"),Yr=c(),Qe=d("td"),Ve=d("code"),Gr=r("string"),Jr=c(),We=d("td"),Xe=d("code"),Kr=r("yyyy-mm-dd"),Qr=c(),Ct=d("td"),Vr=r("Format of entered date/time. See "),kt=d("a"),Wr=r("format settings"),Xr=r(" for available options"),Zr=c(),R=d("tr"),Ze=d("td"),$r=r("minuteIncrement"),ta=c(),$e=d("td"),td=d("code"),ea=r("number"),da=c(),ed=d("td"),dd=d("code"),oa=r("1"),la=c(),Ot=d("td"),ra=r("number in range "),od=d("code"),aa=r("1-60"),ca=r(" to set the increment of minutes choosable"),na=c(),w=d("tr"),ld=d("td"),sa=r("weekStart"),ia=c(),rd=d("td"),ad=d("code"),Ea=r("number"),fa=c(),cd=d("td"),nd=d("code"),ha=r("1"),va=c(),L=d("td"),_a=r("number in range "),sd=d("code"),Da=r("0-6"),ua=r(" to select first day of the week. Sunday is "),id=d("code"),Ta=r("0"),ma=c(),k=d("tr"),Ed=d("td"),ba=r("inputId"),Ca=c(),fd=d("td"),hd=d("code"),Oa=r("string"),pa=c(),vd=d("td"),ga=r("\u201C"),ya=c(),_d=d("td"),Ra=r("id attribute for input element"),wa=c(),B=d("tr"),Dd=d("td"),ka=r("inputClasses"),Ba=c(),ud=d("td"),Td=d("code"),Sa=r("string"),Aa=c(),md=d("td"),ja=r("\u201C"),xa=c(),bd=d("td"),Ha=r("input css class string"),Ia=c(),S=d("tr"),Cd=d("td"),Pa=r("todayBtnClasses"),Fa=c(),Od=d("td"),pd=d("code"),qa=r("string"),za=c(),gd=d("td"),yd=d("code"),Ma=r("sdt-action-btn sdt-today-btn"),Ua=c(),Rd=d("td"),La=r("today button css classes"),Na=c(),A=d("tr"),wd=d("td"),Ya=r("clearBtnClasses"),Ga=c(),kd=d("td"),Bd=d("code"),Ja=r("string"),Ka=c(),Sd=d("td"),Ad=d("code"),Qa=r("sdt-action-btn sdt-clear-btn"),Va=c(),jd=d("td"),Wa=r("clear button css classes"),Xa=c(),j=d("tr"),xd=d("td"),Za=r("todayBtn"),$a=c(),Hd=d("td"),Id=d("code"),tc=r("bool"),ec=c(),Pd=d("td"),Fd=d("code"),dc=r("true"),oc=c(),qd=d("td"),lc=r("Show today button"),rc=c(),x=d("tr"),zd=d("td"),ac=r("clearBtn"),cc=c(),Md=d("td"),Ud=d("code"),nc=r("bool"),sc=c(),Ld=d("td"),Nd=d("code"),ic=r("true"),Ec=c(),Yd=d("td"),fc=r("Show clear button"),hc=c(),H=d("tr"),Gd=d("td"),vc=r("clearToggle"),_c=c(),Jd=d("td"),Kd=d("code"),Dc=r("bool"),uc=c(),Qd=d("td"),Vd=d("code"),Tc=r("true"),mc=c(),M=d("td"),bc=r("Allows to clear selected date when clicking on the same date when in "),Wd=d("code"),Cc=r("mode='date'"),Oc=r(" or "),Xd=d("code"),pc=r("mode='auto'"),gc=r(" resolving to "),Zd=d("code"),yc=r("'date'"),Rc=c(),I=d("tr"),$d=d("td"),wc=r("autoclose"),kc=c(),to=d("td"),eo=d("code"),Bc=r("bool"),Sc=c(),oo=d("td"),lo=d("code"),Ac=r("true"),jc=c(),pt=d("td"),xc=r("Hides picker after selection is done. If mode includes "),ro=d("em"),Hc=r("time picker"),Ic=r(", it closes automatically only after minute selection"),Pc=c(),P=d("tr"),ao=d("td"),Fc=r("i18n"),qc=c(),co=d("td"),no=d("code"),zc=r("object"),Mc=c(),so=d("td"),io=d("code"),Uc=r("en"),Lc=c(),Eo=d("td"),Nc=r("localization object, english is by default"),Yc=c(),F=d("tr"),fo=d("td"),Gc=r("positionFn"),Jc=c(),ho=d("td"),vo=d("code"),Kc=r("function"),Qc=c(),_o=d("td"),Do=d("em"),uo=d("code"),Vc=r("internal"),Wc=c(),E=d("td"),Xc=r("function used to position picker. Used as action. Acceps following object: "),To=d("code"),Zc=r("{ inputEl, visible}"),$c=r(", where "),mo=d("code"),tn=r("visible"),en=r(" is "),bo=d("code"),dn=r("visible"),on=r(" parameter & "),Co=d("code"),ln=r("inputEl"),rn=r(" is underlying "),Oo=d("code"),an=r(""),cn=r(" element"),nn=c(),q=d("tr"),po=d("td"),sn=r("validatorAction"),En=c(),go=d("td"),yo=d("code"),fn=r("array"),hn=c(),Ro=d("td"),wo=d("code"),vn=r("null"),_n=c(),U=d("td"),Dn=r("Bind validator action for inner "),ko=d("code"),un=r(""),Tn=r(" element. Designed to be used with "),Bo=d("code"),mn=r("svelte-use-form"),bn=r("."),this.h()},l(So){z=o(So,"TABLE",{});var Bt=l(z);At=o(Bt,"THEAD",{});var gn=l(At);h=o(gn,"TR",{});var N=l(h);jt=o(N,"TH",{});var yn=l(jt);Uo=a(yn,"Property"),yn.forEach(e),Lo=n(N),xt=o(N,"TH",{});var Rn=l(xt);No=a(Rn,"Type"),Rn.forEach(e),Yo=n(N),Ht=o(N,"TH",{});var wn=l(Ht);Go=a(wn,"Default"),wn.forEach(e),Jo=n(N),It=o(N,"TH",{});var kn=l(It);Ko=a(kn,"Description"),kn.forEach(e),N.forEach(e),gn.forEach(e),Qo=n(Bt),s=o(Bt,"TBODY",{});var i=l(s);v=o(i,"TR",{});var Y=l(v);Pt=o(Y,"TD",{});var Bn=l(Pt);Vo=a(Bn,"name"),Bn.forEach(e),Wo=n(Y),Ft=o(Y,"TD",{});var Sn=l(Ft);qt=o(Sn,"CODE",{});var An=l(qt);Xo=a(An,"string"),An.forEach(e),Sn.forEach(e),Zo=n(Y),zt=o(Y,"TD",{});var jn=l(zt);Mt=o(jn,"CODE",{});var xn=l(Mt);$o=a(xn,"date"),xn.forEach(e),jn.forEach(e),tl=n(Y),_t=o(Y,"TD",{});var jo=l(_t);el=a(jo,"html attribute for underlying "),Ut=o(jo,"CODE",{});var Hn=l(Ut);dl=a(Hn,""),Hn.forEach(e),ol=a(jo," element"),jo.forEach(e),Y.forEach(e),ll=n(i),_=o(i,"TR",{});var G=l(_);Lt=o(G,"TD",{});var In=l(Lt);rl=a(In,"disabled"),In.forEach(e),al=n(G),Nt=o(G,"TD",{});var Pn=l(Nt);Yt=o(Pn,"CODE",{});var Fn=l(Yt);cl=a(Fn,"bool"),Fn.forEach(e),Pn.forEach(e),nl=n(G),Gt=o(G,"TD",{});var qn=l(Gt);Jt=o(qn,"CODE",{});var zn=l(Jt);sl=a(zn,"false"),zn.forEach(e),qn.forEach(e),il=n(G),Dt=o(G,"TD",{});var xo=l(Dt);El=a(xo,"html attribute for underlying "),Kt=o(xo,"CODE",{});var Mn=l(Kt);fl=a(Mn,""),Mn.forEach(e),hl=a(xo," element"),xo.forEach(e),G.forEach(e),vl=n(i),D=o(i,"TR",{});var J=l(D);Qt=o(J,"TD",{});var Un=l(Qt);_l=a(Un,"placeholder"),Un.forEach(e),Dl=n(J),Vt=o(J,"TD",{});var Ln=l(Vt);Wt=o(Ln,"CODE",{});var Nn=l(Wt);ul=a(Nn,"string"),Nn.forEach(e),Ln.forEach(e),Tl=n(J),Xt=o(J,"TD",{});var Yn=l(Xt);Zt=o(Yn,"CODE",{});var Gn=l(Zt);ml=a(Gn,"null"),Gn.forEach(e),Yn.forEach(e),bl=n(J),ut=o(J,"TD",{});var Ho=l(ut);Cl=a(Ho,"html attribute for underlying "),$t=o(Ho,"CODE",{});var Jn=l($t);Ol=a(Jn,""),Jn.forEach(e),pl=a(Ho," element"),Ho.forEach(e),J.forEach(e),gl=n(i),u=o(i,"TR",{});var K=l(u);te=o(K,"TD",{});var Kn=l(te);yl=a(Kn,"required"),Kn.forEach(e),Rl=n(K),ee=o(K,"TD",{});var Qn=l(ee);de=o(Qn,"CODE",{});var Vn=l(de);wl=a(Vn,"bool"),Vn.forEach(e),Qn.forEach(e),kl=n(K),oe=o(K,"TD",{});var Wn=l(oe);le=o(Wn,"CODE",{});var Xn=l(le);Bl=a(Xn,"false"),Xn.forEach(e),Wn.forEach(e),Sl=n(K),Tt=o(K,"TD",{});var Io=l(Tt);Al=a(Io,"html attribute for underlying "),re=o(Io,"CODE",{});var Zn=l(re);jl=a(Zn,""),Zn.forEach(e),xl=a(Io," element"),Io.forEach(e),K.forEach(e),Hl=n(i),T=o(i,"TR",{});var Q=l(T);ae=o(Q,"TD",{});var $n=l(ae);Il=a($n,"value"),$n.forEach(e),Pl=n(Q),ce=o(Q,"TD",{});var ts=l(ce);ne=o(ts,"CODE",{});var es=l(ne);Fl=a(es,"string"),es.forEach(e),ts.forEach(e),ql=n(Q),se=o(Q,"TD",{});var ds=l(se);ie=o(ds,"CODE",{});var os=l(ie);zl=a(os,"null"),os.forEach(e),ds.forEach(e),Ml=n(Q),Ee=o(Q,"TD",{});var ls=l(Ee);Ul=a(ls,"string representation of selected value"),ls.forEach(e),Q.forEach(e),Ll=n(i),m=o(i,"TR",{});var V=l(m);fe=o(V,"TD",{});var rs=l(fe);Nl=a(rs,"initialDate"),rs.forEach(e),Yl=n(V),he=o(V,"TD",{});var as=l(he);ve=o(as,"CODE",{});var cs=l(ve);Gl=a(cs,"Date"),cs.forEach(e),as.forEach(e),Jl=n(V),_e=o(V,"TD",{});var ns=l(_e);De=o(ns,"CODE",{});var ss=l(De);Kl=a(ss,"null"),ss.forEach(e),ns.forEach(e),Ql=n(V),yt=o(V,"TD",{});var Cn=l(yt);Vl=a(Cn,"initial date object, if you prefer that to "),ue=o(Cn,"CODE",{});var is=l(ue);Wl=a(is,"value"),is.forEach(e),Cn.forEach(e),V.forEach(e),Xl=n(i),b=o(i,"TR",{});var W=l(b);Te=o(W,"TD",{});var Es=l(Te);Zl=a(Es,"startDate"),Es.forEach(e),$l=n(W),mt=o(W,"TD",{});var Po=l(mt);me=o(Po,"CODE",{});var fs=l(me);tr=a(fs,"string"),fs.forEach(e),er=a(Po,"|"),be=o(Po,"CODE",{});var hs=l(be);dr=a(hs,"Date"),hs.forEach(e),Po.forEach(e),or=n(W),Ce=o(W,"TD",{});var vs=l(Ce);Oe=o(vs,"CODE",{});var _s=l(Oe);lr=a(_s,"null"),_s.forEach(e),vs.forEach(e),rr=n(W),pe=o(W,"TD",{});var Ds=l(pe);ar=a(Ds,"limit minimal selectable date"),Ds.forEach(e),W.forEach(e),cr=n(i),C=o(i,"TR",{});var X=l(C);ge=o(X,"TD",{});var us=l(ge);nr=a(us,"endDate"),us.forEach(e),sr=n(X),bt=o(X,"TD",{});var Fo=l(bt);ye=o(Fo,"CODE",{});var Ts=l(ye);ir=a(Ts,"string"),Ts.forEach(e),Er=a(Fo,"|"),Re=o(Fo,"CODE",{});var ms=l(Re);fr=a(ms,"Date"),ms.forEach(e),Fo.forEach(e),hr=n(X),we=o(X,"TD",{});var bs=l(we);ke=o(bs,"CODE",{});var Cs=l(ke);vr=a(Cs,"null"),Cs.forEach(e),bs.forEach(e),_r=n(X),Be=o(X,"TD",{});var Os=l(Be);Dr=a(Os,"limit maximal selectable date"),Os.forEach(e),X.forEach(e),ur=n(i),O=o(i,"TR",{});var Z=l(O);Se=o(Z,"TD",{});var ps=l(Se);Tr=a(ps,"pickerOnly"),ps.forEach(e),mr=n(Z),Ae=o(Z,"TD",{});var gs=l(Ae);je=o(gs,"CODE",{});var ys=l(je);br=a(ys,"bool"),ys.forEach(e),gs.forEach(e),Cr=n(Z),xe=o(Z,"TD",{});var Rs=l(xe);He=o(Rs,"CODE",{});var ws=l(He);Or=a(ws,"false"),ws.forEach(e),Rs.forEach(e),pr=n(Z),Ie=o(Z,"TD",{});var ks=l(Ie);gr=a(ks,"Picker is always visible and input field is then hidden, but still present"),ks.forEach(e),Z.forEach(e),yr=n(i),p=o(i,"TR",{});var $=l(p);Pe=o($,"TD",{});var Bs=l(Pe);Rr=a(Bs,"theme"),Bs.forEach(e),wr=n($),Fe=o($,"TD",{});var Ss=l(Fe);qe=o(Ss,"CODE",{});var As=l(qe);kr=a(As,"string"),As.forEach(e),Ss.forEach(e),Br=n($),ze=o($,"TD",{});var js=l(ze);Me=o(js,"CODE",{});var xs=l(Me);Sr=a(xs,"sdt-calendar-colors"),xs.forEach(e),js.forEach(e),Ar=n($),Rt=o($,"TD",{});var On=l(Rt);jr=a(On,"css class defining "),wt=o(On,"A",{href:!0});var Hs=l(wt);xr=a(Hs,"css variables"),Hs.forEach(e),On.forEach(e),$.forEach(e),Hr=n(i),g=o(i,"TR",{});var tt=l(g);Ue=o(tt,"TD",{});var Is=l(Ue);Ir=a(Is,"mode"),Is.forEach(e),Pr=n(tt),Le=o(tt,"TD",{});var Ps=l(Le);Ne=o(Ps,"CODE",{});var Fs=l(Ne);Fr=a(Fs,"string"),Fs.forEach(e),Ps.forEach(e),qr=n(tt),Ye=o(tt,"TD",{});var qs=l(Ye);Ge=o(qs,"CODE",{});var zs=l(Ge);zr=a(zs,"auto"),zs.forEach(e),qs.forEach(e),Mr=n(tt),Je=o(tt,"TD",{});var Ms=l(Je);Ur=a(Ms,"restrict picker\u2019s mode. Possible values: `auto"),Ms.forEach(e),tt.forEach(e),Lr=n(i),y=o(i,"TR",{});var et=l(y);Ke=o(et,"TD",{});var Us=l(Ke);Nr=a(Us,"format"),Us.forEach(e),Yr=n(et),Qe=o(et,"TD",{});var Ls=l(Qe);Ve=o(Ls,"CODE",{});var Ns=l(Ve);Gr=a(Ns,"string"),Ns.forEach(e),Ls.forEach(e),Jr=n(et),We=o(et,"TD",{});var Ys=l(We);Xe=o(Ys,"CODE",{});var Gs=l(Xe);Kr=a(Gs,"yyyy-mm-dd"),Gs.forEach(e),Ys.forEach(e),Qr=n(et),Ct=o(et,"TD",{});var qo=l(Ct);Vr=a(qo,"Format of entered date/time. See "),kt=o(qo,"A",{href:!0});var Js=l(kt);Wr=a(Js,"format settings"),Js.forEach(e),Xr=a(qo," for available options"),qo.forEach(e),et.forEach(e),Zr=n(i),R=o(i,"TR",{});var dt=l(R);Ze=o(dt,"TD",{});var Ks=l(Ze);$r=a(Ks,"minuteIncrement"),Ks.forEach(e),ta=n(dt),$e=o(dt,"TD",{});var Qs=l($e);td=o(Qs,"CODE",{});var Vs=l(td);ea=a(Vs,"number"),Vs.forEach(e),Qs.forEach(e),da=n(dt),ed=o(dt,"TD",{});var Ws=l(ed);dd=o(Ws,"CODE",{});var Xs=l(dd);oa=a(Xs,"1"),Xs.forEach(e),Ws.forEach(e),la=n(dt),Ot=o(dt,"TD",{});var zo=l(Ot);ra=a(zo,"number in range "),od=o(zo,"CODE",{});var Zs=l(od);aa=a(Zs,"1-60"),Zs.forEach(e),ca=a(zo," to set the increment of minutes choosable"),zo.forEach(e),dt.forEach(e),na=n(i),w=o(i,"TR",{});var ot=l(w);ld=o(ot,"TD",{});var $s=l(ld);sa=a($s,"weekStart"),$s.forEach(e),ia=n(ot),rd=o(ot,"TD",{});var ti=l(rd);ad=o(ti,"CODE",{});var ei=l(ad);Ea=a(ei,"number"),ei.forEach(e),ti.forEach(e),fa=n(ot),cd=o(ot,"TD",{});var di=l(cd);nd=o(di,"CODE",{});var oi=l(nd);ha=a(oi,"1"),oi.forEach(e),di.forEach(e),va=n(ot),L=o(ot,"TD",{});var Ao=l(L);_a=a(Ao,"number in range "),sd=o(Ao,"CODE",{});var li=l(sd);Da=a(li,"0-6"),li.forEach(e),ua=a(Ao," to select first day of the week. Sunday is "),id=o(Ao,"CODE",{});var ri=l(id);Ta=a(ri,"0"),ri.forEach(e),Ao.forEach(e),ot.forEach(e),ma=n(i),k=o(i,"TR",{});var lt=l(k);Ed=o(lt,"TD",{});var ai=l(Ed);ba=a(ai,"inputId"),ai.forEach(e),Ca=n(lt),fd=o(lt,"TD",{});var ci=l(fd);hd=o(ci,"CODE",{});var ni=l(hd);Oa=a(ni,"string"),ni.forEach(e),ci.forEach(e),pa=n(lt),vd=o(lt,"TD",{});var si=l(vd);ga=a(si,"\u201C"),si.forEach(e),ya=n(lt),_d=o(lt,"TD",{});var ii=l(_d);Ra=a(ii,"id attribute for input element"),ii.forEach(e),lt.forEach(e),wa=n(i),B=o(i,"TR",{});var rt=l(B);Dd=o(rt,"TD",{});var Ei=l(Dd);ka=a(Ei,"inputClasses"),Ei.forEach(e),Ba=n(rt),ud=o(rt,"TD",{});var fi=l(ud);Td=o(fi,"CODE",{});var hi=l(Td);Sa=a(hi,"string"),hi.forEach(e),fi.forEach(e),Aa=n(rt),md=o(rt,"TD",{});var vi=l(md);ja=a(vi,"\u201C"),vi.forEach(e),xa=n(rt),bd=o(rt,"TD",{});var _i=l(bd);Ha=a(_i,"input css class string"),_i.forEach(e),rt.forEach(e),Ia=n(i),S=o(i,"TR",{});var at=l(S);Cd=o(at,"TD",{});var Di=l(Cd);Pa=a(Di,"todayBtnClasses"),Di.forEach(e),Fa=n(at),Od=o(at,"TD",{});var ui=l(Od);pd=o(ui,"CODE",{});var Ti=l(pd);qa=a(Ti,"string"),Ti.forEach(e),ui.forEach(e),za=n(at),gd=o(at,"TD",{});var mi=l(gd);yd=o(mi,"CODE",{});var bi=l(yd);Ma=a(bi,"sdt-action-btn sdt-today-btn"),bi.forEach(e),mi.forEach(e),Ua=n(at),Rd=o(at,"TD",{});var Ci=l(Rd);La=a(Ci,"today button css classes"),Ci.forEach(e),at.forEach(e),Na=n(i),A=o(i,"TR",{});var ct=l(A);wd=o(ct,"TD",{});var Oi=l(wd);Ya=a(Oi,"clearBtnClasses"),Oi.forEach(e),Ga=n(ct),kd=o(ct,"TD",{});var pi=l(kd);Bd=o(pi,"CODE",{});var gi=l(Bd);Ja=a(gi,"string"),gi.forEach(e),pi.forEach(e),Ka=n(ct),Sd=o(ct,"TD",{});var yi=l(Sd);Ad=o(yi,"CODE",{});var Ri=l(Ad);Qa=a(Ri,"sdt-action-btn sdt-clear-btn"),Ri.forEach(e),yi.forEach(e),Va=n(ct),jd=o(ct,"TD",{});var wi=l(jd);Wa=a(wi,"clear button css classes"),wi.forEach(e),ct.forEach(e),Xa=n(i),j=o(i,"TR",{});var nt=l(j);xd=o(nt,"TD",{});var ki=l(xd);Za=a(ki,"todayBtn"),ki.forEach(e),$a=n(nt),Hd=o(nt,"TD",{});var Bi=l(Hd);Id=o(Bi,"CODE",{});var Si=l(Id);tc=a(Si,"bool"),Si.forEach(e),Bi.forEach(e),ec=n(nt),Pd=o(nt,"TD",{});var Ai=l(Pd);Fd=o(Ai,"CODE",{});var ji=l(Fd);dc=a(ji,"true"),ji.forEach(e),Ai.forEach(e),oc=n(nt),qd=o(nt,"TD",{});var xi=l(qd);lc=a(xi,"Show today button"),xi.forEach(e),nt.forEach(e),rc=n(i),x=o(i,"TR",{});var st=l(x);zd=o(st,"TD",{});var Hi=l(zd);ac=a(Hi,"clearBtn"),Hi.forEach(e),cc=n(st),Md=o(st,"TD",{});var Ii=l(Md);Ud=o(Ii,"CODE",{});var Pi=l(Ud);nc=a(Pi,"bool"),Pi.forEach(e),Ii.forEach(e),sc=n(st),Ld=o(st,"TD",{});var Fi=l(Ld);Nd=o(Fi,"CODE",{});var qi=l(Nd);ic=a(qi,"true"),qi.forEach(e),Fi.forEach(e),Ec=n(st),Yd=o(st,"TD",{});var zi=l(Yd);fc=a(zi,"Show clear button"),zi.forEach(e),st.forEach(e),hc=n(i),H=o(i,"TR",{});var it=l(H);Gd=o(it,"TD",{});var Mi=l(Gd);vc=a(Mi,"clearToggle"),Mi.forEach(e),_c=n(it),Jd=o(it,"TD",{});var Ui=l(Jd);Kd=o(Ui,"CODE",{});var Li=l(Kd);Dc=a(Li,"bool"),Li.forEach(e),Ui.forEach(e),uc=n(it),Qd=o(it,"TD",{});var Ni=l(Qd);Vd=o(Ni,"CODE",{});var Yi=l(Vd);Tc=a(Yi,"true"),Yi.forEach(e),Ni.forEach(e),mc=n(it),M=o(it,"TD",{});var gt=l(M);bc=a(gt,"Allows to clear selected date when clicking on the same date when in "),Wd=o(gt,"CODE",{});var Gi=l(Wd);Cc=a(Gi,"mode='date'"),Gi.forEach(e),Oc=a(gt," or "),Xd=o(gt,"CODE",{});var Ji=l(Xd);pc=a(Ji,"mode='auto'"),Ji.forEach(e),gc=a(gt," resolving to "),Zd=o(gt,"CODE",{});var Ki=l(Zd);yc=a(Ki,"'date'"),Ki.forEach(e),gt.forEach(e),it.forEach(e),Rc=n(i),I=o(i,"TR",{});var Et=l(I);$d=o(Et,"TD",{});var Qi=l($d);wc=a(Qi,"autoclose"),Qi.forEach(e),kc=n(Et),to=o(Et,"TD",{});var Vi=l(to);eo=o(Vi,"CODE",{});var Wi=l(eo);Bc=a(Wi,"bool"),Wi.forEach(e),Vi.forEach(e),Sc=n(Et),oo=o(Et,"TD",{});var Xi=l(oo);lo=o(Xi,"CODE",{});var Zi=l(lo);Ac=a(Zi,"true"),Zi.forEach(e),Xi.forEach(e),jc=n(Et),pt=o(Et,"TD",{});var Mo=l(pt);xc=a(Mo,"Hides picker after selection is done. If mode includes "),ro=o(Mo,"EM",{});var $i=l(ro);Hc=a($i,"time picker"),$i.forEach(e),Ic=a(Mo,", it closes automatically only after minute selection"),Mo.forEach(e),Et.forEach(e),Pc=n(i),P=o(i,"TR",{});var ft=l(P);ao=o(ft,"TD",{});var tE=l(ao);Fc=a(tE,"i18n"),tE.forEach(e),qc=n(ft),co=o(ft,"TD",{});var eE=l(co);no=o(eE,"CODE",{});var dE=l(no);zc=a(dE,"object"),dE.forEach(e),eE.forEach(e),Mc=n(ft),so=o(ft,"TD",{});var oE=l(so);io=o(oE,"CODE",{});var lE=l(io);Uc=a(lE,"en"),lE.forEach(e),oE.forEach(e),Lc=n(ft),Eo=o(ft,"TD",{});var rE=l(Eo);Nc=a(rE,"localization object, english is by default"),rE.forEach(e),ft.forEach(e),Yc=n(i),F=o(i,"TR",{});var ht=l(F);fo=o(ht,"TD",{});var aE=l(fo);Gc=a(aE,"positionFn"),aE.forEach(e),Jc=n(ht),ho=o(ht,"TD",{});var cE=l(ho);vo=o(cE,"CODE",{});var nE=l(vo);Kc=a(nE,"function"),nE.forEach(e),cE.forEach(e),Qc=n(ht),_o=o(ht,"TD",{});var sE=l(_o);Do=o(sE,"EM",{});var iE=l(Do);uo=o(iE,"CODE",{});var EE=l(uo);Vc=a(EE,"internal"),EE.forEach(e),iE.forEach(e),sE.forEach(e),Wc=n(ht),E=o(ht,"TD",{});var f=l(E);Xc=a(f,"function used to position picker. Used as action. Acceps following object: "),To=o(f,"CODE",{});var fE=l(To);Zc=a(fE,"{ inputEl, visible}"),fE.forEach(e),$c=a(f,", where "),mo=o(f,"CODE",{});var hE=l(mo);tn=a(hE,"visible"),hE.forEach(e),en=a(f," is "),bo=o(f,"CODE",{});var vE=l(bo);dn=a(vE,"visible"),vE.forEach(e),on=a(f," parameter & "),Co=o(f,"CODE",{});var _E=l(Co);ln=a(_E,"inputEl"),_E.forEach(e),rn=a(f," is underlying "),Oo=o(f,"CODE",{});var DE=l(Oo);an=a(DE,""),DE.forEach(e),cn=a(f," element"),f.forEach(e),ht.forEach(e),nn=n(i),q=o(i,"TR",{});var vt=l(q);po=o(vt,"TD",{});var uE=l(po);sn=a(uE,"validatorAction"),uE.forEach(e),En=n(vt),go=o(vt,"TD",{});var TE=l(go);yo=o(TE,"CODE",{});var mE=l(yo);fn=a(mE,"array"),mE.forEach(e),TE.forEach(e),hn=n(vt),Ro=o(vt,"TD",{});var bE=l(Ro);wo=o(bE,"CODE",{});var CE=l(wo);vn=a(CE,"null"),CE.forEach(e),bE.forEach(e),_n=n(vt),U=o(vt,"TD",{});var St=l(U);Dn=a(St,"Bind validator action for inner "),ko=o(St,"CODE",{});var OE=l(ko);un=a(OE,""),OE.forEach(e),Tn=a(St," element. Designed to be used with "),Bo=o(St,"CODE",{});var pE=l(Bo);mn=a(pE,"svelte-use-form"),pE.forEach(e),bn=a(St,"."),St.forEach(e),vt.forEach(e),i.forEach(e),Bt.forEach(e),this.h()},h(){gE(wt,"href","#css-variables"),gE(kt,"href","#format-settings")},m(So,Bt){BE(So,z,Bt),t(z,At),t(At,h),t(h,jt),t(jt,Uo),t(h,Lo),t(h,xt),t(xt,No),t(h,Yo),t(h,Ht),t(Ht,Go),t(h,Jo),t(h,It),t(It,Ko),t(z,Qo),t(z,s),t(s,v),t(v,Pt),t(Pt,Vo),t(v,Wo),t(v,Ft),t(Ft,qt),t(qt,Xo),t(v,Zo),t(v,zt),t(zt,Mt),t(Mt,$o),t(v,tl),t(v,_t),t(_t,el),t(_t,Ut),t(Ut,dl),t(_t,ol),t(s,ll),t(s,_),t(_,Lt),t(Lt,rl),t(_,al),t(_,Nt),t(Nt,Yt),t(Yt,cl),t(_,nl),t(_,Gt),t(Gt,Jt),t(Jt,sl),t(_,il),t(_,Dt),t(Dt,El),t(Dt,Kt),t(Kt,fl),t(Dt,hl),t(s,vl),t(s,D),t(D,Qt),t(Qt,_l),t(D,Dl),t(D,Vt),t(Vt,Wt),t(Wt,ul),t(D,Tl),t(D,Xt),t(Xt,Zt),t(Zt,ml),t(D,bl),t(D,ut),t(ut,Cl),t(ut,$t),t($t,Ol),t(ut,pl),t(s,gl),t(s,u),t(u,te),t(te,yl),t(u,Rl),t(u,ee),t(ee,de),t(de,wl),t(u,kl),t(u,oe),t(oe,le),t(le,Bl),t(u,Sl),t(u,Tt),t(Tt,Al),t(Tt,re),t(re,jl),t(Tt,xl),t(s,Hl),t(s,T),t(T,ae),t(ae,Il),t(T,Pl),t(T,ce),t(ce,ne),t(ne,Fl),t(T,ql),t(T,se),t(se,ie),t(ie,zl),t(T,Ml),t(T,Ee),t(Ee,Ul),t(s,Ll),t(s,m),t(m,fe),t(fe,Nl),t(m,Yl),t(m,he),t(he,ve),t(ve,Gl),t(m,Jl),t(m,_e),t(_e,De),t(De,Kl),t(m,Ql),t(m,yt),t(yt,Vl),t(yt,ue),t(ue,Wl),t(s,Xl),t(s,b),t(b,Te),t(Te,Zl),t(b,$l),t(b,mt),t(mt,me),t(me,tr),t(mt,er),t(mt,be),t(be,dr),t(b,or),t(b,Ce),t(Ce,Oe),t(Oe,lr),t(b,rr),t(b,pe),t(pe,ar),t(s,cr),t(s,C),t(C,ge),t(ge,nr),t(C,sr),t(C,bt),t(bt,ye),t(ye,ir),t(bt,Er),t(bt,Re),t(Re,fr),t(C,hr),t(C,we),t(we,ke),t(ke,vr),t(C,_r),t(C,Be),t(Be,Dr),t(s,ur),t(s,O),t(O,Se),t(Se,Tr),t(O,mr),t(O,Ae),t(Ae,je),t(je,br),t(O,Cr),t(O,xe),t(xe,He),t(He,Or),t(O,pr),t(O,Ie),t(Ie,gr),t(s,yr),t(s,p),t(p,Pe),t(Pe,Rr),t(p,wr),t(p,Fe),t(Fe,qe),t(qe,kr),t(p,Br),t(p,ze),t(ze,Me),t(Me,Sr),t(p,Ar),t(p,Rt),t(Rt,jr),t(Rt,wt),t(wt,xr),t(s,Hr),t(s,g),t(g,Ue),t(Ue,Ir),t(g,Pr),t(g,Le),t(Le,Ne),t(Ne,Fr),t(g,qr),t(g,Ye),t(Ye,Ge),t(Ge,zr),t(g,Mr),t(g,Je),t(Je,Ur),t(s,Lr),t(s,y),t(y,Ke),t(Ke,Nr),t(y,Yr),t(y,Qe),t(Qe,Ve),t(Ve,Gr),t(y,Jr),t(y,We),t(We,Xe),t(Xe,Kr),t(y,Qr),t(y,Ct),t(Ct,Vr),t(Ct,kt),t(kt,Wr),t(Ct,Xr),t(s,Zr),t(s,R),t(R,Ze),t(Ze,$r),t(R,ta),t(R,$e),t($e,td),t(td,ea),t(R,da),t(R,ed),t(ed,dd),t(dd,oa),t(R,la),t(R,Ot),t(Ot,ra),t(Ot,od),t(od,aa),t(Ot,ca),t(s,na),t(s,w),t(w,ld),t(ld,sa),t(w,ia),t(w,rd),t(rd,ad),t(ad,Ea),t(w,fa),t(w,cd),t(cd,nd),t(nd,ha),t(w,va),t(w,L),t(L,_a),t(L,sd),t(sd,Da),t(L,ua),t(L,id),t(id,Ta),t(s,ma),t(s,k),t(k,Ed),t(Ed,ba),t(k,Ca),t(k,fd),t(fd,hd),t(hd,Oa),t(k,pa),t(k,vd),t(vd,ga),t(k,ya),t(k,_d),t(_d,Ra),t(s,wa),t(s,B),t(B,Dd),t(Dd,ka),t(B,Ba),t(B,ud),t(ud,Td),t(Td,Sa),t(B,Aa),t(B,md),t(md,ja),t(B,xa),t(B,bd),t(bd,Ha),t(s,Ia),t(s,S),t(S,Cd),t(Cd,Pa),t(S,Fa),t(S,Od),t(Od,pd),t(pd,qa),t(S,za),t(S,gd),t(gd,yd),t(yd,Ma),t(S,Ua),t(S,Rd),t(Rd,La),t(s,Na),t(s,A),t(A,wd),t(wd,Ya),t(A,Ga),t(A,kd),t(kd,Bd),t(Bd,Ja),t(A,Ka),t(A,Sd),t(Sd,Ad),t(Ad,Qa),t(A,Va),t(A,jd),t(jd,Wa),t(s,Xa),t(s,j),t(j,xd),t(xd,Za),t(j,$a),t(j,Hd),t(Hd,Id),t(Id,tc),t(j,ec),t(j,Pd),t(Pd,Fd),t(Fd,dc),t(j,oc),t(j,qd),t(qd,lc),t(s,rc),t(s,x),t(x,zd),t(zd,ac),t(x,cc),t(x,Md),t(Md,Ud),t(Ud,nc),t(x,sc),t(x,Ld),t(Ld,Nd),t(Nd,ic),t(x,Ec),t(x,Yd),t(Yd,fc),t(s,hc),t(s,H),t(H,Gd),t(Gd,vc),t(H,_c),t(H,Jd),t(Jd,Kd),t(Kd,Dc),t(H,uc),t(H,Qd),t(Qd,Vd),t(Vd,Tc),t(H,mc),t(H,M),t(M,bc),t(M,Wd),t(Wd,Cc),t(M,Oc),t(M,Xd),t(Xd,pc),t(M,gc),t(M,Zd),t(Zd,yc),t(s,Rc),t(s,I),t(I,$d),t($d,wc),t(I,kc),t(I,to),t(to,eo),t(eo,Bc),t(I,Sc),t(I,oo),t(oo,lo),t(lo,Ac),t(I,jc),t(I,pt),t(pt,xc),t(pt,ro),t(ro,Hc),t(pt,Ic),t(s,Pc),t(s,P),t(P,ao),t(ao,Fc),t(P,qc),t(P,co),t(co,no),t(no,zc),t(P,Mc),t(P,so),t(so,io),t(io,Uc),t(P,Lc),t(P,Eo),t(Eo,Nc),t(s,Yc),t(s,F),t(F,fo),t(fo,Gc),t(F,Jc),t(F,ho),t(ho,vo),t(vo,Kc),t(F,Qc),t(F,_o),t(_o,Do),t(Do,uo),t(uo,Vc),t(F,Wc),t(F,E),t(E,Xc),t(E,To),t(To,Zc),t(E,$c),t(E,mo),t(mo,tn),t(E,en),t(E,bo),t(bo,dn),t(E,on),t(E,Co),t(Co,ln),t(E,rn),t(E,Oo),t(Oo,an),t(E,cn),t(s,nn),t(s,q),t(q,po),t(po,sn),t(q,En),t(q,go),t(go,yo),t(yo,fn),t(q,hn),t(q,Ro),t(Ro,wo),t(wo,vn),t(q,_n),t(q,U),t(U,Dn),t(U,ko),t(ko,un),t(U,Tn),t(U,Bo),t(Bo,mn),t(U,bn)},p:pn,i:pn,o:pn,d(So){So&&e(z)}}}class jE extends RE{constructor(z){super(),wE(this,z,null,SE,kE,{})}}export{jE as O}; +import{S as RE,i as wE,s as kE,l as d,r,a as c,m as o,n as l,u as a,h as e,c as n,p as gE,b as BE,O as t,F as pn}from"./index-bfee2186.js";function SE(yE){let z,At,h,jt,Uo,Lo,xt,Yo,Go,Ht,Jo,Ko,It,No,Qo,s,v,Pt,Vo,Wo,Ft,qt,Xo,Zo,zt,Mt,$o,tl,_t,el,Ut,dl,ol,ll,_,Lt,rl,al,Yt,Gt,cl,nl,Jt,Kt,sl,il,Dt,El,Nt,fl,hl,vl,D,Qt,_l,Dl,Vt,Wt,ul,Tl,Xt,Zt,ml,bl,ut,Cl,$t,Ol,pl,gl,u,te,yl,Rl,ee,de,wl,kl,oe,le,Bl,Sl,Tt,Al,re,jl,xl,Hl,T,ae,Il,Pl,ce,ne,Fl,ql,se,ie,zl,Ml,Ee,Ul,Ll,m,fe,Yl,Gl,he,ve,Jl,Kl,_e,De,Nl,Ql,yt,Vl,ue,Wl,Xl,b,Te,Zl,$l,mt,me,tr,er,be,dr,or,Ce,Oe,lr,rr,pe,ar,cr,C,ge,nr,sr,bt,ye,ir,Er,Re,fr,hr,we,ke,vr,_r,Be,Dr,ur,O,Se,Tr,mr,Ae,je,br,Cr,xe,He,Or,pr,Ie,gr,yr,p,Pe,Rr,wr,Fe,qe,kr,Br,ze,Me,Sr,Ar,Rt,jr,wt,xr,Hr,g,Ue,Ir,Pr,Le,Ye,Fr,qr,Ge,Je,zr,Mr,Ke,Ur,Lr,y,Ne,Yr,Gr,Qe,Ve,Jr,Kr,We,Xe,Nr,Qr,Ct,Vr,kt,Wr,Xr,Zr,R,Ze,$r,ta,$e,td,ea,da,ed,dd,oa,la,Ot,ra,od,aa,ca,na,w,ld,sa,ia,rd,ad,Ea,fa,cd,nd,ha,va,L,_a,sd,Da,ua,id,Ta,ma,k,Ed,ba,Ca,fd,hd,Oa,pa,vd,ga,ya,_d,Ra,wa,B,Dd,ka,Ba,ud,Td,Sa,Aa,md,ja,xa,bd,Ha,Ia,S,Cd,Pa,Fa,Od,pd,qa,za,gd,yd,Ma,Ua,Rd,La,Ya,A,wd,Ga,Ja,kd,Bd,Ka,Na,Sd,Ad,Qa,Va,jd,Wa,Xa,j,xd,Za,$a,Hd,Id,tc,ec,Pd,Fd,dc,oc,qd,lc,rc,x,zd,ac,cc,Md,Ud,nc,sc,Ld,Yd,ic,Ec,Gd,fc,hc,H,Jd,vc,_c,Kd,Nd,Dc,uc,Qd,Vd,Tc,mc,M,bc,Wd,Cc,Oc,Xd,pc,gc,Zd,yc,Rc,I,$d,wc,kc,to,eo,Bc,Sc,oo,lo,Ac,jc,pt,xc,ro,Hc,Ic,Pc,P,ao,Fc,qc,co,no,zc,Mc,so,io,Uc,Lc,Eo,Yc,Gc,F,fo,Jc,Kc,ho,vo,Nc,Qc,_o,Do,uo,Vc,Wc,E,Xc,To,Zc,$c,mo,tn,en,bo,dn,on,Co,ln,rn,Oo,an,cn,nn,q,po,sn,En,go,yo,fn,hn,Ro,wo,vn,_n,U,Dn,ko,un,Tn,Bo,mn,bn;return{c(){z=d("table"),At=d("thead"),h=d("tr"),jt=d("th"),Uo=r("Property"),Lo=c(),xt=d("th"),Yo=r("Type"),Go=c(),Ht=d("th"),Jo=r("Default"),Ko=c(),It=d("th"),No=r("Description"),Qo=c(),s=d("tbody"),v=d("tr"),Pt=d("td"),Vo=r("name"),Wo=c(),Ft=d("td"),qt=d("code"),Xo=r("string"),Zo=c(),zt=d("td"),Mt=d("code"),$o=r("date"),tl=c(),_t=d("td"),el=r("html attribute for underlying "),Ut=d("code"),dl=r(""),ol=r(" element"),ll=c(),_=d("tr"),Lt=d("td"),rl=r("disabled"),al=c(),Yt=d("td"),Gt=d("code"),cl=r("bool"),nl=c(),Jt=d("td"),Kt=d("code"),sl=r("false"),il=c(),Dt=d("td"),El=r("html attribute for underlying "),Nt=d("code"),fl=r(""),hl=r(" element"),vl=c(),D=d("tr"),Qt=d("td"),_l=r("placeholder"),Dl=c(),Vt=d("td"),Wt=d("code"),ul=r("string"),Tl=c(),Xt=d("td"),Zt=d("code"),ml=r("null"),bl=c(),ut=d("td"),Cl=r("html attribute for underlying "),$t=d("code"),Ol=r(""),pl=r(" element"),gl=c(),u=d("tr"),te=d("td"),yl=r("required"),Rl=c(),ee=d("td"),de=d("code"),wl=r("bool"),kl=c(),oe=d("td"),le=d("code"),Bl=r("false"),Sl=c(),Tt=d("td"),Al=r("html attribute for underlying "),re=d("code"),jl=r(""),xl=r(" element"),Hl=c(),T=d("tr"),ae=d("td"),Il=r("value"),Pl=c(),ce=d("td"),ne=d("code"),Fl=r("string"),ql=c(),se=d("td"),ie=d("code"),zl=r("null"),Ml=c(),Ee=d("td"),Ul=r("string representation of selected value"),Ll=c(),m=d("tr"),fe=d("td"),Yl=r("initialDate"),Gl=c(),he=d("td"),ve=d("code"),Jl=r("Date"),Kl=c(),_e=d("td"),De=d("code"),Nl=r("null"),Ql=c(),yt=d("td"),Vl=r("initial date object, if you prefer that to "),ue=d("code"),Wl=r("value"),Xl=c(),b=d("tr"),Te=d("td"),Zl=r("startDate"),$l=c(),mt=d("td"),me=d("code"),tr=r("string"),er=r("|"),be=d("code"),dr=r("Date"),or=c(),Ce=d("td"),Oe=d("code"),lr=r("null"),rr=c(),pe=d("td"),ar=r("limit minimal selectable date"),cr=c(),C=d("tr"),ge=d("td"),nr=r("endDate"),sr=c(),bt=d("td"),ye=d("code"),ir=r("string"),Er=r("|"),Re=d("code"),fr=r("Date"),hr=c(),we=d("td"),ke=d("code"),vr=r("null"),_r=c(),Be=d("td"),Dr=r("limit maximal selectable date"),ur=c(),O=d("tr"),Se=d("td"),Tr=r("pickerOnly"),mr=c(),Ae=d("td"),je=d("code"),br=r("bool"),Cr=c(),xe=d("td"),He=d("code"),Or=r("false"),pr=c(),Ie=d("td"),gr=r("Picker is always visible and input field is then hidden, but still present"),yr=c(),p=d("tr"),Pe=d("td"),Rr=r("theme"),wr=c(),Fe=d("td"),qe=d("code"),kr=r("string"),Br=c(),ze=d("td"),Me=d("code"),Sr=r("sdt-calendar-colors"),Ar=c(),Rt=d("td"),jr=r("css class defining "),wt=d("a"),xr=r("css variables"),Hr=c(),g=d("tr"),Ue=d("td"),Ir=r("mode"),Pr=c(),Le=d("td"),Ye=d("code"),Fr=r("string"),qr=c(),Ge=d("td"),Je=d("code"),zr=r("auto"),Mr=c(),Ke=d("td"),Ur=r("restrict picker\u2019s mode. Possible values: `auto"),Lr=c(),y=d("tr"),Ne=d("td"),Yr=r("format"),Gr=c(),Qe=d("td"),Ve=d("code"),Jr=r("string"),Kr=c(),We=d("td"),Xe=d("code"),Nr=r("yyyy-mm-dd"),Qr=c(),Ct=d("td"),Vr=r("Format of entered date/time. See "),kt=d("a"),Wr=r("format settings"),Xr=r(" for available options"),Zr=c(),R=d("tr"),Ze=d("td"),$r=r("minuteIncrement"),ta=c(),$e=d("td"),td=d("code"),ea=r("number"),da=c(),ed=d("td"),dd=d("code"),oa=r("1"),la=c(),Ot=d("td"),ra=r("number in range "),od=d("code"),aa=r("1-60"),ca=r(" to set the increment of minutes choosable"),na=c(),w=d("tr"),ld=d("td"),sa=r("weekStart"),ia=c(),rd=d("td"),ad=d("code"),Ea=r("number"),fa=c(),cd=d("td"),nd=d("code"),ha=r("1"),va=c(),L=d("td"),_a=r("number in range "),sd=d("code"),Da=r("0-6"),ua=r(" to select first day of the week. Sunday is "),id=d("code"),Ta=r("0"),ma=c(),k=d("tr"),Ed=d("td"),ba=r("inputId"),Ca=c(),fd=d("td"),hd=d("code"),Oa=r("string"),pa=c(),vd=d("td"),ga=r("\u201C"),ya=c(),_d=d("td"),Ra=r("id attribute for input element"),wa=c(),B=d("tr"),Dd=d("td"),ka=r("inputClasses"),Ba=c(),ud=d("td"),Td=d("code"),Sa=r("string"),Aa=c(),md=d("td"),ja=r("\u201C"),xa=c(),bd=d("td"),Ha=r("input css class string"),Ia=c(),S=d("tr"),Cd=d("td"),Pa=r("todayBtnClasses"),Fa=c(),Od=d("td"),pd=d("code"),qa=r("string"),za=c(),gd=d("td"),yd=d("code"),Ma=r("sdt-action-btn sdt-today-btn"),Ua=c(),Rd=d("td"),La=r("today button css classes"),Ya=c(),A=d("tr"),wd=d("td"),Ga=r("clearBtnClasses"),Ja=c(),kd=d("td"),Bd=d("code"),Ka=r("string"),Na=c(),Sd=d("td"),Ad=d("code"),Qa=r("sdt-action-btn sdt-clear-btn"),Va=c(),jd=d("td"),Wa=r("clear button css classes"),Xa=c(),j=d("tr"),xd=d("td"),Za=r("todayBtn"),$a=c(),Hd=d("td"),Id=d("code"),tc=r("bool"),ec=c(),Pd=d("td"),Fd=d("code"),dc=r("true"),oc=c(),qd=d("td"),lc=r("Show today button"),rc=c(),x=d("tr"),zd=d("td"),ac=r("clearBtn"),cc=c(),Md=d("td"),Ud=d("code"),nc=r("bool"),sc=c(),Ld=d("td"),Yd=d("code"),ic=r("true"),Ec=c(),Gd=d("td"),fc=r("Show clear button"),hc=c(),H=d("tr"),Jd=d("td"),vc=r("clearToggle"),_c=c(),Kd=d("td"),Nd=d("code"),Dc=r("bool"),uc=c(),Qd=d("td"),Vd=d("code"),Tc=r("true"),mc=c(),M=d("td"),bc=r("Allows to clear selected date when clicking on the same date when in "),Wd=d("code"),Cc=r("mode='date'"),Oc=r(" or "),Xd=d("code"),pc=r("mode='auto'"),gc=r(" resolving to "),Zd=d("code"),yc=r("'date'"),Rc=c(),I=d("tr"),$d=d("td"),wc=r("autoclose"),kc=c(),to=d("td"),eo=d("code"),Bc=r("bool"),Sc=c(),oo=d("td"),lo=d("code"),Ac=r("true"),jc=c(),pt=d("td"),xc=r("Hides picker after selection is done. If mode includes "),ro=d("em"),Hc=r("time picker"),Ic=r(", it closes automatically only after minute selection"),Pc=c(),P=d("tr"),ao=d("td"),Fc=r("i18n"),qc=c(),co=d("td"),no=d("code"),zc=r("object"),Mc=c(),so=d("td"),io=d("code"),Uc=r("en"),Lc=c(),Eo=d("td"),Yc=r("localization object, english is by default"),Gc=c(),F=d("tr"),fo=d("td"),Jc=r("positionFn"),Kc=c(),ho=d("td"),vo=d("code"),Nc=r("function"),Qc=c(),_o=d("td"),Do=d("em"),uo=d("code"),Vc=r("internal"),Wc=c(),E=d("td"),Xc=r("function used to position picker. Used as action. Acceps following object: "),To=d("code"),Zc=r("{ inputEl, visible}"),$c=r(", where "),mo=d("code"),tn=r("visible"),en=r(" is "),bo=d("code"),dn=r("visible"),on=r(" parameter & "),Co=d("code"),ln=r("inputEl"),rn=r(" is underlying "),Oo=d("code"),an=r(""),cn=r(" element"),nn=c(),q=d("tr"),po=d("td"),sn=r("validatorAction"),En=c(),go=d("td"),yo=d("code"),fn=r("array"),hn=c(),Ro=d("td"),wo=d("code"),vn=r("null"),_n=c(),U=d("td"),Dn=r("Bind validator action for inner "),ko=d("code"),un=r(""),Tn=r(" element. Designed to be used with "),Bo=d("code"),mn=r("svelte-use-form"),bn=r("."),this.h()},l(So){z=o(So,"TABLE",{});var Bt=l(z);At=o(Bt,"THEAD",{});var gn=l(At);h=o(gn,"TR",{});var Y=l(h);jt=o(Y,"TH",{});var yn=l(jt);Uo=a(yn,"Property"),yn.forEach(e),Lo=n(Y),xt=o(Y,"TH",{});var Rn=l(xt);Yo=a(Rn,"Type"),Rn.forEach(e),Go=n(Y),Ht=o(Y,"TH",{});var wn=l(Ht);Jo=a(wn,"Default"),wn.forEach(e),Ko=n(Y),It=o(Y,"TH",{});var kn=l(It);No=a(kn,"Description"),kn.forEach(e),Y.forEach(e),gn.forEach(e),Qo=n(Bt),s=o(Bt,"TBODY",{});var i=l(s);v=o(i,"TR",{});var G=l(v);Pt=o(G,"TD",{});var Bn=l(Pt);Vo=a(Bn,"name"),Bn.forEach(e),Wo=n(G),Ft=o(G,"TD",{});var Sn=l(Ft);qt=o(Sn,"CODE",{});var An=l(qt);Xo=a(An,"string"),An.forEach(e),Sn.forEach(e),Zo=n(G),zt=o(G,"TD",{});var jn=l(zt);Mt=o(jn,"CODE",{});var xn=l(Mt);$o=a(xn,"date"),xn.forEach(e),jn.forEach(e),tl=n(G),_t=o(G,"TD",{});var jo=l(_t);el=a(jo,"html attribute for underlying "),Ut=o(jo,"CODE",{});var Hn=l(Ut);dl=a(Hn,""),Hn.forEach(e),ol=a(jo," element"),jo.forEach(e),G.forEach(e),ll=n(i),_=o(i,"TR",{});var J=l(_);Lt=o(J,"TD",{});var In=l(Lt);rl=a(In,"disabled"),In.forEach(e),al=n(J),Yt=o(J,"TD",{});var Pn=l(Yt);Gt=o(Pn,"CODE",{});var Fn=l(Gt);cl=a(Fn,"bool"),Fn.forEach(e),Pn.forEach(e),nl=n(J),Jt=o(J,"TD",{});var qn=l(Jt);Kt=o(qn,"CODE",{});var zn=l(Kt);sl=a(zn,"false"),zn.forEach(e),qn.forEach(e),il=n(J),Dt=o(J,"TD",{});var xo=l(Dt);El=a(xo,"html attribute for underlying "),Nt=o(xo,"CODE",{});var Mn=l(Nt);fl=a(Mn,""),Mn.forEach(e),hl=a(xo," element"),xo.forEach(e),J.forEach(e),vl=n(i),D=o(i,"TR",{});var K=l(D);Qt=o(K,"TD",{});var Un=l(Qt);_l=a(Un,"placeholder"),Un.forEach(e),Dl=n(K),Vt=o(K,"TD",{});var Ln=l(Vt);Wt=o(Ln,"CODE",{});var Yn=l(Wt);ul=a(Yn,"string"),Yn.forEach(e),Ln.forEach(e),Tl=n(K),Xt=o(K,"TD",{});var Gn=l(Xt);Zt=o(Gn,"CODE",{});var Jn=l(Zt);ml=a(Jn,"null"),Jn.forEach(e),Gn.forEach(e),bl=n(K),ut=o(K,"TD",{});var Ho=l(ut);Cl=a(Ho,"html attribute for underlying "),$t=o(Ho,"CODE",{});var Kn=l($t);Ol=a(Kn,""),Kn.forEach(e),pl=a(Ho," element"),Ho.forEach(e),K.forEach(e),gl=n(i),u=o(i,"TR",{});var N=l(u);te=o(N,"TD",{});var Nn=l(te);yl=a(Nn,"required"),Nn.forEach(e),Rl=n(N),ee=o(N,"TD",{});var Qn=l(ee);de=o(Qn,"CODE",{});var Vn=l(de);wl=a(Vn,"bool"),Vn.forEach(e),Qn.forEach(e),kl=n(N),oe=o(N,"TD",{});var Wn=l(oe);le=o(Wn,"CODE",{});var Xn=l(le);Bl=a(Xn,"false"),Xn.forEach(e),Wn.forEach(e),Sl=n(N),Tt=o(N,"TD",{});var Io=l(Tt);Al=a(Io,"html attribute for underlying "),re=o(Io,"CODE",{});var Zn=l(re);jl=a(Zn,""),Zn.forEach(e),xl=a(Io," element"),Io.forEach(e),N.forEach(e),Hl=n(i),T=o(i,"TR",{});var Q=l(T);ae=o(Q,"TD",{});var $n=l(ae);Il=a($n,"value"),$n.forEach(e),Pl=n(Q),ce=o(Q,"TD",{});var ts=l(ce);ne=o(ts,"CODE",{});var es=l(ne);Fl=a(es,"string"),es.forEach(e),ts.forEach(e),ql=n(Q),se=o(Q,"TD",{});var ds=l(se);ie=o(ds,"CODE",{});var os=l(ie);zl=a(os,"null"),os.forEach(e),ds.forEach(e),Ml=n(Q),Ee=o(Q,"TD",{});var ls=l(Ee);Ul=a(ls,"string representation of selected value"),ls.forEach(e),Q.forEach(e),Ll=n(i),m=o(i,"TR",{});var V=l(m);fe=o(V,"TD",{});var rs=l(fe);Yl=a(rs,"initialDate"),rs.forEach(e),Gl=n(V),he=o(V,"TD",{});var as=l(he);ve=o(as,"CODE",{});var cs=l(ve);Jl=a(cs,"Date"),cs.forEach(e),as.forEach(e),Kl=n(V),_e=o(V,"TD",{});var ns=l(_e);De=o(ns,"CODE",{});var ss=l(De);Nl=a(ss,"null"),ss.forEach(e),ns.forEach(e),Ql=n(V),yt=o(V,"TD",{});var Cn=l(yt);Vl=a(Cn,"initial date object, if you prefer that to "),ue=o(Cn,"CODE",{});var is=l(ue);Wl=a(is,"value"),is.forEach(e),Cn.forEach(e),V.forEach(e),Xl=n(i),b=o(i,"TR",{});var W=l(b);Te=o(W,"TD",{});var Es=l(Te);Zl=a(Es,"startDate"),Es.forEach(e),$l=n(W),mt=o(W,"TD",{});var Po=l(mt);me=o(Po,"CODE",{});var fs=l(me);tr=a(fs,"string"),fs.forEach(e),er=a(Po,"|"),be=o(Po,"CODE",{});var hs=l(be);dr=a(hs,"Date"),hs.forEach(e),Po.forEach(e),or=n(W),Ce=o(W,"TD",{});var vs=l(Ce);Oe=o(vs,"CODE",{});var _s=l(Oe);lr=a(_s,"null"),_s.forEach(e),vs.forEach(e),rr=n(W),pe=o(W,"TD",{});var Ds=l(pe);ar=a(Ds,"limit minimal selectable date"),Ds.forEach(e),W.forEach(e),cr=n(i),C=o(i,"TR",{});var X=l(C);ge=o(X,"TD",{});var us=l(ge);nr=a(us,"endDate"),us.forEach(e),sr=n(X),bt=o(X,"TD",{});var Fo=l(bt);ye=o(Fo,"CODE",{});var Ts=l(ye);ir=a(Ts,"string"),Ts.forEach(e),Er=a(Fo,"|"),Re=o(Fo,"CODE",{});var ms=l(Re);fr=a(ms,"Date"),ms.forEach(e),Fo.forEach(e),hr=n(X),we=o(X,"TD",{});var bs=l(we);ke=o(bs,"CODE",{});var Cs=l(ke);vr=a(Cs,"null"),Cs.forEach(e),bs.forEach(e),_r=n(X),Be=o(X,"TD",{});var Os=l(Be);Dr=a(Os,"limit maximal selectable date"),Os.forEach(e),X.forEach(e),ur=n(i),O=o(i,"TR",{});var Z=l(O);Se=o(Z,"TD",{});var ps=l(Se);Tr=a(ps,"pickerOnly"),ps.forEach(e),mr=n(Z),Ae=o(Z,"TD",{});var gs=l(Ae);je=o(gs,"CODE",{});var ys=l(je);br=a(ys,"bool"),ys.forEach(e),gs.forEach(e),Cr=n(Z),xe=o(Z,"TD",{});var Rs=l(xe);He=o(Rs,"CODE",{});var ws=l(He);Or=a(ws,"false"),ws.forEach(e),Rs.forEach(e),pr=n(Z),Ie=o(Z,"TD",{});var ks=l(Ie);gr=a(ks,"Picker is always visible and input field is then hidden, but still present"),ks.forEach(e),Z.forEach(e),yr=n(i),p=o(i,"TR",{});var $=l(p);Pe=o($,"TD",{});var Bs=l(Pe);Rr=a(Bs,"theme"),Bs.forEach(e),wr=n($),Fe=o($,"TD",{});var Ss=l(Fe);qe=o(Ss,"CODE",{});var As=l(qe);kr=a(As,"string"),As.forEach(e),Ss.forEach(e),Br=n($),ze=o($,"TD",{});var js=l(ze);Me=o(js,"CODE",{});var xs=l(Me);Sr=a(xs,"sdt-calendar-colors"),xs.forEach(e),js.forEach(e),Ar=n($),Rt=o($,"TD",{});var On=l(Rt);jr=a(On,"css class defining "),wt=o(On,"A",{href:!0});var Hs=l(wt);xr=a(Hs,"css variables"),Hs.forEach(e),On.forEach(e),$.forEach(e),Hr=n(i),g=o(i,"TR",{});var tt=l(g);Ue=o(tt,"TD",{});var Is=l(Ue);Ir=a(Is,"mode"),Is.forEach(e),Pr=n(tt),Le=o(tt,"TD",{});var Ps=l(Le);Ye=o(Ps,"CODE",{});var Fs=l(Ye);Fr=a(Fs,"string"),Fs.forEach(e),Ps.forEach(e),qr=n(tt),Ge=o(tt,"TD",{});var qs=l(Ge);Je=o(qs,"CODE",{});var zs=l(Je);zr=a(zs,"auto"),zs.forEach(e),qs.forEach(e),Mr=n(tt),Ke=o(tt,"TD",{});var Ms=l(Ke);Ur=a(Ms,"restrict picker\u2019s mode. Possible values: `auto"),Ms.forEach(e),tt.forEach(e),Lr=n(i),y=o(i,"TR",{});var et=l(y);Ne=o(et,"TD",{});var Us=l(Ne);Yr=a(Us,"format"),Us.forEach(e),Gr=n(et),Qe=o(et,"TD",{});var Ls=l(Qe);Ve=o(Ls,"CODE",{});var Ys=l(Ve);Jr=a(Ys,"string"),Ys.forEach(e),Ls.forEach(e),Kr=n(et),We=o(et,"TD",{});var Gs=l(We);Xe=o(Gs,"CODE",{});var Js=l(Xe);Nr=a(Js,"yyyy-mm-dd"),Js.forEach(e),Gs.forEach(e),Qr=n(et),Ct=o(et,"TD",{});var qo=l(Ct);Vr=a(qo,"Format of entered date/time. See "),kt=o(qo,"A",{href:!0});var Ks=l(kt);Wr=a(Ks,"format settings"),Ks.forEach(e),Xr=a(qo," for available options"),qo.forEach(e),et.forEach(e),Zr=n(i),R=o(i,"TR",{});var dt=l(R);Ze=o(dt,"TD",{});var Ns=l(Ze);$r=a(Ns,"minuteIncrement"),Ns.forEach(e),ta=n(dt),$e=o(dt,"TD",{});var Qs=l($e);td=o(Qs,"CODE",{});var Vs=l(td);ea=a(Vs,"number"),Vs.forEach(e),Qs.forEach(e),da=n(dt),ed=o(dt,"TD",{});var Ws=l(ed);dd=o(Ws,"CODE",{});var Xs=l(dd);oa=a(Xs,"1"),Xs.forEach(e),Ws.forEach(e),la=n(dt),Ot=o(dt,"TD",{});var zo=l(Ot);ra=a(zo,"number in range "),od=o(zo,"CODE",{});var Zs=l(od);aa=a(Zs,"1-60"),Zs.forEach(e),ca=a(zo," to set the increment of minutes choosable"),zo.forEach(e),dt.forEach(e),na=n(i),w=o(i,"TR",{});var ot=l(w);ld=o(ot,"TD",{});var $s=l(ld);sa=a($s,"weekStart"),$s.forEach(e),ia=n(ot),rd=o(ot,"TD",{});var ti=l(rd);ad=o(ti,"CODE",{});var ei=l(ad);Ea=a(ei,"number"),ei.forEach(e),ti.forEach(e),fa=n(ot),cd=o(ot,"TD",{});var di=l(cd);nd=o(di,"CODE",{});var oi=l(nd);ha=a(oi,"1"),oi.forEach(e),di.forEach(e),va=n(ot),L=o(ot,"TD",{});var Ao=l(L);_a=a(Ao,"number in range "),sd=o(Ao,"CODE",{});var li=l(sd);Da=a(li,"0-6"),li.forEach(e),ua=a(Ao," to select first day of the week. Sunday is "),id=o(Ao,"CODE",{});var ri=l(id);Ta=a(ri,"0"),ri.forEach(e),Ao.forEach(e),ot.forEach(e),ma=n(i),k=o(i,"TR",{});var lt=l(k);Ed=o(lt,"TD",{});var ai=l(Ed);ba=a(ai,"inputId"),ai.forEach(e),Ca=n(lt),fd=o(lt,"TD",{});var ci=l(fd);hd=o(ci,"CODE",{});var ni=l(hd);Oa=a(ni,"string"),ni.forEach(e),ci.forEach(e),pa=n(lt),vd=o(lt,"TD",{});var si=l(vd);ga=a(si,"\u201C"),si.forEach(e),ya=n(lt),_d=o(lt,"TD",{});var ii=l(_d);Ra=a(ii,"id attribute for input element"),ii.forEach(e),lt.forEach(e),wa=n(i),B=o(i,"TR",{});var rt=l(B);Dd=o(rt,"TD",{});var Ei=l(Dd);ka=a(Ei,"inputClasses"),Ei.forEach(e),Ba=n(rt),ud=o(rt,"TD",{});var fi=l(ud);Td=o(fi,"CODE",{});var hi=l(Td);Sa=a(hi,"string"),hi.forEach(e),fi.forEach(e),Aa=n(rt),md=o(rt,"TD",{});var vi=l(md);ja=a(vi,"\u201C"),vi.forEach(e),xa=n(rt),bd=o(rt,"TD",{});var _i=l(bd);Ha=a(_i,"input css class string"),_i.forEach(e),rt.forEach(e),Ia=n(i),S=o(i,"TR",{});var at=l(S);Cd=o(at,"TD",{});var Di=l(Cd);Pa=a(Di,"todayBtnClasses"),Di.forEach(e),Fa=n(at),Od=o(at,"TD",{});var ui=l(Od);pd=o(ui,"CODE",{});var Ti=l(pd);qa=a(Ti,"string"),Ti.forEach(e),ui.forEach(e),za=n(at),gd=o(at,"TD",{});var mi=l(gd);yd=o(mi,"CODE",{});var bi=l(yd);Ma=a(bi,"sdt-action-btn sdt-today-btn"),bi.forEach(e),mi.forEach(e),Ua=n(at),Rd=o(at,"TD",{});var Ci=l(Rd);La=a(Ci,"today button css classes"),Ci.forEach(e),at.forEach(e),Ya=n(i),A=o(i,"TR",{});var ct=l(A);wd=o(ct,"TD",{});var Oi=l(wd);Ga=a(Oi,"clearBtnClasses"),Oi.forEach(e),Ja=n(ct),kd=o(ct,"TD",{});var pi=l(kd);Bd=o(pi,"CODE",{});var gi=l(Bd);Ka=a(gi,"string"),gi.forEach(e),pi.forEach(e),Na=n(ct),Sd=o(ct,"TD",{});var yi=l(Sd);Ad=o(yi,"CODE",{});var Ri=l(Ad);Qa=a(Ri,"sdt-action-btn sdt-clear-btn"),Ri.forEach(e),yi.forEach(e),Va=n(ct),jd=o(ct,"TD",{});var wi=l(jd);Wa=a(wi,"clear button css classes"),wi.forEach(e),ct.forEach(e),Xa=n(i),j=o(i,"TR",{});var nt=l(j);xd=o(nt,"TD",{});var ki=l(xd);Za=a(ki,"todayBtn"),ki.forEach(e),$a=n(nt),Hd=o(nt,"TD",{});var Bi=l(Hd);Id=o(Bi,"CODE",{});var Si=l(Id);tc=a(Si,"bool"),Si.forEach(e),Bi.forEach(e),ec=n(nt),Pd=o(nt,"TD",{});var Ai=l(Pd);Fd=o(Ai,"CODE",{});var ji=l(Fd);dc=a(ji,"true"),ji.forEach(e),Ai.forEach(e),oc=n(nt),qd=o(nt,"TD",{});var xi=l(qd);lc=a(xi,"Show today button"),xi.forEach(e),nt.forEach(e),rc=n(i),x=o(i,"TR",{});var st=l(x);zd=o(st,"TD",{});var Hi=l(zd);ac=a(Hi,"clearBtn"),Hi.forEach(e),cc=n(st),Md=o(st,"TD",{});var Ii=l(Md);Ud=o(Ii,"CODE",{});var Pi=l(Ud);nc=a(Pi,"bool"),Pi.forEach(e),Ii.forEach(e),sc=n(st),Ld=o(st,"TD",{});var Fi=l(Ld);Yd=o(Fi,"CODE",{});var qi=l(Yd);ic=a(qi,"true"),qi.forEach(e),Fi.forEach(e),Ec=n(st),Gd=o(st,"TD",{});var zi=l(Gd);fc=a(zi,"Show clear button"),zi.forEach(e),st.forEach(e),hc=n(i),H=o(i,"TR",{});var it=l(H);Jd=o(it,"TD",{});var Mi=l(Jd);vc=a(Mi,"clearToggle"),Mi.forEach(e),_c=n(it),Kd=o(it,"TD",{});var Ui=l(Kd);Nd=o(Ui,"CODE",{});var Li=l(Nd);Dc=a(Li,"bool"),Li.forEach(e),Ui.forEach(e),uc=n(it),Qd=o(it,"TD",{});var Yi=l(Qd);Vd=o(Yi,"CODE",{});var Gi=l(Vd);Tc=a(Gi,"true"),Gi.forEach(e),Yi.forEach(e),mc=n(it),M=o(it,"TD",{});var gt=l(M);bc=a(gt,"Allows to clear selected date when clicking on the same date when in "),Wd=o(gt,"CODE",{});var Ji=l(Wd);Cc=a(Ji,"mode='date'"),Ji.forEach(e),Oc=a(gt," or "),Xd=o(gt,"CODE",{});var Ki=l(Xd);pc=a(Ki,"mode='auto'"),Ki.forEach(e),gc=a(gt," resolving to "),Zd=o(gt,"CODE",{});var Ni=l(Zd);yc=a(Ni,"'date'"),Ni.forEach(e),gt.forEach(e),it.forEach(e),Rc=n(i),I=o(i,"TR",{});var Et=l(I);$d=o(Et,"TD",{});var Qi=l($d);wc=a(Qi,"autoclose"),Qi.forEach(e),kc=n(Et),to=o(Et,"TD",{});var Vi=l(to);eo=o(Vi,"CODE",{});var Wi=l(eo);Bc=a(Wi,"bool"),Wi.forEach(e),Vi.forEach(e),Sc=n(Et),oo=o(Et,"TD",{});var Xi=l(oo);lo=o(Xi,"CODE",{});var Zi=l(lo);Ac=a(Zi,"true"),Zi.forEach(e),Xi.forEach(e),jc=n(Et),pt=o(Et,"TD",{});var Mo=l(pt);xc=a(Mo,"Hides picker after selection is done. If mode includes "),ro=o(Mo,"EM",{});var $i=l(ro);Hc=a($i,"time picker"),$i.forEach(e),Ic=a(Mo,", it closes automatically only after minute selection"),Mo.forEach(e),Et.forEach(e),Pc=n(i),P=o(i,"TR",{});var ft=l(P);ao=o(ft,"TD",{});var tE=l(ao);Fc=a(tE,"i18n"),tE.forEach(e),qc=n(ft),co=o(ft,"TD",{});var eE=l(co);no=o(eE,"CODE",{});var dE=l(no);zc=a(dE,"object"),dE.forEach(e),eE.forEach(e),Mc=n(ft),so=o(ft,"TD",{});var oE=l(so);io=o(oE,"CODE",{});var lE=l(io);Uc=a(lE,"en"),lE.forEach(e),oE.forEach(e),Lc=n(ft),Eo=o(ft,"TD",{});var rE=l(Eo);Yc=a(rE,"localization object, english is by default"),rE.forEach(e),ft.forEach(e),Gc=n(i),F=o(i,"TR",{});var ht=l(F);fo=o(ht,"TD",{});var aE=l(fo);Jc=a(aE,"positionFn"),aE.forEach(e),Kc=n(ht),ho=o(ht,"TD",{});var cE=l(ho);vo=o(cE,"CODE",{});var nE=l(vo);Nc=a(nE,"function"),nE.forEach(e),cE.forEach(e),Qc=n(ht),_o=o(ht,"TD",{});var sE=l(_o);Do=o(sE,"EM",{});var iE=l(Do);uo=o(iE,"CODE",{});var EE=l(uo);Vc=a(EE,"internal"),EE.forEach(e),iE.forEach(e),sE.forEach(e),Wc=n(ht),E=o(ht,"TD",{});var f=l(E);Xc=a(f,"function used to position picker. Used as action. Acceps following object: "),To=o(f,"CODE",{});var fE=l(To);Zc=a(fE,"{ inputEl, visible}"),fE.forEach(e),$c=a(f,", where "),mo=o(f,"CODE",{});var hE=l(mo);tn=a(hE,"visible"),hE.forEach(e),en=a(f," is "),bo=o(f,"CODE",{});var vE=l(bo);dn=a(vE,"visible"),vE.forEach(e),on=a(f," parameter & "),Co=o(f,"CODE",{});var _E=l(Co);ln=a(_E,"inputEl"),_E.forEach(e),rn=a(f," is underlying "),Oo=o(f,"CODE",{});var DE=l(Oo);an=a(DE,""),DE.forEach(e),cn=a(f," element"),f.forEach(e),ht.forEach(e),nn=n(i),q=o(i,"TR",{});var vt=l(q);po=o(vt,"TD",{});var uE=l(po);sn=a(uE,"validatorAction"),uE.forEach(e),En=n(vt),go=o(vt,"TD",{});var TE=l(go);yo=o(TE,"CODE",{});var mE=l(yo);fn=a(mE,"array"),mE.forEach(e),TE.forEach(e),hn=n(vt),Ro=o(vt,"TD",{});var bE=l(Ro);wo=o(bE,"CODE",{});var CE=l(wo);vn=a(CE,"null"),CE.forEach(e),bE.forEach(e),_n=n(vt),U=o(vt,"TD",{});var St=l(U);Dn=a(St,"Bind validator action for inner "),ko=o(St,"CODE",{});var OE=l(ko);un=a(OE,""),OE.forEach(e),Tn=a(St," element. Designed to be used with "),Bo=o(St,"CODE",{});var pE=l(Bo);mn=a(pE,"svelte-use-form"),pE.forEach(e),bn=a(St,"."),St.forEach(e),vt.forEach(e),i.forEach(e),Bt.forEach(e),this.h()},h(){gE(wt,"href","#css-variables"),gE(kt,"href","#format-settings")},m(So,Bt){BE(So,z,Bt),t(z,At),t(At,h),t(h,jt),t(jt,Uo),t(h,Lo),t(h,xt),t(xt,Yo),t(h,Go),t(h,Ht),t(Ht,Jo),t(h,Ko),t(h,It),t(It,No),t(z,Qo),t(z,s),t(s,v),t(v,Pt),t(Pt,Vo),t(v,Wo),t(v,Ft),t(Ft,qt),t(qt,Xo),t(v,Zo),t(v,zt),t(zt,Mt),t(Mt,$o),t(v,tl),t(v,_t),t(_t,el),t(_t,Ut),t(Ut,dl),t(_t,ol),t(s,ll),t(s,_),t(_,Lt),t(Lt,rl),t(_,al),t(_,Yt),t(Yt,Gt),t(Gt,cl),t(_,nl),t(_,Jt),t(Jt,Kt),t(Kt,sl),t(_,il),t(_,Dt),t(Dt,El),t(Dt,Nt),t(Nt,fl),t(Dt,hl),t(s,vl),t(s,D),t(D,Qt),t(Qt,_l),t(D,Dl),t(D,Vt),t(Vt,Wt),t(Wt,ul),t(D,Tl),t(D,Xt),t(Xt,Zt),t(Zt,ml),t(D,bl),t(D,ut),t(ut,Cl),t(ut,$t),t($t,Ol),t(ut,pl),t(s,gl),t(s,u),t(u,te),t(te,yl),t(u,Rl),t(u,ee),t(ee,de),t(de,wl),t(u,kl),t(u,oe),t(oe,le),t(le,Bl),t(u,Sl),t(u,Tt),t(Tt,Al),t(Tt,re),t(re,jl),t(Tt,xl),t(s,Hl),t(s,T),t(T,ae),t(ae,Il),t(T,Pl),t(T,ce),t(ce,ne),t(ne,Fl),t(T,ql),t(T,se),t(se,ie),t(ie,zl),t(T,Ml),t(T,Ee),t(Ee,Ul),t(s,Ll),t(s,m),t(m,fe),t(fe,Yl),t(m,Gl),t(m,he),t(he,ve),t(ve,Jl),t(m,Kl),t(m,_e),t(_e,De),t(De,Nl),t(m,Ql),t(m,yt),t(yt,Vl),t(yt,ue),t(ue,Wl),t(s,Xl),t(s,b),t(b,Te),t(Te,Zl),t(b,$l),t(b,mt),t(mt,me),t(me,tr),t(mt,er),t(mt,be),t(be,dr),t(b,or),t(b,Ce),t(Ce,Oe),t(Oe,lr),t(b,rr),t(b,pe),t(pe,ar),t(s,cr),t(s,C),t(C,ge),t(ge,nr),t(C,sr),t(C,bt),t(bt,ye),t(ye,ir),t(bt,Er),t(bt,Re),t(Re,fr),t(C,hr),t(C,we),t(we,ke),t(ke,vr),t(C,_r),t(C,Be),t(Be,Dr),t(s,ur),t(s,O),t(O,Se),t(Se,Tr),t(O,mr),t(O,Ae),t(Ae,je),t(je,br),t(O,Cr),t(O,xe),t(xe,He),t(He,Or),t(O,pr),t(O,Ie),t(Ie,gr),t(s,yr),t(s,p),t(p,Pe),t(Pe,Rr),t(p,wr),t(p,Fe),t(Fe,qe),t(qe,kr),t(p,Br),t(p,ze),t(ze,Me),t(Me,Sr),t(p,Ar),t(p,Rt),t(Rt,jr),t(Rt,wt),t(wt,xr),t(s,Hr),t(s,g),t(g,Ue),t(Ue,Ir),t(g,Pr),t(g,Le),t(Le,Ye),t(Ye,Fr),t(g,qr),t(g,Ge),t(Ge,Je),t(Je,zr),t(g,Mr),t(g,Ke),t(Ke,Ur),t(s,Lr),t(s,y),t(y,Ne),t(Ne,Yr),t(y,Gr),t(y,Qe),t(Qe,Ve),t(Ve,Jr),t(y,Kr),t(y,We),t(We,Xe),t(Xe,Nr),t(y,Qr),t(y,Ct),t(Ct,Vr),t(Ct,kt),t(kt,Wr),t(Ct,Xr),t(s,Zr),t(s,R),t(R,Ze),t(Ze,$r),t(R,ta),t(R,$e),t($e,td),t(td,ea),t(R,da),t(R,ed),t(ed,dd),t(dd,oa),t(R,la),t(R,Ot),t(Ot,ra),t(Ot,od),t(od,aa),t(Ot,ca),t(s,na),t(s,w),t(w,ld),t(ld,sa),t(w,ia),t(w,rd),t(rd,ad),t(ad,Ea),t(w,fa),t(w,cd),t(cd,nd),t(nd,ha),t(w,va),t(w,L),t(L,_a),t(L,sd),t(sd,Da),t(L,ua),t(L,id),t(id,Ta),t(s,ma),t(s,k),t(k,Ed),t(Ed,ba),t(k,Ca),t(k,fd),t(fd,hd),t(hd,Oa),t(k,pa),t(k,vd),t(vd,ga),t(k,ya),t(k,_d),t(_d,Ra),t(s,wa),t(s,B),t(B,Dd),t(Dd,ka),t(B,Ba),t(B,ud),t(ud,Td),t(Td,Sa),t(B,Aa),t(B,md),t(md,ja),t(B,xa),t(B,bd),t(bd,Ha),t(s,Ia),t(s,S),t(S,Cd),t(Cd,Pa),t(S,Fa),t(S,Od),t(Od,pd),t(pd,qa),t(S,za),t(S,gd),t(gd,yd),t(yd,Ma),t(S,Ua),t(S,Rd),t(Rd,La),t(s,Ya),t(s,A),t(A,wd),t(wd,Ga),t(A,Ja),t(A,kd),t(kd,Bd),t(Bd,Ka),t(A,Na),t(A,Sd),t(Sd,Ad),t(Ad,Qa),t(A,Va),t(A,jd),t(jd,Wa),t(s,Xa),t(s,j),t(j,xd),t(xd,Za),t(j,$a),t(j,Hd),t(Hd,Id),t(Id,tc),t(j,ec),t(j,Pd),t(Pd,Fd),t(Fd,dc),t(j,oc),t(j,qd),t(qd,lc),t(s,rc),t(s,x),t(x,zd),t(zd,ac),t(x,cc),t(x,Md),t(Md,Ud),t(Ud,nc),t(x,sc),t(x,Ld),t(Ld,Yd),t(Yd,ic),t(x,Ec),t(x,Gd),t(Gd,fc),t(s,hc),t(s,H),t(H,Jd),t(Jd,vc),t(H,_c),t(H,Kd),t(Kd,Nd),t(Nd,Dc),t(H,uc),t(H,Qd),t(Qd,Vd),t(Vd,Tc),t(H,mc),t(H,M),t(M,bc),t(M,Wd),t(Wd,Cc),t(M,Oc),t(M,Xd),t(Xd,pc),t(M,gc),t(M,Zd),t(Zd,yc),t(s,Rc),t(s,I),t(I,$d),t($d,wc),t(I,kc),t(I,to),t(to,eo),t(eo,Bc),t(I,Sc),t(I,oo),t(oo,lo),t(lo,Ac),t(I,jc),t(I,pt),t(pt,xc),t(pt,ro),t(ro,Hc),t(pt,Ic),t(s,Pc),t(s,P),t(P,ao),t(ao,Fc),t(P,qc),t(P,co),t(co,no),t(no,zc),t(P,Mc),t(P,so),t(so,io),t(io,Uc),t(P,Lc),t(P,Eo),t(Eo,Yc),t(s,Gc),t(s,F),t(F,fo),t(fo,Jc),t(F,Kc),t(F,ho),t(ho,vo),t(vo,Nc),t(F,Qc),t(F,_o),t(_o,Do),t(Do,uo),t(uo,Vc),t(F,Wc),t(F,E),t(E,Xc),t(E,To),t(To,Zc),t(E,$c),t(E,mo),t(mo,tn),t(E,en),t(E,bo),t(bo,dn),t(E,on),t(E,Co),t(Co,ln),t(E,rn),t(E,Oo),t(Oo,an),t(E,cn),t(s,nn),t(s,q),t(q,po),t(po,sn),t(q,En),t(q,go),t(go,yo),t(yo,fn),t(q,hn),t(q,Ro),t(Ro,wo),t(wo,vn),t(q,_n),t(q,U),t(U,Dn),t(U,ko),t(ko,un),t(U,Tn),t(U,Bo),t(Bo,mn),t(U,bn)},p:pn,i:pn,o:pn,d(So){So&&e(z)}}}class jE extends RE{constructor(z){super(),wE(this,z,null,SE,kE,{})}}export{jE as O}; diff --git a/docs/_app/immutable/error.svelte-6d3dae18.js b/docs/_app/immutable/error.svelte-6d3dae18.js new file mode 100644 index 0000000..98ee9b0 --- /dev/null +++ b/docs/_app/immutable/error.svelte-6d3dae18.js @@ -0,0 +1 @@ +import{S as j,i as w,s as y,l as v,r as E,a as S,e as F,m as b,n as d,u as P,h as o,c as q,b as u,O as R,v as N,F as H}from"./chunks/index-bfee2186.js";function O(r){let l,t=r[1].frame+"",a;return{c(){l=v("pre"),a=E(t)},l(f){l=b(f,"PRE",{});var s=d(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].frame+"")&&N(a,t)},d(f){f&&o(l)}}}function h(r){let l,t=r[1].stack+"",a;return{c(){l=v("pre"),a=E(t)},l(f){l=b(f,"PRE",{});var s=d(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].stack+"")&&N(a,t)},d(f){f&&o(l)}}}function z(r){let l,t,a,f,s=r[1].message+"",c,k,n,p,i=r[1].frame&&O(r),_=r[1].stack&&h(r);return{c(){l=v("h1"),t=E(r[0]),a=S(),f=v("pre"),c=E(s),k=S(),i&&i.c(),n=S(),_&&_.c(),p=F()},l(e){l=b(e,"H1",{});var m=d(l);t=P(m,r[0]),m.forEach(o),a=q(e),f=b(e,"PRE",{});var C=d(f);c=P(C,s),C.forEach(o),k=q(e),i&&i.l(e),n=q(e),_&&_.l(e),p=F()},m(e,m){u(e,l,m),R(l,t),u(e,a,m),u(e,f,m),R(f,c),u(e,k,m),i&&i.m(e,m),u(e,n,m),_&&_.m(e,m),u(e,p,m)},p(e,[m]){m&1&&N(t,e[0]),m&2&&s!==(s=e[1].message+"")&&N(c,s),e[1].frame?i?i.p(e,m):(i=O(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),e[1].stack?_?_.p(e,m):(_=h(e),_.c(),_.m(p.parentNode,p)):_&&(_.d(1),_=null)},i:H,o:H,d(e){e&&o(l),e&&o(a),e&&o(f),e&&o(k),i&&i.d(e),e&&o(n),_&&_.d(e),e&&o(p)}}}function D({error:r,status:l}){return{props:{error:r,status:l}}}function A(r,l,t){let{status:a}=l,{error:f}=l;return r.$$set=s=>{"status"in s&&t(0,a=s.status),"error"in s&&t(1,f=s.error)},[a,f]}class G extends j{constructor(l){super(),w(this,l,A,z,y,{status:0,error:1})}}export{G as default,D as load}; diff --git a/docs/_app/immutable/error.svelte-e6f5b494.js b/docs/_app/immutable/error.svelte-e6f5b494.js deleted file mode 100644 index d71682f..0000000 --- a/docs/_app/immutable/error.svelte-e6f5b494.js +++ /dev/null @@ -1 +0,0 @@ -import{S as y,i as z,s as A,l as E,r as v,a as S,e as H,m as b,n as d,u as N,h as o,c as q,b as u,N as P,v as R,E as h}from"./chunks/index-28983a80.js";function j(r){let l,t=r[1].frame+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=b(f,"PRE",{});var s=d(l);a=N(s,t),s.forEach(o)},m(f,s){u(f,l,s),P(l,a)},p(f,s){s&2&&t!==(t=f[1].frame+"")&&R(a,t)},d(f){f&&o(l)}}}function w(r){let l,t=r[1].stack+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=b(f,"PRE",{});var s=d(l);a=N(s,t),s.forEach(o)},m(f,s){u(f,l,s),P(l,a)},p(f,s){s&2&&t!==(t=f[1].stack+"")&&R(a,t)},d(f){f&&o(l)}}}function B(r){let l,t,a,f,s=r[1].message+"",c,k,n,p,i=r[1].frame&&j(r),_=r[1].stack&&w(r);return{c(){l=E("h1"),t=v(r[0]),a=S(),f=E("pre"),c=v(s),k=S(),i&&i.c(),n=S(),_&&_.c(),p=H()},l(e){l=b(e,"H1",{});var m=d(l);t=N(m,r[0]),m.forEach(o),a=q(e),f=b(e,"PRE",{});var C=d(f);c=N(C,s),C.forEach(o),k=q(e),i&&i.l(e),n=q(e),_&&_.l(e),p=H()},m(e,m){u(e,l,m),P(l,t),u(e,a,m),u(e,f,m),P(f,c),u(e,k,m),i&&i.m(e,m),u(e,n,m),_&&_.m(e,m),u(e,p,m)},p(e,[m]){m&1&&R(t,e[0]),m&2&&s!==(s=e[1].message+"")&&R(c,s),e[1].frame?i?i.p(e,m):(i=j(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),e[1].stack?_?_.p(e,m):(_=w(e),_.c(),_.m(p.parentNode,p)):_&&(_.d(1),_=null)},i:h,o:h,d(e){e&&o(l),e&&o(a),e&&o(f),e&&o(k),i&&i.d(e),e&&o(n),_&&_.d(e),e&&o(p)}}}function G({error:r,status:l}){return{props:{error:r,status:l}}}function D(r,l,t){let{status:a}=l,{error:f}=l;return r.$$set=s=>{"status"in s&&t(0,a=s.status),"error"in s&&t(1,f=s.error)},[a,f]}class I extends y{constructor(l){super(),z(this,l,D,B,A,{status:0,error:1})}}export{I as default,G as load}; diff --git a/docs/_app/immutable/pages/__layout.svelte-5e391803.js b/docs/_app/immutable/pages/__layout.svelte-5e391803.js deleted file mode 100644 index e49fb00..0000000 --- a/docs/_app/immutable/pages/__layout.svelte-5e391803.js +++ /dev/null @@ -1 +0,0 @@ -import{F as it,S as ct,i as nt,s as ut,e as We,b as Ee,t as be,d as dt,f as ke,h as a,G as Ze,o as ht,g as ft,H as Xe,I as lt,l as f,J as m,a as C,r as ue,m as p,n as o,K as b,c as z,u as de,p as e,q as pt,L as vt,M as xe,N as t,O as $e,P as rt,Q as at,R as st,T as gt,U as _t}from"../chunks/index-28983a80.js";import{b as ot}from"../chunks/paths-1c47712a.js";import{w as mt}from"../chunks/index-0a3ccbdb.js";const bt=()=>{const i=it("__svelte__");return{page:{subscribe:i.page.subscribe},navigating:{subscribe:i.navigating.subscribe},get preloading(){return console.error("stores.preloading is deprecated; use stores.navigating instead"),{subscribe:i.navigating.subscribe}},session:i.session,updated:i.updated}},kt={subscribe(i){return bt().page.subscribe(i)}};function et(i,r,l){const d=i.slice();return d[12]=r[l],d[14]=l,d}function xt(i){let r,l,d,c,s,n,v,u,I,k,N,R,D,ce,x,S,A,y,j,ye,B,V,H,we,_,Y,F,J,K,Q,W,Z,X,$,Me,T,O,q,ne,ee,P,te,Ie,Se,U,Ae,le,re,je,Ce,ae,ze,se,De,oe,Be,Ne,ie=Object.keys(i[3]),E=[];for(let h=0;h{n[k]=null}),dt(),l=n[r],l?l.p(u,I):(l=n[r]=s[r](u),l.c()),ke(l,1),l.m(d.parentNode,d))},i(u){c||(ke(l),c=!0)},o(u){be(l),c=!1},d(u){n[r].d(u),u&&a(d)}}}function wt(i,r,l){let d,c,s;Ze(i,kt,x=>l(1,s=x));let{$$slots:n={},$$scope:v}=r;const u={"":"Getting Started",options:"Options",formatting:"Formatting",styling:"Styling","custom-element":"Custom Element",i18n:"Languages",playground:"Playground"};function I(x,S){const A=typeof localStorage<"u"?localStorage.getItem(x):null,y=mt(S);return A!==null&&y.set(A),y.subscribe(j=>{typeof localStorage>"u"||localStorage.setItem(x,j)}),y}let k=!1,N=!1;const R=I("theme","");Ze(i,R,x=>l(10,c=x));function D(){c==="dark"?(Xe(R,c="light",c),document.querySelector("html").classList.remove("dark")):(Xe(R,c="dark",c),document.querySelector("html").classList.add("dark"))}ht(()=>{const x=matchMedia("(min-width: 1024px)");l(6,N=x.matches),x.addEventListener("change",S=>{l(0,k=!1),l(6,N=S.matches)})});const ce=()=>l(0,k=!k);return i.$$set=x=>{"$$scope"in x&&l(7,v=x.$$scope)},i.$$.update=()=>{i.$$.dirty&2&&(s.routeId||s.routeId==="")&&l(0,k=!1),i.$$.dirty&65&&l(2,d=N||k)},[k,s,d,u,R,D,N,v,n,ce]}class At extends ct{constructor(r){super(),nt(this,r,wt,yt,ut,{})}}export{At as default}; diff --git a/docs/_app/immutable/pages/__layout.svelte-ff4a18fe.js b/docs/_app/immutable/pages/__layout.svelte-ff4a18fe.js new file mode 100644 index 0000000..d653bdb --- /dev/null +++ b/docs/_app/immutable/pages/__layout.svelte-ff4a18fe.js @@ -0,0 +1 @@ +import{G as _t,S as mt,i as bt,s as kt,e as st,b as Ie,t as ye,d as Et,f as we,h as r,H as ot,o as xt,g as yt,I as it,J as ht,l as f,K as m,a as C,r as ve,m as p,n as o,L as b,c as z,u as ge,p as e,q as wt,M as ct,N as Me,O as t,P as nt,Q as ft,R as pt,T as vt,U as Mt,V as It}from"../chunks/index-bfee2186.js";import{b as gt}from"../chunks/paths-1c47712a.js";import{w as St}from"../chunks/index-0382ca5d.js";const At=()=>{const i=_t("__svelte__");return{page:{subscribe:i.page.subscribe},navigating:{subscribe:i.navigating.subscribe},get preloading(){return console.error("stores.preloading is deprecated; use stores.navigating instead"),{subscribe:i.navigating.subscribe}},session:i.session,updated:i.updated}},Ct={subscribe(i){return At().page.subscribe(i)}};function ut(i,a,l){const d=i.slice();return d[12]=a[l],d[14]=l,d}function zt(i){let a,l,d,c,s,n,v,u,I,k,R,T,D,he,E,S,A,y,N,Se,V,B,Y,Ae,_,F,J,K,Q,W,Z,X,$,ee,Ce,G,O,j,fe,te,q,le,ze,De,H,Ve,pe,re,ae,Oe,Be,se,oe,ie,qe,je,ce,Le,ne,Ne,P,Re,He,ue=Object.keys(i[3]),x=[];for(let h=0;h{n[k]=null}),Et(),l=n[a],l?l.p(u,I):(l=n[a]=s[a](u),l.c()),we(l,1),l.m(d.parentNode,d))},i(u){c||(we(l),c=!0)},o(u){ye(l),c=!1},d(u){n[a].d(u),u&&r(d)}}}function Bt(i,a,l){let d,c,s;ot(i,Ct,E=>l(1,s=E));let{$$slots:n={},$$scope:v}=a;const u={"":"Getting Started",options:"Options",formatting:"Formatting",styling:"Styling","custom-element":"Custom Element",i18n:"Languages",playground:"Playground"};function I(E,S){const A=typeof localStorage<"u"?localStorage.getItem(E):null,y=St(S);return A!==null&&y.set(A),y.subscribe(N=>{typeof localStorage>"u"||localStorage.setItem(E,N)}),y}let k=!1,R=!1;const T=I("theme","");ot(i,T,E=>l(10,c=E));function D(){c==="dark"?(it(T,c="light",c),document.querySelector("html").classList.remove("dark")):(it(T,c="dark",c),document.querySelector("html").classList.add("dark"))}xt(()=>{const E=matchMedia("(min-width: 1024px)");l(6,R=E.matches),E.addEventListener("change",S=>{l(0,k=!1),l(6,R=S.matches)})});const he=()=>l(0,k=!k);return i.$$set=E=>{"$$scope"in E&&l(7,v=E.$$scope)},i.$$.update=()=>{i.$$.dirty&2&&(s.routeId||s.routeId==="")&&l(0,k=!1),i.$$.dirty&65&&l(2,d=R||k)},[k,s,d,u,T,D,R,v,n,he]}class Rt extends mt{constructor(a){super(),bt(this,a,Bt,Vt,kt,{})}}export{Rt as default}; diff --git a/docs/_app/immutable/pages/custom-element.svx-c246de25.js b/docs/_app/immutable/pages/custom-element.svx-fba1fd20.js similarity index 69% rename from docs/_app/immutable/pages/custom-element.svx-c246de25.js rename to docs/_app/immutable/pages/custom-element.svx-fba1fd20.js index 80ca19e..baf0a92 100644 --- a/docs/_app/immutable/pages/custom-element.svx-c246de25.js +++ b/docs/_app/immutable/pages/custom-element.svx-fba1fd20.js @@ -1,4 +1,4 @@ -import{_ as zs}from"../chunks/preload-helper-b22d3b18.js";import{S as ws,i as $s,s as Ts,l as i,m as c,n as r,h as t,p as a,b as k,E as K,r as o,a as h,V as vs,w as Ms,u as l,c as g,x as Os,N as n,y as Vs,f as Hs,t as Ls,B as Ns,o as qs}from"../chunks/index-28983a80.js";function Rs(L){let e,H=`<script> +import{_ as zs}from"../chunks/preload-helper-b22d3b18.js";import{S as ws,i as $s,s as Ts,l as i,m as c,n as r,h as t,p as a,b as k,F as J,r as o,a as h,W as vs,x as Os,u as l,c as g,y as Ms,O as n,z as Vs,f as Hs,t as Ls,C as qs,o as Fs}from"../chunks/index-bfee2186.js";function Ns(L){let e,H=`<script> import { registerElement } from 'svelty-picker'; registerElement('el-picker'); @@ -6,16 +6,16 @@ import{_ as zs}from"../chunks/preload-helper-b22d3b18.js";import{S as ws,i as $s <!-- somewhere in HTML --> <input type="text" is="el-picker"> -`;return{c(){e=i("pre"),this.h()},l(_){e=c(_,"PRE",{class:!0});var m=r(e);m.forEach(t),this.h()},h(){a(e,"class","language-svelte")},m(_,m){k(_,e,m),e.innerHTML=H},p:K,i:K,o:K,d(_){_&&t(e)}}}class Us extends ws{constructor(e){super(),$s(this,e,null,Rs,Ts,{})}}function As(L){let e,H,_,m,Q,w,W,X,N,E,Y,b,Z,ss,q,$,as,R,C,x,U,D,A,u,ts,T,ns,es,I,ps,os,S,ls,cs,z,us,is,M,rs,ks,B,f,v,ms,O,ds,fs,y,F,P,Is=`<div class="group"> +`;return{c(){e=i("pre"),this.h()},l(_){e=c(_,"PRE",{class:!0});var m=r(e);m.forEach(t),this.h()},h(){a(e,"class","language-svelte")},m(_,m){k(_,e,m),e.innerHTML=H},p:J,i:J,o:J,d(_){_&&t(e)}}}class Rs extends ws{constructor(e){super(),$s(this,e,null,Ns,Ts,{})}}function Us(L){let e,H,_,m,K,w,Q,X,q,E,Y,C,Z,ss,F,$,as,N,b,x,R,D,U,u,ts,T,ns,es,I,ps,os,S,ls,cs,z,us,is,O,rs,ks,A,f,v,ms,M,ds,fs,y,j,P,Is=`<div class="group"> <input type="text" is="el-picker" id="picker-from" to="picker-to" name="my-date[from]" format="yyyy-mm-dd"placeholder="From"> <div class="delimiter">&mdash;</div> <input type="text" is="el-picker" id="picker-to" from="picker-from" name="my-date[to]" format="yyyy-mm-dd"placeholder="To"> -</div>`,j;return D=new Us({}),{c(){e=i("h2"),H=o("Custom Element"),_=h(),m=i("p"),Q=o("Custom element is defined as extension to native "),w=i("code"),W=o("input"),X=o(` tag. Custom element +</div>`,B;return D=new Rs({}),{c(){e=i("h2"),H=o("Custom Element"),_=h(),m=i("p"),K=o("Custom element is defined as extension to native "),w=i("code"),Q=o("input"),X=o(` tag. Custom element supports all options that can be passed as string (So all except initialDate). The input itself should always be placed -inside relative positioned container.`),N=h(),E=i("div"),Y=o("Please not that for cross-browser support (Safari), this "),b=i("a"),Z=o("ungap/custom-element"),ss=o(" polyfill is required."),q=h(),$=i("p"),as=o("Picker initialized as custom element:"),R=h(),C=i("div"),x=vs("input","el-picker"),U=h(),Ms(D.$$.fragment),A=h(),u=i("p"),ts=o("Custom element supports 2 custom "),T=i("code"),ns=o("from"),es=o(" and "),I=i("code"),ps=o("to"),os=o(` properties, which should - specify `),S=i("b"),ls=o("id"),cs=o(" of different datetime picker for limiting "),z=i("code"),us=o("startDate"),is=o(" or "),M=i("code"),rs=o("endDate"),ks=o(`. - Check source how it is defined.`),B=h(),f=i("div"),v=vs("input","el-picker"),ms=h(),O=i("div"),ds=o("\u2014"),fs=h(),y=vs("input","el-picker"),F=h(),P=i("pre"),this.h()},l(s){e=c(s,"H2",{class:!0});var p=r(e);H=l(p,"Custom Element"),p.forEach(t),_=g(s),m=c(s,"P",{class:!0});var G=r(m);Q=l(G,"Custom element is defined as extension to native "),w=c(G,"CODE",{class:!0});var ys=r(w);W=l(ys,"input"),ys.forEach(t),X=l(G,` tag. Custom element +inside relative positioned container.`),q=h(),E=i("div"),Y=o("Please not that for cross-browser support (Safari), this "),C=i("a"),Z=o("ungap/custom-element"),ss=o(" polyfill is required."),F=h(),$=i("p"),as=o("Picker initialized as custom element:"),N=h(),b=i("div"),x=vs("input","el-picker"),R=h(),Os(D.$$.fragment),U=h(),u=i("p"),ts=o("Custom element supports 2 custom "),T=i("code"),ns=o("from"),es=o(" and "),I=i("code"),ps=o("to"),os=o(` properties, which should + specify `),S=i("b"),ls=o("id"),cs=o(" of different datetime picker for limiting "),z=i("code"),us=o("startDate"),is=o(" or "),O=i("code"),rs=o("endDate"),ks=o(`. + Check source how it is defined.`),A=h(),f=i("div"),v=vs("input","el-picker"),ms=h(),M=i("div"),ds=o("\u2014"),fs=h(),y=vs("input","el-picker"),j=h(),P=i("pre"),this.h()},l(s){e=c(s,"H2",{class:!0});var p=r(e);H=l(p,"Custom Element"),p.forEach(t),_=g(s),m=c(s,"P",{class:!0});var W=r(m);K=l(W,"Custom element is defined as extension to native "),w=c(W,"CODE",{class:!0});var ys=r(w);Q=l(ys,"input"),ys.forEach(t),X=l(W,` tag. Custom element supports all options that can be passed as string (So all except initialDate). The input itself should always be placed -inside relative positioned container.`),G.forEach(t),N=g(s),E=c(s,"DIV",{class:!0});var J=r(E);Y=l(J,"Please not that for cross-browser support (Safari), this "),b=c(J,"A",{href:!0,target:!0});var _s=r(b);Z=l(_s,"ungap/custom-element"),_s.forEach(t),ss=l(J," polyfill is required."),J.forEach(t),q=g(s),$=c(s,"P",{});var hs=r($);as=l(hs,"Picker initialized as custom element:"),hs.forEach(t),R=g(s),C=c(s,"DIV",{class:!0});var gs=r(C);x=c(gs,"INPUT",{type:!0,name:!0,is:!0,format:!0,class:!0,placeholder:!0}),gs.forEach(t),U=g(s),Os(D.$$.fragment,s),A=g(s),u=c(s,"P",{class:!0});var d=r(u);ts=l(d,"Custom element supports 2 custom "),T=c(d,"CODE",{class:!0});var Es=r(T);ns=l(Es,"from"),Es.forEach(t),es=l(d," and "),I=c(d,"CODE",{class:!0});var xs=r(I);ps=l(xs,"to"),xs.forEach(t),os=l(d,` properties, which should - specify `),S=c(d,"B",{class:!0});var bs=r(S);ls=l(bs,"id"),bs.forEach(t),cs=l(d," of different datetime picker for limiting "),z=c(d,"CODE",{class:!0});var Cs=r(z);us=l(Cs,"startDate"),Cs.forEach(t),is=l(d," or "),M=c(d,"CODE",{class:!0});var Ds=r(M);rs=l(Ds,"endDate"),Ds.forEach(t),ks=l(d,`. - Check source how it is defined.`),d.forEach(t),B=g(s),f=c(s,"DIV",{class:!0});var V=r(f);v=c(V,"INPUT",{type:!0,id:!0,to:!0,name:!0,format:!0,is:!0,placeholder:!0,class:!0}),ms=g(V),O=c(V,"DIV",{class:!0});var Ps=r(O);ds=l(Ps,"\u2014"),Ps.forEach(t),fs=g(V),y=c(V,"INPUT",{type:!0,id:!0,from:!0,name:!0,format:!0,is:!0,placeholder:!0,class:!0}),V.forEach(t),F=g(s),P=c(s,"PRE",{class:!0});var Ss=r(P);Ss.forEach(t),this.h()},h(){a(e,"class","header"),a(w,"class","code"),a(m,"class","my-4"),a(b,"href","https://github.com/ungap/custom-elements#readme"),a(b,"target","_blank"),a(E,"class","my-4 p-2 bg-red-300 dark:bg-red-500"),a(x,"type","text"),a(x,"name","my-date"),a(x,"is","el-picker"),a(x,"format","dS MM"),a(x,"class","border-1 rounded-md border-gray-300 p-1"),a(x,"placeholder","Pick your birthdate"),a(C,"class","relative"),a(T,"class","code"),a(I,"class","code"),a(S,"class","font-bold"),a(z,"class","code"),a(M,"class","code"),a(u,"class","my-4"),a(v,"type","text"),a(v,"id","picker-from"),a(v,"to","picker-to"),a(v,"name","my-date[from]"),a(v,"format","yyyy-mm-dd"),a(v,"is","el-picker"),a(v,"placeholder","From"),a(v,"class","svelte-zgg3t3"),a(O,"class","delimiter svelte-zgg3t3"),a(y,"type","text"),a(y,"id","picker-to"),a(y,"from","picker-from"),a(y,"name","my-date[to]"),a(y,"format","yyyy-mm-dd"),a(y,"is","el-picker"),a(y,"placeholder","To"),a(y,"class","svelte-zgg3t3"),a(f,"class","group svelte-zgg3t3"),a(P,"class","language-svelte")},m(s,p){k(s,e,p),n(e,H),k(s,_,p),k(s,m,p),n(m,Q),n(m,w),n(w,W),n(m,X),k(s,N,p),k(s,E,p),n(E,Y),n(E,b),n(b,Z),n(E,ss),k(s,q,p),k(s,$,p),n($,as),k(s,R,p),k(s,C,p),n(C,x),k(s,U,p),Vs(D,s,p),k(s,A,p),k(s,u,p),n(u,ts),n(u,T),n(T,ns),n(u,es),n(u,I),n(I,ps),n(u,os),n(u,S),n(S,ls),n(u,cs),n(u,z),n(z,us),n(u,is),n(u,M),n(M,rs),n(u,ks),k(s,B,p),k(s,f,p),n(f,v),n(f,ms),n(f,O),n(O,ds),n(f,fs),n(f,y),k(s,F,p),k(s,P,p),P.innerHTML=Is,j=!0},p:K,i(s){j||(Hs(D.$$.fragment,s),j=!0)},o(s){Ls(D.$$.fragment,s),j=!1},d(s){s&&t(e),s&&t(_),s&&t(m),s&&t(N),s&&t(E),s&&t(q),s&&t($),s&&t(R),s&&t(C),s&&t(U),Ns(D,s),s&&t(A),s&&t(u),s&&t(B),s&&t(f),s&&t(F),s&&t(P)}}}function Bs(L){return qs(()=>{zs(()=>import("../chunks/custom-element-388ce934.js"),["immutable/chunks/custom-element-388ce934.js","immutable/chunks/SveltyPicker-a0faa711.js","immutable/assets/SveltyPicker-a3464f28.css","immutable/chunks/index-28983a80.js"]).then(e=>{console.log("\u{1F973} registering SveltyPicker as element"),e.registerElement&&e.registerElement("el-picker")}).catch(e=>console.log("error",e))}),[]}class Gs extends ws{constructor(e){super(),$s(this,e,Bs,As,Ts,{})}}export{Gs as default}; +inside relative positioned container.`),W.forEach(t),q=g(s),E=c(s,"DIV",{class:!0});var G=r(E);Y=l(G,"Please not that for cross-browser support (Safari), this "),C=c(G,"A",{href:!0,target:!0});var _s=r(C);Z=l(_s,"ungap/custom-element"),_s.forEach(t),ss=l(G," polyfill is required."),G.forEach(t),F=g(s),$=c(s,"P",{});var hs=r($);as=l(hs,"Picker initialized as custom element:"),hs.forEach(t),N=g(s),b=c(s,"DIV",{class:!0});var gs=r(b);x=c(gs,"INPUT",{type:!0,name:!0,is:!0,format:!0,class:!0,placeholder:!0}),gs.forEach(t),R=g(s),Ms(D.$$.fragment,s),U=g(s),u=c(s,"P",{class:!0});var d=r(u);ts=l(d,"Custom element supports 2 custom "),T=c(d,"CODE",{class:!0});var Es=r(T);ns=l(Es,"from"),Es.forEach(t),es=l(d," and "),I=c(d,"CODE",{class:!0});var xs=r(I);ps=l(xs,"to"),xs.forEach(t),os=l(d,` properties, which should + specify `),S=c(d,"B",{class:!0});var Cs=r(S);ls=l(Cs,"id"),Cs.forEach(t),cs=l(d," of different datetime picker for limiting "),z=c(d,"CODE",{class:!0});var bs=r(z);us=l(bs,"startDate"),bs.forEach(t),is=l(d," or "),O=c(d,"CODE",{class:!0});var Ds=r(O);rs=l(Ds,"endDate"),Ds.forEach(t),ks=l(d,`. + Check source how it is defined.`),d.forEach(t),A=g(s),f=c(s,"DIV",{class:!0});var V=r(f);v=c(V,"INPUT",{type:!0,id:!0,to:!0,name:!0,format:!0,is:!0,placeholder:!0,class:!0}),ms=g(V),M=c(V,"DIV",{class:!0});var Ps=r(M);ds=l(Ps,"\u2014"),Ps.forEach(t),fs=g(V),y=c(V,"INPUT",{type:!0,id:!0,from:!0,name:!0,format:!0,is:!0,placeholder:!0,class:!0}),V.forEach(t),j=g(s),P=c(s,"PRE",{class:!0});var Ss=r(P);Ss.forEach(t),this.h()},h(){a(e,"class","header"),a(w,"class","code"),a(m,"class","my-4"),a(C,"href","https://github.com/ungap/custom-elements#readme"),a(C,"target","_blank"),a(E,"class","my-4 p-2 bg-red-300 dark:bg-red-500"),a(x,"type","text"),a(x,"name","my-date"),a(x,"is","el-picker"),a(x,"format","dS MM"),a(x,"class","border-1 rounded-md border-gray-300 p-1"),a(x,"placeholder","Pick your birthdate"),a(b,"class","relative"),a(T,"class","code"),a(I,"class","code"),a(S,"class","font-bold"),a(z,"class","code"),a(O,"class","code"),a(u,"class","my-4"),a(v,"type","text"),a(v,"id","picker-from"),a(v,"to","picker-to"),a(v,"name","my-date[from]"),a(v,"format","yyyy-mm-dd"),a(v,"is","el-picker"),a(v,"placeholder","From"),a(v,"class","svelte-zgg3t3"),a(M,"class","delimiter svelte-zgg3t3"),a(y,"type","text"),a(y,"id","picker-to"),a(y,"from","picker-from"),a(y,"name","my-date[to]"),a(y,"format","yyyy-mm-dd"),a(y,"is","el-picker"),a(y,"placeholder","To"),a(y,"class","svelte-zgg3t3"),a(f,"class","group svelte-zgg3t3"),a(P,"class","language-svelte")},m(s,p){k(s,e,p),n(e,H),k(s,_,p),k(s,m,p),n(m,K),n(m,w),n(w,Q),n(m,X),k(s,q,p),k(s,E,p),n(E,Y),n(E,C),n(C,Z),n(E,ss),k(s,F,p),k(s,$,p),n($,as),k(s,N,p),k(s,b,p),n(b,x),k(s,R,p),Vs(D,s,p),k(s,U,p),k(s,u,p),n(u,ts),n(u,T),n(T,ns),n(u,es),n(u,I),n(I,ps),n(u,os),n(u,S),n(S,ls),n(u,cs),n(u,z),n(z,us),n(u,is),n(u,O),n(O,rs),n(u,ks),k(s,A,p),k(s,f,p),n(f,v),n(f,ms),n(f,M),n(M,ds),n(f,fs),n(f,y),k(s,j,p),k(s,P,p),P.innerHTML=Is,B=!0},p:J,i(s){B||(Hs(D.$$.fragment,s),B=!0)},o(s){Ls(D.$$.fragment,s),B=!1},d(s){s&&t(e),s&&t(_),s&&t(m),s&&t(q),s&&t(E),s&&t(F),s&&t($),s&&t(N),s&&t(b),s&&t(R),qs(D,s),s&&t(U),s&&t(u),s&&t(A),s&&t(f),s&&t(j),s&&t(P)}}}function As(L){return Fs(()=>{zs(()=>import("../chunks/custom-element-9a94d319.js"),["immutable/chunks/custom-element-9a94d319.js","immutable/chunks/SveltyPicker-25b77381.js","immutable/assets/SveltyPicker-a3464f28.css","immutable/chunks/index-bfee2186.js"]).then(e=>{console.log("\u{1F973} registering SveltyPicker as element"),e.registerElement&&e.registerElement("el-picker")}).catch(e=>console.log("error",e))}),[]}class Ws extends ws{constructor(e){super(),$s(this,e,As,Us,Ts,{})}}export{Ws as default}; diff --git a/docs/_app/immutable/pages/formatting.svelte-9c4c0a4a.js b/docs/_app/immutable/pages/formatting.svelte-9c4c0a4a.js new file mode 100644 index 0000000..a3344bf --- /dev/null +++ b/docs/_app/immutable/pages/formatting.svelte-9c4c0a4a.js @@ -0,0 +1,3 @@ +import{S as Ke,i as Me,s as Qe,l as i,r as c,a as D,x as Oe,e as Ge,m as d,n as _,u as f,h as a,c as I,y as Te,p,b,O as t,z as Se,X as Je,P as Fe,v as Re,t as Q,d as We,f as R,C as Ve,V as Ze,g as xe}from"../chunks/index-bfee2186.js";import{F as et,a as tt}from"../chunks/formatting_php-7c70d85b.js";import{S as lt}from"../chunks/SveltyPicker-25b77381.js";function at(o){let s,u;return s=new et({}),{c(){Oe(s.$$.fragment)},l(l){Te(s.$$.fragment,l)},m(l,r){Se(s,l,r),u=!0},i(l){u||(R(s.$$.fragment,l),u=!0)},o(l){Q(s.$$.fragment,l),u=!1},d(l){Ve(s,l)}}}function st(o){let s,u;return s=new tt({}),{c(){Oe(s.$$.fragment)},l(l){Te(s.$$.fragment,l)},m(l,r){Se(s,l,r),u=!0},i(l){u||(R(s.$$.fragment,l),u=!0)},o(l){Q(s.$$.fragment,l),u=!1},d(l){Ve(s,l)}}}function rt(o){let s,u,l,r,G,C,J,K,V,oe,ne,H,ie,ce,L,de,fe,N,pe,ue,W,k,_e,B,me,ve,Z,$,U,he,ge,E,A,F,ye,q,w,be,O,z,v,Ee,ke,T,h,$e,x,P,we,ee,Pe,te,g,y,X,M,De,He;F=new lt({props:{placeholder:"Pick some date and define your own format",inputClasses:"picker-style",format:o[1],formatType:o[0]}});const Le=[st,at],S=[];function Ne(e,n){return e[0]!=="php"?0:1}return g=Ne(o),y=S[g]=Le[g](o),{c(){s=i("h2"),u=c("Format settings"),l=D(),r=i("p"),G=c("Date format can be defined under "),C=i("code"),J=c("formatType"),K=c(" property. It has two options: "),V=i("code"),oe=c("standard"),ne=c(`\r + and `),H=i("code"),ie=c("php"),ce=c(" where "),L=i("code"),de=c("standard"),fe=c(" is the "),N=i("b"),pe=c("default"),ue=c("."),W=D(),k=i("p"),_e=c("If "),B=i("code"),me=c("mode"),ve=c(" is not specified explicitely, time picker is available only when time formatting is present."),Z=D(),$=i("div"),U=i("h3"),he=c("Playground"),ge=D(),E=i("div"),A=i("div"),Oe(F.$$.fragment),ye=D(),q=i("div"),w=i("input"),be=D(),O=i("div"),z=i("label"),v=i("input"),Ee=c(" Standard"),ke=D(),T=i("label"),h=i("input"),$e=c(" PHP"),x=D(),P=i("h3"),we=c("Formatting options ("),ee=c(o[0]),Pe=c(")"),te=D(),y.c(),X=Ge(),this.h()},l(e){s=d(e,"H2",{class:!0});var n=_(s);u=f(n,"Format settings"),n.forEach(a),l=I(e),r=d(e,"P",{class:!0});var m=_(r);G=f(m,"Date format can be defined under "),C=d(m,"CODE",{class:!0});var Y=_(C);J=f(Y,"formatType"),Y.forEach(a),K=f(m," property. It has two options: "),V=d(m,"CODE",{class:!0});var Be=_(V);oe=f(Be,"standard"),Be.forEach(a),ne=f(m,`\r + and `),H=d(m,"CODE",{class:!0});var Ue=_(H);ie=f(Ue,"php"),Ue.forEach(a),ce=f(m," where "),L=d(m,"CODE",{class:!0});var Ae=_(L);de=f(Ae,"standard"),Ae.forEach(a),fe=f(m," is the "),N=d(m,"B",{class:!0});var qe=_(N);pe=f(qe,"default"),qe.forEach(a),ue=f(m,"."),m.forEach(a),W=I(e),k=d(e,"P",{class:!0});var le=_(k);_e=f(le,"If "),B=d(le,"CODE",{class:!0});var ze=_(B);me=f(ze,"mode"),ze.forEach(a),ve=f(le," is not specified explicitely, time picker is available only when time formatting is present."),le.forEach(a),Z=I(e),$=d(e,"DIV",{class:!0});var ae=_($);U=d(ae,"H3",{class:!0});var Xe=_(U);he=f(Xe,"Playground"),Xe.forEach(a),ge=I(ae),E=d(ae,"DIV",{class:!0});var j=_(E);A=d(j,"DIV",{class:!0});var Ye=_(A);Te(F.$$.fragment,Ye),Ye.forEach(a),ye=I(j),q=d(j,"DIV",{class:!0});var je=_(q);w=d(je,"INPUT",{type:!0,class:!0}),je.forEach(a),be=I(j),O=d(j,"DIV",{class:!0});var se=_(O);z=d(se,"LABEL",{});var Ie=_(z);v=d(Ie,"INPUT",{type:!0}),Ee=f(Ie," Standard"),Ie.forEach(a),ke=I(se),T=d(se,"LABEL",{class:!0});var Ce=_(T);h=d(Ce,"INPUT",{type:!0}),$e=f(Ce," PHP"),Ce.forEach(a),se.forEach(a),j.forEach(a),ae.forEach(a),x=I(e),P=d(e,"H3",{class:!0});var re=_(P);we=f(re,"Formatting options ("),ee=f(re,o[0]),Pe=f(re,")"),re.forEach(a),te=I(e),y.l(e),X=Ge(),this.h()},h(){p(s,"class","header"),p(C,"class","code"),p(V,"class","code"),p(H,"class","code"),p(L,"class","code"),p(N,"class","font-bold svelte-1pdglga"),p(r,"class","my-3 svelte-1pdglga"),p(B,"class","code"),p(k,"class","my-3 font-bold svelte-1pdglga"),p(U,"class","header mt-0 svelte-1pdglga"),p(A,"class","w-full lg:w-1/2 svelte-1pdglga"),p(w,"type","text"),p(w,"class","picker-style"),p(q,"class","w-auto mr-2 lg:mx-2 svelte-1pdglga"),p(v,"type","radio"),v.__value="standard",v.value=v.__value,o[4][0].push(v),p(h,"type","radio"),h.__value="php",h.value=h.__value,o[4][0].push(h),p(T,"class","ml-4 svelte-1pdglga"),p(O,"class","w-auto flex items-center svelte-1pdglga"),p(E,"class","flex flex-wrap svelte-1pdglga"),p($,"class","bg-orange-200 dark:bg-blue-400 p-5 rounded-lg w-full svelte-1pdglga"),p(P,"class","header")},m(e,n){b(e,s,n),t(s,u),b(e,l,n),b(e,r,n),t(r,G),t(r,C),t(C,J),t(r,K),t(r,V),t(V,oe),t(r,ne),t(r,H),t(H,ie),t(r,ce),t(r,L),t(L,de),t(r,fe),t(r,N),t(N,pe),t(r,ue),b(e,W,n),b(e,k,n),t(k,_e),t(k,B),t(B,me),t(k,ve),b(e,Z,n),b(e,$,n),t($,U),t(U,he),t($,ge),t($,E),t(E,A),Se(F,A,null),t(E,ye),t(E,q),t(q,w),Je(w,o[1]),t(E,be),t(E,O),t(O,z),t(z,v),v.checked=v.__value===o[0],t(z,Ee),t(O,ke),t(O,T),t(T,h),h.checked=h.__value===o[0],t(T,$e),b(e,x,n),b(e,P,n),t(P,we),t(P,ee),t(P,Pe),b(e,te,n),S[g].m(e,n),b(e,X,n),M=!0,De||(He=[Fe(w,"input",o[2]),Fe(v,"change",o[3]),Fe(h,"change",o[5])],De=!0)},p(e,[n]){const m={};n&2&&(m.format=e[1]),n&1&&(m.formatType=e[0]),F.$set(m),n&2&&w.value!==e[1]&&Je(w,e[1]),n&1&&(v.checked=v.__value===e[0]),n&1&&(h.checked=h.__value===e[0]),(!M||n&1)&&Re(ee,e[0]);let Y=g;g=Ne(e),g!==Y&&(xe(),Q(S[Y],1,1,()=>{S[Y]=null}),We(),y=S[g],y||(y=S[g]=Le[g](e),y.c()),R(y,1),y.m(X.parentNode,X))},i(e){M||(R(F.$$.fragment,e),R(y),M=!0)},o(e){Q(F.$$.fragment,e),Q(y),M=!1},d(e){e&&a(s),e&&a(l),e&&a(r),e&&a(W),e&&a(k),e&&a(Z),e&&a($),Ve(F),o[4][0].splice(o[4][0].indexOf(v),1),o[4][0].splice(o[4][0].indexOf(h),1),e&&a(x),e&&a(P),e&&a(te),S[g].d(e),e&&a(X),De=!1,Ze(He)}}}function ot(o,s,u){let l="standard",r="yyyy-mm-dd";const G=[[]];function C(){r=this.value,u(1,r),u(0,l)}function J(){l=this.__value,u(0,l)}function K(){l=this.__value,u(0,l)}return o.$$.update=()=>{o.$$.dirty&1&&u(1,r=l==="php"?"Y-m-d":"yyyy-mm-dd")},[l,r,C,J,G,K]}class dt extends Ke{constructor(s){super(),Me(this,s,ot,rt,Qe,{})}}export{dt as default}; diff --git a/docs/_app/immutable/pages/formatting.svelte-a22468af.js b/docs/_app/immutable/pages/formatting.svelte-a22468af.js deleted file mode 100644 index 9913c27..0000000 --- a/docs/_app/immutable/pages/formatting.svelte-a22468af.js +++ /dev/null @@ -1,3 +0,0 @@ -import{S as Ke,i as Me,s as Qe,l as i,r as c,a as D,w as Te,e as Ge,m as d,n as _,u as f,h as a,c as I,x as Ce,p,b,N as t,y as Se,W as Je,O as Oe,v as Re,t as Q,d as Xe,f as R,B as He,U as Ze,g as xe}from"../chunks/index-28983a80.js";import{F as et,a as tt}from"../chunks/formatting_php-cc2feb4d.js";import{S as lt}from"../chunks/SveltyPicker-a0faa711.js";function at(o){let s,u;return s=new et({}),{c(){Te(s.$$.fragment)},l(l){Ce(s.$$.fragment,l)},m(l,r){Se(s,l,r),u=!0},i(l){u||(R(s.$$.fragment,l),u=!0)},o(l){Q(s.$$.fragment,l),u=!1},d(l){He(s,l)}}}function st(o){let s,u;return s=new tt({}),{c(){Te(s.$$.fragment)},l(l){Ce(s.$$.fragment,l)},m(l,r){Se(s,l,r),u=!0},i(l){u||(R(s.$$.fragment,l),u=!0)},o(l){Q(s.$$.fragment,l),u=!1},d(l){He(s,l)}}}function rt(o){let s,u,l,r,G,F,J,K,H,oe,ne,N,ie,ce,V,de,fe,B,pe,ue,X,k,_e,L,me,ve,Z,$,U,he,ge,E,A,O,ye,q,w,be,T,W,v,Ee,ke,C,h,$e,x,P,we,ee,Pe,te,g,y,Y,M,De,Ne;O=new lt({props:{placeholder:"Pick some date and define your own format",inputClasses:"picker-style",format:o[1],formatType:o[0]}});const Ve=[st,at],S=[];function Be(e,n){return e[0]!=="php"?0:1}return g=Be(o),y=S[g]=Ve[g](o),{c(){s=i("h2"),u=c("Format settings"),l=D(),r=i("p"),G=c("Date format can be defined under "),F=i("code"),J=c("formatType"),K=c(" property. It has two options: "),H=i("code"),oe=c("standard"),ne=c(`\r - and `),N=i("code"),ie=c("php"),ce=c(" where "),V=i("code"),de=c("standard"),fe=c(" is the "),B=i("b"),pe=c("default"),ue=c("."),X=D(),k=i("p"),_e=c("If "),L=i("code"),me=c("mode"),ve=c(" is not specified explicitely, time picker is available only when time formatting is present."),Z=D(),$=i("div"),U=i("h3"),he=c("Playground"),ge=D(),E=i("div"),A=i("div"),Te(O.$$.fragment),ye=D(),q=i("div"),w=i("input"),be=D(),T=i("div"),W=i("label"),v=i("input"),Ee=c(" Standard"),ke=D(),C=i("label"),h=i("input"),$e=c(" PHP"),x=D(),P=i("h3"),we=c("Formatting options ("),ee=c(o[0]),Pe=c(")"),te=D(),y.c(),Y=Ge(),this.h()},l(e){s=d(e,"H2",{class:!0});var n=_(s);u=f(n,"Format settings"),n.forEach(a),l=I(e),r=d(e,"P",{class:!0});var m=_(r);G=f(m,"Date format can be defined under "),F=d(m,"CODE",{class:!0});var j=_(F);J=f(j,"formatType"),j.forEach(a),K=f(m," property. It has two options: "),H=d(m,"CODE",{class:!0});var Le=_(H);oe=f(Le,"standard"),Le.forEach(a),ne=f(m,`\r - and `),N=d(m,"CODE",{class:!0});var Ue=_(N);ie=f(Ue,"php"),Ue.forEach(a),ce=f(m," where "),V=d(m,"CODE",{class:!0});var Ae=_(V);de=f(Ae,"standard"),Ae.forEach(a),fe=f(m," is the "),B=d(m,"B",{class:!0});var qe=_(B);pe=f(qe,"default"),qe.forEach(a),ue=f(m,"."),m.forEach(a),X=I(e),k=d(e,"P",{class:!0});var le=_(k);_e=f(le,"If "),L=d(le,"CODE",{class:!0});var We=_(L);me=f(We,"mode"),We.forEach(a),ve=f(le," is not specified explicitely, time picker is available only when time formatting is present."),le.forEach(a),Z=I(e),$=d(e,"DIV",{class:!0});var ae=_($);U=d(ae,"H3",{class:!0});var Ye=_(U);he=f(Ye,"Playground"),Ye.forEach(a),ge=I(ae),E=d(ae,"DIV",{class:!0});var z=_(E);A=d(z,"DIV",{class:!0});var je=_(A);Ce(O.$$.fragment,je),je.forEach(a),ye=I(z),q=d(z,"DIV",{class:!0});var ze=_(q);w=d(ze,"INPUT",{type:!0,class:!0}),ze.forEach(a),be=I(z),T=d(z,"DIV",{class:!0});var se=_(T);W=d(se,"LABEL",{});var Ie=_(W);v=d(Ie,"INPUT",{type:!0}),Ee=f(Ie," Standard"),Ie.forEach(a),ke=I(se),C=d(se,"LABEL",{class:!0});var Fe=_(C);h=d(Fe,"INPUT",{type:!0}),$e=f(Fe," PHP"),Fe.forEach(a),se.forEach(a),z.forEach(a),ae.forEach(a),x=I(e),P=d(e,"H3",{class:!0});var re=_(P);we=f(re,"Formatting options ("),ee=f(re,o[0]),Pe=f(re,")"),re.forEach(a),te=I(e),y.l(e),Y=Ge(),this.h()},h(){p(s,"class","header"),p(F,"class","code"),p(H,"class","code"),p(N,"class","code"),p(V,"class","code"),p(B,"class","font-bold svelte-1pdglga"),p(r,"class","my-3 svelte-1pdglga"),p(L,"class","code"),p(k,"class","my-3 font-bold svelte-1pdglga"),p(U,"class","header mt-0 svelte-1pdglga"),p(A,"class","w-full lg:w-1/2 svelte-1pdglga"),p(w,"type","text"),p(w,"class","picker-style"),p(q,"class","w-auto mr-2 lg:mx-2 svelte-1pdglga"),p(v,"type","radio"),v.__value="standard",v.value=v.__value,o[4][0].push(v),p(h,"type","radio"),h.__value="php",h.value=h.__value,o[4][0].push(h),p(C,"class","ml-4 svelte-1pdglga"),p(T,"class","w-auto flex items-center svelte-1pdglga"),p(E,"class","flex flex-wrap svelte-1pdglga"),p($,"class","bg-orange-200 dark:bg-blue-400 p-5 rounded-lg w-full svelte-1pdglga"),p(P,"class","header")},m(e,n){b(e,s,n),t(s,u),b(e,l,n),b(e,r,n),t(r,G),t(r,F),t(F,J),t(r,K),t(r,H),t(H,oe),t(r,ne),t(r,N),t(N,ie),t(r,ce),t(r,V),t(V,de),t(r,fe),t(r,B),t(B,pe),t(r,ue),b(e,X,n),b(e,k,n),t(k,_e),t(k,L),t(L,me),t(k,ve),b(e,Z,n),b(e,$,n),t($,U),t(U,he),t($,ge),t($,E),t(E,A),Se(O,A,null),t(E,ye),t(E,q),t(q,w),Je(w,o[1]),t(E,be),t(E,T),t(T,W),t(W,v),v.checked=v.__value===o[0],t(W,Ee),t(T,ke),t(T,C),t(C,h),h.checked=h.__value===o[0],t(C,$e),b(e,x,n),b(e,P,n),t(P,we),t(P,ee),t(P,Pe),b(e,te,n),S[g].m(e,n),b(e,Y,n),M=!0,De||(Ne=[Oe(w,"input",o[2]),Oe(v,"change",o[3]),Oe(h,"change",o[5])],De=!0)},p(e,[n]){const m={};n&2&&(m.format=e[1]),n&1&&(m.formatType=e[0]),O.$set(m),n&2&&w.value!==e[1]&&Je(w,e[1]),n&1&&(v.checked=v.__value===e[0]),n&1&&(h.checked=h.__value===e[0]),(!M||n&1)&&Re(ee,e[0]);let j=g;g=Be(e),g!==j&&(xe(),Q(S[j],1,1,()=>{S[j]=null}),Xe(),y=S[g],y||(y=S[g]=Ve[g](e),y.c()),R(y,1),y.m(Y.parentNode,Y))},i(e){M||(R(O.$$.fragment,e),R(y),M=!0)},o(e){Q(O.$$.fragment,e),Q(y),M=!1},d(e){e&&a(s),e&&a(l),e&&a(r),e&&a(X),e&&a(k),e&&a(Z),e&&a($),He(O),o[4][0].splice(o[4][0].indexOf(v),1),o[4][0].splice(o[4][0].indexOf(h),1),e&&a(x),e&&a(P),e&&a(te),S[g].d(e),e&&a(Y),De=!1,Ze(Ne)}}}function ot(o,s,u){let l="standard",r="yyyy-mm-dd";const G=[[]];function F(){r=this.value,u(1,r),u(0,l)}function J(){l=this.__value,u(0,l)}function K(){l=this.__value,u(0,l)}return o.$$.update=()=>{o.$$.dirty&1&&u(1,r=l==="php"?"Y-m-d":"yyyy-mm-dd")},[l,r,F,J,G,K]}class dt extends Ke{constructor(s){super(),Me(this,s,ot,rt,Qe,{})}}export{dt as default}; diff --git a/docs/_app/immutable/pages/i18n.svx-4b6cf9d8.js b/docs/_app/immutable/pages/i18n.svx-3853c17c.js similarity index 76% rename from docs/_app/immutable/pages/i18n.svx-4b6cf9d8.js rename to docs/_app/immutable/pages/i18n.svx-3853c17c.js index c578d27..cc3c1f3 100644 --- a/docs/_app/immutable/pages/i18n.svx-4b6cf9d8.js +++ b/docs/_app/immutable/pages/i18n.svx-3853c17c.js @@ -1,9 +1,9 @@ -import{S as Ds,i as Hs,s as Js,l as p,r as u,a as f,w as js,m as e,n as l,u as r,h as n,c as y,x as Is,p as b,b as o,N as a,y as Cs,O as $s,f as Ys,t as Us,B as Vs,U as Ws}from"../chunks/index-28983a80.js";import{S as Gs,e as qs,d as Ks}from"../chunks/SveltyPicker-a0faa711.js";function Qs(c){let v,S,E,i,z,h,D,as,Y,B,ts,U,P,Bs=`<script> +import{S as Hs,i as Js,s as Ns,l as p,r as u,a as f,x as js,m as e,n as l,u as r,h as n,c as y,y as Cs,p as b,b as o,O as a,z as Is,P as $s,f as Vs,t as Ys,C as Ws,V as Gs}from"../chunks/index-bfee2186.js";import{S as Us,e as qs,d as Ks}from"../chunks/SveltyPicker-25b77381.js";function Qs(c){let v,S,E,i,D,h,H,as,V,B,ts,Y,P,Bs=`<script> import SveltyPicker from 'svelty-picker.svelte'; import { de } from 'svelty-picker/i18n'; </script> -<SveltyPicker i18n={de}></SveltyPicker>`,V,_,w,ps,m,A,k,es,H,os,ls,cs,T,g,is,J,us,W,R,rs,G,d,ks,j,gs,fs,I,ys,ds,q,M,Rs=`<script> +<SveltyPicker i18n={de}></SveltyPicker>`,W,_,w,ps,m,A,k,es,J,os,ls,cs,T,g,is,N,us,G,R,rs,U,d,ks,j,gs,fs,C,ys,ds,q,M,Rs=`<script> import SveltyPicker, { config } from 'svelty-picker'; import { de } from 'svelty-picker/i18n'; @@ -11,7 +11,7 @@ import{S as Ds,i as Hs,s as Js,l as p,r as u,a as f,w as js,m as e,n as l,u as r config.i18n = de; </script> -<SveltyPicker></SveltyPicker>`,K,F,vs,Q,N,_s,X,L,Fs=`// default i18n structure +<SveltyPicker></SveltyPicker>`,K,z,vs,Q,F,_s,X,L,zs=`// default i18n structure export const en = { days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'], daysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], @@ -24,8 +24,8 @@ import{S as Ds,i as Hs,s as Js,l as p,r as u,a as f,w as js,m as e,n as l,u as r clearBtn: 'Clear', timeView: 'Show time view', backToDate: 'Back to calendar view' -}`,Z,ms,hs;return w=new Gs({props:{pickerOnly:!0,inputClasses:"my-5",i18n:c[1]}}),{c(){v=p("h2"),S=u("\u{1F310} Localization"),E=f(),i=p("p"),z=u("By default date picker uses english locale. And at the moment there are only few localizations available. You can check them on "),h=p("a"),D=u("playground page"),as=u(`. -(PRs for additional locales are more than welcome).`),Y=f(),B=p("p"),ts=u("So if you want to change it to german (or other locale in the future), use this:"),U=f(),P=p("pre"),V=f(),_=p("div"),js(w.$$.fragment),ps=f(),m=p("div"),A=p("label"),k=p("input"),es=f(),H=p("span"),os=u("\u{1F1EC}\u{1F1E7}"),ls=p("br"),cs=f(),T=p("label"),g=p("input"),is=f(),J=p("span"),us=u("\u{1F1E9}\u{1F1EA}"),W=f(),R=p("h3"),rs=u("Global locale setting"),G=f(),d=p("p"),ks=u("You can also change locale globally through setting "),j=p("code"),gs=u("i18n"),fs=u(` property in global config like below. So all pickers created -`),I=p("em"),ys=u("AFTER"),ds=u(" this setting has been changed, will be in the new locale."),q=f(),M=p("pre"),K=f(),F=p("h3"),vs=u("Adding additional locales"),Q=f(),N=p("p"),_s=u("Localization file has following structure."),X=f(),L=p("pre"),this.h()},l(s){v=e(s,"H2",{});var t=l(v);S=r(t,"\u{1F310} Localization"),t.forEach(n),E=y(s),i=e(s,"P",{});var $=l(i);z=r($,"By default date picker uses english locale. And at the moment there are only few localizations available. You can check them on "),h=e($,"A",{href:!0});var ws=l(h);D=r(ws,"playground page"),ws.forEach(n),as=r($,`. -(PRs for additional locales are more than welcome).`),$.forEach(n),Y=y(s),B=e(s,"P",{});var bs=l(B);ts=r(bs,"So if you want to change it to german (or other locale in the future), use this:"),bs.forEach(n),U=y(s),P=e(s,"PRE",{class:!0});var Ns=l(P);Ns.forEach(n),V=y(s),_=e(s,"DIV",{class:!0});var x=l(_);Is(w.$$.fragment,x),ps=y(x),m=e(x,"DIV",{class:!0});var C=l(m);A=e(C,"LABEL",{});var ss=l(A);k=e(ss,"INPUT",{type:!0}),es=y(ss),H=e(ss,"SPAN",{});var Ss=l(H);os=r(Ss,"\u{1F1EC}\u{1F1E7}"),Ss.forEach(n),ss.forEach(n),ls=e(C,"BR",{}),cs=y(C),T=e(C,"LABEL",{});var ns=l(T);g=e(ns,"INPUT",{type:!0}),is=y(ns),J=e(ns,"SPAN",{});var Es=l(J);us=r(Es,"\u{1F1E9}\u{1F1EA}"),Es.forEach(n),ns.forEach(n),C.forEach(n),x.forEach(n),W=y(s),R=e(s,"H3",{});var Ps=l(R);rs=r(Ps,"Global locale setting"),Ps.forEach(n),G=y(s),d=e(s,"P",{});var O=l(d);ks=r(O,"You can also change locale globally through setting "),j=e(O,"CODE",{});var As=l(j);gs=r(As,"i18n"),As.forEach(n),fs=r(O,` property in global config like below. So all pickers created -`),I=e(O,"EM",{});var Ts=l(I);ys=r(Ts,"AFTER"),Ts.forEach(n),ds=r(O," this setting has been changed, will be in the new locale."),O.forEach(n),q=y(s),M=e(s,"PRE",{class:!0});var Os=l(M);Os.forEach(n),K=y(s),F=e(s,"H3",{});var Ms=l(F);vs=r(Ms,"Adding additional locales"),Ms.forEach(n),Q=y(s),N=e(s,"P",{});var Ls=l(N);_s=r(Ls,"Localization file has following structure."),Ls.forEach(n),X=y(s),L=e(s,"PRE",{class:!0});var zs=l(L);zs.forEach(n),this.h()},h(){b(h,"href","playground"),b(P,"class","language-svelte"),b(k,"type","radio"),k.__value="en",k.value=k.__value,c[3][0].push(k),b(g,"type","radio"),g.__value="de",g.value=g.__value,c[3][0].push(g),b(m,"class","m-2 svelte-1lihdu1"),b(_,"class","my-5 flex svelte-1lihdu1"),b(M,"class","language-svelte"),b(L,"class","language-js")},m(s,t){o(s,v,t),a(v,S),o(s,E,t),o(s,i,t),a(i,z),a(i,h),a(h,D),a(i,as),o(s,Y,t),o(s,B,t),a(B,ts),o(s,U,t),o(s,P,t),P.innerHTML=Bs,o(s,V,t),o(s,_,t),Cs(w,_,null),a(_,ps),a(_,m),a(m,A),a(A,k),k.checked=k.__value===c[0],a(A,es),a(A,H),a(H,os),a(m,ls),a(m,cs),a(m,T),a(T,g),g.checked=g.__value===c[0],a(T,is),a(T,J),a(J,us),o(s,W,t),o(s,R,t),a(R,rs),o(s,G,t),o(s,d,t),a(d,ks),a(d,j),a(j,gs),a(d,fs),a(d,I),a(I,ys),a(d,ds),o(s,q,t),o(s,M,t),M.innerHTML=Rs,o(s,K,t),o(s,F,t),a(F,vs),o(s,Q,t),o(s,N,t),a(N,_s),o(s,X,t),o(s,L,t),L.innerHTML=Fs,Z=!0,ms||(hs=[$s(k,"change",c[2]),$s(g,"change",c[4])],ms=!0)},p(s,[t]){const $={};t&2&&($.i18n=s[1]),w.$set($),t&1&&(k.checked=k.__value===s[0]),t&1&&(g.checked=g.__value===s[0])},i(s){Z||(Ys(w.$$.fragment,s),Z=!0)},o(s){Us(w.$$.fragment,s),Z=!1},d(s){s&&n(v),s&&n(E),s&&n(i),s&&n(Y),s&&n(B),s&&n(U),s&&n(P),s&&n(V),s&&n(_),Vs(w),c[3][0].splice(c[3][0].indexOf(k),1),c[3][0].splice(c[3][0].indexOf(g),1),s&&n(W),s&&n(R),s&&n(G),s&&n(d),s&&n(q),s&&n(M),s&&n(K),s&&n(F),s&&n(Q),s&&n(N),s&&n(X),s&&n(L),ms=!1,Ws(hs)}}}function Xs(c,v,S){let E,i="en";const z=[[]];function h(){i=this.__value,S(0,i)}function D(){i=this.__value,S(0,i)}return c.$$.update=()=>{c.$$.dirty&1&&S(1,E=i==="en"?qs:Ks)},[i,E,h,z,D]}class sn extends Ds{constructor(v){super(),Hs(this,v,Xs,Qs,Js,{})}}export{sn as default}; +}`,Z,ms,hs;return w=new Us({props:{pickerOnly:!0,inputClasses:"my-5",i18n:c[1]}}),{c(){v=p("h2"),S=u("\u{1F310} Localization"),E=f(),i=p("p"),D=u("By default date picker uses english locale. And at the moment there are only few localizations available. You can check them on "),h=p("a"),H=u("playground page"),as=u(`. +(PRs for additional locales are more than welcome).`),V=f(),B=p("p"),ts=u("So if you want to change it to german (or other locale in the future), use this:"),Y=f(),P=p("pre"),W=f(),_=p("div"),js(w.$$.fragment),ps=f(),m=p("div"),A=p("label"),k=p("input"),es=f(),J=p("span"),os=u("\u{1F1EC}\u{1F1E7}"),ls=p("br"),cs=f(),T=p("label"),g=p("input"),is=f(),N=p("span"),us=u("\u{1F1E9}\u{1F1EA}"),G=f(),R=p("h3"),rs=u("Global locale setting"),U=f(),d=p("p"),ks=u("You can also change locale globally through setting "),j=p("code"),gs=u("i18n"),fs=u(` property in global config like below. So all pickers created +`),C=p("em"),ys=u("AFTER"),ds=u(" this setting has been changed, will be in the new locale."),q=f(),M=p("pre"),K=f(),z=p("h3"),vs=u("Adding additional locales"),Q=f(),F=p("p"),_s=u("Localization file has following structure."),X=f(),L=p("pre"),this.h()},l(s){v=e(s,"H2",{});var t=l(v);S=r(t,"\u{1F310} Localization"),t.forEach(n),E=y(s),i=e(s,"P",{});var $=l(i);D=r($,"By default date picker uses english locale. And at the moment there are only few localizations available. You can check them on "),h=e($,"A",{href:!0});var ws=l(h);H=r(ws,"playground page"),ws.forEach(n),as=r($,`. +(PRs for additional locales are more than welcome).`),$.forEach(n),V=y(s),B=e(s,"P",{});var bs=l(B);ts=r(bs,"So if you want to change it to german (or other locale in the future), use this:"),bs.forEach(n),Y=y(s),P=e(s,"PRE",{class:!0});var Fs=l(P);Fs.forEach(n),W=y(s),_=e(s,"DIV",{class:!0});var x=l(_);Cs(w.$$.fragment,x),ps=y(x),m=e(x,"DIV",{class:!0});var I=l(m);A=e(I,"LABEL",{});var ss=l(A);k=e(ss,"INPUT",{type:!0}),es=y(ss),J=e(ss,"SPAN",{});var Ss=l(J);os=r(Ss,"\u{1F1EC}\u{1F1E7}"),Ss.forEach(n),ss.forEach(n),ls=e(I,"BR",{}),cs=y(I),T=e(I,"LABEL",{});var ns=l(T);g=e(ns,"INPUT",{type:!0}),is=y(ns),N=e(ns,"SPAN",{});var Es=l(N);us=r(Es,"\u{1F1E9}\u{1F1EA}"),Es.forEach(n),ns.forEach(n),I.forEach(n),x.forEach(n),G=y(s),R=e(s,"H3",{});var Ps=l(R);rs=r(Ps,"Global locale setting"),Ps.forEach(n),U=y(s),d=e(s,"P",{});var O=l(d);ks=r(O,"You can also change locale globally through setting "),j=e(O,"CODE",{});var As=l(j);gs=r(As,"i18n"),As.forEach(n),fs=r(O,` property in global config like below. So all pickers created +`),C=e(O,"EM",{});var Ts=l(C);ys=r(Ts,"AFTER"),Ts.forEach(n),ds=r(O," this setting has been changed, will be in the new locale."),O.forEach(n),q=y(s),M=e(s,"PRE",{class:!0});var Os=l(M);Os.forEach(n),K=y(s),z=e(s,"H3",{});var Ms=l(z);vs=r(Ms,"Adding additional locales"),Ms.forEach(n),Q=y(s),F=e(s,"P",{});var Ls=l(F);_s=r(Ls,"Localization file has following structure."),Ls.forEach(n),X=y(s),L=e(s,"PRE",{class:!0});var Ds=l(L);Ds.forEach(n),this.h()},h(){b(h,"href","playground"),b(P,"class","language-svelte"),b(k,"type","radio"),k.__value="en",k.value=k.__value,c[3][0].push(k),b(g,"type","radio"),g.__value="de",g.value=g.__value,c[3][0].push(g),b(m,"class","m-2 svelte-1lihdu1"),b(_,"class","my-5 flex svelte-1lihdu1"),b(M,"class","language-svelte"),b(L,"class","language-js")},m(s,t){o(s,v,t),a(v,S),o(s,E,t),o(s,i,t),a(i,D),a(i,h),a(h,H),a(i,as),o(s,V,t),o(s,B,t),a(B,ts),o(s,Y,t),o(s,P,t),P.innerHTML=Bs,o(s,W,t),o(s,_,t),Is(w,_,null),a(_,ps),a(_,m),a(m,A),a(A,k),k.checked=k.__value===c[0],a(A,es),a(A,J),a(J,os),a(m,ls),a(m,cs),a(m,T),a(T,g),g.checked=g.__value===c[0],a(T,is),a(T,N),a(N,us),o(s,G,t),o(s,R,t),a(R,rs),o(s,U,t),o(s,d,t),a(d,ks),a(d,j),a(j,gs),a(d,fs),a(d,C),a(C,ys),a(d,ds),o(s,q,t),o(s,M,t),M.innerHTML=Rs,o(s,K,t),o(s,z,t),a(z,vs),o(s,Q,t),o(s,F,t),a(F,_s),o(s,X,t),o(s,L,t),L.innerHTML=zs,Z=!0,ms||(hs=[$s(k,"change",c[2]),$s(g,"change",c[4])],ms=!0)},p(s,[t]){const $={};t&2&&($.i18n=s[1]),w.$set($),t&1&&(k.checked=k.__value===s[0]),t&1&&(g.checked=g.__value===s[0])},i(s){Z||(Vs(w.$$.fragment,s),Z=!0)},o(s){Ys(w.$$.fragment,s),Z=!1},d(s){s&&n(v),s&&n(E),s&&n(i),s&&n(V),s&&n(B),s&&n(Y),s&&n(P),s&&n(W),s&&n(_),Ws(w),c[3][0].splice(c[3][0].indexOf(k),1),c[3][0].splice(c[3][0].indexOf(g),1),s&&n(G),s&&n(R),s&&n(U),s&&n(d),s&&n(q),s&&n(M),s&&n(K),s&&n(z),s&&n(Q),s&&n(F),s&&n(X),s&&n(L),ms=!1,Gs(hs)}}}function Xs(c,v,S){let E,i="en";const D=[[]];function h(){i=this.__value,S(0,i)}function H(){i=this.__value,S(0,i)}return c.$$.update=()=>{c.$$.dirty&1&&S(1,E=i==="en"?qs:Ks)},[i,E,h,D,H]}class sn extends Hs{constructor(v){super(),Js(this,v,Xs,Qs,Ns,{})}}export{sn as default}; diff --git a/docs/_app/immutable/pages/index.svx-68d4adde.js b/docs/_app/immutable/pages/index.svx-db2c7b33.js similarity index 73% rename from docs/_app/immutable/pages/index.svx-68d4adde.js rename to docs/_app/immutable/pages/index.svx-db2c7b33.js index a7f78fb..e1b7aef 100644 --- a/docs/_app/immutable/pages/index.svx-68d4adde.js +++ b/docs/_app/immutable/pages/index.svx-db2c7b33.js @@ -1,7 +1,7 @@ -import{S as nt,i as rt,s as ot,l as s,r as o,a as p,w as Ke,m as l,n,u as i,h as a,c as d,x as Qe,p as u,b as it,N as e,y as We,f as Xe,t as Ye,B as Ze,o as ct,aa as pt}from"../chunks/index-28983a80.js";import{S as et}from"../chunks/SveltyPicker-a0faa711.js";function dt(B){let t,v,f,g,R,E,k,Q,D,W,X,I,b,Y,Z,_,ee,L,te,ae,H,se,le,c,V,ne,re,j,oe,ie,A,ce,pe,C,de,he,N,ue,ve,F,fe,me,w,ke,P,ge,_e,ye,q,Ee,$e,M,xe,Ie,T,tt='npm install svelty-picker',we,S,De,be,O,at=`<script> +import{S as nt,i as rt,s as ot,l as s,r as o,a as p,x as Ke,m as l,n,u as i,h as a,c as d,y as Qe,p as u,b as it,O as e,z as We,f as Xe,t as Ye,C as Ze,o as ct,ab as pt}from"../chunks/index-bfee2186.js";import{S as et}from"../chunks/SveltyPicker-25b77381.js";function dt(z){let t,v,f,g,R,E,k,Q,D,W,X,I,b,Y,Z,_,ee,L,te,ae,H,se,le,c,V,ne,re,C,oe,ie,j,ce,pe,A,de,he,F,ue,ve,N,fe,me,w,ke,P,ge,_e,ye,q,Ee,$e,M,xe,Ie,T,tt='npm install svelty-picker',we,S,De,be,O,at=`<script> import SveltyPicker from 'svelty-picker' let myDate = '2021-11-11'; </script> -<SveltyPicker inputClasses="form-control" format="yyyy-mm-dd hh:ii" bind:value={myDate}></SveltyPicker>`,Le,$,He,x,Pe,Me,U;return k=new et({props:{mode:"date",pickerOnly:!0,initialDate:new Date}}),_=new et({props:{mode:"time",pickerOnly:!0,format:"hh:ii",value:B[0]}}),_.$on("focus",B[1]),{c(){t=s("div"),v=s("div"),f=s("div"),g=s("h4"),R=o("Date"),E=p(),Ke(k.$$.fragment),Q=p(),D=s("div"),W=o("AND"),X=p(),I=s("div"),b=s("h4"),Y=o("Time"),Z=p(),Ke(_.$$.fragment),ee=p(),L=s("p"),te=o("Everything you'd expect from datetime picker. Or at least I expect \u{1F60A}"),ae=p(),H=s("h3"),se=o("Features:"),le=p(),c=s("ul"),V=s("li"),ne=o("\u{1F449} datepicker"),re=p(),j=s("li"),oe=o("\u{1F449} timepicker (with meridian support)"),ie=p(),A=s("li"),ce=o("\u{1F449} various formatting options"),pe=p(),C=s("li"),de=o("\u{1F449} keyboard navigation"),he=p(),N=s("li"),ue=o("\u{1F449} easily themable"),ve=p(),F=s("li"),fe=o("\u{1F449} restriction by start and end date"),me=p(),w=s("li"),ke=o("\u{1F449} validator action for tested with "),P=s("code"),ge=o("svelte-use-forms"),_e=o(" (optional)"),ye=p(),q=s("li"),Ee=o("\u{1F449} custom element version"),$e=p(),M=s("h3"),xe=o("Install"),Ie=p(),T=s("pre"),we=p(),S=s("h3"),De=o("Minimal example"),be=p(),O=s("pre"),Le=p(),$=s("p"),He=o("Try yourself in "),x=s("a"),Pe=o("REPL"),Me=o("."),this.h()},l(m){t=l(m,"DIV",{class:!0});var r=n(t);v=l(r,"DIV",{class:!0});var y=n(v);f=l(y,"DIV",{});var z=n(f);g=l(z,"H4",{class:!0});var Te=n(g);R=i(Te,"Date"),Te.forEach(a),E=d(z),Qe(k.$$.fragment,z),z.forEach(a),Q=d(y),D=l(y,"DIV",{class:!0});var Se=n(D);W=i(Se,"AND"),Se.forEach(a),X=d(y),I=l(y,"DIV",{});var G=n(I);b=l(G,"H4",{class:!0});var Oe=n(b);Y=i(Oe,"Time"),Oe.forEach(a),Z=d(G),Qe(_.$$.fragment,G),G.forEach(a),y.forEach(a),ee=d(r),L=l(r,"P",{class:!0});var Re=n(L);te=i(Re,"Everything you'd expect from datetime picker. Or at least I expect \u{1F60A}"),Re.forEach(a),ae=d(r),H=l(r,"H3",{class:!0});var Ve=n(H);se=i(Ve,"Features:"),Ve.forEach(a),le=d(r),c=l(r,"UL",{});var h=n(c);V=l(h,"LI",{});var je=n(V);ne=i(je,"\u{1F449} datepicker"),je.forEach(a),re=d(h),j=l(h,"LI",{});var Ae=n(j);oe=i(Ae,"\u{1F449} timepicker (with meridian support)"),Ae.forEach(a),ie=d(h),A=l(h,"LI",{});var Ce=n(A);ce=i(Ce,"\u{1F449} various formatting options"),Ce.forEach(a),pe=d(h),C=l(h,"LI",{});var Ne=n(C);de=i(Ne,"\u{1F449} keyboard navigation"),Ne.forEach(a),he=d(h),N=l(h,"LI",{});var Fe=n(N);ue=i(Fe,"\u{1F449} easily themable"),Fe.forEach(a),ve=d(h),F=l(h,"LI",{});var qe=n(F);fe=i(qe,"\u{1F449} restriction by start and end date"),qe.forEach(a),me=d(h),w=l(h,"LI",{});var J=n(w);ke=i(J,"\u{1F449} validator action for tested with "),P=l(J,"CODE",{class:!0});var Be=n(P);ge=i(Be,"svelte-use-forms"),Be.forEach(a),_e=i(J," (optional)"),J.forEach(a),ye=d(h),q=l(h,"LI",{});var Ue=n(q);Ee=i(Ue,"\u{1F449} custom element version"),Ue.forEach(a),h.forEach(a),$e=d(r),M=l(r,"H3",{class:!0});var ze=n(M);xe=i(ze,"Install"),ze.forEach(a),Ie=d(r),T=l(r,"PRE",{class:!0});var st=n(T);st.forEach(a),we=d(r),S=l(r,"H3",{class:!0});var Ge=n(S);De=i(Ge,"Minimal example"),Ge.forEach(a),be=d(r),O=l(r,"PRE",{class:!0});var lt=n(O);lt.forEach(a),Le=d(r),$=l(r,"P",{class:!0});var K=n($);He=i(K,"Try yourself in "),x=l(K,"A",{href:!0,rel:!0,class:!0});var Je=n(x);Pe=i(Je,"REPL"),Je.forEach(a),Me=i(K,"."),K.forEach(a),r.forEach(a),this.h()},h(){u(g,"class","text-xl text-center svelte-1ah5ahg"),u(D,"class","m-6 svelte-1ah5ahg"),u(b,"class","text-xl text-center svelte-1ah5ahg"),u(v,"class","flex flex-col md:flex-row items-center md:justify-start svelte-1ah5ahg"),u(L,"class","py-4 svelte-1ah5ahg"),u(H,"class","text-2 font-bold svelte-1ah5ahg"),u(P,"class","code"),u(M,"class","header font-semibold svelte-1ah5ahg"),u(T,"class","language-cli"),u(S,"class","header font-bold svelte-1ah5ahg"),u(O,"class","language-js"),u(x,"href","https://svelte.dev/repl/98fd362aad6049f4b38606820baff0b0?version=3.44.1"),u(x,"rel","nofollow"),u(x,"class",""),u($,"class","my-4 svelte-1ah5ahg"),u(t,"class","w-full svelte-1ah5ahg")},m(m,r){it(m,t,r),e(t,v),e(v,f),e(f,g),e(g,R),e(f,E),We(k,f,null),e(v,Q),e(v,D),e(D,W),e(v,X),e(v,I),e(I,b),e(b,Y),e(I,Z),We(_,I,null),e(t,ee),e(t,L),e(L,te),e(t,ae),e(t,H),e(H,se),e(t,le),e(t,c),e(c,V),e(V,ne),e(c,re),e(c,j),e(j,oe),e(c,ie),e(c,A),e(A,ce),e(c,pe),e(c,C),e(C,de),e(c,he),e(c,N),e(N,ue),e(c,ve),e(c,F),e(F,fe),e(c,me),e(c,w),e(w,ke),e(w,P),e(P,ge),e(w,_e),e(c,ye),e(c,q),e(q,Ee),e(t,$e),e(t,M),e(M,xe),e(t,Ie),e(t,T),T.innerHTML=tt,e(t,we),e(t,S),e(S,De),e(t,be),e(t,O),O.innerHTML=at,e(t,Le),e(t,$),e($,He),e($,x),e(x,Pe),e($,Me),U=!0},p(m,[r]){const y={};r&1&&(y.value=m[0]),_.$set(y)},i(m){U||(Xe(k.$$.fragment,m),Xe(_.$$.fragment,m),U=!0)},o(m){Ye(k.$$.fragment,m),Ye(_.$$.fragment,m),U=!1},d(m){m&&a(t),Ze(k),Ze(_)}}}function ht(B,t,v){let f=null,g=null;function R(){clearInterval(f),f=null}return ct(()=>{const E=new Date;v(0,g=`${E.getHours()<10?"0":""}${E.getHours()}:${E.getMinutes()<10?"0":""}${E.getMinutes()}`),f=setInterval(()=>{const k=new Date;v(0,g=`${k.getHours()<10?"0":""}${k.getHours()}:${k.getMinutes()<10?"0":""}${k.getMinutes()}`)},1e3)}),pt(()=>{f&&clearInterval(f)}),[g,R]}class ft extends nt{constructor(t){super(),rt(this,t,ht,dt,ot,{})}}export{ft as default}; +<SveltyPicker inputClasses="form-control" format="yyyy-mm-dd hh:ii" bind:value={myDate}></SveltyPicker>`,Le,$,He,x,Pe,Me,U;return k=new et({props:{mode:"date",pickerOnly:!0,initialDate:new Date}}),_=new et({props:{mode:"time",pickerOnly:!0,format:"hh:ii",value:z[0]}}),_.$on("focus",z[1]),{c(){t=s("div"),v=s("div"),f=s("div"),g=s("h4"),R=o("Date"),E=p(),Ke(k.$$.fragment),Q=p(),D=s("div"),W=o("AND"),X=p(),I=s("div"),b=s("h4"),Y=o("Time"),Z=p(),Ke(_.$$.fragment),ee=p(),L=s("p"),te=o("Everything you'd expect from datetime picker. Or at least I expect \u{1F60A}"),ae=p(),H=s("h3"),se=o("Features:"),le=p(),c=s("ul"),V=s("li"),ne=o("\u{1F449} datepicker"),re=p(),C=s("li"),oe=o("\u{1F449} timepicker (with meridian support)"),ie=p(),j=s("li"),ce=o("\u{1F449} various formatting options"),pe=p(),A=s("li"),de=o("\u{1F449} keyboard navigation"),he=p(),F=s("li"),ue=o("\u{1F449} easily themable"),ve=p(),N=s("li"),fe=o("\u{1F449} restriction by start and end date"),me=p(),w=s("li"),ke=o("\u{1F449} validator action for tested with "),P=s("code"),ge=o("svelte-use-forms"),_e=o(" (optional)"),ye=p(),q=s("li"),Ee=o("\u{1F449} custom element version"),$e=p(),M=s("h3"),xe=o("Install"),Ie=p(),T=s("pre"),we=p(),S=s("h3"),De=o("Minimal example"),be=p(),O=s("pre"),Le=p(),$=s("p"),He=o("Try yourself in "),x=s("a"),Pe=o("REPL"),Me=o("."),this.h()},l(m){t=l(m,"DIV",{class:!0});var r=n(t);v=l(r,"DIV",{class:!0});var y=n(v);f=l(y,"DIV",{});var B=n(f);g=l(B,"H4",{class:!0});var Te=n(g);R=i(Te,"Date"),Te.forEach(a),E=d(B),Qe(k.$$.fragment,B),B.forEach(a),Q=d(y),D=l(y,"DIV",{class:!0});var Se=n(D);W=i(Se,"AND"),Se.forEach(a),X=d(y),I=l(y,"DIV",{});var G=n(I);b=l(G,"H4",{class:!0});var Oe=n(b);Y=i(Oe,"Time"),Oe.forEach(a),Z=d(G),Qe(_.$$.fragment,G),G.forEach(a),y.forEach(a),ee=d(r),L=l(r,"P",{class:!0});var Re=n(L);te=i(Re,"Everything you'd expect from datetime picker. Or at least I expect \u{1F60A}"),Re.forEach(a),ae=d(r),H=l(r,"H3",{class:!0});var Ve=n(H);se=i(Ve,"Features:"),Ve.forEach(a),le=d(r),c=l(r,"UL",{});var h=n(c);V=l(h,"LI",{});var Ce=n(V);ne=i(Ce,"\u{1F449} datepicker"),Ce.forEach(a),re=d(h),C=l(h,"LI",{});var je=n(C);oe=i(je,"\u{1F449} timepicker (with meridian support)"),je.forEach(a),ie=d(h),j=l(h,"LI",{});var Ae=n(j);ce=i(Ae,"\u{1F449} various formatting options"),Ae.forEach(a),pe=d(h),A=l(h,"LI",{});var Fe=n(A);de=i(Fe,"\u{1F449} keyboard navigation"),Fe.forEach(a),he=d(h),F=l(h,"LI",{});var Ne=n(F);ue=i(Ne,"\u{1F449} easily themable"),Ne.forEach(a),ve=d(h),N=l(h,"LI",{});var qe=n(N);fe=i(qe,"\u{1F449} restriction by start and end date"),qe.forEach(a),me=d(h),w=l(h,"LI",{});var J=n(w);ke=i(J,"\u{1F449} validator action for tested with "),P=l(J,"CODE",{class:!0});var ze=n(P);ge=i(ze,"svelte-use-forms"),ze.forEach(a),_e=i(J," (optional)"),J.forEach(a),ye=d(h),q=l(h,"LI",{});var Ue=n(q);Ee=i(Ue,"\u{1F449} custom element version"),Ue.forEach(a),h.forEach(a),$e=d(r),M=l(r,"H3",{class:!0});var Be=n(M);xe=i(Be,"Install"),Be.forEach(a),Ie=d(r),T=l(r,"PRE",{class:!0});var st=n(T);st.forEach(a),we=d(r),S=l(r,"H3",{class:!0});var Ge=n(S);De=i(Ge,"Minimal example"),Ge.forEach(a),be=d(r),O=l(r,"PRE",{class:!0});var lt=n(O);lt.forEach(a),Le=d(r),$=l(r,"P",{class:!0});var K=n($);He=i(K,"Try yourself in "),x=l(K,"A",{href:!0,rel:!0,class:!0});var Je=n(x);Pe=i(Je,"REPL"),Je.forEach(a),Me=i(K,"."),K.forEach(a),r.forEach(a),this.h()},h(){u(g,"class","text-xl text-center svelte-1ah5ahg"),u(D,"class","m-6 svelte-1ah5ahg"),u(b,"class","text-xl text-center svelte-1ah5ahg"),u(v,"class","flex flex-col md:flex-row items-center md:justify-start svelte-1ah5ahg"),u(L,"class","py-4 svelte-1ah5ahg"),u(H,"class","text-2 font-bold svelte-1ah5ahg"),u(P,"class","code"),u(M,"class","header font-semibold svelte-1ah5ahg"),u(T,"class","language-cli"),u(S,"class","header font-bold svelte-1ah5ahg"),u(O,"class","language-js"),u(x,"href","https://svelte.dev/repl/98fd362aad6049f4b38606820baff0b0?version=3.44.1"),u(x,"rel","nofollow"),u(x,"class",""),u($,"class","my-4 svelte-1ah5ahg"),u(t,"class","w-full svelte-1ah5ahg")},m(m,r){it(m,t,r),e(t,v),e(v,f),e(f,g),e(g,R),e(f,E),We(k,f,null),e(v,Q),e(v,D),e(D,W),e(v,X),e(v,I),e(I,b),e(b,Y),e(I,Z),We(_,I,null),e(t,ee),e(t,L),e(L,te),e(t,ae),e(t,H),e(H,se),e(t,le),e(t,c),e(c,V),e(V,ne),e(c,re),e(c,C),e(C,oe),e(c,ie),e(c,j),e(j,ce),e(c,pe),e(c,A),e(A,de),e(c,he),e(c,F),e(F,ue),e(c,ve),e(c,N),e(N,fe),e(c,me),e(c,w),e(w,ke),e(w,P),e(P,ge),e(w,_e),e(c,ye),e(c,q),e(q,Ee),e(t,$e),e(t,M),e(M,xe),e(t,Ie),e(t,T),T.innerHTML=tt,e(t,we),e(t,S),e(S,De),e(t,be),e(t,O),O.innerHTML=at,e(t,Le),e(t,$),e($,He),e($,x),e(x,Pe),e($,Me),U=!0},p(m,[r]){const y={};r&1&&(y.value=m[0]),_.$set(y)},i(m){U||(Xe(k.$$.fragment,m),Xe(_.$$.fragment,m),U=!0)},o(m){Ye(k.$$.fragment,m),Ye(_.$$.fragment,m),U=!1},d(m){m&&a(t),Ze(k),Ze(_)}}}function ht(z,t,v){let f=null,g=null;function R(){clearInterval(f),f=null}return ct(()=>{const E=new Date;v(0,g=`${E.getHours()<10?"0":""}${E.getHours()}:${E.getMinutes()<10?"0":""}${E.getMinutes()}`),f=setInterval(()=>{const k=new Date;v(0,g=`${k.getHours()<10?"0":""}${k.getHours()}:${k.getMinutes()<10?"0":""}${k.getMinutes()}`)},1e3)}),pt(()=>{f&&clearInterval(f)}),[g,R]}class ft extends nt{constructor(t){super(),rt(this,t,ht,dt,ot,{})}}export{ft as default}; diff --git a/docs/_app/immutable/pages/options.svelte-9d77f975.js b/docs/_app/immutable/pages/options.svelte-9d77f975.js deleted file mode 100644 index 002f0bb..0000000 --- a/docs/_app/immutable/pages/options.svelte-9d77f975.js +++ /dev/null @@ -1 +0,0 @@ -import{S as d,i as v,s as $,l as p,r as x,a as y,w as O,m as _,n as f,u as b,h as o,c as E,x as g,p as u,b as c,N as w,y as S,E as q,f as B,t as C,B as D}from"../chunks/index-28983a80.js";import{O as H}from"../chunks/options-6ad1c8ff.js";function I(h){let e,r,i,s,a,l;return a=new H({}),{c(){e=p("h2"),r=x("Options"),i=y(),s=p("div"),O(a.$$.fragment),this.h()},l(t){e=_(t,"H2",{class:!0});var n=f(e);r=b(n,"Options"),n.forEach(o),i=E(t),s=_(t,"DIV",{class:!0});var m=f(s);g(a.$$.fragment,m),m.forEach(o),this.h()},h(){u(e,"class","header"),u(s,"class","table tablex svelte-9y4n7i")},m(t,n){c(t,e,n),w(e,r),c(t,i,n),c(t,s,n),S(a,s,null),l=!0},p:q,i(t){l||(B(a.$$.fragment,t),l=!0)},o(t){C(a.$$.fragment,t),l=!1},d(t){t&&o(e),t&&o(i),t&&o(s),D(a)}}}class j extends d{constructor(e){super(),v(this,e,null,I,$,{})}}export{j as default}; diff --git a/docs/_app/immutable/pages/options.svelte-d27e82a6.js b/docs/_app/immutable/pages/options.svelte-d27e82a6.js new file mode 100644 index 0000000..31c426f --- /dev/null +++ b/docs/_app/immutable/pages/options.svelte-d27e82a6.js @@ -0,0 +1 @@ +import{S as d,i as v,s as $,l as p,r as x,a as y,x as O,m as _,n as f,u as b,h as o,c as g,y as C,p as u,b as c,O as E,z as S,F as q,f as w,t as z,C as D}from"../chunks/index-bfee2186.js";import{O as F}from"../chunks/options-733041ee.js";function H(h){let e,r,i,s,a,l;return a=new F({}),{c(){e=p("h2"),r=x("Options"),i=y(),s=p("div"),O(a.$$.fragment),this.h()},l(t){e=_(t,"H2",{class:!0});var n=f(e);r=b(n,"Options"),n.forEach(o),i=g(t),s=_(t,"DIV",{class:!0});var m=f(s);C(a.$$.fragment,m),m.forEach(o),this.h()},h(){u(e,"class","header"),u(s,"class","table tablex svelte-9y4n7i")},m(t,n){c(t,e,n),E(e,r),c(t,i,n),c(t,s,n),S(a,s,null),l=!0},p:q,i(t){l||(w(a.$$.fragment,t),l=!0)},o(t){z(a.$$.fragment,t),l=!1},d(t){t&&o(e),t&&o(i),t&&o(s),D(a)}}}class j extends d{constructor(e){super(),v(this,e,null,H,$,{})}}export{j as default}; diff --git a/docs/_app/immutable/pages/playground.svelte-67ff92c0.js b/docs/_app/immutable/pages/playground.svelte-6cf3057e.js similarity index 74% rename from docs/_app/immutable/pages/playground.svelte-67ff92c0.js rename to docs/_app/immutable/pages/playground.svelte-6cf3057e.js index 17e99fb..04eda7b 100644 --- a/docs/_app/immutable/pages/playground.svelte-67ff92c0.js +++ b/docs/_app/immutable/pages/playground.svelte-6cf3057e.js @@ -1,5 +1,5 @@ -import{S as Za,i as xa,s as eo,a5 as jt,ab as Gt,l,r as p,a as m,w as st,m as a,n as r,u as c,h as s,c as y,x as rt,p as o,b as Ot,N as e,y as it,W as Ft,O as G,t as ke,d as Fa,f as Ie,v as ja,ac as Wt,ad as qt,B as ut,T as to,U as lo,g as Ga,ae as Wa,_ as Ja,af as zt}from"../chunks/index-28983a80.js";import{b as ao}from"../chunks/paths-1c47712a.js";import{S as Jt,i as Kt}from"../chunks/SveltyPicker-a0faa711.js";import{O as oo}from"../chunks/options-6ad1c8ff.js";import{F as no,a as so}from"../chunks/formatting_php-cc2feb4d.js";function qa(t,n,i){const v=t.slice();return v[38]=n[i],v}function ro(t){let n,i,v;function D(u){t[18](u)}let b={inputClasses:"picker-style",disabled:t[1],placeholder:Ka,initialDate:t[15],startDate:t[2],endDate:t[3],pickerOnly:!0,i18n:t[14],weekStart:t[6],format:t[8],formatType:t[0],mode:t[9],todayBtn:t[10],clearBtn:t[11],clearToggle:t[12],autoclose:t[13],minuteIncrement:t[5]};return t[7]!==void 0&&(b.value=t[7]),n=new Jt({props:b}),jt.push(()=>Gt(n,"value",D)),{c(){st(n.$$.fragment)},l(u){rt(n.$$.fragment,u)},m(u,_){it(n,u,_),v=!0},p(u,_){const f={};_[0]&2&&(f.disabled=u[1]),_[0]&4&&(f.startDate=u[2]),_[0]&8&&(f.endDate=u[3]),_[0]&16384&&(f.i18n=u[14]),_[0]&64&&(f.weekStart=u[6]),_[0]&256&&(f.format=u[8]),_[0]&1&&(f.formatType=u[0]),_[0]&512&&(f.mode=u[9]),_[0]&1024&&(f.todayBtn=u[10]),_[0]&2048&&(f.clearBtn=u[11]),_[0]&4096&&(f.clearToggle=u[12]),_[0]&8192&&(f.autoclose=u[13]),_[0]&32&&(f.minuteIncrement=u[5]),!i&&_[0]&128&&(i=!0,f.value=u[7],Wt(()=>i=!1)),n.$set(f)},i(u){v||(Ie(n.$$.fragment,u),v=!0)},o(u){ke(n.$$.fragment,u),v=!1},d(u){ut(n,u)}}}function io(t){let n,i,v;function D(u){t[17](u)}let b={inputClasses:"picker-style",disabled:t[1],placeholder:Ka,initialDate:t[15],startDate:t[2],endDate:t[3],i18n:t[14],weekStart:t[6],format:t[8],formatType:t[0],mode:t[9],todayBtn:t[10],clearBtn:t[11],clearToggle:t[12],autoclose:t[13],minuteIncrement:t[5]};return t[7]!==void 0&&(b.value=t[7]),n=new Jt({props:b}),jt.push(()=>Gt(n,"value",D)),{c(){st(n.$$.fragment)},l(u){rt(n.$$.fragment,u)},m(u,_){it(n,u,_),v=!0},p(u,_){const f={};_[0]&2&&(f.disabled=u[1]),_[0]&4&&(f.startDate=u[2]),_[0]&8&&(f.endDate=u[3]),_[0]&16384&&(f.i18n=u[14]),_[0]&64&&(f.weekStart=u[6]),_[0]&256&&(f.format=u[8]),_[0]&1&&(f.formatType=u[0]),_[0]&512&&(f.mode=u[9]),_[0]&1024&&(f.todayBtn=u[10]),_[0]&2048&&(f.clearBtn=u[11]),_[0]&4096&&(f.clearToggle=u[12]),_[0]&8192&&(f.autoclose=u[13]),_[0]&32&&(f.minuteIncrement=u[5]),!i&&_[0]&128&&(i=!0,f.value=u[7],Wt(()=>i=!1)),n.$set(f)},i(u){v||(Ie(n.$$.fragment,u),v=!0)},o(u){ke(n.$$.fragment,u),v=!1},d(u){ut(n,u)}}}function za(t){let n,i,v,D,b=t[16](t[38])+"",u,_,f;return{c(){n=l("label"),i=l("input"),v=m(),D=l("span"),u=p(b),this.h()},l(E){n=a(E,"LABEL",{class:!0});var N=r(n);i=a(N,"INPUT",{type:!0}),v=y(N),D=a(N,"SPAN",{});var g=r(D);u=c(g,b),g.forEach(s),N.forEach(s),this.h()},h(){o(i,"type","radio"),i.__value=Kt[t[38]],i.value=i.__value,t[24][0].push(i),o(n,"class","mr-2 svelte-2tatxu")},m(E,N){Ot(E,n,N),e(n,i),i.checked=i.__value===t[14],e(n,v),e(n,D),e(D,u),_||(f=G(i,"change",t[23]),_=!0)},p(E,N){N[0]&16384&&(i.checked=i.__value===E[14])},d(E){E&&s(n),t[24][0].splice(t[24][0].indexOf(i),1),_=!1,f()}}}function uo(t){let n,i,v,D,b,u,_,f,E,N,g,I,$,O,L,P,Q,B,U,k,oe,A,w,X,M,ie,F,ne;return{c(){n=l("select"),i=l("optgroup"),v=l("option"),D=p("Y-m-d H:i"),b=l("option"),u=p("m/d/Y H:i"),_=l("option"),f=p("d.m.Y H:i"),E=l("option"),N=p("dd-M-yy H:i"),g=l("optgroup"),I=l("option"),$=p("Y-m-d"),O=l("option"),L=p("m/d/Y"),P=l("option"),Q=p("jS M y"),B=l("option"),U=p("d-M-y"),k=l("option"),oe=p("F d, Y"),A=l("optgroup"),w=l("option"),X=p("H:i"),M=l("option"),ie=p("g:i A"),this.h()},l(H){n=a(H,"SELECT",{name:!0,id:!0,class:!0});var S=r(n);i=a(S,"OPTGROUP",{label:!0});var V=r(i);v=a(V,"OPTION",{});var ce=r(v);D=c(ce,"Y-m-d H:i"),ce.forEach(s),b=a(V,"OPTION",{});var T=r(b);u=c(T,"m/d/Y H:i"),T.forEach(s),_=a(V,"OPTION",{});var se=r(_);f=c(se,"d.m.Y H:i"),se.forEach(s),E=a(V,"OPTION",{});var fe=r(E);N=c(fe,"dd-M-yy H:i"),fe.forEach(s),V.forEach(s),g=a(S,"OPTGROUP",{label:!0});var R=r(g);I=a(R,"OPTION",{});var W=r(I);$=c(W,"Y-m-d"),W.forEach(s),O=a(R,"OPTION",{});var Y=r(O);L=c(Y,"m/d/Y"),Y.forEach(s),P=a(R,"OPTION",{});var q=r(P);Q=c(q,"jS M y"),q.forEach(s),B=a(R,"OPTION",{});var re=r(B);U=c(re,"d-M-y"),re.forEach(s),k=a(R,"OPTION",{});var C=r(k);oe=c(C,"F d, Y"),C.forEach(s),R.forEach(s),A=a(S,"OPTGROUP",{label:!0});var ue=r(A);w=a(ue,"OPTION",{});var Ne=r(w);X=c(Ne,"H:i"),Ne.forEach(s),M=a(ue,"OPTION",{});var Z=r(M);ie=c(Z,"g:i A"),Z.forEach(s),ue.forEach(s),S.forEach(s),this.h()},h(){v.__value="Y-m-d H:i",v.value=v.__value,b.__value="m/d/Y H:i",b.value=b.__value,_.__value="d.m.Y H:i",_.value=_.__value,E.__value="dd-M-yy H:i",E.value=E.__value,o(i,"label","Date & time"),I.__value="Y-m-d",I.value=I.__value,O.__value="m/d/Y",O.value=O.__value,P.__value="jS M y",P.value=P.__value,B.__value="d-M-y",B.value=B.__value,k.__value="F d, Y",k.value=k.__value,o(g,"label","Date only"),w.__value="H:i",w.value=w.__value,M.__value="g:i A",M.value=M.__value,o(A,"label","Date only"),o(n,"name",""),o(n,"id",""),o(n,"class","form-select svelte-2tatxu"),t[8]===void 0&&Ja(()=>t[37].call(n))},m(H,S){Ot(H,n,S),e(n,i),e(i,v),e(v,D),e(i,b),e(b,u),e(i,_),e(_,f),e(i,E),e(E,N),e(n,g),e(g,I),e(I,$),e(g,O),e(O,L),e(g,P),e(P,Q),e(g,B),e(B,U),e(g,k),e(k,oe),e(n,A),e(A,w),e(w,X),e(A,M),e(M,ie),zt(n,t[8]),F||(ne=G(n,"change",t[37]),F=!0)},p(H,S){S[0]&256&&zt(n,H[8])},d(H){H&&s(n),F=!1,ne()}}}function _o(t){let n,i,v,D,b,u,_,f,E,N,g,I,$,O,L,P,Q,B,U,k,oe,A,w,X,M,ie,F,ne;return{c(){n=l("select"),i=l("optgroup"),v=l("option"),D=p("yyyy-mm-dd hh:ii"),b=l("option"),u=p("mm/dd/yyyy hh:ii"),_=l("option"),f=p("dd.mm.yyyy hh:ii"),E=l("option"),N=p("dd-M-yy hh:ii"),g=l("optgroup"),I=l("option"),$=p("yyyy-mm-dd"),O=l("option"),L=p("mm/dd/yyyy"),P=l("option"),Q=p("dd.mm.yyyy"),B=l("option"),U=p("dd-M-yy"),k=l("option"),oe=p("dd MM yyyy"),A=l("optgroup"),w=l("option"),X=p("hh:ii"),M=l("option"),ie=p("H:i P"),this.h()},l(H){n=a(H,"SELECT",{name:!0,id:!0,class:!0});var S=r(n);i=a(S,"OPTGROUP",{label:!0});var V=r(i);v=a(V,"OPTION",{});var ce=r(v);D=c(ce,"yyyy-mm-dd hh:ii"),ce.forEach(s),b=a(V,"OPTION",{});var T=r(b);u=c(T,"mm/dd/yyyy hh:ii"),T.forEach(s),_=a(V,"OPTION",{});var se=r(_);f=c(se,"dd.mm.yyyy hh:ii"),se.forEach(s),E=a(V,"OPTION",{});var fe=r(E);N=c(fe,"dd-M-yy hh:ii"),fe.forEach(s),V.forEach(s),g=a(S,"OPTGROUP",{label:!0});var R=r(g);I=a(R,"OPTION",{});var W=r(I);$=c(W,"yyyy-mm-dd"),W.forEach(s),O=a(R,"OPTION",{});var Y=r(O);L=c(Y,"mm/dd/yyyy"),Y.forEach(s),P=a(R,"OPTION",{});var q=r(P);Q=c(q,"dd.mm.yyyy"),q.forEach(s),B=a(R,"OPTION",{});var re=r(B);U=c(re,"dd-M-yy"),re.forEach(s),k=a(R,"OPTION",{});var C=r(k);oe=c(C,"dd MM yyyy"),C.forEach(s),R.forEach(s),A=a(S,"OPTGROUP",{label:!0});var ue=r(A);w=a(ue,"OPTION",{});var Ne=r(w);X=c(Ne,"hh:ii"),Ne.forEach(s),M=a(ue,"OPTION",{});var Z=r(M);ie=c(Z,"H:i P"),Z.forEach(s),ue.forEach(s),S.forEach(s),this.h()},h(){v.__value="yyyy-mm-dd hh:ii",v.value=v.__value,b.__value="mm/dd/yyyy hh:ii",b.value=b.__value,_.__value="dd.mm.yyyy hh:ii",_.value=_.__value,E.__value="dd-M-yy hh:ii",E.value=E.__value,o(i,"label","Date & time"),I.__value="yyyy-mm-dd",I.value=I.__value,O.__value="mm/dd/yyyy",O.value=O.__value,P.__value="dd.mm.yyyy",P.value=P.__value,B.__value="dd-M-yy",B.value=B.__value,k.__value="dd MM yyyy",k.value=k.__value,o(g,"label","Date only"),w.__value="hh:ii",w.value=w.__value,M.__value="H:i P",M.value=M.__value,o(A,"label","Date only"),o(n,"name",""),o(n,"id",""),o(n,"class","form-select svelte-2tatxu"),t[8]===void 0&&Ja(()=>t[36].call(n))},m(H,S){Ot(H,n,S),e(n,i),e(i,v),e(v,D),e(i,b),e(b,u),e(i,_),e(_,f),e(i,E),e(E,N),e(n,g),e(g,I),e(I,$),e(g,O),e(O,L),e(g,P),e(P,Q),e(g,B),e(B,U),e(g,k),e(k,oe),e(n,A),e(A,w),e(w,X),e(A,M),e(M,ie),zt(n,t[8]),F||(ne=G(n,"change",t[36]),F=!0)},p(H,S){S[0]&256&&zt(n,H[8])},d(H){H&&s(n),F=!1,ne()}}}function vo(t){let n,i;return n=new no({}),{c(){st(n.$$.fragment)},l(v){rt(n.$$.fragment,v)},m(v,D){it(n,v,D),i=!0},i(v){i||(Ie(n.$$.fragment,v),i=!0)},o(v){ke(n.$$.fragment,v),i=!1},d(v){ut(n,v)}}}function po(t){let n,i;return n=new so({}),{c(){st(n.$$.fragment)},l(v){rt(n.$$.fragment,v)},m(v,D){it(n,v,D),i=!0},i(v){i||(Ie(n.$$.fragment,v),i=!0)},o(v){ke(n.$$.fragment,v),i=!1},d(v){ut(n,v)}}}function co(t){let n,i,v,D,b,u,_,f,E,N,g,I,$,O,L,P,Q,B,U,k,oe,A,w,X,M,ie,F,ne,H,S,V,ce,T,se,fe,R,W,Y,q,re,C,ue,Ne,Z,Qt,Xt,Ue,dt,Zt,xt,el,Le,tl,ll,Ye,_t,al,ol,nl,de,sl,He,vt,rl,il,ul,_e,dl,Oe,_l,vl,pl,cl,z,pt,ze,he,fl,hl,ct,Je,Be,ml,yl,ft,Ke,Ae,bl,gl,ht,Qe,Me,El,kl,mt,Xe,we,Il,Ol,yt,Ze,me,Pl,Tl,Dl,Nl,bt,Ll,Bl,ve,xe,gt,Al,Ml,et,x,wl,Sl,tt,ee,Ul,Yl,lt,te,Hl,Vl,Ve,$l,Pt,Cl,Rl,Fl,Pe,Tt,jl,Gl,$e,at,le,Wl,ql,ot,ae,zl,Jl,Se,Dt,Kl,Ql,Xl,Ce,Re,Zl,wt,xl,ea,ye,be,Fe,ta,ha;const ma=[io,ro],je=[];function ya(d,h){return d[4]?1:0}U=ya(t),k=je[U]=ma[U](t),V=new oo({});function Qa(d){t[19](d)}let ba={inputId:"startDate",format:t[8],formatType:t[0],inputClasses:"picker"};t[2]!==void 0&&(ba.value=t[2]),Z=new Jt({props:ba}),jt.push(()=>Gt(Z,"value",Qa));function Xa(d){t[20](d)}let ga={inputId:"endDate",format:t[8],formatType:t[0],inputClasses:"picker"};t[3]!==void 0&&(ga.value=t[3]),Le=new Jt({props:ga}),jt.push(()=>Gt(Le,"value",Xa));let Et=Object.keys(Kt),J=[];for(let d=0;dGt(n,"value",D)),{c(){st(n.$$.fragment)},l(u){rt(n.$$.fragment,u)},m(u,_){it(n,u,_),v=!0},p(u,_){const f={};_[0]&2&&(f.disabled=u[1]),_[0]&4&&(f.startDate=u[2]),_[0]&8&&(f.endDate=u[3]),_[0]&16384&&(f.i18n=u[14]),_[0]&64&&(f.weekStart=u[6]),_[0]&256&&(f.format=u[8]),_[0]&1&&(f.formatType=u[0]),_[0]&512&&(f.mode=u[9]),_[0]&1024&&(f.todayBtn=u[10]),_[0]&2048&&(f.clearBtn=u[11]),_[0]&4096&&(f.clearToggle=u[12]),_[0]&8192&&(f.autoclose=u[13]),_[0]&32&&(f.minuteIncrement=u[5]),!i&&_[0]&128&&(i=!0,f.value=u[7],Wt(()=>i=!1)),n.$set(f)},i(u){v||(Ie(n.$$.fragment,u),v=!0)},o(u){ke(n.$$.fragment,u),v=!1},d(u){ut(n,u)}}}function io(t){let n,i,v;function D(u){t[17](u)}let b={inputClasses:"picker-style",disabled:t[1],placeholder:Ja,initialDate:t[15],startDate:t[2],endDate:t[3],i18n:t[14],weekStart:t[6],format:t[8],formatType:t[0],mode:t[9],todayBtn:t[10],clearBtn:t[11],clearToggle:t[12],autoclose:t[13],minuteIncrement:t[5]};return t[7]!==void 0&&(b.value=t[7]),n=new Xt({props:b}),jt.push(()=>Gt(n,"value",D)),{c(){st(n.$$.fragment)},l(u){rt(n.$$.fragment,u)},m(u,_){it(n,u,_),v=!0},p(u,_){const f={};_[0]&2&&(f.disabled=u[1]),_[0]&4&&(f.startDate=u[2]),_[0]&8&&(f.endDate=u[3]),_[0]&16384&&(f.i18n=u[14]),_[0]&64&&(f.weekStart=u[6]),_[0]&256&&(f.format=u[8]),_[0]&1&&(f.formatType=u[0]),_[0]&512&&(f.mode=u[9]),_[0]&1024&&(f.todayBtn=u[10]),_[0]&2048&&(f.clearBtn=u[11]),_[0]&4096&&(f.clearToggle=u[12]),_[0]&8192&&(f.autoclose=u[13]),_[0]&32&&(f.minuteIncrement=u[5]),!i&&_[0]&128&&(i=!0,f.value=u[7],Wt(()=>i=!1)),n.$set(f)},i(u){v||(Ie(n.$$.fragment,u),v=!0)},o(u){ke(n.$$.fragment,u),v=!1},d(u){ut(n,u)}}}function za(t){let n,i,v,D,b=t[16](t[38])+"",u,_,f;return{c(){n=l("label"),i=l("input"),v=m(),D=l("span"),u=p(b),this.h()},l(E){n=a(E,"LABEL",{class:!0});var N=r(n);i=a(N,"INPUT",{type:!0}),v=y(N),D=a(N,"SPAN",{});var g=r(D);u=c(g,b),g.forEach(s),N.forEach(s),this.h()},h(){o(i,"type","radio"),i.__value=Jt[t[38]],i.value=i.__value,t[24][0].push(i),o(n,"class","mr-2 svelte-2tatxu")},m(E,N){Ot(E,n,N),e(n,i),i.checked=i.__value===t[14],e(n,v),e(n,D),e(D,u),_||(f=G(i,"change",t[23]),_=!0)},p(E,N){N[0]&16384&&(i.checked=i.__value===E[14])},d(E){E&&s(n),t[24][0].splice(t[24][0].indexOf(i),1),_=!1,f()}}}function uo(t){let n,i,v,D,b,u,_,f,E,N,g,I,$,O,L,P,K,B,U,k,oe,A,w,Q,M,ie,F,ne;return{c(){n=l("select"),i=l("optgroup"),v=l("option"),D=p("Y-m-d H:i"),b=l("option"),u=p("m/d/Y H:i"),_=l("option"),f=p("d.m.Y H:i"),E=l("option"),N=p("dd-M-yy H:i"),g=l("optgroup"),I=l("option"),$=p("Y-m-d"),O=l("option"),L=p("m/d/Y"),P=l("option"),K=p("jS M y"),B=l("option"),U=p("d-M-y"),k=l("option"),oe=p("F d, Y"),A=l("optgroup"),w=l("option"),Q=p("H:i"),M=l("option"),ie=p("g:i A"),this.h()},l(H){n=a(H,"SELECT",{name:!0,id:!0,class:!0});var S=r(n);i=a(S,"OPTGROUP",{label:!0});var V=r(i);v=a(V,"OPTION",{});var ce=r(v);D=c(ce,"Y-m-d H:i"),ce.forEach(s),b=a(V,"OPTION",{});var T=r(b);u=c(T,"m/d/Y H:i"),T.forEach(s),_=a(V,"OPTION",{});var se=r(_);f=c(se,"d.m.Y H:i"),se.forEach(s),E=a(V,"OPTION",{});var fe=r(E);N=c(fe,"dd-M-yy H:i"),fe.forEach(s),V.forEach(s),g=a(S,"OPTGROUP",{label:!0});var R=r(g);I=a(R,"OPTION",{});var W=r(I);$=c(W,"Y-m-d"),W.forEach(s),O=a(R,"OPTION",{});var Y=r(O);L=c(Y,"m/d/Y"),Y.forEach(s),P=a(R,"OPTION",{});var q=r(P);K=c(q,"jS M y"),q.forEach(s),B=a(R,"OPTION",{});var re=r(B);U=c(re,"d-M-y"),re.forEach(s),k=a(R,"OPTION",{});var C=r(k);oe=c(C,"F d, Y"),C.forEach(s),R.forEach(s),A=a(S,"OPTGROUP",{label:!0});var ue=r(A);w=a(ue,"OPTION",{});var Ne=r(w);Q=c(Ne,"H:i"),Ne.forEach(s),M=a(ue,"OPTION",{});var Z=r(M);ie=c(Z,"g:i A"),Z.forEach(s),ue.forEach(s),S.forEach(s),this.h()},h(){v.__value="Y-m-d H:i",v.value=v.__value,b.__value="m/d/Y H:i",b.value=b.__value,_.__value="d.m.Y H:i",_.value=_.__value,E.__value="dd-M-yy H:i",E.value=E.__value,o(i,"label","Date & time"),I.__value="Y-m-d",I.value=I.__value,O.__value="m/d/Y",O.value=O.__value,P.__value="jS M y",P.value=P.__value,B.__value="d-M-y",B.value=B.__value,k.__value="F d, Y",k.value=k.__value,o(g,"label","Date only"),w.__value="H:i",w.value=w.__value,M.__value="g:i A",M.value=M.__value,o(A,"label","Date only"),o(n,"name",""),o(n,"id",""),o(n,"class","form-select svelte-2tatxu"),t[8]===void 0&&Xa(()=>t[37].call(n))},m(H,S){Ot(H,n,S),e(n,i),e(i,v),e(v,D),e(i,b),e(b,u),e(i,_),e(_,f),e(i,E),e(E,N),e(n,g),e(g,I),e(I,$),e(g,O),e(O,L),e(g,P),e(P,K),e(g,B),e(B,U),e(g,k),e(k,oe),e(n,A),e(A,w),e(w,Q),e(A,M),e(M,ie),zt(n,t[8]),F||(ne=G(n,"change",t[37]),F=!0)},p(H,S){S[0]&256&&zt(n,H[8])},d(H){H&&s(n),F=!1,ne()}}}function _o(t){let n,i,v,D,b,u,_,f,E,N,g,I,$,O,L,P,K,B,U,k,oe,A,w,Q,M,ie,F,ne;return{c(){n=l("select"),i=l("optgroup"),v=l("option"),D=p("yyyy-mm-dd hh:ii"),b=l("option"),u=p("mm/dd/yyyy hh:ii"),_=l("option"),f=p("dd.mm.yyyy hh:ii"),E=l("option"),N=p("dd-M-yy hh:ii"),g=l("optgroup"),I=l("option"),$=p("yyyy-mm-dd"),O=l("option"),L=p("mm/dd/yyyy"),P=l("option"),K=p("dd.mm.yyyy"),B=l("option"),U=p("dd-M-yy"),k=l("option"),oe=p("dd MM yyyy"),A=l("optgroup"),w=l("option"),Q=p("hh:ii"),M=l("option"),ie=p("H:i P"),this.h()},l(H){n=a(H,"SELECT",{name:!0,id:!0,class:!0});var S=r(n);i=a(S,"OPTGROUP",{label:!0});var V=r(i);v=a(V,"OPTION",{});var ce=r(v);D=c(ce,"yyyy-mm-dd hh:ii"),ce.forEach(s),b=a(V,"OPTION",{});var T=r(b);u=c(T,"mm/dd/yyyy hh:ii"),T.forEach(s),_=a(V,"OPTION",{});var se=r(_);f=c(se,"dd.mm.yyyy hh:ii"),se.forEach(s),E=a(V,"OPTION",{});var fe=r(E);N=c(fe,"dd-M-yy hh:ii"),fe.forEach(s),V.forEach(s),g=a(S,"OPTGROUP",{label:!0});var R=r(g);I=a(R,"OPTION",{});var W=r(I);$=c(W,"yyyy-mm-dd"),W.forEach(s),O=a(R,"OPTION",{});var Y=r(O);L=c(Y,"mm/dd/yyyy"),Y.forEach(s),P=a(R,"OPTION",{});var q=r(P);K=c(q,"dd.mm.yyyy"),q.forEach(s),B=a(R,"OPTION",{});var re=r(B);U=c(re,"dd-M-yy"),re.forEach(s),k=a(R,"OPTION",{});var C=r(k);oe=c(C,"dd MM yyyy"),C.forEach(s),R.forEach(s),A=a(S,"OPTGROUP",{label:!0});var ue=r(A);w=a(ue,"OPTION",{});var Ne=r(w);Q=c(Ne,"hh:ii"),Ne.forEach(s),M=a(ue,"OPTION",{});var Z=r(M);ie=c(Z,"H:i P"),Z.forEach(s),ue.forEach(s),S.forEach(s),this.h()},h(){v.__value="yyyy-mm-dd hh:ii",v.value=v.__value,b.__value="mm/dd/yyyy hh:ii",b.value=b.__value,_.__value="dd.mm.yyyy hh:ii",_.value=_.__value,E.__value="dd-M-yy hh:ii",E.value=E.__value,o(i,"label","Date & time"),I.__value="yyyy-mm-dd",I.value=I.__value,O.__value="mm/dd/yyyy",O.value=O.__value,P.__value="dd.mm.yyyy",P.value=P.__value,B.__value="dd-M-yy",B.value=B.__value,k.__value="dd MM yyyy",k.value=k.__value,o(g,"label","Date only"),w.__value="hh:ii",w.value=w.__value,M.__value="H:i P",M.value=M.__value,o(A,"label","Date only"),o(n,"name",""),o(n,"id",""),o(n,"class","form-select svelte-2tatxu"),t[8]===void 0&&Xa(()=>t[36].call(n))},m(H,S){Ot(H,n,S),e(n,i),e(i,v),e(v,D),e(i,b),e(b,u),e(i,_),e(_,f),e(i,E),e(E,N),e(n,g),e(g,I),e(I,$),e(g,O),e(O,L),e(g,P),e(P,K),e(g,B),e(B,U),e(g,k),e(k,oe),e(n,A),e(A,w),e(w,Q),e(A,M),e(M,ie),zt(n,t[8]),F||(ne=G(n,"change",t[36]),F=!0)},p(H,S){S[0]&256&&zt(n,H[8])},d(H){H&&s(n),F=!1,ne()}}}function vo(t){let n,i;return n=new no({}),{c(){st(n.$$.fragment)},l(v){rt(n.$$.fragment,v)},m(v,D){it(n,v,D),i=!0},i(v){i||(Ie(n.$$.fragment,v),i=!0)},o(v){ke(n.$$.fragment,v),i=!1},d(v){ut(n,v)}}}function po(t){let n,i;return n=new so({}),{c(){st(n.$$.fragment)},l(v){rt(n.$$.fragment,v)},m(v,D){it(n,v,D),i=!0},i(v){i||(Ie(n.$$.fragment,v),i=!0)},o(v){ke(n.$$.fragment,v),i=!1},d(v){ut(n,v)}}}function co(t){let n,i,v,D,b,u,_,f,E,N,g,I,$,O,L,P,K,B,U,k,oe,A,w,Q,M,ie,F,ne,H,S,V,ce,T,se,fe,R,W,Y,q,re,C,ue,Ne,Z,Kt,Qt,Ue,dt,Zt,xt,el,Le,tl,ll,Ye,_t,al,ol,nl,de,sl,He,vt,rl,il,ul,_e,dl,Oe,_l,vl,pl,cl,z,pt,ze,he,fl,hl,ct,Xe,Be,ml,yl,ft,Je,Ae,bl,gl,ht,Ke,Me,El,kl,mt,Qe,we,Il,Ol,yt,Ze,me,Pl,Tl,Dl,Nl,bt,Ll,Bl,ve,xe,gt,Al,Ml,et,x,wl,Sl,tt,ee,Ul,Yl,lt,te,Hl,Vl,Ve,$l,Pt,Cl,Rl,Fl,Pe,Tt,jl,Gl,$e,at,le,Wl,ql,ot,ae,zl,Xl,Se,Dt,Jl,Kl,Ql,Ce,Re,Zl,wt,xl,ea,ye,be,Fe,ta,ha;const ma=[io,ro],je=[];function ya(d,h){return d[4]?1:0}U=ya(t),k=je[U]=ma[U](t),V=new oo({});function Ka(d){t[19](d)}let ba={inputId:"startDate",format:t[8],formatType:t[0],inputClasses:"picker"};t[2]!==void 0&&(ba.value=t[2]),Z=new Xt({props:ba}),jt.push(()=>Gt(Z,"value",Ka));function Qa(d){t[20](d)}let ga={inputId:"endDate",format:t[8],formatType:t[0],inputClasses:"picker"};t[3]!==void 0&&(ga.value=t[3]),Le=new Xt({props:ga}),jt.push(()=>Gt(Le,"value",Qa));let Et=Object.keys(Jt),X=[];for(let d=0;d{je[Te]=null}),Fa(),k=je[U],k?k.p(d,h):(k=je[U]=ma[U](d),k.c()),Ie(k,1),k.m(L,oe)),(!Fe||h[0]&128)&&ja(M,d[7]);const Ge={};h[0]&256&&(Ge.format=d[8]),h[0]&1&&(Ge.formatType=d[0]),!Qt&&h[0]&4&&(Qt=!0,Ge.value=d[2],Wt(()=>Qt=!1)),Z.$set(Ge);const We={};if(h[0]&256&&(We.format=d[8]),h[0]&1&&(We.formatType=d[0]),!tl&&h[0]&8&&(tl=!0,We.value=d[3],Wt(()=>tl=!1)),Le.$set(We),h[0]&32&&qt(de.value)!==d[5]&&Ft(de,d[5]),h[0]&64&&qt(_e.value)!==d[6]&&Ft(_e,d[6]),h[0]&81920){Et=Object.keys(Kt);let j;for(j=0;j{nt[kt]=null}),Fa(),be=nt[ye],be||(be=nt[ye]=ka[ye](d),be.c()),Ie(be,1),be.m(Ce,null))},i(d){Fe||(Ie(k),Ie(V.$$.fragment,d),Ie(Z.$$.fragment,d),Ie(Le.$$.fragment,d),Ie(be),Fe=!0)},o(d){ke(k),ke(V.$$.fragment,d),ke(Z.$$.fragment,d),ke(Le.$$.fragment,d),ke(be),Fe=!1},d(d){d&&s(n),d&&s($),d&&s(O),je[U].d(),ut(V),ut(Z),ut(Le),to(J,d),t[24][1].splice(t[24][1].indexOf(x),1),t[24][1].splice(t[24][1].indexOf(ee),1),t[24][1].splice(t[24][1].indexOf(te),1),t[24][2].splice(t[24][2].indexOf(le),1),t[24][2].splice(t[24][2].indexOf(ae),1),ge.d(),nt[ye].d(),ta=!1,lo(ha)}}}let Ka="You can play with settings";function fo(){history.go(-1)}function ho(t,n,i){let v=!1,D=new Date,b=null,u=null,_=!1,f=1,E=1,N="",g="",I="standard",$="auto",O=!0,L=!0,P=!0,Q=!0,B=Kt.en;const U=C=>String.fromCodePoint(...[...(C==="en"?"gb":C).toUpperCase()].map(ue=>127397+ue.charCodeAt())),k=[[],[],[]];function oe(C){N=C,i(7,N)}function A(C){N=C,i(7,N)}function w(C){b=C,i(2,b)}function X(C){u=C,i(3,u)}function M(){f=qt(this.value),i(5,f)}function ie(){E=qt(this.value),i(6,E)}function F(){B=this.__value,i(14,B)}function ne(){v=this.checked,i(1,v)}function H(){_=this.checked,i(4,_)}function S(){O=this.checked,i(10,O)}function V(){L=this.checked,i(11,L)}function ce(){P=this.checked,i(12,P)}function T(){Q=this.checked,i(13,Q)}function se(){$=this.__value,i(9,$)}function fe(){$=this.__value,i(9,$)}function R(){$=this.__value,i(9,$)}function W(){I=this.__value,i(0,I)}function Y(){I=this.__value,i(0,I)}function q(){g=Wa(this),i(8,g),i(0,I)}function re(){g=Wa(this),i(8,g),i(0,I)}return t.$$.update=()=>{t.$$.dirty[0]&1&&i(8,g=I==="php"?"Y-m-d H:i":"yyyy-mm-dd hh:ii")},[I,v,b,u,_,f,E,N,g,$,O,L,P,Q,B,D,U,oe,A,w,X,M,ie,F,k,ne,H,S,V,ce,T,se,fe,R,W,Y,q,re]}class ko extends Za{constructor(n){super(),xa(this,n,ho,co,eo,{},null,[-1,-1])}}export{ko as default}; + `),ve=a(J,"DIV",{class:!0});var qe=r(ve);xe=a(qe,"LABEL",{class:!0});var ua=r(xe);gt=a(ua,"INPUT",{type:!0}),Al=c(ua," Auto (default)"),ua.forEach(s),Ml=y(qe),et=a(qe,"LABEL",{class:!0});var da=r(et);x=a(da,"INPUT",{type:!0,id:!0}),wl=c(da," Date"),da.forEach(s),Sl=y(qe),tt=a(qe,"LABEL",{class:!0});var _a=r(tt);ee=a(_a,"INPUT",{type:!0,id:!0}),Ul=c(_a," Datetime"),_a.forEach(s),Yl=y(qe),lt=a(qe,"LABEL",{class:!0});var va=r(lt);te=a(va,"INPUT",{type:!0,id:!0}),Hl=c(va," Time"),va.forEach(s),qe.forEach(s),Vl=y(J),Ve=a(J,"P",{class:!0});var Ht=r(Ve);$l=c(Ht,"Mode is by default resolved by provided format or "),Pt=a(Ht,"CODE",{});var $a=r(Pt);Cl=c($a,"yyyy-mm-dd"),$a.forEach(s),Rl=c(Ht," if not specified."),Ht.forEach(s),Fl=y(J),Pe=a(J,"DIV",{class:!0});var It=r(Pe);Tt=a(It,"SPAN",{});var Ca=r(Tt);jl=c(Ca,"Format type:"),Ca.forEach(s),Gl=y(It),$e=a(It,"DIV",{class:!0});var Vt=r($e);at=a(Vt,"LABEL",{class:!0});var pa=r(at);le=a(pa,"INPUT",{type:!0,id:!0}),Wl=c(pa," Standard"),pa.forEach(s),ql=y(Vt),ot=a(Vt,"LABEL",{class:!0});var ca=r(ot);ae=a(ca,"INPUT",{type:!0,id:!0}),zl=c(ca," PHP"),ca.forEach(s),Vt.forEach(s),Xl=y(It),Se=a(It,"DIV",{class:!0});var $t=r(Se);Dt=a($t,"SPAN",{});var Ra=r(Dt);Jl=c(Ra,"Format:"),Ra.forEach(s),Kl=y($t),ge.l($t),$t.forEach(s),It.forEach(s),Ql=y(J),Ce=a(J,"DETAILS",{});var Ct=r(Ce);Re=a(Ct,"SUMMARY",{class:!0});var Rt=r(Re);Zl=c(Rt,"Expand format settings ("),wt=c(Rt,t[0]),xl=c(Rt,")"),Rt.forEach(s),ea=y(Ct),be.l(Ct),Ct.forEach(s),J.forEach(s),j.forEach(s),this.h()},h(){o(_,"class","text-xl hover:underline hover:underline-gray-300 svelte-2tatxu"),o(u,"href",ao+"/"),o(b,"class","inline-flex items-end svelte-2tatxu"),o(n,"class","flex justify-between border-b-1 border-grey-500 px-4 py-2 svelte-2tatxu"),o(P,"class","font-bold text-2 svelte-2tatxu"),o(A,"class","my-5 svelte-2tatxu"),o(ne,"class","font-semibold svelte-2tatxu"),o(F,"class","my-5 svelte-2tatxu"),o(L,"class","w-full lg:w-1/2 mr-1 svelte-2tatxu"),o(se,"class","font-bold text-lg svelte-2tatxu"),o(re,"for","startDate"),o(dt,"for","endDate"),o(_t,"for","minuteIncrement"),o(de,"type","number"),o(de,"id","minuteIncrement"),o(de,"min","1"),o(de,"max","60"),o(de,"class","svelte-2tatxu"),o(vt,"for","week"),o(_e,"type","number"),o(_e,"id","week"),o(_e,"min","0"),o(_e,"max","6"),o(_e,"class","svelte-2tatxu"),o(Oe,"class","my-2 language-bar svelte-2tatxu"),o(Y,"class","w-full lg:w-1/2 svelte-2tatxu"),o(he,"type","checkbox"),o(he,"name",""),o(he,"id",""),he.disabled=t[4],o(ze,"class","svelte-2tatxu"),o(pt,"class","line svelte-2tatxu"),o(Be,"type","checkbox"),o(Be,"name",""),o(Be,"id",""),o(Xe,"class","svelte-2tatxu"),o(ct,"class","line svelte-2tatxu"),o(Ae,"type","checkbox"),o(Ae,"name",""),o(Ae,"id",""),o(Je,"class","svelte-2tatxu"),o(ft,"class","line svelte-2tatxu"),o(Me,"type","checkbox"),o(Me,"name",""),o(Me,"id",""),o(Ke,"class","svelte-2tatxu"),o(ht,"class","line svelte-2tatxu"),o(we,"type","checkbox"),o(we,"name",""),o(we,"id",""),o(Qe,"class","svelte-2tatxu"),o(mt,"class","line svelte-2tatxu"),o(me,"type","checkbox"),o(me,"name",""),o(me,"id",""),me.disabled=t[4],o(Ze,"class","svelte-2tatxu"),o(yt,"class","line svelte-2tatxu"),o(z,"class","w-full lg:w-1/2 svelte-2tatxu"),o(W,"class","flex flex-wrap svelte-2tatxu"),o(bt,"class","font-bold text-lg mt-2 svelte-2tatxu"),o(gt,"type","radio"),gt.value="auto",gt.disabled=!0,o(xe,"class","svelte-2tatxu"),o(x,"type","radio"),x.__value="date",x.value=x.__value,o(x,"id",""),t[24][1].push(x),o(et,"class","svelte-2tatxu"),o(ee,"type","radio"),ee.__value="datetime",ee.value=ee.__value,o(ee,"id",""),t[24][1].push(ee),o(tt,"class","svelte-2tatxu"),o(te,"type","radio"),te.__value="time",te.value=te.__value,o(te,"id",""),t[24][1].push(te),o(lt,"class","svelte-2tatxu"),o(ve,"class","line svelte-2tatxu"),o(Ve,"class","my-2 svelte-2tatxu"),o(le,"type","radio"),le.__value="standard",le.value=le.__value,o(le,"id",""),t[24][2].push(le),o(at,"class","svelte-2tatxu"),o(ae,"type","radio"),ae.__value="php",ae.value=ae.__value,o(ae,"id",""),t[24][2].push(ae),o(ot,"class","svelte-2tatxu"),o($e,"class","line svelte-2tatxu"),o(Se,"class","whitespace-nowrap svelte-2tatxu"),o(Pe,"class","flex flex-wrap items-center mb-2 svelte-2tatxu"),o(Re,"class","font-semibold svelte-2tatxu"),o(T,"class","w-full lg:w-1/2 ml-1 settings svelte-2tatxu"),o(O,"class","flex flex-col lg:flex-row m-4 svelte-2tatxu")},m(d,h){Ot(d,n,h),e(n,i),e(i,v),e(n,D),e(n,b),e(b,u),e(u,_),e(_,f),e(u,E),e(b,N),e(n,g),e(n,I),Ot(d,$,h),Ot(d,O,h),e(O,L),e(L,P),e(P,K),e(L,B),je[U].m(L,null),e(L,oe),e(L,A),e(A,w),e(A,Q),e(Q,M),e(L,ie),e(L,F),e(F,ne),e(ne,H),e(F,S),it(V,F,null),e(O,ce),e(O,T),e(T,se),e(se,fe),e(T,R),e(T,W),e(W,Y),e(Y,q),e(q,re),e(re,C),e(q,ue),e(q,Ne),it(Z,q,null),e(Y,Qt),e(Y,Ue),e(Ue,dt),e(dt,Zt),e(Ue,xt),e(Ue,el),it(Le,Ue,null),e(Y,ll),e(Y,Ye),e(Ye,_t),e(_t,al),e(Ye,ol),e(Ye,nl),e(Ye,de),Ft(de,t[5]),e(Y,sl),e(Y,He),e(He,vt),e(vt,rl),e(He,il),e(He,ul),e(He,_e),Ft(_e,t[6]),e(Y,dl),e(Y,Oe),e(Oe,_l),e(Oe,vl),e(Oe,pl);for(let Te=0;Te{je[Te]=null}),Fa(),k=je[U],k?k.p(d,h):(k=je[U]=ma[U](d),k.c()),Ie(k,1),k.m(L,oe)),(!Fe||h[0]&128)&&ja(M,d[7]);const Ge={};h[0]&256&&(Ge.format=d[8]),h[0]&1&&(Ge.formatType=d[0]),!Kt&&h[0]&4&&(Kt=!0,Ge.value=d[2],Wt(()=>Kt=!1)),Z.$set(Ge);const We={};if(h[0]&256&&(We.format=d[8]),h[0]&1&&(We.formatType=d[0]),!tl&&h[0]&8&&(tl=!0,We.value=d[3],Wt(()=>tl=!1)),Le.$set(We),h[0]&32&&qt(de.value)!==d[5]&&Ft(de,d[5]),h[0]&64&&qt(_e.value)!==d[6]&&Ft(_e,d[6]),h[0]&81920){Et=Object.keys(Jt);let j;for(j=0;j{nt[kt]=null}),Fa(),be=nt[ye],be||(be=nt[ye]=ka[ye](d),be.c()),Ie(be,1),be.m(Ce,null))},i(d){Fe||(Ie(k),Ie(V.$$.fragment,d),Ie(Z.$$.fragment,d),Ie(Le.$$.fragment,d),Ie(be),Fe=!0)},o(d){ke(k),ke(V.$$.fragment,d),ke(Z.$$.fragment,d),ke(Le.$$.fragment,d),ke(be),Fe=!1},d(d){d&&s(n),d&&s($),d&&s(O),je[U].d(),ut(V),ut(Z),ut(Le),to(X,d),t[24][1].splice(t[24][1].indexOf(x),1),t[24][1].splice(t[24][1].indexOf(ee),1),t[24][1].splice(t[24][1].indexOf(te),1),t[24][2].splice(t[24][2].indexOf(le),1),t[24][2].splice(t[24][2].indexOf(ae),1),ge.d(),nt[ye].d(),ta=!1,lo(ha)}}}let Ja="You can play with settings";function fo(){history.go(-1)}function ho(t,n,i){let v=!1,D=new Date,b=null,u=null,_=!1,f=1,E=1,N="",g="",I="standard",$="auto",O=!0,L=!0,P=!0,K=!0,B=Jt.en;const U=C=>String.fromCodePoint(...[...(C==="en"?"gb":C).toUpperCase()].map(ue=>127397+ue.charCodeAt())),k=[[],[],[]];function oe(C){N=C,i(7,N)}function A(C){N=C,i(7,N)}function w(C){b=C,i(2,b)}function Q(C){u=C,i(3,u)}function M(){f=qt(this.value),i(5,f)}function ie(){E=qt(this.value),i(6,E)}function F(){B=this.__value,i(14,B)}function ne(){v=this.checked,i(1,v)}function H(){_=this.checked,i(4,_)}function S(){O=this.checked,i(10,O)}function V(){L=this.checked,i(11,L)}function ce(){P=this.checked,i(12,P)}function T(){K=this.checked,i(13,K)}function se(){$=this.__value,i(9,$)}function fe(){$=this.__value,i(9,$)}function R(){$=this.__value,i(9,$)}function W(){I=this.__value,i(0,I)}function Y(){I=this.__value,i(0,I)}function q(){g=Wa(this),i(8,g),i(0,I)}function re(){g=Wa(this),i(8,g),i(0,I)}return t.$$.update=()=>{t.$$.dirty[0]&1&&i(8,g=I==="php"?"Y-m-d H:i":"yyyy-mm-dd hh:ii")},[I,v,b,u,_,f,E,N,g,$,O,L,P,K,B,D,U,oe,A,w,Q,M,ie,F,k,ne,H,S,V,ce,T,se,fe,R,W,Y,q,re]}class ko extends Za{constructor(n){super(),xa(this,n,ho,co,eo,{},null,[-1,-1])}}export{ko as default}; diff --git a/docs/_app/immutable/pages/styling.svelte-283e6189.js b/docs/_app/immutable/pages/styling.svelte-ba9fd761.js similarity index 74% rename from docs/_app/immutable/pages/styling.svelte-283e6189.js rename to docs/_app/immutable/pages/styling.svelte-ba9fd761.js index 2fb7011..02fbc85 100644 --- a/docs/_app/immutable/pages/styling.svelte-283e6189.js +++ b/docs/_app/immutable/pages/styling.svelte-ba9fd761.js @@ -1,4 +1,4 @@ -import{S as Z,i as ss,s as ns,l as u,m as r,n as i,h as a,p as k,b as d,E as V,r as h,a as z,w as F,u as _,c as E,x as G,N as e,y as J,f as K,t as Q,B as U}from"../chunks/index-28983a80.js";import{S as Y}from"../chunks/SveltyPicker-a0faa711.js";function as(O){let n,S=`<SveltyPicker theme="my-colors"></SveltyPicker> +import{S as Z,i as ss,s as ns,l as u,m as r,n as i,h as a,p as k,b as d,F as O,r as h,a as z,x as G,u as _,c as x,y as J,O as e,z as K,f as N,t as Q,C as U}from"../chunks/index-bfee2186.js";import{S as Y}from"../chunks/SveltyPicker-25b77381.js";function as(V){let n,S=`<SveltyPicker theme="my-colors"></SveltyPicker> <style> :global(.my-colors) { @@ -17,10 +17,10 @@ import{S as Z,i as ss,s as ns,l as u,m as r,n as i,h as a,p as k,b as d,E as V,r --sdt-shadow: #ccc; --sdt-disabled-date: #b22222; } -</style>`;return{c(){n=u("pre"),this.h()},l(p){n=r(p,"PRE",{class:!0});var t=i(n);t.forEach(a),this.h()},h(){k(n,"class","language-svelte")},m(p,t){d(p,n,t),n.innerHTML=S},p:V,i:V,o:V,d(p){p&&a(n)}}}class ts extends Z{constructor(n){super(),ss(this,n,null,as,ns,{})}}function es(O){let n,S,p,t,T,b,B,H,x,c,m,q,f,L,v,M,y,w,l,$,N,R,g,C;return f=new Y({props:{theme:"my-colors",inputClasses:"form-control",mode:"datetime",pickerOnly:!0}}),y=new Y({props:{inputClasses:"form-control",mode:"date",pickerOnly:!0}}),g=new ts({}),{c(){n=u("h2"),S=h("Styling options"),p=z(),t=u("p"),T=h("The "),b=u("code"),B=h("theme"),H=h(" property defined root class, where all CSS variables related to components are defined."),x=z(),c=u("div"),m=u("div"),q=h(`Custom theme\r - `),F(f.$$.fragment),L=z(),v=u("div"),M=h(`Default theme\r +</style>`;return{c(){n=u("pre"),this.h()},l(p){n=r(p,"PRE",{class:!0});var t=i(n);t.forEach(a),this.h()},h(){k(n,"class","language-svelte")},m(p,t){d(p,n,t),n.innerHTML=S},p:O,i:O,o:O,d(p){p&&a(n)}}}class ts extends Z{constructor(n){super(),ss(this,n,null,as,ns,{})}}function es(V){let n,S,p,t,T,b,H,q,E,c,m,B,f,F,v,L,y,w,l,$,M,R,g,C;return f=new Y({props:{theme:"my-colors",inputClasses:"form-control",mode:"datetime",pickerOnly:!0}}),y=new Y({props:{inputClasses:"form-control",mode:"date",pickerOnly:!0}}),g=new ts({}),{c(){n=u("h2"),S=h("Styling options"),p=z(),t=u("p"),T=h("The "),b=u("code"),H=h("theme"),q=h(" property defined root class, where all CSS variables related to components are defined."),E=z(),c=u("div"),m=u("div"),B=h(`Custom theme\r + `),G(f.$$.fragment),F=z(),v=u("div"),L=h(`Default theme\r \r - `),F(y.$$.fragment),w=z(),l=u("div"),$=u("b"),N=h("Source of example from above"),R=z(),F(g.$$.fragment),this.h()},l(s){n=r(s,"H2",{class:!0});var o=i(n);S=_(o,"Styling options"),o.forEach(a),p=E(s),t=r(s,"P",{class:!0});var D=i(t);T=_(D,"The "),b=r(D,"CODE",{class:!0});var W=i(b);B=_(W,"theme"),W.forEach(a),H=_(D," property defined root class, where all CSS variables related to components are defined."),D.forEach(a),x=E(s),c=r(s,"DIV",{class:!0});var P=i(c);m=r(P,"DIV",{class:!0});var j=i(m);q=_(j,`Custom theme\r - `),G(f.$$.fragment,j),j.forEach(a),L=E(P),v=r(P,"DIV",{class:!0});var A=i(v);M=_(A,`Default theme\r + `),G(y.$$.fragment),w=z(),l=u("div"),$=u("b"),M=h("Source of example from above"),R=z(),G(g.$$.fragment),this.h()},l(s){n=r(s,"H2",{class:!0});var o=i(n);S=_(o,"Styling options"),o.forEach(a),p=x(s),t=r(s,"P",{class:!0});var D=i(t);T=_(D,"The "),b=r(D,"CODE",{class:!0});var W=i(b);H=_(W,"theme"),W.forEach(a),q=_(D," property defined root class, where all CSS variables related to components are defined."),D.forEach(a),E=x(s),c=r(s,"DIV",{class:!0});var P=i(c);m=r(P,"DIV",{class:!0});var j=i(m);B=_(j,`Custom theme\r + `),J(f.$$.fragment,j),j.forEach(a),F=x(P),v=r(P,"DIV",{class:!0});var A=i(v);L=_(A,`Default theme\r \r - `),G(y.$$.fragment,A),A.forEach(a),P.forEach(a),w=E(s),l=r(s,"DIV",{class:!0});var I=i(l);$=r(I,"B",{class:!0});var X=i($);N=_(X,"Source of example from above"),X.forEach(a),R=E(I),G(g.$$.fragment,I),I.forEach(a),this.h()},h(){k(n,"class","header"),k(b,"class","code"),k(t,"class","my-4 svelte-1z0uz5v"),k(m,"class","w-auto mr-3 svelte-1z0uz5v"),k(v,"class","w-auto svelte-1z0uz5v"),k(c,"class","flex svelte-1z0uz5v"),k($,"class","font-bold svelte-1z0uz5v"),k(l,"class","mt-4 svelte-1z0uz5v")},m(s,o){d(s,n,o),e(n,S),d(s,p,o),d(s,t,o),e(t,T),e(t,b),e(b,B),e(t,H),d(s,x,o),d(s,c,o),e(c,m),e(m,q),J(f,m,null),e(c,L),e(c,v),e(v,M),J(y,v,null),d(s,w,o),d(s,l,o),e(l,$),e($,N),e(l,R),J(g,l,null),C=!0},p:V,i(s){C||(K(f.$$.fragment,s),K(y.$$.fragment,s),K(g.$$.fragment,s),C=!0)},o(s){Q(f.$$.fragment,s),Q(y.$$.fragment,s),Q(g.$$.fragment,s),C=!1},d(s){s&&a(n),s&&a(p),s&&a(t),s&&a(x),s&&a(c),U(f),U(y),s&&a(w),s&&a(l),U(g)}}}class cs extends Z{constructor(n){super(),ss(this,n,null,es,ns,{})}}export{cs as default}; + `),J(y.$$.fragment,A),A.forEach(a),P.forEach(a),w=x(s),l=r(s,"DIV",{class:!0});var I=i(l);$=r(I,"B",{class:!0});var X=i($);M=_(X,"Source of example from above"),X.forEach(a),R=x(I),J(g.$$.fragment,I),I.forEach(a),this.h()},h(){k(n,"class","header"),k(b,"class","code"),k(t,"class","my-4 svelte-1z0uz5v"),k(m,"class","w-auto mr-3 svelte-1z0uz5v"),k(v,"class","w-auto svelte-1z0uz5v"),k(c,"class","flex svelte-1z0uz5v"),k($,"class","font-bold svelte-1z0uz5v"),k(l,"class","mt-4 svelte-1z0uz5v")},m(s,o){d(s,n,o),e(n,S),d(s,p,o),d(s,t,o),e(t,T),e(t,b),e(b,H),e(t,q),d(s,E,o),d(s,c,o),e(c,m),e(m,B),K(f,m,null),e(c,F),e(c,v),e(v,L),K(y,v,null),d(s,w,o),d(s,l,o),e(l,$),e($,M),e(l,R),K(g,l,null),C=!0},p:O,i(s){C||(N(f.$$.fragment,s),N(y.$$.fragment,s),N(g.$$.fragment,s),C=!0)},o(s){Q(f.$$.fragment,s),Q(y.$$.fragment,s),Q(g.$$.fragment,s),C=!1},d(s){s&&a(n),s&&a(p),s&&a(t),s&&a(E),s&&a(c),U(f),U(y),s&&a(w),s&&a(l),U(g)}}}class cs extends Z{constructor(n){super(),ss(this,n,null,es,ns,{})}}export{cs as default}; diff --git a/docs/_app/immutable/start-ac3efac0.js b/docs/_app/immutable/start-ac3efac0.js new file mode 100644 index 0000000..d16eec7 --- /dev/null +++ b/docs/_app/immutable/start-ac3efac0.js @@ -0,0 +1 @@ +import{S as Ge,i as Fe,s as Xe,a as He,e as I,c as Ze,b as z,g as F,t as N,d as X,f as x,h as j,j as Qe,k as et,o as ke,l as tt,m as nt,n as rt,p as ve,q as M,r as st,u as it,v as at,w as q,x as J,y as ie,z as K,A as ae,B as oe,C as B,D as ce,E as De}from"./chunks/index-bfee2186.js";import{w as de}from"./chunks/index-0382ca5d.js";import{s as ot,a as ct}from"./chunks/paths-1c47712a.js";import{_ as W}from"./chunks/preload-helper-b22d3b18.js";function lt(r){let e,t,o;const l=[r[1]||{}];var c=r[0][0];function d(n){let s={};for(let i=0;i{B(u,1)}),X()}c?(e=q(c,d()),J(e.$$.fragment),x(e.$$.fragment,1),K(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&B(e,n)}}}function ft(r){let e,t,o;const l=[r[1]||{}];var c=r[0][0];function d(n){let s={$$slots:{default:[_t]},$$scope:{ctx:n}};for(let i=0;i{B(u,1)}),X()}c?(e=q(c,d(n)),J(e.$$.fragment),x(e.$$.fragment,1),K(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&B(e,n)}}}function ut(r){let e,t,o;const l=[r[2]||{}];var c=r[0][1];function d(n){let s={};for(let i=0;i{B(u,1)}),X()}c?(e=q(c,d()),J(e.$$.fragment),x(e.$$.fragment,1),K(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&B(e,n)}}}function dt(r){let e,t,o;const l=[r[2]||{}];var c=r[0][1];function d(n){let s={$$slots:{default:[pt]},$$scope:{ctx:n}};for(let i=0;i{B(u,1)}),X()}c?(e=q(c,d(n)),J(e.$$.fragment),x(e.$$.fragment,1),K(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&B(e,n)}}}function pt(r){let e,t,o;const l=[r[3]||{}];var c=r[0][2];function d(n){let s={};for(let i=0;i{B(u,1)}),X()}c?(e=q(c,d()),J(e.$$.fragment),x(e.$$.fragment,1),K(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&B(e,n)}}}function _t(r){let e,t,o,l;const c=[dt,ut],d=[];function n(s,i){return s[0][2]?0:1}return e=n(r),t=d[e]=c[e](r),{c(){t.c(),o=I()},l(s){t.l(s),o=I()},m(s,i){d[e].m(s,i),z(s,o,i),l=!0},p(s,i){let u=e;e=n(s),e===u?d[e].p(s,i):(F(),N(d[u],1,1,()=>{d[u]=null}),X(),t=d[e],t?t.p(s,i):(t=d[e]=c[e](s),t.c()),x(t,1),t.m(o.parentNode,o))},i(s){l||(x(t),l=!0)},o(s){N(t),l=!1},d(s){d[e].d(s),s&&j(o)}}}function Ve(r){let e,t=r[5]&&je(r);return{c(){e=tt("div"),t&&t.c(),this.h()},l(o){e=nt(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var l=rt(e);t&&t.l(l),l.forEach(j),this.h()},h(){ve(e,"id","svelte-announcer"),ve(e,"aria-live","assertive"),ve(e,"aria-atomic","true"),M(e,"position","absolute"),M(e,"left","0"),M(e,"top","0"),M(e,"clip","rect(0 0 0 0)"),M(e,"clip-path","inset(50%)"),M(e,"overflow","hidden"),M(e,"white-space","nowrap"),M(e,"width","1px"),M(e,"height","1px")},m(o,l){z(o,e,l),t&&t.m(e,null)},p(o,l){o[5]?t?t.p(o,l):(t=je(o),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(o){o&&j(e),t&&t.d()}}}function je(r){let e;return{c(){e=st(r[6])},l(t){e=it(t,r[6])},m(t,o){z(t,e,o)},p(t,o){o&64&&at(e,t[6])},d(t){t&&j(e)}}}function ht(r){let e,t,o,l,c;const d=[ft,lt],n=[];function s(u,L){return u[0][1]?0:1}e=s(r),t=n[e]=d[e](r);let i=r[4]&&Ve(r);return{c(){t.c(),o=He(),i&&i.c(),l=I()},l(u){t.l(u),o=Ze(u),i&&i.l(u),l=I()},m(u,L){n[e].m(u,L),z(u,o,L),i&&i.m(u,L),z(u,l,L),c=!0},p(u,[L]){let k=e;e=s(u),e===k?n[e].p(u,L):(F(),N(n[k],1,1,()=>{n[k]=null}),X(),t=n[e],t?t.p(u,L):(t=n[e]=d[e](u),t.c()),x(t,1),t.m(o.parentNode,o)),u[4]?i?i.p(u,L):(i=Ve(u),i.c(),i.m(l.parentNode,l)):i&&(i.d(1),i=null)},i(u){c||(x(t),c=!0)},o(u){N(t),c=!1},d(u){n[e].d(u),u&&j(o),i&&i.d(u),u&&j(l)}}}function mt(r,e,t){let{stores:o}=e,{page:l}=e,{components:c}=e,{props_0:d=null}=e,{props_1:n=null}=e,{props_2:s=null}=e;Qe("__svelte__",o),et(o.page.notify);let i=!1,u=!1,L=null;return ke(()=>{const k=o.page.subscribe(()=>{i&&(t(5,u=!0),t(6,L=document.title||"untitled page"))});return t(4,i=!0),k}),r.$$set=k=>{"stores"in k&&t(7,o=k.stores),"page"in k&&t(8,l=k.page),"components"in k&&t(0,c=k.components),"props_0"in k&&t(1,d=k.props_0),"props_1"in k&&t(2,n=k.props_1),"props_2"in k&&t(3,s=k.props_2)},r.$$.update=()=>{r.$$.dirty&384&&o.page.set(l)},[c,d,n,s,i,u,L,o,l]}class gt extends Ge{constructor(e){super(),Fe(this,e,mt,ht,Xe,{stores:7,page:8,components:0,props_0:1,props_1:2,props_2:3})}}const wt={},pe=[()=>W(()=>import("./pages/__layout.svelte-ff4a18fe.js"),["immutable/pages/__layout.svelte-ff4a18fe.js","immutable/assets/__layout-450b1fb7.css","immutable/chunks/index-bfee2186.js","immutable/chunks/paths-1c47712a.js","immutable/chunks/index-0382ca5d.js"]),()=>W(()=>import("./error.svelte-6d3dae18.js"),["immutable/error.svelte-6d3dae18.js","immutable/chunks/index-bfee2186.js"]),()=>W(()=>import("./pages/custom-element.svx-fba1fd20.js"),["immutable/pages/custom-element.svx-fba1fd20.js","immutable/assets/custom-element-a4f85524.css","immutable/chunks/preload-helper-b22d3b18.js","immutable/chunks/index-bfee2186.js"]),()=>W(()=>import("./pages/formatting.svelte-9c4c0a4a.js"),["immutable/pages/formatting.svelte-9c4c0a4a.js","immutable/assets/formatting-72699d86.css","immutable/chunks/index-bfee2186.js","immutable/chunks/formatting_php-7c70d85b.js","immutable/chunks/SveltyPicker-25b77381.js","immutable/assets/SveltyPicker-a3464f28.css"]),()=>W(()=>import("./pages/i18n.svx-3853c17c.js"),["immutable/pages/i18n.svx-3853c17c.js","immutable/assets/i18n-a35f913c.css","immutable/chunks/index-bfee2186.js","immutable/chunks/SveltyPicker-25b77381.js","immutable/assets/SveltyPicker-a3464f28.css"]),()=>W(()=>import("./pages/index.svx-db2c7b33.js"),["immutable/pages/index.svx-db2c7b33.js","immutable/assets/index-cf6e7209.css","immutable/chunks/index-bfee2186.js","immutable/chunks/SveltyPicker-25b77381.js","immutable/assets/SveltyPicker-a3464f28.css"]),()=>W(()=>import("./pages/options.svelte-d27e82a6.js"),["immutable/pages/options.svelte-d27e82a6.js","immutable/assets/options-77f863f6.css","immutable/chunks/index-bfee2186.js","immutable/chunks/options-733041ee.js"]),()=>W(()=>import("./pages/playground.svelte-6cf3057e.js"),["immutable/pages/playground.svelte-6cf3057e.js","immutable/assets/playground-930a99c5.css","immutable/chunks/index-bfee2186.js","immutable/chunks/paths-1c47712a.js","immutable/chunks/SveltyPicker-25b77381.js","immutable/assets/SveltyPicker-a3464f28.css","immutable/chunks/options-733041ee.js","immutable/chunks/formatting_php-7c70d85b.js"]),()=>W(()=>import("./pages/styling.svelte-ba9fd761.js"),["immutable/pages/styling.svelte-ba9fd761.js","immutable/assets/styling-c302dc39.css","immutable/chunks/index-bfee2186.js","immutable/chunks/SveltyPicker-25b77381.js","immutable/assets/SveltyPicker-a3464f28.css"])],bt={"":[[0,5],[1]],"custom-element":[[0,2],[1]],formatting:[[0,3],[1]],i18n:[[0,4],[1]],options:[[0,6],[1]],playground:[[0,7],[1]],styling:[[0,8],[1]]};function yt(r){r.client}function Ce(r){return r instanceof Error||r&&r.name&&r.message?r:new Error(JSON.stringify(r))}function ze(r){if(!r)return{};if(r.fallthrough)throw new Error("fallthrough is no longer supported. Use matchers instead: https://kit.svelte.dev/docs/routing#advanced-routing-matching");if("maxage"in r)throw new Error("maxage should be replaced with cache: { maxage }");const e=r.status&&r.status>=400&&r.status<=599&&!r.redirect;if(r.error||e){const t=r.status;if(!r.error&&e)return{status:t||500,error:new Error(`${t}`)};const o=typeof r.error=="string"?new Error(r.error):r.error;return o instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:o}):{status:t,error:o}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof o}"`)}}if(r.redirect){if(!r.status||Math.floor(r.status/100)!==3)throw new Error('"redirect" property returned from load() must be accompanied by a 3xx status code');if(typeof r.redirect!="string")throw new Error('"redirect" property returned from load() must be a string')}if(r.dependencies&&(!Array.isArray(r.dependencies)||r.dependencies.some(t=>typeof t!="string")))throw new Error('"dependencies" property returned from load() must be of type string[]');if(r.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return r}function qe(r,e){return r==="/"||e==="ignore"?r:e==="never"?r.endsWith("/")?r.slice(0,-1):r:e==="always"&&!r.endsWith("/")?r+"/":r}class vt extends URL{get hash(){throw new Error("url.hash is inaccessible from load. Consider accessing hash from the page store within the script tag of your component.")}}function Je(r){let e=r.baseURI;if(!e){const t=r.getElementsByTagName("base");e=t.length?t[0].href:r.URL}return e}function Re(){return{x:pageXOffset,y:pageYOffset}}function Ke(r){return r.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function Be(r){return r instanceof SVGAElement?new URL(r.href.baseVal,document.baseURI):new URL(r.href)}function Me(r){const e=de(r);let t=!0;function o(){t=!0,e.update(d=>d)}function l(d){t=!1,e.set(d)}function c(d){let n;return e.subscribe(s=>{(n===void 0||t&&s!==n)&&d(n=s)})}return{notify:o,set:l,subscribe:c}}function $t(){const{set:r,subscribe:e}=de(!1),t="1674553029590";let o;async function l(){clearTimeout(o);const d=await fetch(`${ct}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(d.ok){const{version:n}=await d.json(),s=n!==t;return s&&(r(!0),clearTimeout(o)),s}else throw new Error(`Version check failed: ${d.status}`)}return{subscribe:e,check:l}}function Et(r){let e=5381,t=r.length;if(typeof r=="string")for(;t;)e=e*33^r.charCodeAt(--t);else for(;t;)e=e*33^r[--t];return(e>>>0).toString(36)}const Le=window.fetch;function kt(r,e){let o=`script[sveltekit\\:data-type="data"][sveltekit\\:data-url=${JSON.stringify(typeof r=="string"?r:r.url)}]`;e&&typeof e.body=="string"&&(o+=`[sveltekit\\:data-body="${Et(e.body)}"]`);const l=document.querySelector(o);if(l&&l.textContent){const{body:c,...d}=JSON.parse(l.textContent);return Promise.resolve(new Response(c,d))}return Le(r,e)}const Rt=/^(\.\.\.)?(\w+)(?:=(\w+))?$/;function Lt(r){const e=[],t=[];let o=!0;return{pattern:r===""?/^\/$/:new RegExp(`^${decodeURIComponent(r).split(/(?:@[a-zA-Z0-9_-]+)?(?:\/|$)/).map((c,d,n)=>{const s=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(c);if(s)return e.push(s[1]),t.push(s[2]),"(?:/(.*))?";const i=d===n.length-1;return c&&"/"+c.split(/\[(.+?)\]/).map((u,L)=>{if(L%2){const k=Rt.exec(u);if(!k)throw new Error(`Invalid param: ${u}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,ee,H,le]=k;return e.push(H),t.push(le),ee?"(.*?)":"([^/]+?)"}return i&&u.includes(".")&&(o=!1),u.normalize().replace(/%5[Bb]/g,"[").replace(/%5[Dd]/g,"]").replace(/#/g,"%23").replace(/\?/g,"%3F").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("")}).join("")}${o?"/?":""}$`),names:e,types:t}}function St(r,e,t,o){const l={};for(let c=0;c{const{pattern:s,names:i,types:u}=Lt(l);return{id:l,exec:L=>{const k=s.exec(L);if(k)return St(k,i,u,t)},a:c.map(L=>r[L]),b:d.map(L=>r[L]),has_shadow:!!n}})}const Ye="sveltekit:scroll",Y="sveltekit:index",$e=At(pe,bt,wt),Ut=pe[0](),Ot=pe[1](),We={};let se={};try{se=JSON.parse(sessionStorage[Ye])}catch{}function Ee(r){se[r]=Re()}function Pt({target:r,session:e,base:t,trailing_slash:o}){var xe;const l=new Map,c=[],d={url:Me({}),page:Me({}),navigating:de(null),session:de(e),updated:$t()},n={id:null,promise:null},s={before_navigate:[],after_navigate:[]};let i={branch:[],error:null,session_id:0,stuff:We,url:null},u=!1,L=!0,k=!1,ee=1,H=null,le,Se,Ae=!1;d.session.subscribe(async a=>{Se=a,Ae&&(ee+=1,ge(new URL(location.href),[],!0))}),Ae=!0;let Z=!0,D=(xe=history.state)==null?void 0:xe[Y];D||(D=Date.now(),history.replaceState({...history.state,[Y]:D},"",location.href));const _e=se[D];_e&&(history.scrollRestoration="manual",scrollTo(_e.x,_e.y));let he=!1,me,Ue;async function Oe(a,{noscroll:p=!1,replaceState:b=!1,keepfocus:f=!1,state:_={}},w){if(typeof a=="string"&&(a=new URL(a,Je(document))),Z)return be({url:a,scroll:p?Re():null,keepfocus:f,redirect_chain:w,details:{state:_,replaceState:b},accepted:()=>{},blocked:()=>{}});await re(a)}async function Pe(a){const p=Ne(a);if(!p)throw new Error("Attempted to prefetch a URL that does not belong to this app");return n.promise=Ie(p,!1),n.id=p.id,n.promise}async function ge(a,p,b,f,_){var R,O;const w=Ne(a),E=Ue={};let h=w&&await Ie(w,b);if(!h&&a.origin===location.origin&&a.pathname===location.pathname&&(h=await ne({status:404,error:new Error(`Not found: ${a.pathname}`),url:a,routeId:null})),!h)return await re(a),!1;if(Ue!==E)return!1;if(c.length=0,h.redirect)if(p.length>10||p.includes(a.pathname))h=await ne({status:500,error:new Error("Redirect loop"),url:a,routeId:null});else return Z?Oe(new URL(h.redirect,a).href,{},[...p,a.pathname]):await re(new URL(h.redirect,location.href)),!1;else((O=(R=h.props)==null?void 0:R.page)==null?void 0:O.status)>=400&&await d.updated.check()&&await re(a);if(k=!0,f&&f.details){const{details:v}=f,S=v.replaceState?0:1;v.state[Y]=D+=S,history[v.replaceState?"replaceState":"pushState"](v.state,"",a)}if(u?(i=h.state,h.props.page&&(h.props.page.url=a),le.$set(h.props)):Te(h),f){const{scroll:v,keepfocus:S}=f;if(!S){const y=document.body,g=y.getAttribute("tabindex");y.tabIndex=-1,y.focus({preventScroll:!0}),setTimeout(()=>{var $;($=getSelection())==null||$.removeAllRanges()}),g!==null?y.setAttribute("tabindex",g):y.removeAttribute("tabindex")}if(await De(),L){const y=a.hash&&document.getElementById(a.hash.slice(1));v?scrollTo(v.x,v.y):y?y.scrollIntoView():scrollTo(0,0)}}else await De();n.promise=null,n.id=null,L=!0,h.props.page&&(me=h.props.page);const m=h.state.branch[h.state.branch.length-1];Z=(m==null?void 0:m.module.router)!==!1,_&&_(),k=!1}function Te(a){i=a.state;const p=document.querySelector("style[data-sveltekit]");if(p&&p.remove(),me=a.props.page,le=new gt({target:r,props:{...a.props,stores:d},hydrate:!0}),Z){const b={from:null,to:new URL(location.href)};s.after_navigate.forEach(f=>f(b))}u=!0}async function we({url:a,params:p,stuff:b,branch:f,status:_,error:w,routeId:E}){var y,g;const h=f.filter(Boolean),m=h.find($=>{var U;return(U=$.loaded)==null?void 0:U.redirect}),R={redirect:(y=m==null?void 0:m.loaded)==null?void 0:y.redirect,state:{url:a,params:p,branch:f,error:w,stuff:b,session_id:ee},props:{components:h.map($=>$.module.default)}};for(let $=0;${Object.defineProperty(R.props.page,U,{get:()=>{throw new Error(`$page.${U} has been replaced by $page.url.${C}`)}})};$("origin","origin"),$("path","pathname"),$("query","searchParams")}const v=h[h.length-1],S=(g=v==null?void 0:v.loaded)==null?void 0:g.cache;if(S){const $=a.pathname+a.search;let U=!1;const C=()=>{l.get($)===R&&l.delete($),P(),clearTimeout(A)},A=setTimeout(C,S.maxage*1e3),P=d.session.subscribe(()=>{U&&C()});U=!0,l.set($,R)}return R}async function te({status:a,error:p,module:b,url:f,params:_,stuff:w,props:E,routeId:h}){const m={module:b,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:new Set},loaded:null,stuff:w};function R(y){const{href:g}=new URL(y,f);m.uses.dependencies.add(g)}E&&m.uses.dependencies.add(f.href);const O={};for(const y in _)Object.defineProperty(O,y,{get(){return m.uses.params.add(y),_[y]},enumerable:!0});const v=Se,S=new vt(f);if(b.load){const y={routeId:h,params:O,props:E||{},get url(){return m.uses.url=!0,S},get session(){return m.uses.session=!0,v},get stuff(){return m.uses.stuff=!0,{...w}},async fetch(g,$){let U;typeof g=="string"?U=g:(U=g.url,$={body:g.method==="GET"||g.method==="HEAD"?void 0:await g.blob(),cache:g.cache,credentials:g.credentials,headers:g.headers,integrity:g.integrity,keepalive:g.keepalive,method:g.method,mode:g.mode,redirect:g.redirect,referrer:g.referrer,referrerPolicy:g.referrerPolicy,signal:g.signal,...$});const C=new URL(U,f).href;return R(C),u?Le(C,$):kt(U,$)},status:a!=null?a:null,error:p!=null?p:null};m.loaded=ze(await b.load.call(null,y)),m.loaded.stuff&&(m.stuff=m.loaded.stuff),m.loaded.dependencies&&m.loaded.dependencies.forEach(R)}else E&&(m.loaded=ze({props:E}));return m}async function Ie({id:a,url:p,params:b,route:f},_){var g,$,U,C;if(n.id===a&&n.promise)return n.promise;if(!_){const A=l.get(a);if(A)return A}const{a:w,b:E,has_shadow:h}=f,m=i.url&&{url:a!==i.url.pathname+i.url.search,params:Object.keys(b).filter(A=>i.params[A]!==b[A]),session:ee!==i.session_id};let R=[],O=We,v=!1,S=200,y=null;w.forEach(A=>A().catch(()=>{}));e:for(let A=0;AV.uses.params.has(G))||m.session&&V.uses.session||Array.from(V.uses.dependencies).some(G=>c.some(ue=>ue(G)))||v&&V.uses.stuff){let G={};const ue=h&&A===w.length-1;if(ue){const Q=await Le(`${p.pathname}${p.pathname.endsWith("/")?"":"/"}__data.json${p.search}`,{headers:{"x-sveltekit-load":"true"}});if(Q.ok){const ye=Q.headers.get("x-sveltekit-location");if(ye)return{redirect:ye,props:{},state:i};G=Q.status===204?{}:await Q.json()}else{S=Q.status;try{y=await Q.json()}catch{y=new Error("Failed to load data")}}}if(y||(P=await te({module:T,url:p,params:b,props:G,stuff:O,routeId:f.id})),P&&(ue&&(P.uses.url=!0),P.loaded)){if(P.loaded.error&&(S=(g=P.loaded.status)!=null?g:500,y=P.loaded.error),P.loaded.redirect)return{redirect:P.loaded.redirect,props:{},state:i};P.loaded.stuff&&(v=!0)}}else P=V}catch(T){S=500,y=Ce(T)}if(y){for(;A--;)if(E[A]){let T,V,fe=A;for(;!(V=R[fe]);)fe-=1;try{if(T=await te({status:S,error:y,module:await E[A](),url:p,params:b,stuff:V.stuff,routeId:f.id}),($=T==null?void 0:T.loaded)!=null&&$.error)continue;(U=T==null?void 0:T.loaded)!=null&&U.stuff&&(O={...O,...T.loaded.stuff}),R=R.slice(0,fe+1).concat(T);break e}catch{continue}}return await ne({status:S,error:y,url:p,routeId:f.id})}else(C=P==null?void 0:P.loaded)!=null&&C.stuff&&(O={...O,...P.loaded.stuff}),R.push(P)}return await we({url:p,params:b,stuff:O,branch:R,status:S,error:y,routeId:f.id})}async function ne({status:a,error:p,url:b,routeId:f}){var h,m;const _={},w=await te({module:await Ut,url:b,params:_,stuff:{},routeId:f}),E=await te({status:a,error:p,module:await Ot,url:b,params:_,stuff:w&&w.loaded&&w.loaded.stuff||{},routeId:f});return await we({url:b,params:_,stuff:{...(h=w==null?void 0:w.loaded)==null?void 0:h.stuff,...(m=E==null?void 0:E.loaded)==null?void 0:m.stuff},branch:[w,E],status:a,error:p,routeId:f})}function Ne(a){if(a.origin!==location.origin||!a.pathname.startsWith(t))return;const p=decodeURI(a.pathname.slice(t.length)||"/");for(const b of $e){const f=b.exec(p);if(f)return{id:qe(a.pathname,o)+a.search,route:b,params:f,url:a}}}async function be({url:a,scroll:p,keepfocus:b,redirect_chain:f,details:_,accepted:w,blocked:E}){const h=i.url;let m=!1;const R={from:h,to:a,cancel:()=>m=!0};if(s.before_navigate.forEach(S=>S(R)),m){E();return}const O=qe(a.pathname,o),v=new URL(a.origin+O+a.search+a.hash);Ee(D),w(),u&&d.navigating.set({from:i.url,to:v}),await ge(v,f,!1,{scroll:p,keepfocus:b,details:_},()=>{const S={from:h,to:v};s.after_navigate.forEach(y=>y(S)),d.navigating.set(null)})}function re(a){return location.href=a.href,new Promise(()=>{})}return{after_navigate:a=>{ke(()=>(s.after_navigate.push(a),()=>{const p=s.after_navigate.indexOf(a);s.after_navigate.splice(p,1)}))},before_navigate:a=>{ke(()=>(s.before_navigate.push(a),()=>{const p=s.before_navigate.indexOf(a);s.before_navigate.splice(p,1)}))},disable_scroll_handling:()=>{(k||!u)&&(L=!1)},goto:(a,p={})=>Oe(a,p,[]),invalidate:a=>{if(typeof a=="function")c.push(a);else{const{href:p}=new URL(a,location.href);c.push(b=>b===p)}return H||(H=Promise.resolve().then(async()=>{await ge(new URL(location.href),[],!0),H=null})),H},prefetch:async a=>{const p=new URL(a,Je(document));await Pe(p)},prefetch_routes:async a=>{const b=(a?$e.filter(f=>a.some(_=>f.exec(_))):$e).map(f=>Promise.all(f.a.map(_=>_())));await Promise.all(b)},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",f=>{let _=!1;const w={from:i.url,to:null,cancel:()=>_=!0};s.before_navigate.forEach(E=>E(w)),_?(f.preventDefault(),f.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden"){Ee(D);try{sessionStorage[Ye]=JSON.stringify(se)}catch{}}});const a=f=>{const _=Ke(f);_&&_.href&&_.hasAttribute("sveltekit:prefetch")&&Pe(Be(_))};let p;const b=f=>{clearTimeout(p),p=setTimeout(()=>{var _;(_=f.target)==null||_.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",a),addEventListener("mousemove",b),addEventListener("sveltekit:trigger_prefetch",a),addEventListener("click",f=>{if(!Z||f.button||f.which!==1||f.metaKey||f.ctrlKey||f.shiftKey||f.altKey||f.defaultPrevented)return;const _=Ke(f);if(!_||!_.href)return;const w=_ instanceof SVGAElement,E=Be(_);if(!w&&E.origin==="null")return;const h=(_.getAttribute("rel")||"").split(/\s+/);if(_.hasAttribute("download")||h.includes("external")||_.hasAttribute("sveltekit:reload")||(w?_.target.baseVal:_.target))return;const[m,R]=E.href.split("#");if(R!==void 0&&m===location.href.split("#")[0]){he=!0,Ee(D),d.page.set({...me,url:E}),d.page.notify();return}be({url:E,scroll:_.hasAttribute("sveltekit:noscroll")?Re():null,keepfocus:!1,redirect_chain:[],details:{state:{},replaceState:E.href===location.href},accepted:()=>f.preventDefault(),blocked:()=>f.preventDefault()})}),addEventListener("popstate",f=>{if(f.state&&Z){if(f.state[Y]===D)return;be({url:new URL(location.href),scroll:se[f.state[Y]],keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{D=f.state[Y]},blocked:()=>{const _=D-f.state[Y];history.go(_)}})}}),addEventListener("hashchange",()=>{he&&(he=!1,history.replaceState({...history.state,[Y]:++D},"",location.href))})},_hydrate:async({status:a,error:p,nodes:b,params:f,routeId:_})=>{var O;const w=new URL(location.href),E=[];let h={},m,R;try{for(let v=0;v{K(u,1)}),F()}c?(e=new c(d()),q(e.$$.fragment),x(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&K(e,n)}}}function lt(r){let e,t,o;const l=[r[1]||{}];var c=r[0][0];function d(n){let s={$$slots:{default:[pt]},$$scope:{ctx:n}};for(let i=0;i{K(u,1)}),F()}c?(e=new c(d(n)),q(e.$$.fragment),x(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&K(e,n)}}}function ft(r){let e,t,o;const l=[r[2]||{}];var c=r[0][1];function d(n){let s={};for(let i=0;i{K(u,1)}),F()}c?(e=new c(d()),q(e.$$.fragment),x(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&K(e,n)}}}function ut(r){let e,t,o;const l=[r[2]||{}];var c=r[0][1];function d(n){let s={$$slots:{default:[dt]},$$scope:{ctx:n}};for(let i=0;i{K(u,1)}),F()}c?(e=new c(d(n)),q(e.$$.fragment),x(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&K(e,n)}}}function dt(r){let e,t,o;const l=[r[3]||{}];var c=r[0][2];function d(n){let s={};for(let i=0;i{K(u,1)}),F()}c?(e=new c(d()),q(e.$$.fragment),x(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(i)},i(n){o||(e&&x(e.$$.fragment,n),o=!0)},o(n){e&&N(e.$$.fragment,n),o=!1},d(n){n&&j(t),e&&K(e,n)}}}function pt(r){let e,t,o,l;const c=[ut,ft],d=[];function n(s,i){return s[0][2]?0:1}return e=n(r),t=d[e]=c[e](r),{c(){t.c(),o=I()},l(s){t.l(s),o=I()},m(s,i){d[e].m(s,i),z(s,o,i),l=!0},p(s,i){let u=e;e=n(s),e===u?d[e].p(s,i):(G(),N(d[u],1,1,()=>{d[u]=null}),F(),t=d[e],t?t.p(s,i):(t=d[e]=c[e](s),t.c()),x(t,1),t.m(o.parentNode,o))},i(s){l||(x(t),l=!0)},o(s){N(t),l=!1},d(s){d[e].d(s),s&&j(o)}}}function De(r){let e,t=r[5]&&Ve(r);return{c(){e=et("div"),t&&t.c(),this.h()},l(o){e=tt(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var l=nt(e);t&&t.l(l),l.forEach(j),this.h()},h(){ye(e,"id","svelte-announcer"),ye(e,"aria-live","assertive"),ye(e,"aria-atomic","true"),B(e,"position","absolute"),B(e,"left","0"),B(e,"top","0"),B(e,"clip","rect(0 0 0 0)"),B(e,"clip-path","inset(50%)"),B(e,"overflow","hidden"),B(e,"white-space","nowrap"),B(e,"width","1px"),B(e,"height","1px")},m(o,l){z(o,e,l),t&&t.m(e,null)},p(o,l){o[5]?t?t.p(o,l):(t=Ve(o),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(o){o&&j(e),t&&t.d()}}}function Ve(r){let e;return{c(){e=rt(r[6])},l(t){e=st(t,r[6])},m(t,o){z(t,e,o)},p(t,o){o&64&&it(e,t[6])},d(t){t&&j(e)}}}function _t(r){let e,t,o,l,c;const d=[lt,ct],n=[];function s(u,L){return u[0][1]?0:1}e=s(r),t=n[e]=d[e](r);let i=r[4]&&De(r);return{c(){t.c(),o=Xe(),i&&i.c(),l=I()},l(u){t.l(u),o=He(u),i&&i.l(u),l=I()},m(u,L){n[e].m(u,L),z(u,o,L),i&&i.m(u,L),z(u,l,L),c=!0},p(u,[L]){let k=e;e=s(u),e===k?n[e].p(u,L):(G(),N(n[k],1,1,()=>{n[k]=null}),F(),t=n[e],t?t.p(u,L):(t=n[e]=d[e](u),t.c()),x(t,1),t.m(o.parentNode,o)),u[4]?i?i.p(u,L):(i=De(u),i.c(),i.m(l.parentNode,l)):i&&(i.d(1),i=null)},i(u){c||(x(t),c=!0)},o(u){N(t),c=!1},d(u){n[e].d(u),u&&j(o),i&&i.d(u),u&&j(l)}}}function ht(r,e,t){let{stores:o}=e,{page:l}=e,{components:c}=e,{props_0:d=null}=e,{props_1:n=null}=e,{props_2:s=null}=e;Ze("__svelte__",o),Qe(o.page.notify);let i=!1,u=!1,L=null;return Ee(()=>{const k=o.page.subscribe(()=>{i&&(t(5,u=!0),t(6,L=document.title||"untitled page"))});return t(4,i=!0),k}),r.$$set=k=>{"stores"in k&&t(7,o=k.stores),"page"in k&&t(8,l=k.page),"components"in k&&t(0,c=k.components),"props_0"in k&&t(1,d=k.props_0),"props_1"in k&&t(2,n=k.props_1),"props_2"in k&&t(3,s=k.props_2)},r.$$.update=()=>{r.$$.dirty&384&&o.page.set(l)},[c,d,n,s,i,u,L,o,l]}class mt extends Ye{constructor(e){super(),Ge(this,e,ht,_t,Fe,{stores:7,page:8,components:0,props_0:1,props_1:2,props_2:3})}}const gt={},de=[()=>M(()=>import("./pages/__layout.svelte-5e391803.js"),["immutable/pages/__layout.svelte-5e391803.js","immutable/assets/__layout-659bdd23.css","immutable/chunks/index-28983a80.js","immutable/chunks/paths-1c47712a.js","immutable/chunks/index-0a3ccbdb.js"]),()=>M(()=>import("./error.svelte-e6f5b494.js"),["immutable/error.svelte-e6f5b494.js","immutable/chunks/index-28983a80.js"]),()=>M(()=>import("./pages/custom-element.svx-c246de25.js"),["immutable/pages/custom-element.svx-c246de25.js","immutable/assets/custom-element-a4f85524.css","immutable/chunks/preload-helper-b22d3b18.js","immutable/chunks/index-28983a80.js"]),()=>M(()=>import("./pages/formatting.svelte-a22468af.js"),["immutable/pages/formatting.svelte-a22468af.js","immutable/assets/formatting-72699d86.css","immutable/chunks/index-28983a80.js","immutable/chunks/formatting_php-cc2feb4d.js","immutable/chunks/SveltyPicker-a0faa711.js","immutable/assets/SveltyPicker-a3464f28.css"]),()=>M(()=>import("./pages/i18n.svx-4b6cf9d8.js"),["immutable/pages/i18n.svx-4b6cf9d8.js","immutable/assets/i18n-a35f913c.css","immutable/chunks/index-28983a80.js","immutable/chunks/SveltyPicker-a0faa711.js","immutable/assets/SveltyPicker-a3464f28.css"]),()=>M(()=>import("./pages/index.svx-68d4adde.js"),["immutable/pages/index.svx-68d4adde.js","immutable/assets/index-cf6e7209.css","immutable/chunks/index-28983a80.js","immutable/chunks/SveltyPicker-a0faa711.js","immutable/assets/SveltyPicker-a3464f28.css"]),()=>M(()=>import("./pages/options.svelte-9d77f975.js"),["immutable/pages/options.svelte-9d77f975.js","immutable/assets/options-77f863f6.css","immutable/chunks/index-28983a80.js","immutable/chunks/options-6ad1c8ff.js"]),()=>M(()=>import("./pages/playground.svelte-67ff92c0.js"),["immutable/pages/playground.svelte-67ff92c0.js","immutable/assets/playground-930a99c5.css","immutable/chunks/index-28983a80.js","immutable/chunks/paths-1c47712a.js","immutable/chunks/SveltyPicker-a0faa711.js","immutable/assets/SveltyPicker-a3464f28.css","immutable/chunks/options-6ad1c8ff.js","immutable/chunks/formatting_php-cc2feb4d.js"]),()=>M(()=>import("./pages/styling.svelte-283e6189.js"),["immutable/pages/styling.svelte-283e6189.js","immutable/assets/styling-c302dc39.css","immutable/chunks/index-28983a80.js","immutable/chunks/SveltyPicker-a0faa711.js","immutable/assets/SveltyPicker-a3464f28.css"])],wt={"":[[0,5],[1]],"custom-element":[[0,2],[1]],formatting:[[0,3],[1]],i18n:[[0,4],[1]],options:[[0,6],[1]],playground:[[0,7],[1]],styling:[[0,8],[1]]};function bt(r){r.client}function je(r){return r instanceof Error||r&&r.name&&r.message?r:new Error(JSON.stringify(r))}function Ce(r){if(!r)return{};if(r.fallthrough)throw new Error("fallthrough is no longer supported. Use matchers instead: https://kit.svelte.dev/docs/routing#advanced-routing-matching");if("maxage"in r)throw new Error("maxage should be replaced with cache: { maxage }");const e=r.status&&r.status>=400&&r.status<=599&&!r.redirect;if(r.error||e){const t=r.status;if(!r.error&&e)return{status:t||500,error:new Error(`${t}`)};const o=typeof r.error=="string"?new Error(r.error):r.error;return o instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:o}):{status:t,error:o}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof o}"`)}}if(r.redirect){if(!r.status||Math.floor(r.status/100)!==3)throw new Error('"redirect" property returned from load() must be accompanied by a 3xx status code');if(typeof r.redirect!="string")throw new Error('"redirect" property returned from load() must be a string')}if(r.dependencies&&(!Array.isArray(r.dependencies)||r.dependencies.some(t=>typeof t!="string")))throw new Error('"dependencies" property returned from load() must be of type string[]');if(r.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return r}function ze(r,e){return r==="/"||e==="ignore"?r:e==="never"?r.endsWith("/")?r.slice(0,-1):r:e==="always"&&!r.endsWith("/")?r+"/":r}class yt extends URL{get hash(){throw new Error("url.hash is inaccessible from load. Consider accessing hash from the page store within the script tag of your component.")}}function qe(r){let e=r.baseURI;if(!e){const t=r.getElementsByTagName("base");e=t.length?t[0].href:r.URL}return e}function ke(){return{x:pageXOffset,y:pageYOffset}}function Je(r){return r.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function Ke(r){return r instanceof SVGAElement?new URL(r.href.baseVal,document.baseURI):new URL(r.href)}function Be(r){const e=ue(r);let t=!0;function o(){t=!0,e.update(d=>d)}function l(d){t=!1,e.set(d)}function c(d){let n;return e.subscribe(s=>{(n===void 0||t&&s!==n)&&d(n=s)})}return{notify:o,set:l,subscribe:c}}function vt(){const{set:r,subscribe:e}=ue(!1),t="1673786631747";let o;async function l(){clearTimeout(o);const d=await fetch(`${ot}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(d.ok){const{version:n}=await d.json(),s=n!==t;return s&&(r(!0),clearTimeout(o)),s}else throw new Error(`Version check failed: ${d.status}`)}return{subscribe:e,check:l}}function $t(r){let e=5381,t=r.length;if(typeof r=="string")for(;t;)e=e*33^r.charCodeAt(--t);else for(;t;)e=e*33^r[--t];return(e>>>0).toString(36)}const Re=window.fetch;function Et(r,e){let o=`script[sveltekit\\:data-type="data"][sveltekit\\:data-url=${JSON.stringify(typeof r=="string"?r:r.url)}]`;e&&typeof e.body=="string"&&(o+=`[sveltekit\\:data-body="${$t(e.body)}"]`);const l=document.querySelector(o);if(l&&l.textContent){const{body:c,...d}=JSON.parse(l.textContent);return Promise.resolve(new Response(c,d))}return Re(r,e)}const kt=/^(\.\.\.)?(\w+)(?:=(\w+))?$/;function Rt(r){const e=[],t=[];let o=!0;return{pattern:r===""?/^\/$/:new RegExp(`^${decodeURIComponent(r).split(/(?:@[a-zA-Z0-9_-]+)?(?:\/|$)/).map((c,d,n)=>{const s=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(c);if(s)return e.push(s[1]),t.push(s[2]),"(?:/(.*))?";const i=d===n.length-1;return c&&"/"+c.split(/\[(.+?)\]/).map((u,L)=>{if(L%2){const k=kt.exec(u);if(!k)throw new Error(`Invalid param: ${u}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,Q,X,ce]=k;return e.push(X),t.push(ce),Q?"(.*?)":"([^/]+?)"}return i&&u.includes(".")&&(o=!1),u.normalize().replace(/%5[Bb]/g,"[").replace(/%5[Dd]/g,"]").replace(/#/g,"%23").replace(/\?/g,"%3F").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("")}).join("")}${o?"/?":""}$`),names:e,types:t}}function Lt(r,e,t,o){const l={};for(let c=0;c{const{pattern:s,names:i,types:u}=Rt(l);return{id:l,exec:L=>{const k=s.exec(L);if(k)return Lt(k,i,u,t)},a:c.map(L=>r[L]),b:d.map(L=>r[L]),has_shadow:!!n}})}const We="sveltekit:scroll",W="sveltekit:index",ve=St(de,wt,gt),At=de[0](),Ut=de[1](),Me={};let re={};try{re=JSON.parse(sessionStorage[We])}catch{}function $e(r){re[r]=ke()}function Ot({target:r,session:e,base:t,trailing_slash:o}){var Ne;const l=new Map,c=[],d={url:Be({}),page:Be({}),navigating:ue(null),session:ue(e),updated:vt()},n={id:null,promise:null},s={before_navigate:[],after_navigate:[]};let i={branch:[],error:null,session_id:0,stuff:Me,url:null},u=!1,L=!0,k=!1,Q=1,X=null,ce,Le,Se=!1;d.session.subscribe(async a=>{Le=a,Se&&(Q+=1,me(new URL(location.href),[],!0))}),Se=!0;let H=!0,D=(Ne=history.state)==null?void 0:Ne[W];D||(D=Date.now(),history.replaceState({...history.state,[W]:D},"",location.href));const pe=re[D];pe&&(history.scrollRestoration="manual",scrollTo(pe.x,pe.y));let _e=!1,he,Ae;async function Ue(a,{noscroll:p=!1,replaceState:b=!1,keepfocus:f=!1,state:_={}},w){if(typeof a=="string"&&(a=new URL(a,qe(document))),H)return we({url:a,scroll:p?ke():null,keepfocus:f,redirect_chain:w,details:{state:_,replaceState:b},accepted:()=>{},blocked:()=>{}});await ne(a)}async function Oe(a){const p=Ie(a);if(!p)throw new Error("Attempted to prefetch a URL that does not belong to this app");return n.promise=Te(p,!1),n.id=p.id,n.promise}async function me(a,p,b,f,_){var R,O;const w=Ie(a),E=Ae={};let h=w&&await Te(w,b);if(!h&&a.origin===location.origin&&a.pathname===location.pathname&&(h=await te({status:404,error:new Error(`Not found: ${a.pathname}`),url:a,routeId:null})),!h)return await ne(a),!1;if(Ae!==E)return!1;if(c.length=0,h.redirect)if(p.length>10||p.includes(a.pathname))h=await te({status:500,error:new Error("Redirect loop"),url:a,routeId:null});else return H?Ue(new URL(h.redirect,a).href,{},[...p,a.pathname]):await ne(new URL(h.redirect,location.href)),!1;else((O=(R=h.props)==null?void 0:R.page)==null?void 0:O.status)>=400&&await d.updated.check()&&await ne(a);if(k=!0,f&&f.details){const{details:v}=f,S=v.replaceState?0:1;v.state[W]=D+=S,history[v.replaceState?"replaceState":"pushState"](v.state,"",a)}if(u?(i=h.state,h.props.page&&(h.props.page.url=a),ce.$set(h.props)):Pe(h),f){const{scroll:v,keepfocus:S}=f;if(!S){const y=document.body,g=y.getAttribute("tabindex");y.tabIndex=-1,y.focus({preventScroll:!0}),setTimeout(()=>{var $;($=getSelection())==null||$.removeAllRanges()}),g!==null?y.setAttribute("tabindex",g):y.removeAttribute("tabindex")}if(await xe(),L){const y=a.hash&&document.getElementById(a.hash.slice(1));v?scrollTo(v.x,v.y):y?y.scrollIntoView():scrollTo(0,0)}}else await xe();n.promise=null,n.id=null,L=!0,h.props.page&&(he=h.props.page);const m=h.state.branch[h.state.branch.length-1];H=(m==null?void 0:m.module.router)!==!1,_&&_(),k=!1}function Pe(a){i=a.state;const p=document.querySelector("style[data-sveltekit]");if(p&&p.remove(),he=a.props.page,ce=new mt({target:r,props:{...a.props,stores:d},hydrate:!0}),H){const b={from:null,to:new URL(location.href)};s.after_navigate.forEach(f=>f(b))}u=!0}async function ge({url:a,params:p,stuff:b,branch:f,status:_,error:w,routeId:E}){var y,g;const h=f.filter(Boolean),m=h.find($=>{var U;return(U=$.loaded)==null?void 0:U.redirect}),R={redirect:(y=m==null?void 0:m.loaded)==null?void 0:y.redirect,state:{url:a,params:p,branch:f,error:w,stuff:b,session_id:Q},props:{components:h.map($=>$.module.default)}};for(let $=0;${Object.defineProperty(R.props.page,U,{get:()=>{throw new Error(`$page.${U} has been replaced by $page.url.${C}`)}})};$("origin","origin"),$("path","pathname"),$("query","searchParams")}const v=h[h.length-1],S=(g=v==null?void 0:v.loaded)==null?void 0:g.cache;if(S){const $=a.pathname+a.search;let U=!1;const C=()=>{l.get($)===R&&l.delete($),P(),clearTimeout(A)},A=setTimeout(C,S.maxage*1e3),P=d.session.subscribe(()=>{U&&C()});U=!0,l.set($,R)}return R}async function ee({status:a,error:p,module:b,url:f,params:_,stuff:w,props:E,routeId:h}){const m={module:b,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:new Set},loaded:null,stuff:w};function R(y){const{href:g}=new URL(y,f);m.uses.dependencies.add(g)}E&&m.uses.dependencies.add(f.href);const O={};for(const y in _)Object.defineProperty(O,y,{get(){return m.uses.params.add(y),_[y]},enumerable:!0});const v=Le,S=new yt(f);if(b.load){const y={routeId:h,params:O,props:E||{},get url(){return m.uses.url=!0,S},get session(){return m.uses.session=!0,v},get stuff(){return m.uses.stuff=!0,{...w}},async fetch(g,$){let U;typeof g=="string"?U=g:(U=g.url,$={body:g.method==="GET"||g.method==="HEAD"?void 0:await g.blob(),cache:g.cache,credentials:g.credentials,headers:g.headers,integrity:g.integrity,keepalive:g.keepalive,method:g.method,mode:g.mode,redirect:g.redirect,referrer:g.referrer,referrerPolicy:g.referrerPolicy,signal:g.signal,...$});const C=new URL(U,f).href;return R(C),u?Re(C,$):Et(U,$)},status:a!=null?a:null,error:p!=null?p:null};m.loaded=Ce(await b.load.call(null,y)),m.loaded.stuff&&(m.stuff=m.loaded.stuff),m.loaded.dependencies&&m.loaded.dependencies.forEach(R)}else E&&(m.loaded=Ce({props:E}));return m}async function Te({id:a,url:p,params:b,route:f},_){var g,$,U,C;if(n.id===a&&n.promise)return n.promise;if(!_){const A=l.get(a);if(A)return A}const{a:w,b:E,has_shadow:h}=f,m=i.url&&{url:a!==i.url.pathname+i.url.search,params:Object.keys(b).filter(A=>i.params[A]!==b[A]),session:Q!==i.session_id};let R=[],O=Me,v=!1,S=200,y=null;w.forEach(A=>A().catch(()=>{}));e:for(let A=0;AV.uses.params.has(Y))||m.session&&V.uses.session||Array.from(V.uses.dependencies).some(Y=>c.some(fe=>fe(Y)))||v&&V.uses.stuff){let Y={};const fe=h&&A===w.length-1;if(fe){const Z=await Re(`${p.pathname}${p.pathname.endsWith("/")?"":"/"}__data.json${p.search}`,{headers:{"x-sveltekit-load":"true"}});if(Z.ok){const be=Z.headers.get("x-sveltekit-location");if(be)return{redirect:be,props:{},state:i};Y=Z.status===204?{}:await Z.json()}else{S=Z.status;try{y=await Z.json()}catch{y=new Error("Failed to load data")}}}if(y||(P=await ee({module:T,url:p,params:b,props:Y,stuff:O,routeId:f.id})),P&&(fe&&(P.uses.url=!0),P.loaded)){if(P.loaded.error&&(S=(g=P.loaded.status)!=null?g:500,y=P.loaded.error),P.loaded.redirect)return{redirect:P.loaded.redirect,props:{},state:i};P.loaded.stuff&&(v=!0)}}else P=V}catch(T){S=500,y=je(T)}if(y){for(;A--;)if(E[A]){let T,V,le=A;for(;!(V=R[le]);)le-=1;try{if(T=await ee({status:S,error:y,module:await E[A](),url:p,params:b,stuff:V.stuff,routeId:f.id}),($=T==null?void 0:T.loaded)!=null&&$.error)continue;(U=T==null?void 0:T.loaded)!=null&&U.stuff&&(O={...O,...T.loaded.stuff}),R=R.slice(0,le+1).concat(T);break e}catch{continue}}return await te({status:S,error:y,url:p,routeId:f.id})}else(C=P==null?void 0:P.loaded)!=null&&C.stuff&&(O={...O,...P.loaded.stuff}),R.push(P)}return await ge({url:p,params:b,stuff:O,branch:R,status:S,error:y,routeId:f.id})}async function te({status:a,error:p,url:b,routeId:f}){var h,m;const _={},w=await ee({module:await At,url:b,params:_,stuff:{},routeId:f}),E=await ee({status:a,error:p,module:await Ut,url:b,params:_,stuff:w&&w.loaded&&w.loaded.stuff||{},routeId:f});return await ge({url:b,params:_,stuff:{...(h=w==null?void 0:w.loaded)==null?void 0:h.stuff,...(m=E==null?void 0:E.loaded)==null?void 0:m.stuff},branch:[w,E],status:a,error:p,routeId:f})}function Ie(a){if(a.origin!==location.origin||!a.pathname.startsWith(t))return;const p=decodeURI(a.pathname.slice(t.length)||"/");for(const b of ve){const f=b.exec(p);if(f)return{id:ze(a.pathname,o)+a.search,route:b,params:f,url:a}}}async function we({url:a,scroll:p,keepfocus:b,redirect_chain:f,details:_,accepted:w,blocked:E}){const h=i.url;let m=!1;const R={from:h,to:a,cancel:()=>m=!0};if(s.before_navigate.forEach(S=>S(R)),m){E();return}const O=ze(a.pathname,o),v=new URL(a.origin+O+a.search+a.hash);$e(D),w(),u&&d.navigating.set({from:i.url,to:v}),await me(v,f,!1,{scroll:p,keepfocus:b,details:_},()=>{const S={from:h,to:v};s.after_navigate.forEach(y=>y(S)),d.navigating.set(null)})}function ne(a){return location.href=a.href,new Promise(()=>{})}return{after_navigate:a=>{Ee(()=>(s.after_navigate.push(a),()=>{const p=s.after_navigate.indexOf(a);s.after_navigate.splice(p,1)}))},before_navigate:a=>{Ee(()=>(s.before_navigate.push(a),()=>{const p=s.before_navigate.indexOf(a);s.before_navigate.splice(p,1)}))},disable_scroll_handling:()=>{(k||!u)&&(L=!1)},goto:(a,p={})=>Ue(a,p,[]),invalidate:a=>{if(typeof a=="function")c.push(a);else{const{href:p}=new URL(a,location.href);c.push(b=>b===p)}return X||(X=Promise.resolve().then(async()=>{await me(new URL(location.href),[],!0),X=null})),X},prefetch:async a=>{const p=new URL(a,qe(document));await Oe(p)},prefetch_routes:async a=>{const b=(a?ve.filter(f=>a.some(_=>f.exec(_))):ve).map(f=>Promise.all(f.a.map(_=>_())));await Promise.all(b)},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",f=>{let _=!1;const w={from:i.url,to:null,cancel:()=>_=!0};s.before_navigate.forEach(E=>E(w)),_?(f.preventDefault(),f.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden"){$e(D);try{sessionStorage[We]=JSON.stringify(re)}catch{}}});const a=f=>{const _=Je(f);_&&_.href&&_.hasAttribute("sveltekit:prefetch")&&Oe(Ke(_))};let p;const b=f=>{clearTimeout(p),p=setTimeout(()=>{var _;(_=f.target)==null||_.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",a),addEventListener("mousemove",b),addEventListener("sveltekit:trigger_prefetch",a),addEventListener("click",f=>{if(!H||f.button||f.which!==1||f.metaKey||f.ctrlKey||f.shiftKey||f.altKey||f.defaultPrevented)return;const _=Je(f);if(!_||!_.href)return;const w=_ instanceof SVGAElement,E=Ke(_);if(!w&&E.origin==="null")return;const h=(_.getAttribute("rel")||"").split(/\s+/);if(_.hasAttribute("download")||h.includes("external")||_.hasAttribute("sveltekit:reload")||(w?_.target.baseVal:_.target))return;const[m,R]=E.href.split("#");if(R!==void 0&&m===location.href.split("#")[0]){_e=!0,$e(D),d.page.set({...he,url:E}),d.page.notify();return}we({url:E,scroll:_.hasAttribute("sveltekit:noscroll")?ke():null,keepfocus:!1,redirect_chain:[],details:{state:{},replaceState:E.href===location.href},accepted:()=>f.preventDefault(),blocked:()=>f.preventDefault()})}),addEventListener("popstate",f=>{if(f.state&&H){if(f.state[W]===D)return;we({url:new URL(location.href),scroll:re[f.state[W]],keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{D=f.state[W]},blocked:()=>{const _=D-f.state[W];history.go(_)}})}}),addEventListener("hashchange",()=>{_e&&(_e=!1,history.replaceState({...history.state,[W]:++D},"",location.href))})},_hydrate:async({status:a,error:p,nodes:b,params:f,routeId:_})=>{var O;const w=new URL(location.href),E=[];let h={},m,R;try{for(let v=0;v - + - - - + + + - - + +
-
+
@@ -43,7 +43,8 @@
  • Languages
  • Playground
  • - GitHub package.json version
    +
    GitHub package.json version
    +
    GitHub package.json version (branch)

    Custom Element

    Custom element is defined as extension to native input tag. Custom element supports all options that can be passed as string (So all except initialDate). The input itself should always be placed @@ -77,10 +78,10 @@

     
    - - + - - - + + + - - - - + + + +
    -
    +
    @@ -45,7 +45,8 @@
  • Languages
  • Playground
  • - GitHub package.json version
    +
    GitHub package.json version
    +
    GitHub package.json version (branch)

    Format settings

    Date format can be defined under formatType property. It has two options: standard and php where standard is the default. @@ -135,10 +136,10 @@

    Formatting options (standard)

     
    - - + - - - + + + - - - + + +
    -
    +
    @@ -44,7 +44,8 @@
  • Languages
  • Playground
  • - GitHub package.json version
    +
    GitHub package.json version
    +
    GitHub package.json version (branch)

    🌐 Localization

    By default date picker uses english locale. And at the moment there are only few localizations available. You can check them on playground page. (PRs for additional locales are more than welcome).

    @@ -85,7 +86,7 @@ - + @@ -96,7 +97,7 @@ - + @@ -148,10 +149,10 @@

    Adding additional locales

     
    - - + - - - + + + - - - + + +
    -
    +
    @@ -44,9 +44,10 @@
  • Languages
  • Playground
  • - GitHub package.json version
    +
    GitHub package.json version
    +
    GitHub package.json version (branch)

    Date

    - +
    @@ -76,7 +77,7 @@ - + @@ -87,7 +88,7 @@ - + @@ -145,10 +146,10 @@

    Minimal example

     
    - - + - - - + + + - - - + + +
    -
    +
    @@ -43,7 +43,8 @@
  • Languages
  • Playground
  • - GitHub package.json version
    +
    GitHub package.json version
    +
    GitHub package.json version (branch)

    Options

    @@ -155,10 +156,10 @@
     
    - - + - - - + + + - - - - - + + + + +
    @@ -35,7 +35,7 @@
    Your component
    - +
    Your selection:
    @@ -263,10 +263,10 @@

    Mode & formats:

    - - + - - - + + + - - - + + +
    -
    +
    @@ -44,7 +44,8 @@
  • Languages
  • Playground
  • - GitHub package.json version
    +
    GitHub package.json version
    +
    GitHub package.json version (branch)

    Styling options

    The theme property defined root class, where all CSS variables related to components are defined. @@ -81,7 +82,7 @@

    Property - +
    @@ -92,7 +93,7 @@
    - + @@ -143,7 +144,7 @@ - +
    @@ -154,7 +155,7 @@
    - + @@ -200,10 +201,10 @@
     
    -