/*!
 * 
 * [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([[56],{201:function(t,e,o){t.exports={" _key":"@dojo/widgets/tooltip",rootFixed:"tooltip-m__rootFixed__2mT-k",contentFixed:"tooltip-m__contentFixed__RlqCM",bottomFixed:"tooltip-m__bottomFixed__1vS1l",leftFixed:"tooltip-m__leftFixed__1JBNj",rightFixed:"tooltip-m__rightFixed__ZY9pP",topFixed:"tooltip-m__topFixed__3quLW"}},202:function(t,e,o){t.exports={" _key":"@dojo/widgets/tooltip",root:"tooltip-m__root__2VIqN",content:"tooltip-m__content__3ppia",top:"tooltip-m__top__3fJzp",right:"tooltip-m__right__1YsJX",left:"tooltip-m__left__3a8Ir",bottom:"tooltip-m__bottom__2FiE3"}},67:function(t,e,o){"use strict";o.r(e),o.d(e,"Orientation",function(){return n}),o.d(e,"Tooltip",function(){return p});var n,i=o(5),r=o(80),s=o(201),c=o(202),a=o(81);!function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(n||(n={}));const p=Object(i.a)({theme:r.a}).properties().children()(function({children:t,properties:e,middleware:{theme:o}}){const{open:n,aria:r={},orientation:p="right"}=e(),_=o.classes(c),m=o.classes(s),[{trigger:d,content:u}]=t();let l,f;return"bottom"===p?(l=m.bottomFixed,f=_.bottom):"right"===p?(l=m.rightFixed,f=_.right):"left"===p?(l=m.leftFixed,f=_.left):"top"===p&&(l=m.topFixed,f=_.top),Object(i.m)("div",{classes:[o.variant(),f,m.rootFixed,l]},Object(i.m)("div",{key:"target"},d,n?Object(i.m)("div",Object.assign({key:"content"},Object(a.b)(r),{classes:[_.content,m.contentFixed]}),u):null))});e.default=p},80:function(t,e,o){"use strict";o.d(e,"b",function(){return p});var n=o(5),i=o(83),r=o(12);const s=Object(n.a)({coreTheme:i.a}).properties();function c(t){return`${t.charAt(0).toUpperCase()}${t.slice(1)}`}function a(t){return t&&t.hasOwnProperty("variant")}const p=s(function({middleware:{coreTheme:t},properties:e}){const{variant:o,get:n,set:i,classes:s}=t;return{compose:(o,n,i)=>{const s=function(){const{theme:o}=e();if(o)return o;const n=t.get();return Object(r.c)(n)?{theme:n.theme,variant:n.variant}:n?n.theme:void 0}(),p=o[" _key"],_=n[" _key"],m=Object.keys(o).reduce((t,e)=>" _key"===e?t:(i&&!t[`${i}${c(e)}`]&&(t[`${i}${c(e)}`]=" "),n[e]||(t[e]=" "),t),{" _key":_}),d=t.classes(m),u=t.classes(n);let l=t.classes(o);if(i){const t=Object.keys(Object.assign({},d,u)).reduce((t,e)=>{if(0===e.indexOf(i)&&e!==i){const o=function(t){return`${t.charAt(0).toLowerCase()}${t.slice(1)}`}(e.replace(i,"")),n="string"==typeof u[e]&&u[e].trim(),r="string"==typeof d[e]&&d[e].trim();!n&&r&&(t[o]=`${l[o]} ${r}`),n&&(t[o]=u[e])}return t},{});return l=Object.assign({},l,t),a(s)?{theme:{theme:Object.assign({},s.theme.theme,{[p]:l}),variants:s.theme.variants},variant:s.variant}:Object.assign({},s,{[p]:l})}const f=Object.keys(l).reduce((t,e)=>{if(" _key"===e)return t;const o="string"==typeof u[e]&&u[e].trim(),n="string"==typeof d[e]&&d[e].trim();return o?t[e]=o:n&&(t[e]=`${t[e]} ${n}`),t},Object.assign({},l));return a(s)?{theme:{theme:Object.assign({},s.theme.theme,{[p]:f}),variants:s.theme.variants},variant:s.variant}:Object.assign({},s,{[p]:f})},variant:()=>"inherit"===e().variant?void 0:o(),get:n,set:i,classes:s}});e.a=p},81:function(t,e,o){"use strict";o.d(e,"a",function(){return n}),o.d(e,"b",function(){return r}),o.d(e,"c",function(){return s});var n,i=o(5);function r(t){return Object.keys(t).reduce((e,o)=>(e[`aria-${o.toLowerCase()}`]=t[o],e),{})}function s(t){let e=null==t||"string"==typeof t||"boolean"==typeof t||Array.isArray(t)||Object(i.j)(t);try{e=e||Object(i.i)(t)}catch(t){}return e}!function(t){t[t.Down=40]="Down",t[t.End=35]="End",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Home=36]="Home",t[t.Left=37]="Left",t[t.PageDown=34]="PageDown",t[t.PageUp=33]="PageUp",t[t.Right=39]="Right",t[t.Space=32]="Space",t[t.Tab=9]="Tab",t[t.Up=38]="Up"}(n||(n={}))}}]);
//# sourceMappingURL=tooltip-8.0.0-beta.12.js.map