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,EAAasG,cACvH,GAAIA,EAAe,CAEf,IAAK,IAAIpB,EAAI,EAAGA,EAAIoB,EAAcnK,OAAQ+I,GAAK,EAAG,CAC9C,IAAIhN,EAAQoO,EAAcpB,EAAI,GAC9B,GAAIhN,EAAO,CACP,IAAIoL,EAAWgD,EAAcpB,GAC7B5B,EAAWA,EAASd,QAAQ,KAAM8C,EAAa,IAAI7L,OAAOuG,EAAarG,WAAYuG,IAEnF,IAAIsG,EAAgB,GAAG/M,OAAO6J,EAAU,KAAK7J,OAAOvB,EAAO,KAAKuB,OAAiC,IAA1B6J,EAASxE,QAAQ,KAAa,IAAM,IAC3GtG,EAAW4B,WAAWoM,EAC1B,CACJ,CACAhO,EAAWkB,eAAeC,EAAWC,EAAKC,EAAMyM,EACpD,CACJ,CACO,SAASG,EAAiBhH,GAE7B,IADA,IAAI5F,EAAO,GACF6C,EAAK,EAAGA,EAAKC,UAAUR,OAAQO,IACpC7C,EAAK6C,EAAK,GAAKC,UAAUD,GAE7B,IAAIsD,EAAe8F,EAAoB/H,WAAM,GAAQ,QAAc,CAAC0B,GAAU5F,GAAM,IACpF,OAAImG,GACAuG,EAAkBvG,EAAcP,EAAQS,sBAAuBT,EAAQ5J,aAAc4J,EAAQjH,YACtFwH,EAAarG,WAEjB,EACX,C","sources":["file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+keyboard-keys@9.0.8/node_modules/@fluentui/keyboard-keys/lib/keys.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/StyleOptionsState.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/Stylesheet.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/concatStyleSets.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/concatStyleSetsWithProps.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/extractStyleParts.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/fontFace.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/keyframes.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/mergeStyleSets.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/mergeStyles.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/shadowConfig.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/getVendorSettings.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/transforms/kebabRules.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/transforms/prefixRules.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/transforms/provideUnits.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/transforms/rtlifyRules.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/styleToClassName.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/@fluentui+merge-styles@8.6.13/node_modules/@fluentui/merge-styles/lib/tokenizeWithParentheses.js"],"sourcesContent":["export const Alt = 'Alt';\nexport const AltGraph = 'AltGraph';\nexport const CapsLock = 'CapsLock';\nexport const Control = 'Control';\nexport const Fn = 'Fn';\nexport const FnLock = 'FnLock';\nexport const Meta = 'Meta';\nexport const NumLock = 'NumLock';\nexport const ScrollLock = 'ScrollLock';\nexport const Shift = 'Shift';\nexport const Symbol = 'Symbol';\nexport const SymbolLock = 'SymbolLock';\nexport const Hyper = 'Hyper';\nexport const Super = 'Super';\nexport const Enter = 'Enter';\nexport const Space = ' ';\nexport const Tab = 'Tab';\nexport const ArrowDown = 'ArrowDown';\nexport const ArrowLeft = 'ArrowLeft';\nexport const ArrowRight = 'ArrowRight';\nexport const ArrowUp = 'ArrowUp';\nexport const End = 'End';\nexport const Home = 'Home';\nexport const PageDown = 'PageDown';\nexport const PageUp = 'PageUp';\nexport const Backspace = 'Backspace';\nexport const Clear = 'Clear';\nexport const Copy = 'Copy';\nexport const CrSel = 'CrSel';\nexport const Cut = 'Cut';\nexport const Delete = 'Delete';\nexport const EraseEof = 'EraseEof';\nexport const ExSel = 'ExSel';\nexport const Insert = 'Insert';\nexport const Paste = 'Paste';\nexport const Redo = 'Redo';\nexport const Undo = 'Undo';\nexport const Accept = 'Accept';\nexport const Again = 'Again';\nexport const Attn = 'Attn';\nexport const Cancel = 'Cancel';\nexport const ContextMenu = 'ContextMenu';\nexport const Escape = 'Escape';\nexport const Execute = 'Execute';\nexport const Find = 'Find';\nexport const Help = 'Help';\nexport const Pause = 'Pause';\nexport const Play = 'Play';\nexport const Props = 'Props';\nexport const Select = 'Select';\nexport const ZoomIn = 'ZoomIn';\nexport const ZoomOut = 'ZoomOut';\nexport const BrightnessDown = 'BrightnessDown';\nexport const BrightnessUp = 'BrightnessUp';\nexport const Eject = 'Eject';\nexport const LogOff = 'LogOff';\nexport const Power = 'Power';\nexport const PowerOff = 'PowerOff';\nexport const PrintScreen = 'PrintScreen';\nexport const Hibernate = 'Hibernate';\nexport const Standby = 'Standby';\nexport const WakeUp = 'WakeUp';\nexport const AllCandidates = 'AllCandidates';\nexport const Alphanumeric = 'Alphanumeric';\nexport const CodeInput = 'CodeInput';\nexport const Compose = 'Compose';\nexport const Convert = 'Convert';\nexport const Dead = 'Dead';\nexport const FinalMode = 'FinalMode';\nexport const GroupFirst = 'GroupFirst';\nexport const GroupLast = 'GroupLast';\nexport const GroupNext = 'GroupNext';\nexport const GroupPrevious = 'GroupPrevious';\nexport const ModeChange = 'ModeChange';\nexport const NextCandidate = 'NextCandidate';\nexport const NonConvert = 'NonConvert';\nexport const PreviousCandidate = 'PreviousCandidate';\nexport const Process = 'Process';\nexport const SingleCandidate = 'SingleCandidate';\nexport const HangulMode = 'HangulMode';\nexport const HanjaMode = 'HanjaMode';\nexport const JunjaMode = 'JunjaMode';\nexport const Eisu = 'Eisu';\nexport const Hankaku = 'Hankaku';\nexport const Hiragana = 'Hiragana';\nexport const HiraganaKatakana = 'HiraganaKatakana';\nexport const KanaMode = 'KanaMode';\nexport const KanjiMode = 'KanjiMode';\nexport const Katakana = 'Katakana';\nexport const Romaji = 'Romaji';\nexport const Zenkaku = 'Zenkaku';\nexport const ZenkakuHankaku = 'ZenkakuHankaku';\nexport const F1 = 'F1';\nexport const F2 = 'F2';\nexport const F3 = 'F3';\nexport const F4 = 'F4';\nexport const F5 = 'F5';\nexport const F6 = 'F6';\nexport const F7 = 'F7';\nexport const F8 = 'F8';\nexport const F9 = 'F9';\nexport const F10 = 'F10';\nexport const F11 = 'F11';\nexport const F12 = 'F12';\nexport const Soft1 = 'Soft1';\nexport const Soft2 = 'Soft2';\nexport const Soft3 = 'Soft3';\nexport const Soft4 = 'Soft4';\nexport const ChannelDown = 'ChannelDown';\nexport const ChannelUp = 'ChannelUp';\nexport const Close = 'Close';\nexport const MailForward = 'MailForward';\nexport const MailReply = 'MailReply';\nexport const MailSend = 'MailSend';\nexport const MediaClose = 'MediaClose';\nexport const MediaFastForward = 'MediaFastForward';\nexport const MediaPause = 'MediaPause';\nexport const MediaPlay = 'MediaPlay';\nexport const MediaPlayPause = 'MediaPlayPause';\nexport const MediaRecord = 'MediaRecord';\nexport const MediaRewind = 'MediaRewind';\nexport const MediaStop = 'MediaStop';\nexport const MediaTrackNext = 'MediaTrackNext';\nexport const MediaTrackPrevious = 'MediaTrackPrevious';\nexport const New = 'New';\nexport const Open = 'Open';\nexport const Print = 'Print';\nexport const Save = 'Save';\nexport const SpellCheck = 'SpellCheck';\nexport const Key11 = 'Key11';\nexport const Key12 = 'Key12';\nexport const AudioBalanceLeft = 'AudioBalanceLeft';\nexport const AudioBalanceRight = 'AudioBalanceRight';\nexport const AudioBassBoostDown = 'AudioBassBoostDown';\nexport const AudioBassBoostToggle = 'AudioBassBoostToggle';\nexport const AudioBassBoostUp = 'AudioBassBoostUp';\nexport const AudioFaderFront = 'AudioFaderFront';\nexport const AudioFaderRear = 'AudioFaderRear';\nexport const AudioSurroundModeNext = 'AudioSurroundModeNext';\nexport const AudioTrebleDown = 'AudioTrebleDown';\nexport const AudioTrebleUp = 'AudioTrebleUp';\nexport const AudioVolumeDown = 'AudioVolumeDown';\nexport const AudioVolumeUp = 'AudioVolumeUp';\nexport const AudioVolumeMute = 'AudioVolumeMute';\nexport const MicrophoneToggle = 'MicrophoneToggle';\nexport const MicrophoneVolumeDown = 'MicrophoneVolumeDown';\nexport const MicrophoneVolumeUp = 'MicrophoneVolumeUp';\nexport const MicrophoneVolumeMute = 'MicrophoneVolumeMute';\nexport const SpeechCorrectionList = 'SpeechCorrectionList';\nexport const SpeechInputToggle = 'SpeechInputToggle';\nexport const LaunchApplication1 = 'LaunchApplication1';\nexport const LaunchApplication2 = 'LaunchApplication2';\nexport const LaunchCalendar = 'LaunchCalendar';\nexport const LaunchContacts = 'LaunchContacts';\nexport const LaunchMail = 'LaunchMail';\nexport const LaunchMediaPlayer = 'LaunchMediaPlayer';\nexport const LaunchMusicPlayer = 'LaunchMusicPlayer';\nexport const LaunchPhone = 'LaunchPhone';\nexport const LaunchScreenSaver = 'LaunchScreenSaver';\nexport const LaunchSpreadsheet = 'LaunchSpreadsheet';\nexport const LaunchWebBrowser = 'LaunchWebBrowser';\nexport const LaunchWebCam = 'LaunchWebCam';\nexport const LaunchWordProcessor = 'LaunchWordProcessor';\nexport const BrowserBack = 'BrowserBack';\nexport const BrowserFavorites = 'BrowserFavorites';\nexport const BrowserForward = 'BrowserForward';\nexport const BrowserHome = 'BrowserHome';\nexport const BrowserRefresh = 'BrowserRefresh';\nexport const BrowserSearch = 'BrowserSearch';\nexport const BrowserStop = 'BrowserStop';\nexport const AppSwitch = 'AppSwitch';\nexport const Call = 'Call';\nexport const Camera = 'Camera';\nexport const CameraFocus = 'CameraFocus';\nexport const EndCall = 'EndCall';\nexport const GoBack = 'GoBack';\nexport const GoHome = 'GoHome';\nexport const HeadsetHook = 'HeadsetHook';\nexport const LastNumberRedial = 'LastNumberRedial';\nexport const Notification = 'Notification';\nexport const MannerMode = 'MannerMode';\nexport const VoiceDial = 'VoiceDial';\nexport const TV = 'TV';\nexport const TV3DMode = 'TV3DMode';\nexport const TVAntennaCable = 'TVAntennaCable';\nexport const TVAudioDescription = 'TVAudioDescription';\nexport const TVAudioDescriptionMixDown = 'TVAudioDescriptionMixDown';\nexport const TVAudioDescriptionMixUp = 'TVAudioDescriptionMixUp';\nexport const TVContentsMenu = 'TVContentsMenu';\nexport const TVDataService = 'TVDataService';\nexport const TVInput = 'TVInput';\nexport const TVInputComponent1 = 'TVInputComponent1';\nexport const TVInputComponent2 = 'TVInputComponent2';\nexport const TVInputComposite1 = 'TVInputComposite1';\nexport const TVInputComposite2 = 'TVInputComposite2';\nexport const TVInputHDMI1 = 'TVInputHDMI1';\nexport const TVInputHDMI2 = 'TVInputHDMI2';\nexport const TVInputHDMI3 = 'TVInputHDMI3';\nexport const TVInputHDMI4 = 'TVInputHDMI4';\nexport const TVInputVGA1 = 'TVInputVGA1';\nexport const TVMediaContext = 'TVMediaContext';\nexport const TVNetwork = 'TVNetwork';\nexport const TVNumberEntry = 'TVNumberEntry';\nexport const TVPower = 'TVPower';\nexport const TVRadioService = 'TVRadioService';\nexport const TVSatellite = 'TVSatellite';\nexport const TVSatelliteBS = 'TVSatelliteBS';\nexport const TVSatelliteCS = 'TVSatelliteCS';\nexport const TVSatelliteToggle = 'TVSatelliteToggle';\nexport const TVTerrestrialAnalog = 'TVTerrestrialAnalog';\nexport const TVTerrestrialDigital = 'TVTerrestrialDigital';\nexport const TVTimer = 'TVTimer';\nexport const AVRInput = 'AVRInput';\nexport const AVRPower = 'AVRPower';\nexport const ColorF0Red = 'ColorF0Red';\nexport const ColorF1Green = 'ColorF1Green';\nexport const ColorF2Yellow = 'ColorF2Yellow';\nexport const ColorF3Blue = 'ColorF3Blue';\nexport const ColorF4Grey = 'ColorF4Grey';\nexport const ColorF5Brown = 'ColorF5Brown';\nexport const ClosedCaptionToggle = 'ClosedCaptionToggle';\nexport const Dimmer = 'Dimmer';\nexport const DisplaySwap = 'DisplaySwap';\nexport const DVR = 'DVR';\nexport const Exit = 'Exit';\nexport const FavoriteClear0 = 'FavoriteClear0';\nexport const FavoriteClear1 = 'FavoriteClear1';\nexport const FavoriteClear2 = 'FavoriteClear2';\nexport const FavoriteClear3 = 'FavoriteClear3';\nexport const FavoriteRecall0 = 'FavoriteRecall0';\nexport const FavoriteRecall1 = 'FavoriteRecall1';\nexport const FavoriteRecall2 = 'FavoriteRecall2';\nexport const FavoriteRecall3 = 'FavoriteRecall3';\nexport const FavoriteStore0 = 'FavoriteStore0';\nexport const FavoriteStore1 = 'FavoriteStore1';\nexport const FavoriteStore2 = 'FavoriteStore2';\nexport const FavoriteStore3 = 'FavoriteStore3';\nexport const Guide = 'Guide';\nexport const GuideNextDay = 'GuideNextDay';\nexport const GuidePreviousDay = 'GuidePreviousDay';\nexport const Info = 'Info';\nexport const InstantReplay = 'InstantReplay';\nexport const Link = 'Link';\nexport const ListProgram = 'ListProgram';\nexport const LiveContent = 'LiveContent';\nexport const Lock = 'Lock';\nexport const MediaApps = 'MediaApps';\nexport const MediaAudioTrack = 'MediaAudioTrack';\nexport const MediaLast = 'MediaLast';\nexport const MediaSkipBackward = 'MediaSkipBackward';\nexport const MediaSkipForward = 'MediaSkipForward';\nexport const MediaStepBackward = 'MediaStepBackward';\nexport const MediaStepForward = 'MediaStepForward';\nexport const MediaTopMenu = 'MediaTopMenu';\nexport const NavigateIn = 'NavigateIn';\nexport const NavigateNext = 'NavigateNext';\nexport const NavigateOut = 'NavigateOut';\nexport const NavigatePrevious = 'NavigatePrevious';\nexport const NextFavoriteChannel = 'NextFavoriteChannel';\nexport const NextUserProfile = 'NextUserProfile';\nexport const OnDemand = 'OnDemand';\nexport const Pairing = 'Pairing';\nexport const PinPDown = 'PinPDown';\nexport const PinPMove = 'PinPMove';\nexport const PinPToggle = 'PinPToggle';\nexport const PinPUp = 'PinPUp';\nexport const PlaySpeedDown = 'PlaySpeedDown';\nexport const PlaySpeedReset = 'PlaySpeedReset';\nexport const PlaySpeedUp = 'PlaySpeedUp';\nexport const RandomToggle = 'RandomToggle';\nexport const RcLowBattery = 'RcLowBattery';\nexport const RecordSpeedNext = 'RecordSpeedNext';\nexport const RfBypass = 'RfBypass';\nexport const ScanChannelsToggle = 'ScanChannelsToggle';\nexport const ScreenModeNext = 'ScreenModeNext';\nexport const Settings = 'Settings';\nexport const SplitScreenToggle = 'SplitScreenToggle';\nexport const STBInput = 'STBInput';\nexport const STBPower = 'STBPower';\nexport const Subtitle = 'Subtitle';\nexport const Teletext = 'Teletext';\nexport const VideoModeNext = 'VideoModeNext';\nexport const Wink = 'Wink';\nexport const ZoomToggle = 'ZoomToggle';\nexport const MediaNextTrack = 'MediaNextTrack';\nexport const MediaPreviousTrack = 'MediaPreviousTrack';\nexport const Unidentified = 'Unidentified';\n","import { DEFAULT_SHADOW_CONFIG } from './shadowConfig';\n/**\n * Sets the current RTL value.\n */\nexport function setRTL(isRTL) {\n if (_rtl !== isRTL) {\n _rtl = isRTL;\n }\n}\n/**\n * Gets the current RTL value.\n */\nexport function getRTL() {\n if (_rtl === undefined) {\n _rtl =\n // eslint-disable-next-line no-restricted-globals\n typeof document !== 'undefined' &&\n // eslint-disable-next-line no-restricted-globals\n !!document.documentElement &&\n // eslint-disable-next-line no-restricted-globals\n document.documentElement.getAttribute('dir') === 'rtl';\n }\n return _rtl;\n}\n// This has been split into 2 lines because it was working in Fabric due to the code being transpiled to es5, so this\n// was converted to var while not working in Fluent that uses babel to transpile the code to be es6-like. Splitting the\n// logic into two lines, however, allows it to work in both scenarios.\nvar _rtl;\n_rtl = getRTL();\nexport function getStyleOptions() {\n return {\n rtl: getRTL(),\n shadowConfig: DEFAULT_SHADOW_CONFIG,\n };\n}\n//# sourceMappingURL=StyleOptionsState.js.map","import { __assign } from \"tslib\";\nimport { GLOBAL_STYLESHEET_KEY, SHADOW_DOM_STYLESHEET_SETTING } from './shadowConfig';\nexport var InjectionMode = {\n /**\n * Avoids style injection, use getRules() to read the styles.\n */\n none: 0,\n /**\n * Inserts rules using the insertRule api.\n */\n insertNode: 1,\n /**\n * Appends rules using appendChild.\n */\n appendChild: 2,\n};\nexport var STYLESHEET_SETTING = '__stylesheet__';\n/**\n * MSIE 11 doesn't cascade styles based on DOM ordering, but rather on the order that each style node\n * is created. As such, to maintain consistent priority, IE11 should reuse a single style node.\n */\nvar REUSE_STYLE_NODE = typeof navigator !== 'undefined' && /rv:11.0/.test(navigator.userAgent);\nvar _global = {};\n// Grab window.\ntry {\n // Why the cast?\n // if compiled/type checked in same program with `@fluentui/font-icons-mdl2` which extends `Window` on global\n // ( check packages/font-icons-mdl2/src/index.ts ) the definitions don't match! Thus the need of this extra assertion\n _global = (window || {});\n}\ncatch (_a) {\n /* leave as blank object */\n}\nvar _stylesheet;\n/**\n * Represents the state of styles registered in the page. Abstracts\n * the surface for adding styles to the stylesheet, exposes helpers\n * for reading the styles registered in server rendered scenarios.\n *\n * @public\n */\nvar Stylesheet = /** @class */ (function () {\n function Stylesheet(config, serializedStylesheet) {\n var _a, _b, _c, _d, _e, _f;\n this._rules = [];\n this._preservedRules = [];\n this._counter = 0;\n this._keyToClassName = {};\n this._onInsertRuleCallbacks = [];\n this._onResetCallbacks = [];\n this._classNameToArgs = {};\n // If there is no document we won't have an element to inject into.\n this._config = __assign({ injectionMode: typeof document === 'undefined' ? InjectionMode.none : InjectionMode.insertNode, defaultPrefix: 'css', namespace: undefined, cspSettings: undefined }, config);\n this._classNameToArgs = (_a = serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.classNameToArgs) !== null && _a !== void 0 ? _a : this._classNameToArgs;\n this._counter = (_b = serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.counter) !== null && _b !== void 0 ? _b : this._counter;\n this._keyToClassName = (_d = (_c = this._config.classNameCache) !== null && _c !== void 0 ? _c : serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.keyToClassName) !== null && _d !== void 0 ? _d : this._keyToClassName;\n this._preservedRules = (_e = serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.preservedRules) !== null && _e !== void 0 ? _e : this._preservedRules;\n this._rules = (_f = serializedStylesheet === null || serializedStylesheet === void 0 ? void 0 : serializedStylesheet.rules) !== null && _f !== void 0 ? _f : this._rules;\n }\n /**\n * Gets the singleton instance.\n */\n Stylesheet.getInstance = function (shadowConfig) {\n _stylesheet = _global[STYLESHEET_SETTING];\n if (_global[SHADOW_DOM_STYLESHEET_SETTING]) {\n return _global[SHADOW_DOM_STYLESHEET_SETTING].getInstance(shadowConfig);\n }\n if (!_stylesheet || (_stylesheet._lastStyleElement && _stylesheet._lastStyleElement.ownerDocument !== document)) {\n var fabricConfig = (_global === null || _global === void 0 ? void 0 : _global.FabricConfig) || {};\n var stylesheet = new Stylesheet(fabricConfig.mergeStyles, fabricConfig.serializedStylesheet);\n _stylesheet = stylesheet;\n _global[STYLESHEET_SETTING] = stylesheet;\n }\n return _stylesheet;\n };\n /**\n * Serializes the Stylesheet instance into a format which allows rehydration on creation.\n * @returns string representation of `ISerializedStylesheet` interface.\n */\n Stylesheet.prototype.serialize = function () {\n return JSON.stringify({\n classNameToArgs: this._classNameToArgs,\n counter: this._counter,\n keyToClassName: this._keyToClassName,\n preservedRules: this._preservedRules,\n rules: this._rules,\n });\n };\n /**\n * Configures the stylesheet.\n */\n Stylesheet.prototype.setConfig = function (config) {\n this._config = __assign(__assign({}, this._config), config);\n };\n /**\n * Configures a reset callback.\n *\n * @param callback - A callback which will be called when the Stylesheet is reset.\n * @returns function which when called un-registers provided callback.\n */\n Stylesheet.prototype.onReset = function (callback) {\n var _this = this;\n this._onResetCallbacks.push(callback);\n return function () {\n _this._onResetCallbacks = _this._onResetCallbacks.filter(function (cb) { return cb !== callback; });\n };\n };\n /**\n * Configures an insert rule callback.\n *\n * @param callback - A callback which will be called when a rule is inserted.\n * @returns function which when called un-registers provided callback.\n */\n Stylesheet.prototype.onInsertRule = function (callback) {\n var _this = this;\n this._onInsertRuleCallbacks.push(callback);\n return function () {\n _this._onInsertRuleCallbacks = _this._onInsertRuleCallbacks.filter(function (cb) { return cb !== callback; });\n };\n };\n /**\n * Generates a unique classname.\n *\n * @param displayName - Optional value to use as a prefix.\n */\n Stylesheet.prototype.getClassName = function (displayName) {\n var namespace = this._config.namespace;\n var prefix = displayName || this._config.defaultPrefix;\n return \"\".concat(namespace ? namespace + '-' : '').concat(prefix, \"-\").concat(this._counter++);\n };\n /**\n * Used internally to cache information about a class which was\n * registered with the stylesheet.\n */\n Stylesheet.prototype.cacheClassName = function (className, key, args, rules) {\n this._keyToClassName[this._getCacheKey(key)] = className;\n this._classNameToArgs[className] = {\n args: args,\n rules: rules,\n };\n };\n /**\n * Gets the appropriate classname given a key which was previously\n * registered using cacheClassName.\n */\n Stylesheet.prototype.classNameFromKey = function (key) {\n return this._keyToClassName[this._getCacheKey(key)];\n };\n /**\n * Gets all classnames cache with the stylesheet.\n */\n Stylesheet.prototype.getClassNameCache = function () {\n return this._keyToClassName;\n };\n /**\n * Gets the arguments associated with a given classname which was\n * previously registered using cacheClassName.\n */\n Stylesheet.prototype.argsFromClassName = function (className) {\n var entry = this._classNameToArgs[className];\n return entry && entry.args;\n };\n /**\n * Gets the rules associated with a given classname which was\n * previously registered using cacheClassName.\n */\n Stylesheet.prototype.insertedRulesFromClassName = function (className) {\n var entry = this._classNameToArgs[className];\n return entry && entry.rules;\n };\n /**\n * Inserts a css rule into the stylesheet.\n * @param preserve - Preserves the rule beyond a reset boundary.\n */\n Stylesheet.prototype.insertRule = function (rule, preserve, stylesheetKey) {\n if (stylesheetKey === void 0) { stylesheetKey = GLOBAL_STYLESHEET_KEY; }\n var injectionMode = this._config.injectionMode;\n var element = injectionMode !== InjectionMode.none ? this._getStyleElement() : undefined;\n if (preserve) {\n this._preservedRules.push(rule);\n }\n if (element) {\n switch (injectionMode) {\n case InjectionMode.insertNode:\n this._insertRuleIntoSheet(element.sheet, rule);\n break;\n case InjectionMode.appendChild:\n element.appendChild(document.createTextNode(rule));\n break;\n }\n }\n else {\n this._rules.push(rule);\n }\n // eslint-disable-next-line deprecation/deprecation\n if (this._config.onInsertRule) {\n // eslint-disable-next-line deprecation/deprecation\n this._config.onInsertRule(rule);\n }\n this._onInsertRuleCallbacks.forEach(function (callback) {\n return callback({ key: stylesheetKey, sheet: (element ? element.sheet : undefined), rule: rule });\n });\n };\n /**\n * Gets all rules registered with the stylesheet; only valid when\n * using InsertionMode.none.\n */\n Stylesheet.prototype.getRules = function (includePreservedRules) {\n return (includePreservedRules ? this._preservedRules.join('') : '') + this._rules.join('');\n };\n /**\n * Resets the internal state of the stylesheet. Only used in server\n * rendered scenarios where we're using InsertionMode.none.\n */\n Stylesheet.prototype.reset = function () {\n this._rules = [];\n this._counter = 0;\n this._classNameToArgs = {};\n this._keyToClassName = {};\n this._onResetCallbacks.forEach(function (callback) { return callback(); });\n };\n // Forces the regeneration of incoming styles without totally resetting the stylesheet.\n Stylesheet.prototype.resetKeys = function () {\n this._keyToClassName = {};\n };\n Stylesheet.prototype._createStyleElement = function () {\n var _a;\n var doc = ((_a = this._config.window) === null || _a === void 0 ? void 0 : _a.document) || document;\n var head = doc.head;\n var styleElement = doc.createElement('style');\n var nodeToInsertBefore = null;\n styleElement.setAttribute('data-merge-styles', 'true');\n var cspSettings = this._config.cspSettings;\n if (cspSettings) {\n if (cspSettings.nonce) {\n styleElement.setAttribute('nonce', cspSettings.nonce);\n }\n }\n if (this._lastStyleElement) {\n // If the `nextElementSibling` is null, then the insertBefore will act as a regular append.\n // https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore#Syntax\n nodeToInsertBefore = this._lastStyleElement.nextElementSibling;\n }\n else {\n var placeholderStyleTag = this._findPlaceholderStyleTag();\n if (placeholderStyleTag) {\n nodeToInsertBefore = placeholderStyleTag.nextElementSibling;\n }\n else {\n nodeToInsertBefore = head.childNodes[0];\n }\n }\n head.insertBefore(styleElement, head.contains(nodeToInsertBefore) ? nodeToInsertBefore : null);\n this._lastStyleElement = styleElement;\n return styleElement;\n };\n Stylesheet.prototype._insertRuleIntoSheet = function (sheet, rule) {\n if (!sheet) {\n return false;\n }\n try {\n sheet.insertRule(rule, sheet.cssRules.length);\n return true;\n }\n catch (e) {\n // The browser will throw exceptions on unsupported rules (such as a moz prefix in webkit.)\n // We need to swallow the exceptions for this scenario, otherwise we'd need to filter\n // which could be slower and bulkier.\n }\n return false;\n };\n Stylesheet.prototype._getCacheKey = function (key) {\n return key;\n };\n Stylesheet.prototype._getStyleElement = function () {\n var _this = this;\n if (!this._styleElement) {\n this._styleElement = this._createStyleElement();\n if (!REUSE_STYLE_NODE) {\n // Reset the style element on the next frame.\n var win = this._config.window || window;\n win.requestAnimationFrame(function () {\n _this._styleElement = undefined;\n });\n }\n }\n return this._styleElement;\n };\n Stylesheet.prototype._findPlaceholderStyleTag = function () {\n var head = document.head;\n if (head) {\n return head.querySelector('style[data-merge-styles]');\n }\n return null;\n };\n return Stylesheet;\n}());\nexport { Stylesheet };\n//# sourceMappingURL=Stylesheet.js.map","import { __spreadArray } from \"tslib\";\nimport { isShadowConfig } from './shadowConfig';\n/**\n * Combine a set of styles together (but does not register css classes).\n * @param styleSets - One or more stylesets to be merged (each param can also be falsy).\n */\nexport function concatStyleSets() {\n var styleSets = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n styleSets[_i] = arguments[_i];\n }\n if (styleSets &&\n styleSets.length === 1 &&\n styleSets[0] &&\n !styleSets[0].subComponentStyles &&\n !isShadowConfig(styleSets[0])) {\n return styleSets[0];\n }\n var mergedSet = {};\n // We process sub component styles in two phases. First we collect them, then we combine them into 1 style function.\n var workingSubcomponentStyles = {};\n for (var _a = 0, styleSets_1 = styleSets; _a < styleSets_1.length; _a++) {\n var currentSet = styleSets_1[_a];\n if (currentSet && !isShadowConfig(currentSet)) {\n for (var prop in currentSet) {\n if (currentSet.hasOwnProperty(prop)) {\n if (prop === 'subComponentStyles' && currentSet.subComponentStyles !== undefined) {\n // subcomponent styles - style functions or objects\n var currentComponentStyles = currentSet.subComponentStyles;\n for (var subCompProp in currentComponentStyles) {\n if (currentComponentStyles.hasOwnProperty(subCompProp)) {\n if (workingSubcomponentStyles.hasOwnProperty(subCompProp)) {\n workingSubcomponentStyles[subCompProp].push(currentComponentStyles[subCompProp]);\n }\n else {\n workingSubcomponentStyles[subCompProp] = [currentComponentStyles[subCompProp]];\n }\n }\n }\n continue;\n }\n // the as any casts below is a workaround for ts 2.8.\n // todo: remove cast to any in ts 2.9.\n var mergedValue = mergedSet[prop];\n var currentValue = currentSet[prop];\n if (mergedValue === undefined) {\n mergedSet[prop] = currentValue;\n }\n else {\n mergedSet[prop] = __spreadArray(__spreadArray([], (Array.isArray(mergedValue) ? mergedValue : [mergedValue]), true), (Array.isArray(currentValue) ? currentValue : [currentValue]), true);\n }\n }\n }\n }\n }\n if (Object.keys(workingSubcomponentStyles).length > 0) {\n mergedSet.subComponentStyles = {};\n var mergedSubStyles = mergedSet.subComponentStyles;\n var _loop_1 = function (subCompProp) {\n if (workingSubcomponentStyles.hasOwnProperty(subCompProp)) {\n var workingSet_1 = workingSubcomponentStyles[subCompProp];\n mergedSubStyles[subCompProp] = function (styleProps) {\n return concatStyleSets.apply(void 0, workingSet_1.map(function (styleFunctionOrObject) {\n return typeof styleFunctionOrObject === 'function' ? styleFunctionOrObject(styleProps) : styleFunctionOrObject;\n }));\n };\n }\n };\n // now we process the subcomponent styles if there are any\n for (var subCompProp in workingSubcomponentStyles) {\n _loop_1(subCompProp);\n }\n }\n return mergedSet;\n}\n//# sourceMappingURL=concatStyleSets.js.map","import { concatStyleSets } from './concatStyleSets';\n/**\n * Concatenates style sets into one, but resolves functional sets using the given props.\n * @param styleProps - Props used to resolve functional sets.\n * @param allStyles - Style sets, which can be functions or objects.\n */\nexport function concatStyleSetsWithProps(styleProps) {\n var allStyles = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n allStyles[_i - 1] = arguments[_i];\n }\n var result = [];\n for (var _a = 0, allStyles_1 = allStyles; _a < allStyles_1.length; _a++) {\n var styles = allStyles_1[_a];\n if (styles) {\n result.push(typeof styles === 'function' ? styles(styleProps) : styles);\n }\n }\n if (result.length === 1) {\n return result[0];\n }\n else if (result.length) {\n // cliffkoh: I cannot figure out how to avoid the cast to any here.\n // It is something to do with the use of Omit in IStyleSet.\n // It might not be necessary once Omit becomes part of lib.d.ts (when we remove our own Omit and rely on\n // the official version).\n return concatStyleSets.apply(void 0, result);\n }\n return {};\n}\n//# sourceMappingURL=concatStyleSetsWithProps.js.map","import { isShadowConfig } from './shadowConfig';\n/**\n * Separates the classes and style objects. Any classes that are pre-registered\n * args are auto expanded into objects.\n */\nexport function extractStyleParts(sheet) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var classes = [];\n var objects = [];\n var stylesheet = sheet;\n function _processArgs(argsList) {\n for (var _i = 0, argsList_1 = argsList; _i < argsList_1.length; _i++) {\n var arg = argsList_1[_i];\n if (arg && !isShadowConfig(arg)) {\n if (typeof arg === 'string') {\n if (arg.indexOf(' ') >= 0) {\n _processArgs(arg.split(' '));\n }\n else {\n var translatedArgs = stylesheet.argsFromClassName(arg);\n if (translatedArgs) {\n _processArgs(translatedArgs);\n }\n else {\n // Avoid adding the same class twice.\n if (classes.indexOf(arg) === -1) {\n classes.push(arg);\n }\n }\n }\n }\n else if (Array.isArray(arg)) {\n _processArgs(arg);\n }\n else if (typeof arg === 'object') {\n objects.push(arg);\n }\n }\n }\n }\n _processArgs(args);\n return {\n classes: classes,\n objects: objects,\n };\n}\n//# sourceMappingURL=extractStyleParts.js.map","import { getStyleOptions } from './StyleOptionsState';\nimport { Stylesheet } from './Stylesheet';\nimport { serializeRuleEntries } from './styleToClassName';\n/**\n * Registers a font face.\n * @public\n */\nexport function fontFace(font) {\n var stylesheet = Stylesheet.getInstance();\n var rule = serializeRuleEntries(getStyleOptions(), font);\n var className = stylesheet.classNameFromKey(rule);\n if (className) {\n return;\n }\n var name = stylesheet.getClassName();\n stylesheet.insertRule(\"@font-face{\".concat(rule, \"}\"), true);\n stylesheet.cacheClassName(name, rule, [], ['font-face', rule]);\n}\n//# sourceMappingURL=fontFace.js.map","import { getStyleOptions } from './StyleOptionsState';\nimport { Stylesheet } from './Stylesheet';\nimport { serializeRuleEntries } from './styleToClassName';\n/**\n * Registers keyframe definitions.\n *\n * @public\n */\nexport function keyframes(timeline) {\n var stylesheet = Stylesheet.getInstance();\n var rulesArray = [];\n for (var prop in timeline) {\n if (timeline.hasOwnProperty(prop)) {\n rulesArray.push(prop, '{', serializeRuleEntries(getStyleOptions(), timeline[prop]), '}');\n }\n }\n var rules = rulesArray.join('');\n var className = stylesheet.classNameFromKey(rules);\n if (className) {\n return className;\n }\n var name = stylesheet.getClassName();\n stylesheet.insertRule(\"@keyframes \".concat(name, \"{\").concat(rules, \"}\"), true);\n stylesheet.cacheClassName(name, rules, [], ['keyframes', rules]);\n return name;\n}\n//# sourceMappingURL=keyframes.js.map","import { __assign } from \"tslib\";\nimport { concatStyleSets } from './concatStyleSets';\nimport { extractStyleParts } from './extractStyleParts';\nimport { getStyleOptions } from './StyleOptionsState';\nimport { applyRegistration, styleToRegistration } from './styleToClassName';\nimport { isShadowConfig } from './shadowConfig';\nimport { Stylesheet } from './Stylesheet';\n/**\n * Takes in one or more style set objects, each consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeStyles` for each property in the object, but ensures we maintain the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n */\nexport function mergeStyleSets() {\n var styleSets = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n styleSets[_i] = arguments[_i];\n }\n return mergeCssSets(styleSets, getStyleOptions());\n}\n/**\n * Takes in one or more style set objects, each1consisting of a set of areas,\n * each which will produce a class name. Using this is analogous to calling\n * `mergeCss` for each property in the object, but ensures the\n * set ordering when multiple style sets are merged.\n *\n * @param styleSets - One or more style sets to be merged.\n * @param options - (optional) Options to use when creating rules.\n */\nexport function mergeCssSets(styleSets, options) {\n var classNameSet = { subComponentStyles: {} };\n var shadowConfig = undefined;\n var styleSet;\n if (isShadowConfig(styleSets[0])) {\n shadowConfig = styleSets[0];\n styleSet = styleSets[1];\n }\n else {\n styleSet = styleSets[0];\n }\n shadowConfig !== null && shadowConfig !== void 0 ? shadowConfig : (shadowConfig = options === null || options === void 0 ? void 0 : options.shadowConfig);\n var opts = __assign(__assign({}, options), { shadowConfig: shadowConfig });\n if (!styleSet && styleSets.length <= 1) {\n return { subComponentStyles: {} };\n }\n var sheet = Stylesheet.getInstance(shadowConfig);\n opts.stylesheet = sheet;\n var concatenatedStyleSet = concatStyleSets.apply(void 0, styleSets);\n var registrations = [];\n for (var styleSetArea in concatenatedStyleSet) {\n if (concatenatedStyleSet.hasOwnProperty(styleSetArea)) {\n if (styleSetArea === 'subComponentStyles') {\n classNameSet.subComponentStyles = concatenatedStyleSet.subComponentStyles || {};\n continue;\n }\n else if (styleSetArea === '__shadowConfig__') {\n continue;\n }\n var styles = concatenatedStyleSet[styleSetArea];\n var _a = extractStyleParts(sheet, styles), classes = _a.classes, objects = _a.objects;\n if (objects === null || objects === void 0 ? void 0 : objects.length) {\n var registration = styleToRegistration(opts || {}, { displayName: styleSetArea }, objects);\n if (registration) {\n registrations.push(registration);\n classNameSet[styleSetArea] = classes.concat([registration.className]).join(' ');\n }\n }\n else {\n classNameSet[styleSetArea] = classes.join(' ');\n }\n }\n }\n for (var _i = 0, registrations_1 = registrations; _i < registrations_1.length; _i++) {\n var registration = registrations_1[_i];\n if (registration) {\n applyRegistration(registration, options === null || options === void 0 ? void 0 : options.specificityMultiplier, shadowConfig);\n }\n }\n return classNameSet;\n}\n//# sourceMappingURL=mergeStyleSets.js.map","import { extractStyleParts } from './extractStyleParts';\nimport { isShadowConfig } from './shadowConfig';\nimport { getStyleOptions } from './StyleOptionsState';\nimport { Stylesheet } from './Stylesheet';\nimport { styleToClassName } from './styleToClassName';\n/**\n * Concatenation helper, which can merge class names together. Skips over falsey values.\n *\n * @public\n */\nexport function mergeStyles() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return mergeCss(args, getStyleOptions());\n}\n/**\n * Concatenation helper, which can merge class names together. Skips over falsey values.\n * Accepts a set of options that will be used when calculating styles.\n *\n * @public\n */\nexport function mergeCss(args, options) {\n var styleArgs = args instanceof Array ? args : [args];\n var opts = options || {};\n var hasShadowConfig = isShadowConfig(styleArgs[0]);\n if (hasShadowConfig) {\n opts.shadowConfig = styleArgs[0];\n }\n opts.stylesheet = Stylesheet.getInstance(opts.shadowConfig);\n var _a = extractStyleParts(opts.stylesheet, styleArgs), classes = _a.classes, objects = _a.objects;\n if (objects.length) {\n classes.push(styleToClassName(opts, objects));\n }\n return classes.join(' ');\n}\n//# sourceMappingURL=mergeStyles.js.map","export var GLOBAL_STYLESHEET_KEY = '__global__';\nexport var SHADOW_DOM_STYLESHEET_SETTING = '__shadow_dom_stylesheet__';\nexport var DEFAULT_SHADOW_CONFIG = {\n stylesheetKey: GLOBAL_STYLESHEET_KEY,\n inShadow: false,\n window: undefined,\n __isShadowConfig__: true,\n};\nexport var makeShadowConfig = function (stylesheetKey, inShadow, window) {\n return {\n stylesheetKey: stylesheetKey,\n inShadow: inShadow,\n window: window,\n __isShadowConfig__: true,\n };\n};\nexport var isShadowConfig = function (value) {\n if (!(value && isRecord(value))) {\n return false;\n }\n return value.__isShadowConfig__ === true;\n};\nfunction isRecord(value) {\n return value !== null && typeof value === 'object' && !Array.isArray(value);\n}\n//# sourceMappingURL=shadowConfig.js.map","var _vendorSettings;\nexport function getVendorSettings() {\n var _a;\n if (!_vendorSettings) {\n // eslint-disable-next-line no-restricted-globals\n var doc = typeof document !== 'undefined' ? document : undefined;\n var nav = typeof navigator !== 'undefined' ? navigator : undefined;\n var userAgent = (_a = nav === null || nav === void 0 ? void 0 : nav.userAgent) === null || _a === void 0 ? void 0 : _a.toLowerCase();\n if (!doc) {\n _vendorSettings = {\n isWebkit: true,\n isMoz: true,\n isOpera: true,\n isMs: true,\n };\n }\n else {\n _vendorSettings = {\n isWebkit: !!(doc && 'WebkitAppearance' in doc.documentElement.style),\n isMoz: !!(userAgent && userAgent.indexOf('firefox') > -1),\n isOpera: !!(userAgent && userAgent.indexOf('opera') > -1),\n isMs: !!(nav && (/rv:11.0/i.test(nav.userAgent) || /Edge\\/\\d./i.test(navigator.userAgent))),\n };\n }\n }\n return _vendorSettings;\n}\n/**\n * Sets the vendor settings for prefixing and vendor specific operations.\n */\nexport function setVendorSettings(vendorSettings) {\n _vendorSettings = vendorSettings;\n}\n//# sourceMappingURL=getVendorSettings.js.map","var rules = {};\nexport function kebabRules(rulePairs, index) {\n var rule = rulePairs[index];\n if (rule.charAt(0) !== '-') {\n rulePairs[index] = rules[rule] = rules[rule] || rule.replace(/([A-Z])/g, '-$1').toLowerCase();\n }\n}\n//# sourceMappingURL=kebabRules.js.map","import { getVendorSettings } from '../getVendorSettings';\nvar autoPrefixNames = {\n 'user-select': 1,\n};\nexport function prefixRules(rulePairs, index) {\n var vendorSettings = getVendorSettings();\n var name = rulePairs[index];\n if (autoPrefixNames[name]) {\n var value = rulePairs[index + 1];\n if (autoPrefixNames[name]) {\n if (vendorSettings.isWebkit) {\n rulePairs.push('-webkit-' + name, value);\n }\n if (vendorSettings.isMoz) {\n rulePairs.push('-moz-' + name, value);\n }\n if (vendorSettings.isMs) {\n rulePairs.push('-ms-' + name, value);\n }\n if (vendorSettings.isOpera) {\n rulePairs.push('-o-' + name, value);\n }\n }\n }\n}\n//# sourceMappingURL=prefixRules.js.map","var NON_PIXEL_NUMBER_PROPS = [\n 'column-count',\n 'font-weight',\n 'flex',\n 'flex-grow',\n 'flex-shrink',\n 'fill-opacity',\n 'opacity',\n 'order',\n 'z-index',\n 'zoom',\n];\nexport function provideUnits(rulePairs, index) {\n var name = rulePairs[index];\n var value = rulePairs[index + 1];\n if (typeof value === 'number') {\n var isNonPixelProp = NON_PIXEL_NUMBER_PROPS.indexOf(name) > -1;\n var isVariableOrPrefixed = name.indexOf('--') > -1;\n var unit = isNonPixelProp || isVariableOrPrefixed ? '' : 'px';\n rulePairs[index + 1] = \"\".concat(value).concat(unit);\n }\n}\n//# sourceMappingURL=provideUnits.js.map","var _a;\nvar LEFT = 'left';\nvar RIGHT = 'right';\nvar NO_FLIP = '@noflip';\nvar NAME_REPLACEMENTS = (_a = {},\n _a[LEFT] = RIGHT,\n _a[RIGHT] = LEFT,\n _a);\nvar VALUE_REPLACEMENTS = {\n 'w-resize': 'e-resize',\n 'sw-resize': 'se-resize',\n 'nw-resize': 'ne-resize',\n};\n/**\n * RTLifies the rulePair in the array at the current index. This mutates the array for performance\n * reasons.\n */\nexport function rtlifyRules(options, rulePairs, index) {\n if (options.rtl) {\n var name_1 = rulePairs[index];\n if (!name_1) {\n return;\n }\n var value = rulePairs[index + 1];\n if (typeof value === 'string' && value.indexOf(NO_FLIP) >= 0) {\n rulePairs[index + 1] = value.replace(/\\s*(?:\\/\\*\\s*)?\\@noflip\\b(?:\\s*\\*\\/)?\\s*?/g, '');\n }\n else if (name_1.indexOf(LEFT) >= 0) {\n rulePairs[index] = name_1.replace(LEFT, RIGHT);\n }\n else if (name_1.indexOf(RIGHT) >= 0) {\n rulePairs[index] = name_1.replace(RIGHT, LEFT);\n }\n else if (String(value).indexOf(LEFT) >= 0) {\n rulePairs[index + 1] = value.replace(LEFT, RIGHT);\n }\n else if (String(value).indexOf(RIGHT) >= 0) {\n rulePairs[index + 1] = value.replace(RIGHT, LEFT);\n }\n else if (NAME_REPLACEMENTS[name_1]) {\n rulePairs[index] = NAME_REPLACEMENTS[name_1];\n }\n else if (VALUE_REPLACEMENTS[value]) {\n rulePairs[index + 1] = VALUE_REPLACEMENTS[value];\n }\n else {\n switch (name_1) {\n case 'margin':\n case 'padding':\n rulePairs[index + 1] = flipQuad(value);\n break;\n case 'box-shadow':\n rulePairs[index + 1] = negateNum(value, 0);\n break;\n }\n }\n }\n}\n/**\n * Given a string value in a space delimited format (e.g. \"1 2 3 4\"), negates a particular value.\n */\nfunction negateNum(value, partIndex) {\n var parts = value.split(' ');\n var numberVal = parseInt(parts[partIndex], 10);\n parts[0] = parts[0].replace(String(numberVal), String(numberVal * -1));\n return parts.join(' ');\n}\n/**\n * Given a string quad, flips the left and right values.\n */\nfunction flipQuad(value) {\n if (typeof value === 'string') {\n var parts = value.split(' ');\n if (parts.length === 4) {\n return \"\".concat(parts[0], \" \").concat(parts[3], \" \").concat(parts[2], \" \").concat(parts[1]);\n }\n }\n return value;\n}\n//# sourceMappingURL=rtlifyRules.js.map","import { __spreadArray } from \"tslib\";\nimport { Stylesheet } from './Stylesheet';\nimport { kebabRules } from './transforms/kebabRules';\nimport { prefixRules } from './transforms/prefixRules';\nimport { provideUnits } from './transforms/provideUnits';\nimport { rtlifyRules } from './transforms/rtlifyRules';\nimport { tokenizeWithParentheses } from './tokenizeWithParentheses';\nvar DISPLAY_NAME = 'displayName';\nfunction getDisplayName(rules) {\n var rootStyle = rules && rules['&'];\n return rootStyle ? rootStyle.displayName : undefined;\n}\nvar globalSelectorRegExp = /\\:global\\((.+?)\\)/g;\n/**\n * Finds comma separated selectors in a :global() e.g. \":global(.class1, .class2, .class3)\"\n * and wraps them each in their own global \":global(.class1), :global(.class2), :global(.class3)\"\n *\n * @param selectorWithGlobals The selector to process\n * @returns The updated selector\n */\nfunction expandCommaSeparatedGlobals(selectorWithGlobals) {\n // We the selector does not have a :global() we can shortcut\n if (!globalSelectorRegExp.test(selectorWithGlobals)) {\n return selectorWithGlobals;\n }\n var replacementInfo = [];\n var findGlobal = /\\:global\\((.+?)\\)/g;\n var match = null;\n // Create a result list for global selectors so we can replace them.\n while ((match = findGlobal.exec(selectorWithGlobals))) {\n // Only if the found selector is a comma separated list we'll process it.\n if (match[1].indexOf(',') > -1) {\n replacementInfo.push([\n match.index,\n match.index + match[0].length,\n // Wrap each of the found selectors in :global()\n match[1]\n .split(',')\n .map(function (v) { return \":global(\".concat(v.trim(), \")\"); })\n .join(', '),\n ]);\n }\n }\n // Replace the found selectors with their wrapped variants in reverse order\n return replacementInfo\n .reverse()\n .reduce(function (selector, _a) {\n var matchIndex = _a[0], matchEndIndex = _a[1], replacement = _a[2];\n var prefix = selector.slice(0, matchIndex);\n var suffix = selector.slice(matchEndIndex);\n return prefix + replacement + suffix;\n }, selectorWithGlobals);\n}\nfunction isSelector(potentialSelector) {\n return potentialSelector.indexOf(':global(') >= 0 || potentialSelector.indexOf(':') === 0;\n}\nfunction expandSelector(newSelector, currentSelector) {\n if (newSelector.indexOf(':global(') >= 0) {\n return newSelector.replace(globalSelectorRegExp, '$1');\n }\n else if (newSelector.indexOf(':host(') === 0) {\n return newSelector;\n }\n else if (newSelector.indexOf(':') === 0) {\n return currentSelector + newSelector;\n }\n else if (newSelector.indexOf('&') < 0) {\n return currentSelector + ' ' + newSelector;\n }\n return newSelector;\n}\nfunction extractSelector(currentSelector, rules, selector, value, stylesheet) {\n if (rules === void 0) { rules = { __order: [] }; }\n if (selector.indexOf('@') === 0) {\n selector = selector + '{' + currentSelector;\n extractRules([value], rules, selector, stylesheet);\n }\n else if (selector.indexOf(',') > -1) {\n expandCommaSeparatedGlobals(selector)\n .split(',')\n .map(function (s) { return s.trim(); })\n .forEach(function (separatedSelector) {\n return extractRules([value], rules, expandSelector(separatedSelector, currentSelector), stylesheet);\n });\n }\n else {\n extractRules([value], rules, expandSelector(selector, currentSelector), stylesheet);\n }\n}\nfunction extractRules(args, rules, currentSelector, stylesheet) {\n if (rules === void 0) { rules = { __order: [] }; }\n if (currentSelector === void 0) { currentSelector = '&'; }\n var currentRules = rules[currentSelector];\n if (!currentRules) {\n currentRules = {};\n rules[currentSelector] = currentRules;\n rules.__order.push(currentSelector);\n }\n for (var _i = 0, args_1 = args; _i < args_1.length; _i++) {\n var arg = args_1[_i];\n // If the arg is a string, we need to look up the class map and merge.\n if (typeof arg === 'string') {\n var expandedRules = stylesheet.argsFromClassName(arg);\n if (expandedRules) {\n extractRules(expandedRules, rules, currentSelector, stylesheet);\n }\n // Else if the arg is an array, we need to recurse in.\n }\n else if (Array.isArray(arg)) {\n extractRules(arg, rules, currentSelector, stylesheet);\n }\n else {\n for (var prop in arg) {\n if (arg.hasOwnProperty(prop)) {\n var propValue = arg[prop];\n if (prop === 'selectors') {\n // every child is a selector.\n var selectors = arg.selectors;\n for (var newSelector in selectors) {\n if (selectors.hasOwnProperty(newSelector)) {\n extractSelector(currentSelector, rules, newSelector, selectors[newSelector], stylesheet);\n }\n }\n }\n else if (typeof propValue === 'object' || isSelector(prop)) {\n // prop is a selector.\n if (propValue !== null && propValue !== undefined) {\n extractSelector(currentSelector, rules, prop, propValue, stylesheet);\n }\n }\n else {\n if (propValue !== undefined) {\n // Else, add the rule to the currentSelector.\n if (prop === 'margin' || prop === 'padding') {\n expandQuads(currentRules, prop, propValue);\n }\n else {\n currentRules[prop] = propValue;\n }\n }\n }\n }\n }\n }\n }\n return rules;\n}\nfunction expandQuads(currentRules, name, value) {\n var parts = typeof value === 'string' ? tokenizeWithParentheses(value) : [value];\n if (parts.length === 0) {\n parts.push(value);\n }\n if (parts[parts.length - 1] === '!important') {\n // Remove !important from parts, and append it to each part individually\n parts = parts.slice(0, -1).map(function (p) { return p + ' !important'; });\n }\n currentRules[name + 'Top'] = parts[0];\n currentRules[name + 'Right'] = parts[1] || parts[0];\n currentRules[name + 'Bottom'] = parts[2] || parts[0];\n currentRules[name + 'Left'] = parts[3] || parts[1] || parts[0];\n}\nfunction getKeyForRules(options, rules) {\n var serialized = [options.rtl ? 'rtl' : 'ltr'];\n var hasProps = false;\n for (var _i = 0, _a = rules.__order; _i < _a.length; _i++) {\n var selector = _a[_i];\n serialized.push(selector);\n var rulesForSelector = rules[selector];\n for (var propName in rulesForSelector) {\n if (rulesForSelector.hasOwnProperty(propName) && rulesForSelector[propName] !== undefined) {\n hasProps = true;\n serialized.push(propName, rulesForSelector[propName]);\n }\n }\n }\n return hasProps ? serialized.join('') : undefined;\n}\nfunction repeatString(target, count) {\n if (count <= 0) {\n return '';\n }\n if (count === 1) {\n return target;\n }\n return target + repeatString(target, count - 1);\n}\nexport function serializeRuleEntries(options, ruleEntries) {\n if (!ruleEntries) {\n return '';\n }\n var allEntries = [];\n for (var entry in ruleEntries) {\n if (ruleEntries.hasOwnProperty(entry) && entry !== DISPLAY_NAME && ruleEntries[entry] !== undefined) {\n allEntries.push(entry, ruleEntries[entry]);\n }\n }\n // Apply transforms.\n for (var i = 0; i < allEntries.length; i += 2) {\n kebabRules(allEntries, i);\n provideUnits(allEntries, i);\n rtlifyRules(options, allEntries, i);\n prefixRules(allEntries, i);\n }\n // Apply punctuation.\n for (var i = 1; i < allEntries.length; i += 4) {\n allEntries.splice(i, 1, ':', allEntries[i], ';');\n }\n return allEntries.join('');\n}\nexport function styleToRegistration(options) {\n var _a;\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var stylesheet = (_a = options.stylesheet) !== null && _a !== void 0 ? _a : Stylesheet.getInstance(options.shadowConfig);\n var rules = extractRules(args, undefined, undefined, stylesheet);\n var key = getKeyForRules(options, rules);\n if (key) {\n var registration = {\n className: stylesheet.classNameFromKey(key),\n key: key,\n args: args,\n };\n if (!registration.className) {\n registration.className = stylesheet.getClassName(getDisplayName(rules));\n var rulesToInsert = [];\n for (var _b = 0, _c = rules.__order; _b < _c.length; _b++) {\n var selector = _c[_b];\n rulesToInsert.push(selector, serializeRuleEntries(options, rules[selector]));\n }\n registration.rulesToInsert = rulesToInsert;\n }\n return registration;\n }\n return undefined;\n}\n/**\n * Insert style to stylesheet.\n * @param registration Style registration.\n * @param specificityMultiplier Number of times classname selector is repeated in the css rule.\n * This is to increase css specificity in case it's needed. Default to 1.\n */\nexport function applyRegistration(registration, specificityMultiplier, shadowConfig, sheet) {\n if (specificityMultiplier === void 0) { specificityMultiplier = 1; }\n var stylesheet = sheet !== null && sheet !== void 0 ? sheet : Stylesheet.getInstance(shadowConfig);\n var className = registration.className, key = registration.key, args = registration.args, rulesToInsert = registration.rulesToInsert;\n if (rulesToInsert) {\n // rulesToInsert is an ordered array of selector/rule pairs.\n for (var i = 0; i < rulesToInsert.length; i += 2) {\n var rules = rulesToInsert[i + 1];\n if (rules) {\n var selector = rulesToInsert[i];\n selector = selector.replace(/&/g, repeatString(\".\".concat(registration.className), specificityMultiplier));\n // Insert. Note if a media query, we must close the query with a final bracket.\n var processedRule = \"\".concat(selector, \"{\").concat(rules, \"}\").concat(selector.indexOf('@') === 0 ? '}' : '');\n stylesheet.insertRule(processedRule);\n }\n }\n stylesheet.cacheClassName(className, key, args, rulesToInsert);\n }\n}\nexport function styleToClassName(options) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var registration = styleToRegistration.apply(void 0, __spreadArray([options], args, false));\n if (registration) {\n applyRegistration(registration, options.specificityMultiplier, options.shadowConfig, options.stylesheet);\n return registration.className;\n }\n return '';\n}\n//# sourceMappingURL=styleToClassName.js.map","/**\n * Split a string into tokens separated by whitespace, except all text within parentheses\n * is treated as a single token (whitespace is ignored within parentheses).\n *\n * Unlike String.split(' '), multiple consecutive space characters are collapsed and\n * removed from the returned array (including leading and trailing spaces).\n *\n * For example:\n * `tokenizeWithParentheses(\"3px calc(var(--x) / 2) 9px 0 \")`\n * => `[\"3px\", \"calc(var(--x) / 2)\", \"9px\", \"0\"]`\n *\n * @returns The array of tokens. Returns an empty array if the string was empty or contained only whitespace.\n */\nexport function tokenizeWithParentheses(value) {\n var parts = [];\n var partStart = 0;\n var parens = 0;\n for (var i = 0; i < value.length; i++) {\n switch (value[i]) {\n case '(':\n parens++;\n break;\n case ')':\n if (parens) {\n parens--;\n }\n break;\n case '\\t':\n case ' ':\n if (!parens) {\n // Add the new part if it's not an empty string\n if (i > partStart) {\n parts.push(value.substring(partStart, i));\n }\n partStart = i + 1;\n }\n break;\n }\n }\n // Add the last part\n if (partStart < value.length) {\n parts.push(value.substring(partStart));\n }\n return parts;\n}\n//# sourceMappingURL=tokenizeWithParentheses.js.map"],"names":["Enter","Space","Tab","ArrowDown","ArrowLeft","ArrowRight","Escape","_rtl","setRTL","isRTL","getRTL","undefined","document","documentElement","getAttribute","getStyleOptions","rtl","shadowConfig","_stylesheet","InjectionMode","STYLESHEET_SETTING","REUSE_STYLE_NODE","navigator","test","userAgent","_global","window","_a","Stylesheet","config","serializedStylesheet","_b","_c","_d","_e","_f","this","_rules","_preservedRules","_counter","_keyToClassName","_onInsertRuleCallbacks","_onResetCallbacks","_classNameToArgs","_config","injectionMode","defaultPrefix","namespace","cspSettings","classNameToArgs","counter","classNameCache","keyToClassName","preservedRules","rules","getInstance","_lastStyleElement","ownerDocument","fabricConfig","FabricConfig","stylesheet","mergeStyles","prototype","serialize","JSON","stringify","setConfig","onReset","callback","_this","push","filter","cb","onInsertRule","getClassName","displayName","prefix","concat","cacheClassName","className","key","args","_getCacheKey","classNameFromKey","getClassNameCache","argsFromClassName","entry","insertedRulesFromClassName","insertRule","rule","preserve","stylesheetKey","element","_getStyleElement","_insertRuleIntoSheet","sheet","appendChild","createTextNode","forEach","getRules","includePreservedRules","join","reset","resetKeys","_createStyleElement","doc","head","styleElement","createElement","nodeToInsertBefore","setAttribute","nonce","nextElementSibling","placeholderStyleTag","_findPlaceholderStyleTag","childNodes","insertBefore","contains","cssRules","length","e","_styleElement","requestAnimationFrame","querySelector","concatStyleSets","styleSets","_i","arguments","subComponentStyles","mergedSet","workingSubcomponentStyles","styleSets_1","currentSet","prop","hasOwnProperty","currentComponentStyles","subCompProp","mergedValue","currentValue","Array","isArray","Object","keys","mergedSubStyles","_loop_1","workingSet_1","styleProps","apply","map","styleFunctionOrObject","concatStyleSetsWithProps","allStyles","result","allStyles_1","styles","extractStyleParts","classes","objects","_processArgs","argsList","argsList_1","arg","indexOf","split","translatedArgs","fontFace","font","name","keyframes","timeline","rulesArray","mergeStyleSets","mergeCssSets","options","styleSet","classNameSet","opts","concatenatedStyleSet","registrations","styleSetArea","registration","registrations_1","specificityMultiplier","mergeCss","styleArgs","GLOBAL_STYLESHEET_KEY","SHADOW_DOM_STYLESHEET_SETTING","DEFAULT_SHADOW_CONFIG","inShadow","__isShadowConfig__","makeShadowConfig","isShadowConfig","value","isRecord","_vendorSettings","autoPrefixNames","prefixRules","rulePairs","index","vendorSettings","nav","toLowerCase","isWebkit","style","isMoz","isOpera","isMs","getVendorSettings","NON_PIXEL_NUMBER_PROPS","provideUnits","isNonPixelProp","isVariableOrPrefixed","unit","LEFT","RIGHT","NO_FLIP","NAME_REPLACEMENTS","VALUE_REPLACEMENTS","rtlifyRules","name_1","replace","String","parts","flipQuad","partIndex","numberVal","parseInt","negateNum","DISPLAY_NAME","globalSelectorRegExp","expandSelector","newSelector","currentSelector","extractSelector","selector","__order","extractRules","selectorWithGlobals","replacementInfo","findGlobal","match","exec","v","trim","reverse","reduce","matchIndex","matchEndIndex","replacement","slice","expandCommaSeparatedGlobals","s","separatedSelector","potentialSelector","currentRules","args_1","expandedRules","propValue","selectors","expandQuads","partStart","parens","i","substring","tokenizeWithParentheses","p","repeatString","target","count","serializeRuleEntries","ruleEntries","allEntries","charAt","splice","styleToRegistration","serialized","hasProps","rulesForSelector","propName","getKeyForRules","rootStyle","getDisplayName","rulesToInsert","applyRegistration","processedRule","styleToClassName"],"sourceRoot":""}