Scripts/resources/[phone]/npwd/dist/html/9190.js
2024-12-29 20:49:12 +01:00

52 lines
7.7 KiB
JavaScript

/*! For license information please see 9190.js.LICENSE.txt */
"use strict";(self.webpackChunk_npwd_nui=self.webpackChunk_npwd_nui||[]).push([[9190,5472],{79884:function(t,r,n){var e=n(10262),a=n(63223),o=n(53182),i=n(14517),s=n(15452),u=n(12817),h=n(17153),l=n(98202),p=n(85602),c=n(81929),m=n(84963),f=n(61250);const d=["animation","className","component","height","style","variant","width"];let g,y,v,b,w=t=>t;const Z=(0,s.keyframes)(g||(g=w`
0% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
`)),x=(0,s.keyframes)(y||(y=w`
0% {
transform: translateX(-100%);
}
50% {
/* +0.5s of delay between each loop */
transform: translateX(100%);
}
100% {
transform: translateX(100%);
}
`)),S=(0,p.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:n}=t;return[r.root,r[n.variant],!1!==n.animation&&r[n.animation],n.hasChildren&&r.withChildren,n.hasChildren&&!n.width&&r.fitContent,n.hasChildren&&!n.height&&r.heightAuto]}})((({theme:t,ownerState:r})=>{const n=(0,h.Wy)(t.shape.borderRadius)||"px",e=(0,h.YL)(t.shape.borderRadius);return(0,a.Z)({display:"block",backgroundColor:t.vars?t.vars.palette.Skeleton.bg:(0,l.Fq)(t.palette.text.primary,"light"===t.palette.mode?.11:.13),height:"1.2em"},"text"===r.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${e}${n}/${Math.round(e/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===r.variant&&{borderRadius:"50%"},"rounded"===r.variant&&{borderRadius:(t.vars||t).shape.borderRadius},r.hasChildren&&{"& > *":{visibility:"hidden"}},r.hasChildren&&!r.width&&{maxWidth:"fit-content"},r.hasChildren&&!r.height&&{height:"auto"})}),(({ownerState:t})=>"pulse"===t.animation&&(0,s.css)(v||(v=w`
animation: ${0} 1.5s ease-in-out 0.5s infinite;
`),Z)),(({ownerState:t,theme:r})=>"wave"===t.animation&&(0,s.css)(b||(b=w`
position: relative;
overflow: hidden;
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
-webkit-mask-image: -webkit-radial-gradient(white, black);
&::after {
animation: ${0} 1.6s linear 0.5s infinite;
background: linear-gradient(
90deg,
transparent,
${0},
transparent
);
content: '';
position: absolute;
transform: translateX(-100%); /* Avoid flash during server-side hydration */
bottom: 0;
left: 0;
right: 0;
top: 0;
}
`),x,(r.vars||r).palette.action.hover))),k=o.forwardRef((function(t,r){const n=(0,c.Z)({props:t,name:"MuiSkeleton"}),{animation:o="pulse",className:s,component:h="span",height:l,style:p,variant:g="text",width:y}=n,v=(0,e.Z)(n,d),b=(0,a.Z)({},n,{animation:o,component:h,variant:g,hasChildren:Boolean(v.children)}),w=(t=>{const{classes:r,variant:n,animation:e,hasChildren:a,width:o,height:i}=t,s={root:["root",n,e,a&&"withChildren",a&&!o&&"fitContent",a&&!i&&"heightAuto"]};return(0,u.Z)(s,m.B,r)})(b);return(0,f.jsx)(S,(0,a.Z)({as:h,ref:r,className:(0,i.Z)(w.root,s),ownerState:b},v,{style:(0,a.Z)({width:y,height:l},p)}))}));r.Z=k},84963:function(t,r,n){n.d(r,{B:function(){return o}});var e=n(51270),a=n(13665);function o(t){return(0,a.Z)("MuiSkeleton",t)}const i=(0,e.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);r.Z=i},9625:function(t,r,n){var e=n(10262),a=n(63223),o=n(53182),i=n(14517),s=n(7356),u=n(12817),h=n(85602),l=n(81929),p=n(672),c=n(5832),m=n(61250);const f=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],d=(0,h.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:n}=t;return[r.root,n.variant&&r[n.variant],"inherit"!==n.align&&r[`align${(0,p.Z)(n.align)}`],n.noWrap&&r.noWrap,n.gutterBottom&&r.gutterBottom,n.paragraph&&r.paragraph]}})((({theme:t,ownerState:r})=>(0,a.Z)({margin:0},r.variant&&t.typography[r.variant],"inherit"!==r.align&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.paragraph&&{marginBottom:16}))),g={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},v=o.forwardRef((function(t,r){const n=(0,l.Z)({props:t,name:"MuiTypography"}),o=(t=>y[t]||t)(n.color),h=(0,s.Z)((0,a.Z)({},n,{color:o})),{align:v="inherit",className:b,component:w,gutterBottom:Z=!1,noWrap:x=!1,paragraph:S=!1,variant:k="body1",variantMapping:_=g}=h,C=(0,e.Z)(h,f),R=(0,a.Z)({},h,{align:v,color:o,className:b,component:w,gutterBottom:Z,noWrap:x,paragraph:S,variant:k,variantMapping:_}),B=w||(S?"p":_[k]||g[k])||"span",$=(t=>{const{align:r,gutterBottom:n,noWrap:e,paragraph:a,variant:o,classes:i}=t,s={root:["root",o,"inherit"!==t.align&&`align${(0,p.Z)(r)}`,n&&"gutterBottom",e&&"noWrap",a&&"paragraph"]};return(0,u.Z)(s,c.f,i)})(R);return(0,m.jsx)(d,(0,a.Z)({as:B,ref:r,ownerState:R,className:(0,i.Z)($.root,b)},C))}));r.Z=v},5832:function(t,r,n){n.d(r,{f:function(){return o}});var e=n(51270),a=n(13665);function o(t){return(0,a.Z)("MuiTypography",t)}const i=(0,e.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);r.Z=i},17153:function(t,r,n){function e(t){return String(parseFloat(t)).length===String(t).length}function a(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function o(t){return parseFloat(t)}function i(t){return(r,n)=>{const e=a(r);if(e===n)return r;let i=o(r);"px"!==e&&("em"===e||"rem"===e)&&(i=o(r)*o(t));let s=i;if("px"!==n)if("em"===n)s=i/o(t);else{if("rem"!==n)return r;s=i/o(t)}return parseFloat(s.toFixed(5))+n}}function s({size:t,grid:r}){const n=t-t%r,e=n+r;return t-n<e-t?n:e}function u({lineHeight:t,pixels:r,htmlFontSize:n}){return r/(t*n)}function h({cssProperty:t,min:r,max:n,unit:e="rem",breakpoints:a=[600,900,1200],transform:o=null}){const i={[t]:`${r}${e}`},s=(n-r)/a[a.length-1];return a.forEach((n=>{let a=r+s*n;null!==o&&(a=o(a)),i[`@media (min-width:${n}px)`]={[t]:`${Math.round(1e4*a)/1e4}${e}`}})),i}n.d(r,{LV:function(){return s},Wy:function(){return a},YL:function(){return o},dA:function(){return e},vY:function(){return u},vs:function(){return i},ze:function(){return h}})},7356:function(t,r,n){n.d(r,{Z:function(){return h}});var e=n(63223),a=n(10262),o=n(64606),i=n(83447);const s=["sx"],u=t=>{var r,n;const e={systemProps:{},otherProps:{}},a=null!=(r=null==t||null==(n=t.theme)?void 0:n.unstable_sxConfig)?r:i.Z;return Object.keys(t).forEach((r=>{a[r]?e.systemProps[r]=t[r]:e.otherProps[r]=t[r]})),e};function h(t){const{sx:r}=t,n=(0,a.Z)(t,s),{systemProps:i,otherProps:h}=u(n);let l;return l=Array.isArray(r)?[i,...r]:"function"==typeof r?(...t)=>{const n=r(...t);return(0,o.P)(n)?(0,e.Z)({},i,n):i}:(0,e.Z)({},i,r),(0,e.Z)({},h,{sx:l})}},95472:function(t,r,n){n(52458);var e=n(53182),a=60103;if(r.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;a=o("react.element"),r.Fragment=o("react.fragment")}var i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function h(t,r,n){var e,o={},h=null,l=null;for(e in void 0!==n&&(h=""+n),void 0!==r.key&&(h=""+r.key),void 0!==r.ref&&(l=r.ref),r)s.call(r,e)&&!u.hasOwnProperty(e)&&(o[e]=r[e]);if(t&&t.defaultProps)for(e in r=t.defaultProps)void 0===o[e]&&(o[e]=r[e]);return{$$typeof:a,type:t,key:h,ref:l,props:o,_owner:i.current}}r.jsx=h,r.jsxs=h}}]);