PageSourceSearch

https://1smiledentalplan.com/_nuxt/CaQVl-g6.js

js 1smiledentalplan.com collected 2026-10-09 22:31:00 UTC 10,461 bytes, 141 lines download raw bytes

1import{C as e,Lt as t,P as n,Q as r,R as i,S as a,Z as o,Zt as s,b as c,on as l,q as u,x as d}from"./BnoOFvFM.js";import{$ as f,mt as p,r as m}from"./BcuvyOVR.js";import{t as h}from"./CRHlWn3X.js";import{t as g}from"./SR5wEN8l2.js";import{t as _}from"./BXEO24yj.js";import{t as v}from"./B28HgN8S.js";var y=m.extend({name:`checkbox`,style:`
2    .p-checkbox {
3        position: relative;
4        display: inline-flex;
5        user-select: none;
6        vertical-align: bottom;
7        width: dt('checkbox.width');
8        height: dt('checkbox.height');
9    }
10
11    .p-checkbox-input {
12        cursor: pointer;
13        appearance: none;
14        position: absolute;
15        inset-block-start: 0;
16        inset-inline-start: 0;
17        width: 100%;
18        height: 100%;
19        padding: 0;
20        margin: 0;
21        opacity: 0;
22        z-index: 1;
23        outline: 0 none;
24        border: 1px solid transparent;
25        border-radius: dt('checkbox.border.radius');
26    }
27
28    .p-checkbox-box {
29        display: flex;
30        justify-content: center;
31        align-items: center;
32        border-radius: dt('checkbox.border.radius');
33        border: 1px solid dt('checkbox.border.color');
34        background: dt('checkbox.background');
35        width: dt('checkbox.width');
36        height: dt('checkbox.height');
37        transition:
38            background dt('checkbox.transition.duration'),
39            color dt('checkbox.transition.duration'),
40            border-color dt('checkbox.transition.duration'),
41            box-shadow dt('checkbox.transition.duration'),
42            outline-color dt('checkbox.transition.duration');
43        outline-color: transparent;
44        box-shadow: dt('checkbox.shadow');
45    }
46
47    .p-checkbox-icon {
48        transition-duration: dt('checkbox.transition.duration');
49        color: dt('checkbox.icon.color');
50        font-size: dt('checkbox.icon.size');
51        width: dt('checkbox.icon.size');
52        height: dt('checkbox.icon.size');
53    }
54
55    .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
56        border-color: dt('checkbox.hover.border.color');
57    }
58
59    .p-checkbox-checked .p-checkbox-box {
60        border-color: dt('checkbox.checked.border.color');
61        background: dt('checkbox.checked.background');
62    }
63
64    .p-checkbox-checked .p-checkbox-icon {
65        color: dt('checkbox.icon.checked.color');
66    }
67
68    .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
69        background: dt('checkbox.checked.hover.background');
70        border-color: dt('checkbox.checked.hover.border.color');
71    }
72
73    .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon {
74        color: dt('checkbox.icon.checked.hover.color');
75    }
76
77    .p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
78        border-color: dt('checkbox.focus.border.color');
79        box-shadow: dt('checkbox.focus.ring.shadow');
80        outline: dt('checkbox.focus.ring.width') dt('checkbox.focus.ring.style') dt('checkbox.focus.ring.color');
81        outline-offset: dt('checkbox.focus.ring.offset');
82    }
83
84    .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
85        border-color: dt('checkbox.checked.focus.border.color');
86    }
87
88    .p-checkbox.p-invalid > .p-checkbox-box {
89        border-color: dt('checkbox.invalid.border.color');
90    }
91
92    .p-checkbox.p-variant-filled .p-checkbox-box {
93        background: dt('checkbox.filled.background');
94    }
95
96    .p-checkbox-checked.p-variant-filled .p-checkbox-box {
97        background: dt('checkbox.checked.background');
98    }
99
100    .p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
101        background: dt('checkbox.checked.hover.background');
102    }
103
104    .p-checkbox.p-disabled {
105        opacity: 1;
106    }
107
108    .p-checkbox.p-disabled .p-checkbox-box {
109        background: dt('checkbox.disabled.background');
110        border-color: dt('checkbox.checked.disabled.border.color');
111    }
112
113    .p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon {
114        color: dt('checkbox.icon.disabled.color');
115    }
116
117    .p-checkbox-sm,
118    .p-checkbox-sm .p-checkbox-box {
119        width: dt('checkbox.sm.width');
120        height: dt('checkbox.sm.height');
121    }
122
123    .p-checkbox-sm .p-checkbox-icon {
124        font-size: dt('checkbox.icon.sm.size');
125        width: dt('checkbox.icon.sm.size');
126        height: dt('checkbox.icon.sm.size');
127    }
128
129    .p-checkbox-lg,
130    .p-checkbox-lg .p-checkbox-box {
131        width: dt('checkbox.lg.width');
132        height: dt('checkbox.lg.height');
133    }
134
135    .p-checkbox-lg .p-checkbox-icon {
136        font-size: dt('checkbox.icon.lg.size');
137        width: dt('checkbox.icon.lg.size');
138        height: dt('checkbox.icon.lg.size');
139    }
140`,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-checkbox p-component`,{"p-checkbox-checked":t.checked,"p-disabled":n.disabled,"p-invalid":t.$pcCheckboxGroup?t.$pcCheckboxGroup.$invalid:t.$invali
140d,"p-variant-filled":t.$variant===`filled`,"p-checkbox-sm p-inputfield-sm":n.size===`small`,"p-checkbox-lg p-inputfield-lg":n.size===`large`}]},box:`p-checkbox-box`,input:`p-checkbox-input`,icon:`p-checkbox-icon`}}),b=l({default:()=>M});n(),t();var x={name:`BaseCheckbox`,extends:_,props:{value:null,binary:Boolean,indeterminate:{type:Boolean,default:!1},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:y,provide:function(){return{$pcCheckbox:this,$parentInstance:this}}};function S(e){"@babel/helpers - typeof";return S=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},S(e)}function C(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){var t=T(e,`string`);return S(t)==`symbol`?t:t+``}function T(e,t){if(S(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(S(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function E(e){return A(e)||k(e)||O(e)||D()}function D(){throw TypeError(`Invalid attempt to spread non-iterable instance.
141In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O(e,t){if(e){if(typeof e==`string`)return j(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}function k(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function A(e){if(Array.isArray(e))return j(e)}function j(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var M={name:`Checkbox`,extends:x,inheritAttrs:!1,emits:[`change`,`focus`,`blur`,`update:indeterminate`],inject:{$pcCheckboxGroup:{default:void 0}},data:function(){return{d_indeterminate:this.indeterminate}},watch:{indeterminate:function(e){this.d_indeterminate=e}},methods:{getPTOptions:function(e){return(e===`root`?this.ptmi:this.ptm)(e,{context:{checked:this.checked,indeterminate:this.d_indeterminate,disabled:this.disabled}})},onChange:function(e){var t=this;if(!this.disabled&&!this.readonly){var n=this.$pcCheckboxGroup?this.$pcCheckboxGroup.d_value:this.d_value,r=this.binary?this.d_indeterminate?this.trueValue:this.checked?this.falseValue:this.trueValue:this.checked||this.d_indeterminate?n.filter(function(e){return!p(e,t.value)}):n?[].concat(E(n),[this.value]):[this.value];this.d_indeterminate&&(this.d_indeterminate=!1,this.$emit(`update:indeterminate`,this.d_indeterminate)),this.$pcCheckboxGroup?this.$pcCheckboxGroup.writeValue(r,e):this.writeValue(r,e),this.$emit(`change`,e)}},onFocus:function(e){this.$emit(`focus`,e)},onBlur:function(e){var t,n;this.$emit(`blur`,e),(t=(n=this.formField).onBlur)==null||t.call(n,e)}},computed:{groupName:function(){return this.$pcCheckboxGroup?this.$pcCheckboxGroup.groupName:this.$formName},checked:function(){var e=this.$pcCheckboxGroup?this.$pcCheckboxGroup.d_value:this.d_value;return this.d_indeterminate?!1:this.binary?e===this.trueValue:f(this.value,e)},dataP:function(){return h(C({invalid:this.$invalid,checked:this.checked,disabled:this.disabled,filled:this.$variant===`filled`},this.size,this.size))}},components:{CheckIcon:g,MinusIcon:v}},N=[`data-p-checked`,`data-p-indeterminate`,`data-p-disabled`,`data-p`],P=[`id`,`value`,`name`,`checked`,`tabindex`,`disabled`,`readonly`,`required`,`aria-labelledby`,`aria-label`,`aria-invalid`,`aria-checked`],F=[`data-p`];function I(t,n,l,f,p,m){var h=r(`CheckIcon`),g=r(`MinusIcon`);return u(),e(`div`,i({class:t.cx(`root`)},m.getPTOptions(`root`),{"data-p-checked":m.checked,"data-p-indeterminate":p.d_indeterminate||void 0,"data-p-disabled":t.disabled,"data-p":m.dataP}),[c(`input`,i({id:t.inputId,type:`checkbox`,class:[t.cx(`input`),t.inputClass],style:t.inputStyle,value:t.value,name:m.groupName,checked:m.checked,tabindex:t.tabindex,disabled:t.disabled,readonly:t.readonly,required:t.required,"aria-labelledby":t.ariaLabelledby,"aria-label":t.ariaLabel,"aria-invalid":t.invali
141d||void 0,"aria-checked":p.d_indeterminate?`mixed`:void 0,onFocus:n[0]||=function(){return m.onFocus&&m.onFocus.apply(m,arguments)},onBlur:n[1]||=function(){return m.onBlur&&m.onBlur.apply(m,arguments)},onChange:n[2]||=function(){return m.onChange&&m.onChange.apply(m,arguments)}},m.getPTOptions(`input`)),null,16,P),c(`div`,i({class:t.cx(`box`)},m.getPTOptions(`box`),{"data-p":m.dataP}),[o(t.$slots,`icon`,{checked:m.checked,indeterminate:p.d_indeterminate,class:s(t.cx(`icon`)),dataP:m.dataP},function(){return[m.checked?(u(),d(h,i({key:0,class:t.cx(`icon`)},m.getPTOptions(`icon`),{"data-p":m.dataP}),null,16,[`class`,`data-p`])):p.d_indeterminate?(u(),d(g,i({key:1,class:t.cx(`icon`)},m.getPTOptions(`icon`),{"data-p":m.dataP}),null,16,[`class`,`data-p`])):a(``,!0)]})],16,F)],16,N)}M.render=I;export{M as n,b as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.