"center":s,u=i.qualities,d=i.staticVideoUrl,h=i.videoId,l=i.videoFormat,f=i.focalPoint,g=n?t.offsetWidth:e.parentElement.offsetWidth,m=e.parentElement.offsetHeight,p=parseInt(r,10),b=parseInt(o,10),v=function(e,t,i,n){return{wScale:e/i,hScale:t/n}}(g,m,p,b),_=function(e,t,i,n){var r;r=e===C.SCALE_TO_FIT?Math.min(t.wScale,t.hScale):Math.max(t.wScale,t.hScale);return{width:Math.round(i*r),height:Math.round(n*r)}}(a,v,p,b),I=function(e,t){var i=t.width,n=t.height;return(r=e,o=function(e){return e.size},a=r.reduce((function(e,t){return e[o(t)]=t,e}),{}),Object.values(a)).find((function(e){return e.size>i*n}))||e[e.length-1];var r,o,a}(u,_),w=function(e,t,i,n){if("mp4"===n)return e.url?Ot(t,e.url):Ot(t,i,e.quality,n,"file.mp4");return""}(I,d,h,l),y=function(e,t){var i=e.networkState===e.NETWORK_NO_SOURCE,n=!e.currentSrc.endsWith(t);return t&&(n||i)}(e,w),T=Ht[a]||"cover",O=f?function(e,t,i){var n=e.width,r=e.height,o=t.width,a=t.height,s=i.x,c=i.y;if(!o||!a)return s+"% "+c+"%";var u=Math.max(o/n,a/r),d=n*u,h=r*u,l=Math.max(0,Math.min(d-o,d*(s/100)-o/2)),f=Math.max(0,Math.min(h-a,h*(c/100)-a/2)),g=l&&Math.floor(l/(d-o)*100),m=f&&Math.floor(f/(h-a)*100);return g+"% "+m+"%"}(_,{width:g,height:m},f):"",E=c.replace("_"," ");return{videoSourceUrl:w,needsSrcUpdate:y,videoStyle:{width:"100%",height:"100%",objectFit:T,objectPosition:O||E}}},wi=function(e,t,i,n,r,o,a,s,c,u,d){kt(i,{width:n.width,height:n.height}),t?Nt(t,n):(!function(e,t,i,n,r,o){o&&t.paused&&(i.style.opacity="1",t.style.opacity="0");var a=t.paused||""===t.currentSrc;if((e||o)&&a)if(t.ontimeupdate=null,t.onseeked=null,t.onplay=null,!o&&r){var s=t.muted;t.muted=!0,t.ontimeupdate=function(){t.currentTime>0&&(t.ontimeupdate=null,t.onseeked=function(){t.onseeked=null,t.muted=s,yi(t,i,n)},t.currentTime=0)}}else t.onplay=function(){t.onplay=null,yi(t,i,n)}}(a,i,e,s,r,d),r?i.setAttribute("autoplay",""):i.removeAttribute("autoplay"),Nt(i,n)),function(e,t,i){e&&(t.src=i,t.load())}(a,i,o),i.playbackRate=u};function yi(e,t,i){"fade"===i&&(t.style.transition="opacity 1.6s ease-out"),t.style.opacity="0",e.style.opacity="1"}function Ti(e,t){for(var i=0;i
{const t=(e=>e&&e.navigator&&e.navigator.platform||"")(e);return! j=d.createElement(s),dl=l!='dataLayer'? * @license ]+$/.exec(e))||void 0===n?void 0:n[0])&&(r=r.replace("media","ficons"))),r+e},Gi=e=>{const t=window.location.search.split("&").map((e=>e.split("="))).find((e=>e[0].toLowerCase().includes("devicepixelratio")));return(t?Number(t[1]):null)||e||1},Bi=e=>e.getAttribute("src"),ji=()=>window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&"isIntersecting"in window.IntersectionObserverEntry.prototype&&!/Edge\/18/.test(window.navigator.userAgent);var Fi=class{constructor(e){this.mutationService=e,ji()&&(this.intersectionObserver=new IntersectionObserver(this.getViewPortIntersectionHandler(),{rootMargin:"50% 0px"}))}isImageInViewPort(e,t){return e.top+e.height>=0&&e.bottom-e.height<=t}loadImage(e,{screenHeight:t,boundingRect:i}){!this.intersectionObserver||this.isImageInViewPort(i,t)?this.setImageSource(e):(this.intersectionObserver.unobserve(e),this.intersectionObserver.observe(e))}onImageDisconnected(e){this.intersectionObserver&&this.intersectionObserver.unobserve(e)}setSrcAttribute(e,t){Bi(e)!==t&&(e.src=t)}setImageSource(e){const t=e.querySelector("img");this.setSrcAttribute(t,e.dataset.src)}getViewPortIntersectionHandler(){return(e,t)=>{e.filter((e=>e.isIntersecting)).forEach((e=>{const i=e.target;this.setImageSource(i),t.unobserve(i)}))}}};var Hi={measure:function(e,t,i,{containerElm:n,mediaHeightOverrideType:r,bgEffectName:o="none"},a){var s;const c=i.image,u=i[e],d=window?window.innerHeight||document.documentElement.clientHeight:0,h=n&&"none"!==o?n:u,{width:l,height:f}=(null===(s=a.getMediaDimensionsByEffect)||void 0===s?void 0:s.call(a,o,h.offsetWidth,h.offsetHeight,d))||{width:u.offsetWidth,height:u.offsetHeight};if(!c)return;const g=Bi(c);t.width=l,t.height=function(e,t){return"fixed"===t?document.documentElement.clientHeight+80:e}(f,r),t.screenHeight=d,t.imgSrc=g,t.boundingRect=u.getBoundingClientRect(),t.mediaHeightOverrideType=r},patch:function(e,t,i,n,r,o,a,s){var c;if(!Object.keys(t).length)return;const{imageData:u}=n,d=i[e],h=i.image;s&&(u.devicePixelRatio=1);const l=((e,t,i)=>{if(!e.targetWidth||!e.targetHeight||!e.imageData.uri)return{uri:"",css:{}};const{imageData:n}=e,r=e.displayMode||C.SCALE_TO_FILL,o=Object.assign(Pi(n,"upscaleMethod"),Pi(e,"filters"),e.quality||n.quality),a=e.imageData.devicePixelRatio||t.devicePixelRatio,s=Gi(a),c=mt(r,Object.assign(Pi(n,["width","height","crop","name","focalPoint"]),{id:n.uri}),{width:e.targetWidth,height:e.targetHeight,htmlTag:i||"img",pixelAspectRatio:s,alignment:e.alignType||F.CENTER},o);return c.uri=Ni(c.uri,t.staticMediaUrl,t.mediaRootUrl),c})(Object.assign(Object.assign({targetWidth:t.width,targetHeight:t.height},n),{displayMode:u.displayMode}),o,"img"),f=(null===(c=null==l?void 0:l.css)||void 0===c?void 0:c.img)||{},g=function(e,t,i){if(!e)return t;const n=Object.assign({},t);return"fill"===i? (Z.includes(e)||e>pe(Z))}}(i);return function(e,t){const i=Re(e,t);return{optimizedScaleFactor:J[i].maxUpscale,upscaleMethodValue:U,forceUSM:!1}}(e,t)}(e,t,o,r);let d=i,h=n;if(o<=s)return{width:d,height:h,scaleFactor:o,upscaleMethodValue:c,forceUSM:u,cssUpscaleNeeded:!1};switch(a){case k:d=i*(s/o),h=n*(s/o);break;case P:d=e*s,h=t*s}return{width:d,height:h,scaleFactor:s,upscaleMethodValue:c,forceUSM:u,cssUpscaleNeeded:!0}}(e,t,s,c,o,a,i)}function Se(e,t,i,n){const r=Me(i)||function(e=F.CENTER){return H[e]}(n);return{x:Math.max(0,Math.min(e.width-t.width,r.x*e.width-t.width/2)),y:Math.max(0,Math.min(e.height-t.height,r.y*e.height-t.height/2)),width:Math.min(e.width,t.width),height:Math.min(e.height,t.height)}}function Ae(e){return e.alignment&&D[e.alignment]||D[F.CENTER]}function Me(e){let t;return!e||"number"!=typeof e.x||isNaN(e.x)||"number"!=typeof e.y||isNaN(e.y)||(t={x:xe(Math.max(0,Math.min(100,e.x))/100,2),y:xe(Math.max(0,Math.min(100,e.y))/100,2)}),t}function Re(e,t){const i=e*t;return i>J[X].size?X:i>J[Q].size?Q:i>J[K].size?K:ee}function xe(e,t){const i=Math.pow(10,t||0);return(e*i/i).toFixed(t)}function Ce(e){return e&&e.upscaleMethod&&z[e.upscaleMethod.toUpperCase()]||z.AUTO}function Pe(e,t){const i={css:{container:{}}},{css:n}=i,{fittingType:r}=e;switch(r){case C.ORIGINAL_SIZE:case C.LEGACY_ORIGINAL_SIZE:case C.LEGACY_STRIP_ORIGINAL_SIZE:n.container.backgroundSize="auto",n.container.backgroundRepeat="no-repeat";break;case C.SCALE_TO_FIT:case C.LEGACY_STRIP_SCALE_TO_FIT:n.container.backgroundSize="contain",n.container.backgroundRepeat="no-repeat";break;case C.STRETCH:n.container.backgroundSize="100% 100%",n.container.backgroundRepeat="no-repeat";break;case C.SCALE_TO_FILL:case C.LEGACY_STRIP_SCALE_TO_FILL:n.container.backgroundSize="cover",n.container.backgroundRepeat="no-repeat";break;case C.TILE_HORIZONTAL:case C.LEGACY_STRIP_TILE_HORIZONTAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-x";break;case C.TILE_VERTICAL:case C.LEGACY_STRIP_TILE_VERTICAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-y";break;case C.TILE:case C.LEGACY_STRIP_TILE:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat";break;case C.LEGACY_STRIP_FIT_AND_TILE:n.container.backgroundSize="contain",n.container.backgroundRepeat="repeat";break;case C.FIT_AND_TILE:case C.LEGACY_BG_FIT_AND_TILE:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat";break;case C.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-x";break;case C.LEGACY_BG_FIT_AND_TILE_VERTICAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-y";break;case C.LEGACY_BG_NORMAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="no-repeat"}switch(t.alignment){case F.CENTER:n.container.backgroundPosition="center center";break;case F.LEFT:n.container.backgroundPosition="left center";break;case F.RIGHT:n.container.backgroundPosition="right center";break;case F.TOP:n.container.backgroundPosition="center top";break;case F.BOTTOM:n.container.backgroundPosition="center bottom";break;case F.TOP_RIGHT:n.container.backgroundPosition="right top";break;case F.TOP_LEFT:n.container.backgroundPosition="left top";break;case F.BOTTOM_RIGHT:n.container.backgroundPosition="right bottom";break;case F.BOTTOM_LEFT:n.container.backgroundPosition="left bottom"}return i}const ke={[F.CENTER]:"center",[F.TOP]:"top",[F.TOP_LEFT]:"top left",[F.TOP_RIGHT]:"top right",[F.BOTTOM]:"bottom",[F.BOTTOM_LEFT]:"bottom left",[F.BOTTOM_RIGHT]:"bottom right",[F.LEFT]:"left",[F.RIGHT]:"right"},Ne={position:"absolute",top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ge(e,t){const i={css:{container:{},img:{}}},{css:n}=i,{fittingType:r}=e,o=t.alignment;switch(n.container.position="relative",r){case C.ORIGINAL_SIZE:case C.LEGACY_ORIGINAL_SIZE:e.parts&&e.parts.length? :Clamped)?Array$/.test(i))return ni(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0;return function(){return n>=e.length? "auto":o+"px",bottom:t.needToOpenMenuUp?o+"px":"auto"}},a=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};return{measure:function(o,a){var s={},c={};c[o]=e.document.getElementById(""+o);var u=1;a.siteService&&(u=a.siteService.getSiteScale());var d,h,l=(d=c[o],(h=+Bt(d,"numItems"))<=0||h>Number.MAX_SAFE_INTEGER? []:new Array(h).fill(0).map((function(e,t){return String(t)}))),f=function(e){return["moreContainer","itemsContainer","dropWrapper"].concat(e,[qt])}(l);f.forEach((function(t){var i=""+o+t;c[i]=e.document.getElementById(""+i)})),s.children=function(e,t,n,r){var o={};return n.forEach((function(n){var a=""+e+n,s=t[a];s&&(o[a]={width:s.offsetWidth,boundingClientRectWidth:i(s.getBoundingClientRect().width/r),height:s.offsetHeight})})),o}(o,c,f,u);var g=c[o],m=c[o+"itemsContainer"],p=m.childNodes,b=c[o+"moreContainer"],v=b.childNodes,_=Bt(g,"stretchButtonsToMenuWidth"),I=Bt(g,"sameWidthButtons"),w=g.getBoundingClientRect();s.absoluteLeft=w.left,s.bodyClientWidth=e.document.body.clientWidth,s.alignButtons=Bt(g,"dropalign"),s.hoverListPosition=Bt(g,"drophposition"),s.menuBorderY=parseInt(Bt(g,"menuborderY"),10),s.ribbonExtra=parseInt(Bt(g,"ribbonExtra"),10),s.ribbonEls=parseInt(Bt(g,"ribbonEls"),10),s.labelPad=parseInt(Bt(g,"labelPad"),10),s.menuButtonBorder=parseInt(Bt(g,"menubtnBorder"),10),s.menuItemContainerMargins=function(t){var i=t.lastChild,n=e.getComputedStyle(i);return(parseInt(n.marginLeft,10)||0)+(parseInt(n.marginRight,10)||0)}(m),s.menuItemContainerExtraPixels=function(t,i){var r=e.getComputedStyle(t),o=n(r.borderTopWidth)+n(r.paddingTop),a=n(r.borderBottomWidth)+n(r.paddingBottom),s=n(r.borderLeftWidth)+n(r.paddingLeft),c=n(r.borderRightWidth)+n(r.paddingRight);return i&&(o+=n(r.marginTop),a+=n(r.marginBottom),s+=n(r.marginLeft),c+=n(r.marginRight)),{top:o,bottom:a,left:s,right:c,height:o+a,width:s+c}}(m,!0),s.needToOpenMenuUp=r(g),s.menuItemMarginForAllChildren=!_||"false"!==m.getAttribute("data-marginAllChildren"),s.moreSubItem=[],s.labelWidths={},s.linkIds={},s.parentId={},s.menuItems={},s.labels={},v.forEach((function(t,i){s.parentId[t.id]=Bt(t,"parentId");var n=Bt(t,"dataId");s.menuItems[n]={dataId:n,parentId:Bt(t,"parentId"),moreDOMid:t.id,moreIndex:i},c[t.id]=t;var r=t.querySelector("p");c[r.id]=r,s.labels[r.id]={width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,lineHeight:parseInt(e.getComputedStyle(r).fontSize,10)},s.moreSubItem.push(t.id)})),p.forEach((function(e,t){var n=Bt(e,"dataId");s.menuItems[n]=s.menuItems[n]||{},s.menuItems[n].menuIndex=t,s.menuItems[n].menuDOMid=e.id,s.children[e.id].left=e.offsetLeft;var r=e.querySelector("p");c[r.id]=r,s.labelWidths[r.id]=function(e,t){return i(e.getBoundingClientRect().width/t)}(r,u);var o=e.querySelector("p");c[o.id]=o,s.linkIds[e.id]=o.id}));var y=g.offsetHeight;s.height=y,s.width=g.offsetWidth,s.lineHeight=function(e,t){return e-t.menuBorderY-t.labelPad-t.ribbonEls-t.menuButtonBorder-t.ribbonExtra+"px"}(y,s);var T=function(e,i,n,r,o){var a=i.width;i.hasOriginalGapData={},i.originalGapBetweenTextAndBtn={};var s=o.map((function(t){var n,o=r[e+t],a=Bt(o,"originalGapBetweenTextAndBtn");return void 0===a? ]+$/.exec(e)[0]&&(n=n.replace("media","ficons"))),n+e},Rt=function(e){var t=window.location.search.split("&").map((function(e){return e.split("=")})).find((function(e){return e[0].toLowerCase().includes("devicepixelratio")}));return(t?Number(t[1]):null)||e||1},xt=function(e,t){return e.getAttribute(t? We are available to meet with clients in our usual office spaces. * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt At The Counseling & Wellness Center, we believe life is a journey of healing, growing, relating, and living. (Nt(e,n),Gt(e,h)):Nt(e,h)}))},d.connectedCallback=function(){e.prototype.connectedCallback.call(this),t.windowResizeService.observe(this)},d.disconnectedCallback=function(){e.prototype.disconnectedCallback.call(this),t.windowResizeService.unobserve(this)},d.attributeChangedCallback=function(e,t){t&&this.reLayout()},s=a,u=[{key:"observedAttributes",get:function(){return["data-is-full-height","data-container-size"]}}],(c=null)&&Yt(s.prototype,c),u&&Yt(s,u),a}(e)},qt="__more__",Zt="moreContainer",Jt=function(e){void 0===e&&(e=window);var t=function(e,t,i,n,r,o,a,s){if(e-=r*(a?n.length:n.length-1),e-=s.left+s.right,t&&(n=n.map((function(){return o}))),n.some((function(e){return 0===e})))return null;var c=0,u=n.reduce((function(e,t){return e+t}),0);if(u>e)return null;if(t){if(i){var d=Math.floor(e/n.length),h=n.map((function(){return d}));if((c=d*n.length)e.innerHeight/2},o=function(e,t,i,n){var r=t.width,o=t.height,a=t.alignButtons,s=t.hoverListPosition,c=t.menuItemContainerExtraPixels,u=t.absoluteLeft,d=function(e,t,i,n,r,o,a,s,c){var u="0px",d="auto",h=o.left,l=o.width;return"left"===t?u="left"===r?0:h+e.left+"px":"right"===t?(d="right"===r?0:n-h-l-e.right+"px",u="auto"):"left"===r?u=h+(l+e.left-i)/2+"px":"right"===r?(u="auto",d=(l+e.right-(i+e.width))/2+"px"):u=e.left+h+(l-(i+e.width))/2+"px","auto"!==u&&(u=a+parseInt(u,10)<0?0:u),"auto"!==d&&(d=s-parseInt(d,10)>c?0:d),{moreContainerLeft:u,moreContainerRight:d}}(c,a,n,r,s,i,u,u+r,t.bodyClientWidth);return{left:d.moreContainerLeft,right:d.moreContainerRight,top:t.needToOpenMenuUp? "true"===n||"false"!==n&&("null"===n?null:""+ +n===n?+n:n):n:e.dataset[t];var n},jt=function(e,t){return e&&t&&Object.assign(e.dataset,t)},Ft=function(){return window?window.innerHeight||document.documentElement.clientHeight:0},Ht={fit:"contain",fill:"cover"};var Dt=function(e){return void 0===e&&(e=window),{measure:function(e,t,i,n,r){var o=n.containerId,a=n.bgEffectName,s=i[e],c=i[o],u=r.getMediaDimensionsByEffect(a,c.offsetWidth,c.offsetHeight,Ft()),d=u.width,h=u.height;t.width=d,t.height=h,t.currentSrc=s.style.backgroundImage,t.bgEffectName=s.dataset.bgEffectName},patch:function(t,i,n,r,o){var a=n[t];r.containerWidth=i.width,r.containerHeight=i.height;var s,c,u=At(r,o,"bg");s=i.currentSrc,c=u.uri,void 0===s&&(s=""),s.includes(c)&&!!s==! ("customElements"in window)&&i.e(6211).then(i.t.bind(i,45918,23)),! ")).reduce((function(e,t){return e&&void 0!==e[t]?e[t]:null}),e);return null!==n?n:i};function Ot(){for(var e=arguments.length,t=new Array(e),i=0;inav{top:0;right:0;bottom:0;left:0}._1oZ90 ._2MHbW,._1oZ90 ._2vbYi,._1oZ90>nav{position:absolute}._1oZ90 ._2vbYi{visibility:hidden;margin-top:7px}._1oZ90 ._2vbYi[data-dropMode=dropUp]{margin-top:0;margin-bottom:7px}._1oZ90 ._1mmDc{background-color:rgba(var(--bgDrop,var(--color_11)),var(--alpha-bgDrop,1));border-radius:var(--rd,0);box-shadow:var(--shd,0 1px 4px rgba(0,0,0,.6))}._1pt7e,._3KF65{height:100%;width:auto;position:relative;box-sizing:border-box;overflow:visible}._1pt7e[data-state~=header] a,._1pt7e[data-state~=header] div,._3KF65[data-state~=header] a,._3KF65[data-state~=header] div{cursor:default!important}._1pt7e ._2DUrw,._3KF65 ._2DUrw{display:inline-block;height:100%;width:100%}._3KF65{display:var(--display);--display:inline-block;cursor:pointer;font:var(--fnt,var(--font_1))}._3KF65 ._1u8sp{padding:0 var(--pad,5px)}._3KF65 ._1zyfI{display:inline-block;padding:0 10px;color:rgb(var(--txt,var(--color_15)));transition:var(--trans,color .4s ease 0s)}._3KF65[data-state~=drop]{width:100%;display:block}._3KF65[data-state~=drop] ._1zyfI{padding:0 .5em}._3KF65[data-state~=link]:hover ._1zyfI,._3KF65[data-state~=over] ._1zyfI{color:rgb(var(--txth,var(--color_14)));transition:var(--trans,color .4s ease 0s)}._3KF65[data-state~=selected] ._1zyfI{color:rgb(var(--txts,var(--color_14)));transition:var(--trans,color .4s ease 0s)}._1Bha0 ._1I2VE{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background-color:rgba(var(--bg,var(--color_11)),var(--alpha-bg,1))} (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': )|(^data)|(^\/\/)/.test(e)}const we=["/","\\","?","<",">","|","\u201c",":",'"'].map(encodeURIComponent),ye=["\\. Sc new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], At the Counseling and Wellness Center we can help you find the beauty in this season. ")}function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i=1)||t.forceUSM}(e))return $;var o;return}(e,t),e.filters=function(e){const t=e.filters||{},i={};ze(t[te],-100,100)&&(i[te]=t[te]);ze(t[ie],-100,100)&&(i[ie]=t[ie]);ze(t[ne],-100,100)&&(i[ne]=t[ne]);ze(t[re],-180,180)&&(i[re]=t[re]);ze(t[oe],0,100)&&(i[oe]=t[oe]);return i}(t)}function ze(e,t,i){return"number"==typeof e&&!isNaN(e)&&0!==e&&e>=t&&e<=i}function Ue(e,t,i,n){const r=function(e){var t;return null!==(t=null==e?void 0:e.isSEOBot)&&void 0!==t&&t}(n),o=Te(t.id),a=function(e,t){const i=/\.([^. available to meet with clients in our usual office spaces. (n.img.width=e.parts[0].width,n.img.height=e.parts[0].height):(n.img.width=e.src.width,n.img.height=e.src.height);break;case C.SCALE_TO_FIT:case C.LEGACY_FIT_WIDTH:case C.LEGACY_FIT_HEIGHT:case C.LEGACY_FULL:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="contain",n.img.objectPosition=ke[o]||"unset";break;case C.LEGACY_BG_NORMAL:n.img.width="100%",n.img.height="100%",n.img.objectFit="none",n.img.objectPosition=ke[o]||"unset";break;case C.STRETCH:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="fill";break;case C.SCALE_TO_FILL:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="cover"}if("number"==typeof n.img.width&&"number"==typeof n.img.height&&(n.img.width!==t.width||n.img.height!==t.height)){const e=Math.round((t.height-n.img.height)/2),i=Math.round((t.width-n.img.width)/2);Object.assign(n.img,Ne,function(e,t,i){return{[F.TOP_LEFT]:{top:0,left:0},[F.TOP_RIGHT]:{top:0,right:0},[F.TOP]:{top:0,left:t},[F.BOTTOM_LEFT]:{top:0,left:0},[F.BOTTOM_RIGHT]:{bottom:0,right:0},[F.BOTTOM]:{bottom:0,left:t},[F.RIGHT]:{top:e,right:0},[F.LEFT]:{top:e,left:0},[F.CENTER]:{width:i.width,height:i.height,objectFit:"none"}}}(e,i,t)[o])}return i}function Be(e,t){const i={css:{container:{}},attr:{container:{},img:{}}},{css:n,attr:r}=i,{fittingType:o}=e,a=t.alignment,{width:s,height:c}=e.src;let u;switch(n.container.position="relative",o){case C.ORIGINAL_SIZE:case C.LEGACY_ORIGINAL_SIZE:case C.TILE:e.parts&&e.parts.length?