Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluentui/merge-styles

Package Overview
Dependencies
Maintainers
14
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/merge-styles - npm Package Compare versions

Comparing version 8.5.3 to 8.5.4

13

CHANGELOG.md
# Change Log - @fluentui/merge-styles
This log was last generated on Mon, 08 Aug 2022 07:37:34 GMT and should not be manually modified.
This log was last generated on Wed, 09 Nov 2022 07:46:11 GMT and should not be manually modified.
<!-- Start content -->
## [8.5.4](https://github.com/microsoft/fluentui/tree/@fluentui/merge-styles_v8.5.4)
Wed, 09 Nov 2022 07:46:11 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/merge-styles_v8.5.3..@fluentui/merge-styles_v8.5.4)
### Patches
- Bump @fluentui/set-version to v8.2.3 ([PR #25564](https://github.com/microsoft/fluentui/pull/25564) by beachball)
## [8.5.3](https://github.com/microsoft/fluentui/tree/@fluentui/merge-styles_v8.5.3)
Mon, 08 Aug 2022 07:37:34 GMT
Mon, 08 Aug 2022 07:39:33 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/merge-styles_v8.5.2..@fluentui/merge-styles_v8.5.3)

@@ -11,0 +20,0 @@

3

dist/merge-styles.js

@@ -1,2 +0,1 @@

var MergeStyles;!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{InjectionMode:function(){return i},Stylesheet:function(){return u},concatStyleSets:function(){return W},concatStyleSetsWithProps:function(){return B},fontFace:function(){return $},keyframes:function(){return D},mergeCss:function(){return K},mergeCssSets:function(){return q},mergeStyleSets:function(){return L},mergeStyles:function(){return F},setRTL:function(){return f}});var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},n.apply(this,arguments)};function r(e,t,n){if(n||2===arguments.length)for(var r,s=0,i=t.length;s<i;s++)!r&&s in t||(r||(r=Array.prototype.slice.call(t,0,s)),r[s]=t[s]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var s,i={none:0,insertNode:1,appendChild:2},o="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),a={};try{a=window||{}}catch(m){}var l,u=function(){function e(e,t){var r,s,o,a,l,u;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=n({injectionMode:"undefined"==typeof document?i.none:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(r=null==t?void 0:t.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(s=null==t?void 0:t.counter)&&void 0!==s?s:this._counter,this._keyToClassName=null!==(a=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(l=null==t?void 0:t.preservedRules)&&void 0!==l?l:this._preservedRules,this._rules=null!==(u=null==t?void 0:t.rules)&&void 0!==u?u:this._rules}return e.getInstance=function(){if(!(s=a.__stylesheet__)||s._lastStyleElement&&s._lastStyleElement.ownerDocument!==document){var t=(null==a?void 0:a.FabricConfig)||{},n=new e(t.mergeStyles,t.serializedStylesheet);s=n,a.__stylesheet__=n}return s},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=n(n({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode,r=n!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(n){case i.insertNode:var s=r.sheet;try{s.insertRule(e,s.cssRules.length)}catch(e){}break;case i.appendChild:r.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(e){return e()}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),o||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style"),n=null;t.setAttribute("data-merge-styles","true");var r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)n=this._lastStyleElement.nextElementSibling;else{var s=this._findPlaceholderStyleTag();n=s?s.nextElementSibling:e.childNodes[0]}return e.insertBefore(t,e.contains(n)?n:null),this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}();function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=u.getInstance();function i(e){for(var t=0,o=e;t<o.length;t++){var a=o[t];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)i(a.split(" "));else{var l=s.argsFromClassName(a);l?i(l):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?i(a):"object"==typeof a&&r.push(a)}}return i(e),{classes:n,objects:r}}function f(e){l!==e&&(l=e)}function p(){return void 0===l&&(l="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),l}function h(){return{rtl:p()}}l=p();var v,d={},y={"user-select":1};function g(e,t){var n=function(){var e;if(!v){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();v=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return v}(),r=e[t];if(y[r]){var s=e[t+1];y[r]&&(n.isWebkit&&e.push("-webkit-"+r,s),n.isMoz&&e.push("-moz-"+r,s),n.isMs&&e.push("-ms-"+r,s),n.isOpera&&e.push("-o-"+r,s))}}var m,_=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function b(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var s=_.indexOf(n)>-1,i=n.indexOf("--")>-1,o=s||i?"":"px";e[t+1]=""+r+o}}var C="left",N="right",S=((m={}).left=N,m.right=C,m),O={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function k(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var s=t[n+1];if("string"==typeof s&&s.indexOf("@noflip")>=0)t[n+1]=s.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(C)>=0)t[n]=r.replace(C,N);else if(r.indexOf(N)>=0)t[n]=r.replace(N,C);else if(String(s).indexOf(C)>=0)t[n+1]=s.replace(C,N);else if(String(s).indexOf(N)>=0)t[n+1]=s.replace(N,C);else if(S[r])t[n]=S[r];else if(O[s])t[n+1]=O[s];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(s);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(s)}}}function x(e){var t=e&&e["&"];return t?t.displayName:void 0}var w=/\:global\((.+?)\)/g;function A(e,t){return e.indexOf(":global(")>=0?e.replace(w,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function R(e,t,n,r){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?T([r],t,n=n+"{"+e):n.indexOf(",")>-1?function(e){if(!w.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return T([r],t,A(n,e))})):T([r],t,A(n,e))}function T(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=u.getInstance(),s=t[n];s||(s={},t[n]=s,t.__order.push(n));for(var i=0,o=e;i<o.length;i++){var a=o[i];if("string"==typeof a){var l=r.argsFromClassName(a);l&&T(l,t,n)}else if(Array.isArray(a))T(a,t,n);else for(var c in a)if(a.hasOwnProperty(c)){var f=a[c];if("selectors"===c){var p=a.selectors;for(var h in p)p.hasOwnProperty(h)&&R(n,t,h,p[h])}else"object"==typeof f?null!==f&&R(n,t,c,f):void 0!==f&&("margin"===c||"padding"===c?j(s,c,f):s[c]=f)}}return t}function j(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,s=0;s<e.length;s++)switch(e[s]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(s>n&&t.push(e.substring(n,s)),n=s+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function E(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,s=0,i=t.__order;s<i.length;s++){var o=i[s];n.push(o);var a=t[o];for(var l in a)a.hasOwnProperty(l)&&void 0!==a[l]&&(r=!0,n.push(l,a[l]))}return r?n.join(""):void 0}function P(e,t){return t<=0?"":1===t?e:e+P(e,t-1)}function I(e,t){if(!t)return"";var n,r,s,i=[];for(var o in t)t.hasOwnProperty(o)&&"displayName"!==o&&void 0!==t[o]&&i.push(o,t[o]);for(var a=0;a<i.length;a+=2)s=void 0,"-"!==(s=(n=i)[r=a]).charAt(0)&&(n[r]=d[s]=d[s]||s.replace(/([A-Z])/g,"-$1").toLowerCase()),b(i,a),k(e,i,a),g(i,a);for(a=1;a<i.length;a+=4)i.splice(a,1,":",i[a],";");return i.join("")}function M(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=T(t),s=E(e,r);if(s){var i=u.getInstance(),o={className:i.classNameFromKey(s),key:s,args:t};if(!o.className){o.className=i.getClassName(x(r));for(var a=[],l=0,c=r.__order;l<c.length;l++){var f=c[l];a.push(f,I(e,r[f]))}o.rulesToInsert=a}return o}}function z(e,t){void 0===t&&(t=1);var n=u.getInstance(),r=e.className,s=e.key,i=e.args,o=e.rulesToInsert;if(o){for(var a=0;a<o.length;a+=2){var l=o[a+1];if(l){var c=o[a],f=(c=c.replace(/&/g,P("."+e.className,t)))+"{"+l+"}"+(0===c.indexOf("@")?"}":"");n.insertRule(f)}}n.cacheClassName(r,s,i,o)}}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return K(e,h())}function K(e,t){var n=c(e instanceof Array?e:[e]),s=n.classes,i=n.objects;return i.length&&s.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var s=M.apply(void 0,r([e],t));return s?(z(s,e.specificityMultiplier),s.className):""}(t||{},i)),s.join(" ")}function W(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},s={},i=0,o=e;i<o.length;i++){var a=o[i];if(a)for(var l in a)if(a.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==a.subComponentStyles){var u=a.subComponentStyles;for(var c in u)u.hasOwnProperty(c)&&(s.hasOwnProperty(c)?s[c].push(u[c]):s[c]=[u[c]]);continue}var f=n[l],p=a[l];n[l]=void 0===f?p:r(r([],Array.isArray(f)?f:[f]),Array.isArray(p)?p:[p])}}if(Object.keys(s).length>0){n.subComponentStyles={};var h=n.subComponentStyles,v=function(e){if(s.hasOwnProperty(e)){var t=s[e];h[e]=function(e){return W.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in s)v(c)}return n}function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return q(e,h())}function q(e,t){var n={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var r=W.apply(void 0,e),s=[];for(var i in r)if(r.hasOwnProperty(i)){if("subComponentStyles"===i){n.subComponentStyles=r.subComponentStyles||{};continue}var o=c(r[i]),a=o.classes,l=o.objects;(null==l?void 0:l.length)?(p=M(t||{},{displayName:i},l))&&(s.push(p),n[i]=a.concat([p.className]).join(" ")):n[i]=a.join(" ")}for(var u=0,f=s;u<f.length;u++){var p;(p=f[u])&&z(p,null==t?void 0:t.specificityMultiplier)}return n}function B(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],s=0,i=t;s<i.length;s++){var o=i[s];o&&r.push("function"==typeof o?o(e):o)}return 1===r.length?r[0]:r.length?W.apply(void 0,r):{}}function $(e){var t=u.getInstance(),n=I(h(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{"+n+"}",!0),t.cacheClassName(r,n,[],["font-face",n])}}function D(e){var t=u.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",I(h(),e[r]),"}");var s=n.join(""),i=t.classNameFromKey(s);if(i)return i;var o=t.getClassName();return t.insertRule("@keyframes "+o+"{"+s+"}",!0),t.cacheClassName(o,s,[],["keyframes",s]),o}var J={},Z=void 0;try{Z=window}catch(e){}function G(e,t){if(void 0!==Z){var n=Z.__packages__=Z.__packages__||{};n[e]&&J[e]||(J[e]=t,(n[e]=n[e]||[]).push(t))}}G("@fluentui/set-version","6.0.0"),G("@fluentui/merge-styles","8.5.3"),MergeStyles=t}();
//# sourceMappingURL=merge-styles.js.map
var MergeStyles;!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{InjectionMode:function(){return i},Stylesheet:function(){return u},concatStyleSets:function(){return W},concatStyleSetsWithProps:function(){return B},fontFace:function(){return $},keyframes:function(){return D},mergeCss:function(){return K},mergeCssSets:function(){return q},mergeStyleSets:function(){return L},mergeStyles:function(){return F},setRTL:function(){return f}});var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},n.apply(this,arguments)};function r(e,t,n){if(n||2===arguments.length)for(var r,s=0,i=t.length;s<i;s++)!r&&s in t||(r||(r=Array.prototype.slice.call(t,0,s)),r[s]=t[s]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var s,i={none:0,insertNode:1,appendChild:2},o="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),a={};try{a=window||{}}catch(m){}var l,u=function(){function e(e,t){var r,s,o,a,l,u;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=n({injectionMode:"undefined"==typeof document?i.none:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(r=null==t?void 0:t.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(s=null==t?void 0:t.counter)&&void 0!==s?s:this._counter,this._keyToClassName=null!==(a=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(l=null==t?void 0:t.preservedRules)&&void 0!==l?l:this._preservedRules,this._rules=null!==(u=null==t?void 0:t.rules)&&void 0!==u?u:this._rules}return e.getInstance=function(){if(!(s=a.__stylesheet__)||s._lastStyleElement&&s._lastStyleElement.ownerDocument!==document){var t=(null==a?void 0:a.FabricConfig)||{},n=new e(t.mergeStyles,t.serializedStylesheet);s=n,a.__stylesheet__=n}return s},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=n(n({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode,r=n!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(n){case i.insertNode:var s=r.sheet;try{s.insertRule(e,s.cssRules.length)}catch(e){}break;case i.appendChild:r.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(e){return e()}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),o||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style"),n=null;t.setAttribute("data-merge-styles","true");var r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)n=this._lastStyleElement.nextElementSibling;else{var s=this._findPlaceholderStyleTag();n=s?s.nextElementSibling:e.childNodes[0]}return e.insertBefore(t,e.contains(n)?n:null),this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}();function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=u.getInstance();function i(e){for(var t=0,o=e;t<o.length;t++){var a=o[t];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)i(a.split(" "));else{var l=s.argsFromClassName(a);l?i(l):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?i(a):"object"==typeof a&&r.push(a)}}return i(e),{classes:n,objects:r}}function f(e){l!==e&&(l=e)}function p(){return void 0===l&&(l="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),l}function h(){return{rtl:p()}}l=p();var v,d={},y={"user-select":1};function g(e,t){var n=function(){var e;if(!v){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();v=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return v}(),r=e[t];if(y[r]){var s=e[t+1];y[r]&&(n.isWebkit&&e.push("-webkit-"+r,s),n.isMoz&&e.push("-moz-"+r,s),n.isMs&&e.push("-ms-"+r,s),n.isOpera&&e.push("-o-"+r,s))}}var m,_=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function b(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var s=_.indexOf(n)>-1,i=n.indexOf("--")>-1,o=s||i?"":"px";e[t+1]=""+r+o}}var C="left",N="right",S=((m={}).left=N,m.right=C,m),O={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function k(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var s=t[n+1];if("string"==typeof s&&s.indexOf("@noflip")>=0)t[n+1]=s.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(C)>=0)t[n]=r.replace(C,N);else if(r.indexOf(N)>=0)t[n]=r.replace(N,C);else if(String(s).indexOf(C)>=0)t[n+1]=s.replace(C,N);else if(String(s).indexOf(N)>=0)t[n+1]=s.replace(N,C);else if(S[r])t[n]=S[r];else if(O[s])t[n+1]=O[s];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(s);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(s)}}}function x(e){var t=e&&e["&"];return t?t.displayName:void 0}var w=/\:global\((.+?)\)/g;function A(e,t){return e.indexOf(":global(")>=0?e.replace(w,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function R(e,t,n,r){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?T([r],t,n=n+"{"+e):n.indexOf(",")>-1?function(e){if(!w.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return T([r],t,A(n,e))})):T([r],t,A(n,e))}function T(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=u.getInstance(),s=t[n];s||(s={},t[n]=s,t.__order.push(n));for(var i=0,o=e;i<o.length;i++){var a=o[i];if("string"==typeof a){var l=r.argsFromClassName(a);l&&T(l,t,n)}else if(Array.isArray(a))T(a,t,n);else for(var c in a)if(a.hasOwnProperty(c)){var f=a[c];if("selectors"===c){var p=a.selectors;for(var h in p)p.hasOwnProperty(h)&&R(n,t,h,p[h])}else"object"==typeof f?null!==f&&R(n,t,c,f):void 0!==f&&("margin"===c||"padding"===c?j(s,c,f):s[c]=f)}}return t}function j(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,s=0;s<e.length;s++)switch(e[s]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(s>n&&t.push(e.substring(n,s)),n=s+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function E(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,s=0,i=t.__order;s<i.length;s++){var o=i[s];n.push(o);var a=t[o];for(var l in a)a.hasOwnProperty(l)&&void 0!==a[l]&&(r=!0,n.push(l,a[l]))}return r?n.join(""):void 0}function P(e,t){return t<=0?"":1===t?e:e+P(e,t-1)}function I(e,t){if(!t)return"";var n,r,s,i=[];for(var o in t)t.hasOwnProperty(o)&&"displayName"!==o&&void 0!==t[o]&&i.push(o,t[o]);for(var a=0;a<i.length;a+=2)s=void 0,"-"!==(s=(n=i)[r=a]).charAt(0)&&(n[r]=d[s]=d[s]||s.replace(/([A-Z])/g,"-$1").toLowerCase()),b(i,a),k(e,i,a),g(i,a);for(a=1;a<i.length;a+=4)i.splice(a,1,":",i[a],";");return i.join("")}function M(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=T(t),s=E(e,r);if(s){var i=u.getInstance(),o={className:i.classNameFromKey(s),key:s,args:t};if(!o.className){o.className=i.getClassName(x(r));for(var a=[],l=0,c=r.__order;l<c.length;l++){var f=c[l];a.push(f,I(e,r[f]))}o.rulesToInsert=a}return o}}function z(e,t){void 0===t&&(t=1);var n=u.getInstance(),r=e.className,s=e.key,i=e.args,o=e.rulesToInsert;if(o){for(var a=0;a<o.length;a+=2){var l=o[a+1];if(l){var c=o[a],f=(c=c.replace(/&/g,P("."+e.className,t)))+"{"+l+"}"+(0===c.indexOf("@")?"}":"");n.insertRule(f)}}n.cacheClassName(r,s,i,o)}}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return K(e,h())}function K(e,t){var n=c(e instanceof Array?e:[e]),s=n.classes,i=n.objects;return i.length&&s.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var s=M.apply(void 0,r([e],t));return s?(z(s,e.specificityMultiplier),s.className):""}(t||{},i)),s.join(" ")}function W(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},s={},i=0,o=e;i<o.length;i++){var a=o[i];if(a)for(var l in a)if(a.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==a.subComponentStyles){var u=a.subComponentStyles;for(var c in u)u.hasOwnProperty(c)&&(s.hasOwnProperty(c)?s[c].push(u[c]):s[c]=[u[c]]);continue}var f=n[l],p=a[l];n[l]=void 0===f?p:r(r([],Array.isArray(f)?f:[f]),Array.isArray(p)?p:[p])}}if(Object.keys(s).length>0){n.subComponentStyles={};var h=n.subComponentStyles,v=function(e){if(s.hasOwnProperty(e)){var t=s[e];h[e]=function(e){return W.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in s)v(c)}return n}function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return q(e,h())}function q(e,t){var n={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var r=W.apply(void 0,e),s=[];for(var i in r)if(r.hasOwnProperty(i)){if("subComponentStyles"===i){n.subComponentStyles=r.subComponentStyles||{};continue}var o=c(r[i]),a=o.classes,l=o.objects;(null==l?void 0:l.length)?(p=M(t||{},{displayName:i},l))&&(s.push(p),n[i]=a.concat([p.className]).join(" ")):n[i]=a.join(" ")}for(var u=0,f=s;u<f.length;u++){var p;(p=f[u])&&z(p,null==t?void 0:t.specificityMultiplier)}return n}function B(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],s=0,i=t;s<i.length;s++){var o=i[s];o&&r.push("function"==typeof o?o(e):o)}return 1===r.length?r[0]:r.length?W.apply(void 0,r):{}}function $(e){var t=u.getInstance(),n=I(h(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{"+n+"}",!0),t.cacheClassName(r,n,[],["font-face",n])}}function D(e){var t=u.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",I(h(),e[r]),"}");var s=n.join(""),i=t.classNameFromKey(s);if(i)return i;var o=t.getClassName();return t.insertRule("@keyframes "+o+"{"+s+"}",!0),t.cacheClassName(o,s,[],["keyframes",s]),o}var J={},Z=void 0;try{Z=window}catch(e){}function G(e,t){if(void 0!==Z){var n=Z.__packages__=Z.__packages__||{};n[e]&&J[e]||(J[e]=t,(n[e]=n[e]||[]).push(t))}}G("@fluentui/set-version","6.0.0"),G("@fluentui/merge-styles","8.5.4"),MergeStyles=t}();

