-
Notifications
You must be signed in to change notification settings - Fork 0
/
199.386aff88.iframe.bundle.js
1 lines (1 loc) · 12.8 KB
/
199.386aff88.iframe.bundle.js
1
"use strict";(self.webpackChunkbuildcorp_uikits=self.webpackChunkbuildcorp_uikits||[]).push([[199],{"./node_modules/@fluentui/react/lib/components/Text/Text.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{E:()=>Text});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),react=__webpack_require__("./node_modules/react/index.js"),react_namespaceObject=__webpack_require__.t(react,2),lib=__webpack_require__("./node_modules/@fluentui/style-utilities/lib/index.js"),CustomizerContext=__webpack_require__("./node_modules/@fluentui/utilities/lib/customizations/CustomizerContext.js"),Customizations=__webpack_require__("./node_modules/@fluentui/utilities/lib/customizations/Customizations.js"),mergeStyles=__webpack_require__("./node_modules/@fluentui/merge-styles/lib/mergeStyles.js"),memoize=__webpack_require__("./node_modules/@fluentui/utilities/lib/memoize.js"),rtl=__webpack_require__("./node_modules/@fluentui/utilities/lib/rtl.js"),utilities_assign=tslib_es6.Cl;function createFactory(DefaultComponent,options){void 0===options&&(options={});var _a=options.defaultProp,defaultProp=void 0===_a?"children":_a;return function(componentProps,userProps,userSlotOptions,defaultStyles,theme){if(react.isValidElement(userProps))return userProps;var flattenedUserProps=function _translateShorthand(defaultProp,slotProps){var _a,transformedProps;"string"==typeof slotProps||"number"==typeof slotProps||"boolean"==typeof slotProps?((_a={})[defaultProp]=slotProps,transformedProps=_a):transformedProps=slotProps;return transformedProps}(defaultProp,userProps),finalProps=function _constructFinalProps(defaultStyles,theme){for(var allProps=[],_i=2;_i<arguments.length;_i++)allProps[_i-2]=arguments[_i];for(var finalProps={},classNames=[],_a=0,allProps_1=allProps;_a<allProps_1.length;_a++){var props=allProps_1[_a];classNames.push(props&&props.className),utilities_assign(finalProps,props)}return finalProps.className=(0,mergeStyles.e)([defaultStyles,classNames],{rtl:(0,rtl.jI)(theme)}),finalProps}(defaultStyles,theme,componentProps,flattenedUserProps);if(userSlotOptions){if(userSlotOptions.component){var UserComponent=userSlotOptions.component;return react.createElement(UserComponent,(0,tslib_es6.Cl)({},finalProps))}if(userSlotOptions.render)return userSlotOptions.render(finalProps,DefaultComponent)}return react.createElement(DefaultComponent,(0,tslib_es6.Cl)({},finalProps))}}var defaultFactory=(0,memoize.J9)((function(type){return createFactory(type)}));function getSlots(userProps,slots){var result={},mixedProps=userProps,_loop_1=function(name_1){if(slots.hasOwnProperty(name_1)){var slot=function(componentProps){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];if(args.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return function _renderSlot(ComponentType,componentProps,userProps,slotOptions,defaultStyles,theme){return void 0!==ComponentType.create?ComponentType.create(componentProps,userProps,slotOptions,defaultStyles):defaultFactory(ComponentType)(componentProps,userProps,slotOptions,defaultStyles,theme)}(slots[name_1],componentProps,mixedProps[name_1],mixedProps.slots&&mixedProps.slots[name_1],mixedProps._defaultStyles&&mixedProps._defaultStyles[name_1],mixedProps.theme)};slot.isSlot=!0,result[name_1]=slot}};for(var name_1 in slots)_loop_1(name_1);return result}function _resolveTokens(props,theme){for(var allTokens=[],_i=2;_i<arguments.length;_i++)allTokens[_i-2]=arguments[_i];for(var tokens={},_a=0,allTokens_1=allTokens;_a<allTokens_1.length;_a++){var currentTokens=allTokens_1[_a];currentTokens&&(currentTokens="function"==typeof currentTokens?currentTokens(props,theme):currentTokens,Array.isArray(currentTokens)&&(currentTokens=_resolveTokens.apply(void 0,(0,tslib_es6.fX)([props,theme],currentTokens,!1))),utilities_assign(tokens,currentTokens))}return tokens}var properties=__webpack_require__("./node_modules/@fluentui/utilities/lib/properties.js"),Text=function createComponent(view,options){void 0===options&&(options={});var _a=options.factoryOptions,defaultProp=(void 0===_a?{}:_a).defaultProp,ResultComponent=function(componentProps){var settings=function _getCustomizations(displayName,context,fields){var DefaultFields=["theme","styles","tokens"];return Customizations.X.getSettings(fields||DefaultFields,displayName,context.customizations)}(options.displayName,react.useContext(CustomizerContext.z),options.fields),stateReducer=options.state;stateReducer&&(componentProps=(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},componentProps),stateReducer(componentProps)));var theme=componentProps.theme||settings.theme,tokens=_resolveTokens(componentProps,theme,options.tokens,settings.tokens,componentProps.tokens),styles=function _resolveStyles(props,theme,tokens){for(var allStyles=[],_i=3;_i<arguments.length;_i++)allStyles[_i-3]=arguments[_i];return lib.TW.apply(void 0,allStyles.map((function(styles){return"function"==typeof styles?styles(props,theme,tokens):styles})))}(componentProps,theme,tokens,options.styles,settings.styles,componentProps.styles),viewProps=(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},componentProps),{styles,tokens,_defaultStyles:styles,theme});return view(viewProps)};return ResultComponent.displayName=options.displayName||view.name,defaultProp&&(ResultComponent.create=createFactory(ResultComponent,{defaultProp})),utilities_assign(ResultComponent,options.statics),ResultComponent}((function(props){if(null==props.children)return null;props.block,props.className;var _a=props.as,RootType=void 0===_a?"span":_a,rest=(props.variant,props.nowrap,(0,tslib_es6.Tt)(props,["block","className","as","variant","nowrap"]));return function withSlots(type,props){for(var children=[],_i=2;_i<arguments.length;_i++)children[_i-2]=arguments[_i];var slotType=type;return slotType.isSlot?0===(children=react.Children.toArray(children)).length?slotType(props):slotType((0,tslib_es6.Cl)((0,tslib_es6.Cl)({},props),{children})):react.createElement.apply(react_namespaceObject,(0,tslib_es6.fX)([type,props],children,!1))}(getSlots(props,{root:RootType}).root,(0,tslib_es6.Cl)({},(0,properties.G1)(rest,properties.vt)))}),{displayName:"Text",styles:function(props,theme){var as=props.as,className=props.className,block=props.block,nowrap=props.nowrap,variant=props.variant,fonts=theme.fonts,semanticColors=theme.semanticColors,variantObject=fonts[variant||"medium"];return{root:[variantObject,{color:variantObject.color||semanticColors.bodyText,display:block?"td"===as?"table-cell":"block":"inline",mozOsxFontSmoothing:variantObject.MozOsxFontSmoothing,webkitFontSmoothing:variantObject.WebkitFontSmoothing},nowrap&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},className]}}})},"./node_modules/css-loader/dist/runtime/api.js":module=>{module.exports=function(cssWithMappingToString){var list=[];return list.toString=function toString(){return this.map((function(item){var content="",needLayer=void 0!==item[5];return item[4]&&(content+="@supports (".concat(item[4],") {")),item[2]&&(content+="@media ".concat(item[2]," {")),needLayer&&(content+="@layer".concat(item[5].length>0?" ".concat(item[5]):""," {")),content+=cssWithMappingToString(item),needLayer&&(content+="}"),item[2]&&(content+="}"),item[4]&&(content+="}"),content})).join("")},list.i=function i(modules,media,dedupe,supports,layer){"string"==typeof modules&&(modules=[[null,modules,void 0]]);var alreadyImportedModules={};if(dedupe)for(var k=0;k<this.length;k++){var id=this[k][0];null!=id&&(alreadyImportedModules[id]=!0)}for(var _k=0;_k<modules.length;_k++){var item=[].concat(modules[_k]);dedupe&&alreadyImportedModules[item[0]]||(void 0!==layer&&(void 0===item[5]||(item[1]="@layer".concat(item[5].length>0?" ".concat(item[5]):""," {").concat(item[1],"}")),item[5]=layer),media&&(item[2]?(item[1]="@media ".concat(item[2]," {").concat(item[1],"}"),item[2]=media):item[2]=media),supports&&(item[4]?(item[1]="@supports (".concat(item[4],") {").concat(item[1],"}"),item[4]=supports):item[4]="".concat(supports)),list.push(item))}},list}},"./node_modules/css-loader/dist/runtime/sourceMaps.js":module=>{module.exports=function(item){var content=item[1],cssMapping=item[3];if(!cssMapping)return content;if("function"==typeof btoa){var base64=btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64),sourceMapping="/*# ".concat(data," */");return[content].concat([sourceMapping]).join("\n")}return[content].join("\n")}},"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":module=>{var stylesInDOM=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i<stylesInDOM.length;i++)if(stylesInDOM[i].identifier===identifier){result=i;break}return result}function modulesToDom(list,options){for(var idCountMap={},identifiers=[],i=0;i<list.length;i++){var item=list[i],id=options.base?item[0]+options.base:item[0],count=idCountMap[id]||0,identifier="".concat(id," ").concat(count);idCountMap[id]=count+1;var indexByIdentifier=getIndexByIdentifier(identifier),obj={css:item[1],media:item[2],sourceMap:item[3],supports:item[4],layer:item[5]};if(-1!==indexByIdentifier)stylesInDOM[indexByIdentifier].references++,stylesInDOM[indexByIdentifier].updater(obj);else{var updater=addElementStyle(obj,options);options.byIndex=i,stylesInDOM.splice(i,0,{identifier,updater,references:1})}identifiers.push(identifier)}return identifiers}function addElementStyle(obj,options){var api=options.domAPI(options);api.update(obj);return function updater(newObj){if(newObj){if(newObj.css===obj.css&&newObj.media===obj.media&&newObj.sourceMap===obj.sourceMap&&newObj.supports===obj.supports&&newObj.layer===obj.layer)return;api.update(obj=newObj)}else api.remove()}}module.exports=function(list,options){var lastIdentifiers=modulesToDom(list=list||[],options=options||{});return function update(newList){newList=newList||[];for(var i=0;i<lastIdentifiers.length;i++){var index=getIndexByIdentifier(lastIdentifiers[i]);stylesInDOM[index].references--}for(var newLastIdentifiers=modulesToDom(newList,options),_i=0;_i<lastIdentifiers.length;_i++){var _index=getIndexByIdentifier(lastIdentifiers[_i]);0===stylesInDOM[_index].references&&(stylesInDOM[_index].updater(),stylesInDOM.splice(_index,1))}lastIdentifiers=newLastIdentifiers}}},"./node_modules/style-loader/dist/runtime/insertBySelector.js":module=>{var memo={};module.exports=function insertBySelector(insert,style){var target=function getTarget(target){if(void 0===memo[target]){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement)try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}memo[target]=styleTarget}return memo[target]}(insert);if(!target)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");target.appendChild(style)}},"./node_modules/style-loader/dist/runtime/insertStyleElement.js":module=>{module.exports=function insertStyleElement(options){var element=document.createElement("style");return options.setAttributes(element,options.attributes),options.insert(element,options.options),element}},"./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=function setAttributesWithoutAttributes(styleElement){var nonce=__webpack_require__.nc;nonce&&styleElement.setAttribute("nonce",nonce)}},"./node_modules/style-loader/dist/runtime/styleDomAPI.js":module=>{module.exports=function domAPI(options){if("undefined"==typeof document)return{update:function update(){},remove:function remove(){}};var styleElement=options.insertStyleElement(options);return{update:function update(obj){!function apply(styleElement,options,obj){var css="";obj.supports&&(css+="@supports (".concat(obj.supports,") {")),obj.media&&(css+="@media ".concat(obj.media," {"));var needLayer=void 0!==obj.layer;needLayer&&(css+="@layer".concat(obj.layer.length>0?" ".concat(obj.layer):""," {")),css+=obj.css,needLayer&&(css+="}"),obj.media&&(css+="}"),obj.supports&&(css+="}");var sourceMap=obj.sourceMap;sourceMap&&"undefined"!=typeof btoa&&(css+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))," */")),options.styleTagTransform(css,styleElement,options.options)}(styleElement,options,obj)},remove:function remove(){!function removeStyleElement(styleElement){if(null===styleElement.parentNode)return!1;styleElement.parentNode.removeChild(styleElement)}(styleElement)}}}},"./node_modules/style-loader/dist/runtime/styleTagTransform.js":module=>{module.exports=function styleTagTransform(css,styleElement){if(styleElement.styleSheet)styleElement.styleSheet.cssText=css;else{for(;styleElement.firstChild;)styleElement.removeChild(styleElement.firstChild);styleElement.appendChild(document.createTextNode(css))}}}}]);