/*!
 * 
 * [Dojo](https://dojo.io/)
 * Copyright [JS Foundation](https://js.foundation/) & contributors
 * [New BSD license](https://github.com/dojo/meta/blob/master/LICENSE)
 * All rights reserved
 * 
 */
(window.dojoWebpackJsonpdojo_widgets_custom_elements=window.dojoWebpackJsonpdojo_widgets_custom_elements||[]).push([[24],{22:function(e,t,r){"use strict";r.r(t);var s=r(80),n=r(5),i=r(89);const a=Object(n.a)({theme:s.a}).properties();t.default=a(function({properties:e,middleware:{theme:t}}){const{text:r,valid:s}=e(),a=t.classes(i);return Object(n.m)("div",{key:"root",classes:[t.variant(),a.root,!0===s?a.valid:null,!1===s?a.invalid:null]},r&&Object(n.m)("p",{key:"text",classes:a.text,"aria-hidden":"true",title:r},r))})},80:function(e,t,r){"use strict";r.d(t,"b",function(){return m});var s=r(5),n=r(83),i=r(12);const a=Object(s.a)({coreTheme:n.a}).properties();function o(e){return`${e.charAt(0).toUpperCase()}${e.slice(1)}`}function c(e){return e&&e.hasOwnProperty("variant")}const m=a(function({middleware:{coreTheme:e},properties:t}){const{variant:r,get:s,set:n,classes:a}=e;return{compose:(r,s,n)=>{const a=function(){const{theme:r}=t();if(r)return r;const s=e.get();return Object(i.c)(s)?{theme:s.theme,variant:s.variant}:s?s.theme:void 0}(),m=r[" _key"],u=s[" _key"],l=Object.keys(r).reduce((e,t)=>" _key"===t?e:(n&&!e[`${n}${o(t)}`]&&(e[`${n}${o(t)}`]=" "),s[t]||(e[t]=" "),e),{" _key":u}),d=e.classes(l),p=e.classes(s);let h=e.classes(r);if(n){const e=Object.keys(Object.assign({},d,p)).reduce((e,t)=>{if(0===t.indexOf(n)&&t!==n){const r=function(e){return`${e.charAt(0).toLowerCase()}${e.slice(1)}`}(t.replace(n,"")),s="string"==typeof p[t]&&p[t].trim(),i="string"==typeof d[t]&&d[t].trim();!s&&i&&(e[r]=`${h[r]} ${i}`),s&&(e[r]=p[t])}return e},{});return h=Object.assign({},h,e),c(a)?{theme:{theme:Object.assign({},a.theme.theme,{[m]:h}),variants:a.theme.variants},variant:a.variant}:Object.assign({},a,{[m]:h})}const _=Object.keys(h).reduce((e,t)=>{if(" _key"===t)return e;const r="string"==typeof p[t]&&p[t].trim(),s="string"==typeof d[t]&&d[t].trim();return r?e[t]=r:s&&(e[t]=`${e[t]} ${s}`),e},Object.assign({},h));return c(a)?{theme:{theme:Object.assign({},a.theme.theme,{[m]:_}),variants:a.theme.variants},variant:a.variant}:Object.assign({},a,{[m]:_})},variant:()=>"inherit"===t().variant?void 0:r(),get:s,set:n,classes:a}});t.a=m},89:function(e,t,r){e.exports={" _key":"@dojo/widgets/helper-text",root:"helper-text-m__root__3s_po",text:"helper-text-m__text__dNGJX",valid:"helper-text-m__valid__18VWN",invalid:"helper-text-m__invalid__1CrCV"}}}]);
//# sourceMappingURL=helper-text-8.0.0-beta.12.js.map