@@ -1,2 +0,1 @@

var MergeStyles;!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{InjectionMode:function(){return i},Stylesheet:function(){return u},concatStyleSets:function(){return W},concatStyleSetsWithProps:function(){return B},fontFace:function(){return $},keyframes:function(){return D},mergeCss:function(){return K},mergeCssSets:function(){return q},mergeStyleSets:function(){return L},mergeStyles:function(){return F},setRTL:function(){return f}});var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},n.apply(this,arguments)};function r(e,t,n){if(n||2===arguments.length)for(var r,s=0,i=t.length;s<i;s++)!r&&s in t||(r||(r=Array.prototype.slice.call(t,0,s)),r[s]=t[s]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var s,i={none:0,insertNode:1,appendChild:2},o="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),a={};try{a=window||{}}catch(m){}var l,u=function(){function e(e,t){var r,s,o,a,l,u;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=n({injectionMode:"undefined"==typeof document?i.none:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(r=null==t?void 0:t.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(s=null==t?void 0:t.counter)&&void 0!==s?s:this._counter,this._keyToClassName=null!==(a=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(l=null==t?void 0:t.preservedRules)&&void 0!==l?l:this._preservedRules,this._rules=null!==(u=null==t?void 0:t.rules)&&void 0!==u?u:this._rules}return e.getInstance=function(){if(!(s=a.__stylesheet__)||s._lastStyleElement&&s._lastStyleElement.ownerDocument!==document){var t=(null==a?void 0:a.FabricConfig)||{},n=new e(t.mergeStyles,t.serializedStylesheet);s=n,a.__stylesheet__=n}return s},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=n(n({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode,r=n!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(n){case i.insertNode:var s=r.sheet;try{s.insertRule(e,s.cssRules.length)}catch(e){}break;case i.appendChild:r.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(e){return e()}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),o||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style"),n=null;t.setAttribute("data-merge-styles","true");var r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)n=this._lastStyleElement.nextElementSibling;else{var s=this._findPlaceholderStyleTag();n=s?s.nextElementSibling:e.childNodes[0]}return e.insertBefore(t,e.contains(n)?n:null),this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}();function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=u.getInstance();function i(e){for(var t=0,o=e;t<o.length;t++){var a=o[t];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)i(a.split(" "));else{var l=s.argsFromClassName(a);l?i(l):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?i(a):"object"==typeof a&&r.push(a)}}return i(e),{classes:n,objects:r}}function f(e){l!==e&&(l=e)}function p(){return void 0===l&&(l="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),l}function h(){return{rtl:p()}}l=p();var v,d={},y={"user-select":1};function g(e,t){var n=function(){var e;if(!v){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();v=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return v}(),r=e[t];if(y[r]){var s=e[t+1];y[r]&&(n.isWebkit&&e.push("-webkit-"+r,s),n.isMoz&&e.push("-moz-"+r,s),n.isMs&&e.push("-ms-"+r,s),n.isOpera&&e.push("-o-"+r,s))}}var m,_=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function b(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var s=_.indexOf(n)>-1,i=n.indexOf("--")>-1,o=s||i?"":"px";e[t+1]=""+r+o}}var C="left",N="right",S=((m={}).left=N,m.right=C,m),O={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function k(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var s=t[n+1];if("string"==typeof s&&s.indexOf("@noflip")>=0)t[n+1]=s.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(C)>=0)t[n]=r.replace(C,N);else if(r.indexOf(N)>=0)t[n]=r.replace(N,C);else if(String(s).indexOf(C)>=0)t[n+1]=s.replace(C,N);else if(String(s).indexOf(N)>=0)t[n+1]=s.replace(N,C);else if(S[r])t[n]=S[r];else if(O[s])t[n+1]=O[s];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(s);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(s)}}}function x(e){var t=e&&e["&"];return t?t.displayName:void 0}var w=/\:global\((.+?)\)/g;function A(e,t){return e.indexOf(":global(")>=0?e.replace(w,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function R(e,t,n,r){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?T([r],t,n=n+"{"+e):n.indexOf(",")>-1?function(e){if(!w.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return T([r],t,A(n,e))})):T([r],t,A(n,e))}function T(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=u.getInstance(),s=t[n];s||(s={},t[n]=s,t.__order.push(n));for(var i=0,o=e;i<o.length;i++){var a=o[i];if("string"==typeof a){var l=r.argsFromClassName(a);l&&T(l,t,n)}else if(Array.isArray(a))T(a,t,n);else for(var c in a)if(a.hasOwnProperty(c)){var f=a[c];if("selectors"===c){var p=a.selectors;for(var h in p)p.hasOwnProperty(h)&&R(n,t,h,p[h])}else"object"==typeof f?null!==f&&R(n,t,c,f):void 0!==f&&("margin"===c||"padding"===c?j(s,c,f):s[c]=f)}}return t}function j(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,s=0;s<e.length;s++)switch(e[s]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(s>n&&t.push(e.substring(n,s)),n=s+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function E(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,s=0,i=t.__order;s<i.length;s++){var o=i[s];n.push(o);var a=t[o];for(var l in a)a.hasOwnProperty(l)&&void 0!==a[l]&&(r=!0,n.push(l,a[l]))}return r?n.join(""):void 0}function P(e,t){return t<=0?"":1===t?e:e+P(e,t-1)}function I(e,t){if(!t)return"";var n,r,s,i=[];for(var o in t)t.hasOwnProperty(o)&&"displayName"!==o&&void 0!==t[o]&&i.push(o,t[o]);for(var a=0;a<i.length;a+=2)s=void 0,"-"!==(s=(n=i)[r=a]).charAt(0)&&(n[r]=d[s]=d[s]||s.replace(/([A-Z])/g,"-$1").toLowerCase()),b(i,a),k(e,i,a),g(i,a);for(a=1;a<i.length;a+=4)i.splice(a,1,":",i[a],";");return i.join("")}function M(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=T(t),s=E(e,r);if(s){var i=u.getInstance(),o={className:i.classNameFromKey(s),key:s,args:t};if(!o.className){o.className=i.getClassName(x(r));for(var a=[],l=0,c=r.__order;l<c.length;l++){var f=c[l];a.push(f,I(e,r[f]))}o.rulesToInsert=a}return o}}function z(e,t){void 0===t&&(t=1);var n=u.getInstance(),r=e.className,s=e.key,i=e.args,o=e.rulesToInsert;if(o){for(var a=0;a<o.length;a+=2){var l=o[a+1];if(l){var c=o[a],f=(c=c.replace(/&/g,P("."+e.className,t)))+"{"+l+"}"+(0===c.indexOf("@")?"}":"");n.insertRule(f)}}n.cacheClassName(r,s,i,o)}}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return K(e,h())}function K(e,t){var n=c(e instanceof Array?e:[e]),s=n.classes,i=n.objects;return i.length&&s.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var s=M.apply(void 0,r([e],t));return s?(z(s,e.specificityMultiplier),s.className):""}(t||{},i)),s.join(" ")}function W(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},s={},i=0,o=e;i<o.length;i++){var a=o[i];if(a)for(var l in a)if(a.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==a.subComponentStyles){var u=a.subComponentStyles;for(var c in u)u.hasOwnProperty(c)&&(s.hasOwnProperty(c)?s[c].push(u[c]):s[c]=[u[c]]);continue}var f=n[l],p=a[l];n[l]=void 0===f?p:r(r([],Array.isArray(f)?f:[f]),Array.isArray(p)?p:[p])}}if(Object.keys(s).length>0){n.subComponentStyles={};var h=n.subComponentStyles,v=function(e){if(s.hasOwnProperty(e)){var t=s[e];h[e]=function(e){return W.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in s)v(c)}return n}function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return q(e,h())}function q(e,t){var n={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var r=W.apply(void 0,e),s=[];for(var i in r)if(r.hasOwnProperty(i)){if("subComponentStyles"===i){n.subComponentStyles=r.subComponentStyles||{};continue}var o=c(r[i]),a=o.classes,l=o.objects;(null==l?void 0:l.length)?(p=M(t||{},{displayName:i},l))&&(s.push(p),n[i]=a.concat([p.className]).join(" ")):n[i]=a.join(" ")}for(var u=0,f=s;u<f.length;u++){var p;(p=f[u])&&z(p,null==t?void 0:t.specificityMultiplier)}return n}function B(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],s=0,i=t;s<i.length;s++){var o=i[s];o&&r.push("function"==typeof o?o(e):o)}return 1===r.length?r[0]:r.length?W.apply(void 0,r):{}}function $(e){var t=u.getInstance(),n=I(h(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{"+n+"}",!0),t.cacheClassName(r,n,[],["font-face",n])}}function D(e){var t=u.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",I(h(),e[r]),"}");var s=n.join(""),i=t.classNameFromKey(s);if(i)return i;var o=t.getClassName();return t.insertRule("@keyframes "+o+"{"+s+"}",!0),t.cacheClassName(o,s,[],["keyframes",s]),o}var J={},Z=void 0;try{Z=window}catch(e){}function G(e,t){if(void 0!==Z){var n=Z.__packages__=Z.__packages__||{};n[e]&&J[e]||(J[e]=t,(n[e]=n[e]||[]).push(t))}}G("@fluentui/set-version","6.0.0"),G("@fluentui/merge-styles","8.5.3"),MergeStyles=t}();
//# sourceMappingURL=merge-styles.min.js.map
var MergeStyles;!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{InjectionMode:function(){return i},Stylesheet:function(){return u},concatStyleSets:function(){return W},concatStyleSetsWithProps:function(){return B},fontFace:function(){return $},keyframes:function(){return D},mergeCss:function(){return K},mergeCssSets:function(){return q},mergeStyleSets:function(){return L},mergeStyles:function(){return F},setRTL:function(){return f}});var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},n.apply(this,arguments)};function r(e,t,n){if(n||2===arguments.length)for(var r,s=0,i=t.length;s<i;s++)!r&&s in t||(r||(r=Array.prototype.slice.call(t,0,s)),r[s]=t[s]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var s,i={none:0,insertNode:1,appendChild:2},o="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),a={};try{a=window||{}}catch(m){}var l,u=function(){function e(e,t){var r,s,o,a,l,u;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=n({injectionMode:"undefined"==typeof document?i.none:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(r=null==t?void 0:t.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(s=null==t?void 0:t.counter)&&void 0!==s?s:this._counter,this._keyToClassName=null!==(a=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(l=null==t?void 0:t.preservedRules)&&void 0!==l?l:this._preservedRules,this._rules=null!==(u=null==t?void 0:t.rules)&&void 0!==u?u:this._rules}return e.getInstance=function(){if(!(s=a.__stylesheet__)||s._lastStyleElement&&s._lastStyleElement.ownerDocument!==document){var t=(null==a?void 0:a.FabricConfig)||{},n=new e(t.mergeStyles,t.serializedStylesheet);s=n,a.__stylesheet__=n}return s},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=n(n({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode,r=n!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(n){case i.insertNode:var s=r.sheet;try{s.insertRule(e,s.cssRules.length)}catch(e){}break;case i.appendChild:r.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(e){return e()}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),o||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style"),n=null;t.setAttribute("data-merge-styles","true");var r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)n=this._lastStyleElement.nextElementSibling;else{var s=this._findPlaceholderStyleTag();n=s?s.nextElementSibling:e.childNodes[0]}return e.insertBefore(t,e.contains(n)?n:null),this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}();function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=u.getInstance();function i(e){for(var t=0,o=e;t<o.length;t++){var a=o[t];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)i(a.split(" "));else{var l=s.argsFromClassName(a);l?i(l):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?i(a):"object"==typeof a&&r.push(a)}}return i(e),{classes:n,objects:r}}function f(e){l!==e&&(l=e)}function p(){return void 0===l&&(l="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),l}function h(){return{rtl:p()}}l=p();var v,d={},y={"user-select":1};function g(e,t){var n=function(){var e;if(!v){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();v=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return v}(),r=e[t];if(y[r]){var s=e[t+1];y[r]&&(n.isWebkit&&e.push("-webkit-"+r,s),n.isMoz&&e.push("-moz-"+r,s),n.isMs&&e.push("-ms-"+r,s),n.isOpera&&e.push("-o-"+r,s))}}var m,_=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function b(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var s=_.indexOf(n)>-1,i=n.indexOf("--")>-1,o=s||i?"":"px";e[t+1]=""+r+o}}var C="left",N="right",S=((m={}).left=N,m.right=C,m),O={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function k(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var s=t[n+1];if("string"==typeof s&&s.indexOf("@noflip")>=0)t[n+1]=s.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(C)>=0)t[n]=r.replace(C,N);else if(r.indexOf(N)>=0)t[n]=r.replace(N,C);else if(String(s).indexOf(C)>=0)t[n+1]=s.replace(C,N);else if(String(s).indexOf(N)>=0)t[n+1]=s.replace(N,C);else if(S[r])t[n]=S[r];else if(O[s])t[n+1]=O[s];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(s);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(s)}}}function x(e){var t=e&&e["&"];return t?t.displayName:void 0}var w=/\:global\((.+?)\)/g;function A(e,t){return e.indexOf(":global(")>=0?e.replace(w,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function R(e,t,n,r){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?T([r],t,n=n+"{"+e):n.indexOf(",")>-1?function(e){if(!w.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return T([r],t,A(n,e))})):T([r],t,A(n,e))}function T(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=u.getInstance(),s=t[n];s||(s={},t[n]=s,t.__order.push(n));for(var i=0,o=e;i<o.length;i++){var a=o[i];if("string"==typeof a){var l=r.argsFromClassName(a);l&&T(l,t,n)}else if(Array.isArray(a))T(a,t,n);else for(var c in a)if(a.hasOwnProperty(c)){var f=a[c];if("selectors"===c){var p=a.selectors;for(var h in p)p.hasOwnProperty(h)&&R(n,t,h,p[h])}else"object"==typeof f?null!==f&&R(n,t,c,f):void 0!==f&&("margin"===c||"padding"===c?j(s,c,f):s[c]=f)}}return t}function j(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,s=0;s<e.length;s++)switch(e[s]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(s>n&&t.push(e.substring(n,s)),n=s+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function E(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,s=0,i=t.__order;s<i.length;s++){var o=i[s];n.push(o);var a=t[o];for(var l in a)a.hasOwnProperty(l)&&void 0!==a[l]&&(r=!0,n.push(l,a[l]))}return r?n.join(""):void 0}function P(e,t){return t<=0?"":1===t?e:e+P(e,t-1)}function I(e,t){if(!t)return"";var n,r,s,i=[];for(var o in t)t.hasOwnProperty(o)&&"displayName"!==o&&void 0!==t[o]&&i.push(o,t[o]);for(var a=0;a<i.length;a+=2)s=void 0,"-"!==(s=(n=i)[r=a]).charAt(0)&&(n[r]=d[s]=d[s]||s.replace(/([A-Z])/g,"-$1").toLowerCase()),b(i,a),k(e,i,a),g(i,a);for(a=1;a<i.length;a+=4)i.splice(a,1,":",i[a],";");return i.join("")}function M(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=T(t),s=E(e,r);if(s){var i=u.getInstance(),o={className:i.classNameFromKey(s),key:s,args:t};if(!o.className){o.className=i.getClassName(x(r));for(var a=[],l=0,c=r.__order;l<c.length;l++){var f=c[l];a.push(f,I(e,r[f]))}o.rulesToInsert=a}return o}}function z(e,t){void 0===t&&(t=1);var n=u.getInstance(),r=e.className,s=e.key,i=e.args,o=e.rulesToInsert;if(o){for(var a=0;a<o.length;a+=2){var l=o[a+1];if(l){var c=o[a],f=(c=c.replace(/&/g,P("."+e.className,t)))+"{"+l+"}"+(0===c.indexOf("@")?"}":"");n.insertRule(f)}}n.cacheClassName(r,s,i,o)}}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return K(e,h())}function K(e,t){var n=c(e instanceof Array?e:[e]),s=n.classes,i=n.objects;return i.length&&s.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var s=M.apply(void 0,r([e],t));return s?(z(s,e.specificityMultiplier),s.className):""}(t||{},i)),s.join(" ")}function W(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},s={},i=0,o=e;i<o.length;i++){var a=o[i];if(a)for(var l in a)if(a.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==a.subComponentStyles){var u=a.subComponentStyles;for(var c in u)u.hasOwnProperty(c)&&(s.hasOwnProperty(c)?s[c].push(u[c]):s[c]=[u[c]]);continue}var f=n[l],p=a[l];n[l]=void 0===f?p:r(r([],Array.isArray(f)?f:[f]),Array.isArray(p)?p:[p])}}if(Object.keys(s).length>0){n.subComponentStyles={};var h=n.subComponentStyles,v=function(e){if(s.hasOwnProperty(e)){var t=s[e];h[e]=function(e){return W.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in s)v(c)}return n}function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return q(e,h())}function q(e,t){var n={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var r=W.apply(void 0,e),s=[];for(var i in r)if(r.hasOwnProperty(i)){if("subComponentStyles"===i){n.subComponentStyles=r.subComponentStyles||{};continue}var o=c(r[i]),a=o.classes,l=o.objects;(null==l?void 0:l.length)?(p=M(t||{},{displayName:i},l))&&(s.push(p),n[i]=a.concat([p.className]).join(" ")):n[i]=a.join(" ")}for(var u=0,f=s;u<f.length;u++){var p;(p=f[u])&&z(p,null==t?void 0:t.specificityMultiplier)}return n}function B(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],s=0,i=t;s<i.length;s++){var o=i[s];o&&r.push("function"==typeof o?o(e):o)}return 1===r.length?r[0]:r.length?W.apply(void 0,r):{}}function $(e){var t=u.getInstance(),n=I(h(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{"+n+"}",!0),t.cacheClassName(r,n,[],["font-face",n])}}function D(e){var t=u.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",I(h(),e[r]),"}");var s=n.join(""),i=t.classNameFromKey(s);if(i)return i;var o=t.getClassName();return t.insertRule("@keyframes "+o+"{"+s+"}",!0),t.cacheClassName(o,s,[],["keyframes",s]),o}var J={},Z=void 0;try{Z=window}catch(e){}function G(e,t){if(void 0!==Z){var n=Z.__packages__=Z.__packages__||{};n[e]&&J[e]||(J[e]=t,(n[e]=n[e]||[]).push(t))}}G("@fluentui/set-version","6.0.0"),G("@fluentui/merge-styles","8.5.4"),MergeStyles=t}();
define(["require", "exports", "@fluentui/set-version"], function (require, exports, set_version_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
set_version_1.setVersion('@fluentui/merge-styles', '8.5.3');
set_version_1.setVersion('@fluentui/merge-styles', '8.5.4');
});
//# sourceMappingURL=version.js.map

@@ -6,3 +6,3 @@ "use strict";

var set_version_1 = require("@fluentui/set-version");
set_version_1.setVersion('@fluentui/merge-styles', '8.5.3');
set_version_1.setVersion('@fluentui/merge-styles', '8.5.4');
//# sourceMappingURL=version.js.map
// Do not modify this file; it is generated as part of publish.
// The checked in version is a placeholder only and will not be updated.
import { setVersion } from '@fluentui/set-version';
setVersion('@fluentui/merge-styles', '8.5.3');
setVersion('@fluentui/merge-styles', '8.5.4');
//# sourceMappingURL=version.js.map
{
"name": "@fluentui/merge-styles",
"version": "8.5.3",
"version": "8.5.4",
"description": "Style loading utilities.",

@@ -31,3 +31,3 @@ "main": "lib-commonjs/index.js",

"dependencies": {
"@fluentui/set-version": "^8.2.2",
"@fluentui/set-version": "^8.2.3",
"tslib": "^2.1.0"

@@ -34,0 +34,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc