/**
 * @license
 * Copyright Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
var x=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var m=(e,t,n,o)=>{for(var r=o>1?void 0:o?h(t,n):t,c=e.length-1,p;c>=0;c--)(p=e[c])&&(r=(o?p(t,n,r):p(r))||r);return o&&r&&x(t,n,r),r};function f(e){return typeof e=="function"}function d(e){return e instanceof Array}var b=typeof Intl!="undefined"&&Intl.v8BreakIterator,l=class e{static get isBrowser(){return typeof document=="object"&&!!document}static get isMobile(){return e.isBrowser&&/Mobi/.test(navigator.userAgent)}static get EDGE(){return e.isBrowser&&/(edge)/i.test(navigator.userAgent)}static get TRIDENT(){return e.isBrowser&&/(msie|trident)/i.test(navigator.userAgent)}static get BLINK(){return e.isBrowser&&!!(window.chrome||b)&&!!CSS&&!e.EDGE&&!e.TRIDENT}static get WEBKIT(){return e.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!e.BLINK&&!e.EDGE&&!e.TRIDENT}static get IOS(){return e.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static get FIREFOX(){return e.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent)}static get ANDROID(){return e.isBrowser&&/android/i.test(navigator.userAgent)&&!e.TRIDENT}SAFARI(){return e.isBrowser&&/safari/i.test(navigator.userAgent)&&e.WEBKIT}};var L=window.ShadowRoot&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;function s(e){y(e._customElementName,e),d(e._customElementDependencies)&&S(e._customElementDependencies)}function S(e){e.forEach(s)}function y(e,t,n){var o;!((o=window==null?void 0:window.customElements)===null||o===void 0)&&o.get(e)||window.customElements.define(e,t,n)}var C="_customElementName",T="_customElementDependencies";function g({name:e,dependencies:t,define:n=!0}){return o=>{N(o),e&&(o[C]=e),t&&t.length&&(o[T]=t),window.__forgeFlags__autoDefine!==!1&&n&&s(o)}}function N(e){let t=e.prototype.connectedCallback;e.prototype.connectedCallback=function(){this.isConnected&&(this._isInitialized||(R(this),f(this.initializedCallback)&&this.initializedCallback.apply(this),this._isInitialized=!0),f(t)&&t.apply(this))}}function R(e){let t=Object.getOwnPropertyNames(e).filter(n=>!n.startsWith("_"));for(let n of t){let o=e[n];delete e[n],e[n]=o}}var u=class extends HTMLElement{};function E(){return!l.isMobile}var w="forge-";var q=E(),z=Symbol("getFormValue"),W=Symbol("getFormState"),Y=Symbol("setValidity"),$=Symbol("getValidityMessage"),X=Symbol("ElementInternals"),J=Symbol("inputType"),Q=Symbol("isFocusable"),Z=Symbol("setDefaultAria");var v=`${w}option-group`,D={LABEL:"label"},a={elementName:v,attributes:D};var i=class extends u{static get observedAttributes(){return[a.attributes.LABEL]}constructor(){super()}attributeChangedCallback(t,n,o){switch(t){case a.attributes.LABEL:this.label=o;break}}get label(){return this._label}set label(t){this._label!==t&&(this._label=t||"",this.setAttribute(a.attributes.LABEL,this._label))}get text(){return this._label}set text(t){this.label=t}};i=m([g({name:a.elementName})],i);function pe(){s(i)}export{a as OPTION_GROUP_CONSTANTS,i as OptionGroupComponent,pe as defineOptionGroupComponent};
/*! Bundled license information:

@tylertech/forge-core/esm/utils/platform.js:
  (**
   * @license
   * Copyright Google LLC All Rights Reserved.
   *
   * Use of this source code is governed by an MIT-style license that can be
   * found in the LICENSE file at https://angular.io/license
   *)
*/
//# sourceMappingURL=index.js.map
