keycloak_theme/3148.ffbd9632.iframe.bundle.js
github-actions-bot 50ae1209b1 Updates
2024-08-13 13:03:14 +00:00

1 line
2.4 KiB
JavaScript

"use strict";(self.webpackChunkkeycloakify=self.webpackChunkkeycloakify||[]).push([[3148],{"./dist/login/pages/Info.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>Info});__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/react/jsx-runtime.js");function Info(props){var html,kcContext=props.kcContext,i18n=props.i18n,doUseDefaultCss=props.doUseDefaultCss,Template=props.Template,classes=props.classes,advancedMsgStr=i18n.advancedMsgStr,msg=i18n.msg,messageHeader=kcContext.messageHeader,message=kcContext.message,requiredActions=kcContext.requiredActions,skipLink=kcContext.skipLink,pageRedirectUri=kcContext.pageRedirectUri,actionUri=kcContext.actionUri,client=kcContext.client;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(Template,Object.assign({kcContext,i18n,doUseDefaultCss,classes,displayMessage:!1,headerNode:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("span",{dangerouslySetInnerHTML:{__html:null!=messageHeader?messageHeader:message.summary}})},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div",Object.assign({id:"kc-info-message"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p",{className:"instruction",dangerouslySetInnerHTML:{__html:(html=message.summary,requiredActions&&(html+="<b>",html+=requiredActions.map((function(requiredAction){return advancedMsgStr("requiredAction."+requiredAction)})).join(", "),html+="</b>"),html)}}),skipLink?null:pageRedirectUri?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("a",Object.assign({href:pageRedirectUri},{children:msg("backToApplication")}))}):actionUri?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("a",Object.assign({href:actionUri},{children:msg("proceedWithAction")}))}):client.baseUrl?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("a",Object.assign({href:client.baseUrl},{children:msg("backToApplication")}))}):void 0]}))}))}}}]);