Health News

Hypothyroidism diet: What to eat, trigger foods & expert tips

If you have just been diagnosed with an underactive thyroid, you may be wondering whether there is a specific hypothyroidism diet that could help to treat your condition. Unfortunately, pharmaceutical medication is the only treatment that can restore your thyroid function. But this being said, certain nutritional factors may still provide some relief from your symptoms. 

“Food and nutrients alone will not stop hypothyroidism,” says Dr. Pamela Mason, PhD, from the Health & Food Supplements Information Service (opens in new tab). “Medical care is essential. That said, a good diet makes an important contribution to thyroid health.” 

An underactive thyroid has a profound impact on how our bodies use and store nutrients. “In hypothyroidism, our body’s metabolism suffers numerous changes,” explains Lustin-Nicolae Bilibou, a specialist clinical dietitian at Cygnet Health Care (opens in new tab). “Cholesterol and triglycerides levels will record elevated values, we might experience low protein synthesis, as well as low levels of intestinal sugar absorption. An underactive thyroid can also impact vitamin metabolism.”

Taking into account how complex this condition is, it’s difficult to pinpoint an exact dietary pattern that could help manage it. “There are reports of particular diets that have worked for different people, however they are not a standard medical or dietetic approach for hypothyroidism,” says Bilibou. 

Here, we’ve put together a guide to what research tells us so far about a hypothyroidism diet. But as Mason stresses, “if you are diagnosed with hypothyroidism, check immediately with your doctor and a qualified dietitian about an appropriate diet. It is important to get individual specialist advice on foods and nutrients as the intake of these will depend on the current health of your thyroid gland and the medication prescribed for you.” 

What is hypothyroidism?

According to the National Institute of Diabetes and Digestive and Kidney Diseases (opens in new tab), hypothyroidism (often referred to as underactive thyroid) is when the thyroid gland doesn’t produce enough thyroid hormones to meet the body’s needs. There are many different causes for this condition, but they are often linked to damage in the thyroid gland or autoimmune reactions in the body.  

The thyroid is a small, butterfly-shaped gland located in the front of your neck. It releases the hormones calcitonin, T4 (thyroxine, or tetraiodothyronine) and T3 (triiodothyronine) into the bloodstream. They control the rate at which cells and organs use oxygen and energy from food. So when your levels of thyroid hormones are low, your body’s metabolism slows down. Low levels of thyroid hormones can lead to a range of symptoms, including weight gain, decreased energy levels, low mood and muscle aches.

What are the best foods to eat for hypothyroidism?

Certain nutrients may improve the functioning of the thyroid gland, while certain dietary compounds may lower the effectiveness of hypothyroidism medications. 

While we still don’t understand the full scope of interactions between underactive thyroid and dietary patterns, multiple studies (opens in new tab) suggest that eating plenty of foods rich in anti-inflammatory vitamins and minerals can be highly beneficial for the management of thyroid diseases.

Increasing your intake of plant-based antioxidants and reducing the consumption of animal-based foods could also be helpful, according to the Thyroid (opens in new tab) journal. 

Iodine 

Iodine is a key component of a hypothyroidism diet. According to The Lancet (opens in new tab) journal, this trace mineral is essential for thyroid hormone production, and not getting enough of it is directly linked to hypothyroidism. 

According to The American Journal of the Medical Sciences (opens in new tab), iodine deficiency is very common and affects nearly one-third of the world’s population. However, it’s less of an issue in the United States, where table salt is routinely enriched with iodine and many iodine-rich foods are widely available.

It’s also worth pointing out that iodine supplements need to be taken with caution. Scientists from the International Journal of Endocrinology (opens in new tab) suggest that certain at-risk individuals may actually develop thyroid problems when increasing their iodine intake. Meanwhile, researchers from the European Journal of Endocrinology (opens in new tab) indicate that we need more data to fully understand the potential risks and benefits of such supplementation. 

“Ask for medical or dietetic advice before elevating the iodine in your diet, for inappropriate consumption may negatively affect thyroid function instead of balancing it,” agrees Bilibou. 

Bilibou is an experienced clinical dietitian with a demonstrated history of working in the hospital & health care industry. He has a Bachelor’s degree in Dietetics and two Master\u2019s degrees in Clinical Dietetics and Health Management Systems.”};
/*! For license information please see person.js.LICENSE.txt */
var person;(()=>{var e={3759:(e,t,r)=>{“use strict”;function n(){return n=Object.assign||function(e){for(var t=1;tse});var i=r(6651),s=r.n(i),o=r(1036),a=r.n(o),l={allowedTags:[“b”,”i”,”em”,”strong”,”a”,”p”,”br”],allowedAttributes:{a:[“href”,”name”,”target”]},selfClosing:[“input”],transformTags:{h1:”strong”,h2:”strong”,h3:”strong”}};function c(e){var t,r,n=””;if(“string”==typeof e||”number”==typeof e)n+=e;else if(“object”==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=c(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function u(){for(var e,t,r=0,n="";r=0){var u="text-with-breakpoints–".concat(o),h=e[c].props.className,p="".concat(h," ").concat(u),d=e[c].props.children;e[c]=s().createElement("span",{key:t[c],className:p},d)}}return e}),[])).map((function(e){return e}));var e,t,r}),[f]);return s().createElement(s().Fragment,null,m)};var k=Object.freeze({EMAIL:s().createElement(h,{key:"EMAIL"}),WEBSITE:s().createElement(O,{key:"WEBSITE"}),FACEBOOK:s().createElement(p,{key:"FACEBOOK"}),TWITTER:s().createElement(w,{key:"TWITTER"}),WHATSAPP:s().createElement(x,{key:"WHATSAPP"}),FLIPBOARD:s().createElement(d,{key:"FLIPBOARD"}),INSTAGRAM:s().createElement(f,{key:"INSTAGRAM"}),LINKEDIN:s().createElement(m,{key:"LINKEDIN"}),PINTEREST:s().createElement(g,{key:"PINTEREST"}),REDDIT:s().createElement(b,{key:"REDDIT"}),STEAM:s().createElement(E,{key:"STEAM"}),TIKTOK:s().createElement(y,{key:"TIKTOK"}),TWITCH:s().createElement(v,{key:"TWITCH"}),YOUTUBE:s().createElement(S,{key:"YOUTUBE"}),COMMENTS:s().createElement(_,{key:"COMMENTS"})}),A=Object.values(k);const C=function(e){var t,r=e.iconName,n=e.label,i=e.sideText,o=e.border,a=e.href,l=e.target,c=e.rel,h=r?function(e,t){return t.find((function(t){return t.key===e}))||null}(r,A):null,p=function(e){return["EMAIL","WHATSAPP","WEBSITE"].includes(e)},d=function(){return r?null:s().createElement(s().Fragment,null,!r&&(null==n?void 0:n.abbreviationFor)&&n.labelText&&s().createElement("abbr",{title:n.abbreviationFor,className:"button-social__label button-social__label–abbr"},n.labelText))},f=function(){return r?null:s().createElement(s().Fragment,null,!(null!=n&&n.abbreviationFor)&&(null==n?void 0:n.labelText)&&s().createElement("span",{className:"button-social__label"},n.labelText))},m=function(){return s().createElement(s().Fragment,null,r&&!1===p(r)&&s().createElement("span",{className:"button-social__icon"},h))},g=function(){return r&&p(r)?s().createElement(s().Fragment,null,s().createElement("span",{className:"button-social__icon button-social__icon-".concat(r.toLowerCase())},h)):null},b=function(){return s().createElement(s().Fragment,null,i&&s().createElement("span",{className:"button-social__side-text ".concat("COMMENTS"===r&&"button-social__side-text–comments")},s().createElement(T,{default:(null==i?void 0:i.default)||"",xs:null==i?void 0:i.xs,s:null==i?void 0:i.s,m:null==i?void 0:i.m,l:null==i?void 0:i.l,xl:null==i?void 0:i.xl})))};return r||n?s().createElement("a",{className:"button-social ".concat(o&&o.left?"button-social–border-left":""," ").concat(o&&o.right?"button-social–border-right":""," ").concat("WHATSAPP"===r?"button-social–hide":""),href:a,target:l||"_self",rel:c,"aria-label":u(null!==(t=null==h?void 0:h.key)&&void 0!==t?t:null==n?void 0:n.labelText)},s().createElement(d,null),s().createElement(f,null),s().createElement(g,null),s().createElement(m,null),s().createElement(b,null)):null},P=function(e){var t=e.socialButtons,r=e.className;if(!t||0===t.length)return null;var n=r?" ".concat(r):"";return s().createElement("nav",{className:"button-social-group".concat(n)},t.map((function(e){return s().createElement(C,{iconName:e.iconName,href:e.href,key:e.href,sideText:e.sideText,target:e.target,rel:e.rel,border:e.border,label:e.label})})))};var M=r(4942),D=r(2982),N=r(181);function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,s=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(s.push(n.value),!t||s.length!==t);o=!0);}catch(e){a=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw i}}return s}}(e,t)||(0,N.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r(3279);var j="(?[/a-z0-9]{0,})(?-[0-9]{0,5})?(?-[0-9]{2})?.(?png|jpg|jpeg|gif)(?.webp)?”,I=”/media/img/missing-image.svg”,q=[320,640,720,1280],R={default:”99vw”},z=function(e){return”string”==typeof e?new URL(e.replace(” “,”%20″)):e},B=function(e,t){var r,n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:80,o=i?”.webp”:””,a=z(e),l=new RegExp(j,”i”),c=a.pathname.match(l),u=””;a.pathname&&c&&(u=””.concat(null==c||null===(r=c.groups)||void 0===r?void 0:r.id,”-“).concat(t,”-“).concat(s,”.”).concat(null==c||null===(n=c.groups)||void 0===n?void 0:n.ext).concat(o));var h=””;return a.protocol&&a.host&&(h=””.concat(a.protocol,”//”).concat(a.host)),h+u};const H=function(e,t,r){var n=””;return t.forEach((function(i,s){var o=t.length!==s+1?”, “:””;n=””.concat(n).concat(B(e,i,r),” “).concat(i,”w”).concat(o)})),n};function U(e){return U=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},U(e)}const F=function e(t){return”object”===U(t)&&t.origin?e(t.origin):”string”==typeof t&&t.includes(“.mos.cms.futurecdn.net”)};var V=function(e){var t=function(e){var t,r=new RegExp(j,”i”),n=z(e).pathname.match(r);return(null==n||null===(t=n.groups)||void 0===t?void 0:t.ext)||””}(e);return”jpg”===t&&(t=”jpeg”),”image/”.concat(t)};const G=function(e){var t=z(e),r=new RegExp(j,”i”),n=t.pathname.match(r),i=””;t.pathname&&null!=n&&n.groups&&(i=””.concat(n.groups.id,”.”).concat(n.groups.ext));var s=””;return t.protocol&&t.host&&(s=””.concat(t.protocol,”//”).concat(t.host)),s+i};var W=[“src”,”dataSrcSet”,”dataSrcSetWebp”,”imageSizes”,”onError”];function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Z=function(e){var t,r=e.src,o=e.alt,a=void 0===o?””:o,l=e.className,c=void 0===l?””:l,u=e.attributes,h=void 0===u?{}:u,p=e.srcSetSizes,d=void 0===p?q:p,f=e.sizes,m=void 0===f?R:f,g=e.missingImageSrc,b=void 0===g?null:g,y=e.eager,v=void 0!==y&&y,w=e.onLoad,x=void 0===w?function(){}:w,S=e.setImageRef,E=void 0===S?function(){}:S,_=e.lazyLoading,O=void 0===_||_,T=e.useOriginalUrl,k=void 0!==T&&T,A=(0,i.useRef)(null),C=(0,i.useRef)(null),P=L((0,i.useState)(c),2),N=P[0],j=P[1],z=L((0,i.useState)(!1),2),U=z[0],Z=z[1],X=b||(t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return”undefined”==typeof window?null:window.ffte?e?window.ffte[e]:window.ffte:null}(“staticHost”),t?”https://”.concat(t).concat(I):I),J=function(){j((function(e){return””.concat(e,” loaded”)})),x()},Y=k?G(r):r;if(!F(Y))return s().createElement(“img”,n({“data-hydrate”:!0,key:”nomosimage “.concat(Y,” “).concat(a),src:Y,alt:a,onLoad:J,className:N},h));if(!O)return s().createElement(“img”,n({“data-hydrate”:!0,key:””.concat(Y,” “).concat(a),src:Y,alt:a,onLoad:J,className:N},h));var K,Q,ee,te=B(Y,Math.min.apply(Math,(0,D.Z)(d)),!0),re=function(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(re,W);return s().createElement(“picture”,{“data-hydrate”:!0},s().createElement(“source”,n({className:c,type:”image/webp”,srcSet:se,sizes:oe,ref:function(e){A.current=e}},le)),s().createElement(“source”,n({className:c,type:V(Y),srcSet:ie,sizes:oe,ref:function(e){C.current=e}},le)),s().createElement(“img”,n({key:”image “.concat(ne,” “).concat(a),src:ne,alt:a,sizes:oe,className:N,ref:function(e){e&&E(e)},onLoad:J,onError:U?null:ae},le)))},X=function(e){var t=e.src,r=e.width,n=e.height;return s().createElement(“div”,{itemScope:!0,itemType:”https://schema.org/ImageObject”},s().createElement(“meta”,{itemProp:”url”,content:t}),r&&s().createElement(“meta”,{itemProp:”width”,content:r.toString()}),n&&s().createElement(“meta”,{itemProp:”height”,content:n.toString()}))},J=function(e){var t=e.children,r=e.keepRender,n=void 0===r||r,o=e.root,a=e.rootMargin,l=e.threshold,c=e.sendIsShow,u=L((0,i.useState)(!1),2),h=u[0],p=u[1],d=(0,i.useRef)(null);return(0,i.useEffect)((function(){if(“undefined”!=typeof IntersectionObserver){var e=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting?(p(!0),n&&d.current&&t.unobserve(d.current)):p(!1)}))}),{root:o,rootMargin:a,threshold:l});return d.current&&e.observe(d.current),function(){return e.disconnect()}}return function(){}}),[]),(0,i.useEffect)((function(){c&&c(h)}),[h]),s().createElement(“div”,{“data-hydrate”:!0},!h&&s().createElement(“div”,{className:”lazy-observed”,ref:function(e){e&&(d.current=e)}}),h&&t)},Y=function(e){var t=e.src,r=e.alt,n=e.width,i=e.height,o=e.lazyLoading,a=e.eager,l=e.missingImageSrc,c=e.className,u=e.addSEOMetaData,h=e.srcSetSizes,p=e.sizes,d=e.onLoad,f=e.useOriginalUrl,m=c?””.concat(c,” image__image”):”image__image”,g=s().createElement(s().Fragment,null,s().createElement(Z,{src:t,alt:r,eager:a,className:m,missingImageSrc:l,srcSetSizes:h,sizes:p,onLoad:d,lazyLoading:o,useOriginalUrl:f}),u&&s().createElement(X,{src:t,width:n,height:i}));return o?s().createElement(J,{threshold:[0],rootMargin:”1200px”},g):s().createElement(s().Fragment,null,g)},K=function(e,t){return”_blank”===e&&t?””.concat(t,” noreferrer noopener”):”_blank”!==e||t?t:”noreferrer noopener”};function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t150?150:r}(a,l),”%”)},O={maxWidth:a?””.concat(a,”px”):”none”};return s().createElement(“figure”,{className:”image-wrapped__wrapper”,”data-bordeaux-image-check”:!0},s().createElement(“div”,{className:”image-wrapped__widthsetter”,style:w?{}:O,ref:function(e){e&&x&&x(e)}},s().createElement(“div”,{className:”image-wrapped__aspect-padding”,style:_,ref:function(e){e&&S&&S(e)}},d&&s().createElement(Y,{src:d.src,alt:”endorsement “.concat(null!==(t=d.alt)&&void 0!==t?t:””),lazyLoading:c,eager:h,onLoad:p,className:”img__endorsement “.concat(function(e){switch(e){case”top-left”:return”img__endorsement–top-left”;case”top-right”:return”img__endorsement–top-right”;case”bottom-left”:return”img__endorsement–bottom-left”;default:return”img__endorsement–bottom-right”}}(d.position)),missingImageSrc:f}),s().createElement(Y,{src:r,alt:n,width:a,height:l,lazyLoading:c,eager:h,onLoad:p,missingImageSrc:f,className:u(m,”image-wrapped__image”),addSEOMetaData:g,srcSetSizes:b,sizes:y,useOriginalUrl:E}))),!v&&s().createElement(re,{caption:i,credit:o}))};const ie=function(e){var t=e.src,r=e.alt,n=e.caption,i=e.credit,o=e.width,a=e.height,l=e.lazyLoading,c=e.eager,u=e.onLoad,h=e.imageEndorsement,p=e.missingImageSrc,d=e.link,f={src:t,alt:r,caption:n,credit:i,width:o,height:a,lazyLoading:l,eager:c,onLoad:u,imageEndorsement:h,missingImageSrc:p,link:d,className:e.className,addSEOMetaData:e.addSEOMetaData,srcSetSizes:e.srcSetSizes,sizes:e.sizes,noCredit:e.noCredit,removeNativeWidthRestriction:e.removeNativeWidthRestriction,setImageWidthsetterRef:e.setImageWidthsetterRef,setImageAspectPaddingRef:e.setImageAspectPaddingRef,useOriginalUrl:e.useOriginalUrl};return d?s().createElement(te,d,s().createElement(ne,f)):s().createElement(ne,f)},se=function(e){var t,r=e.name,i=e.socialLinks,o=e.image,c=e.biography,u=e.separator,h=void 0!==u&&u,p=e.role,d=e.strapline,f=void 0===d?””:d,m=h?” person–separator”:””,g=f?” person–strapline”:””;return s().createElement(“div”,{className:”person”.concat(m).concat(g)},f&&s().createElement(“span”,{className:”person__strapline”},f),o&&s().createElement(“div”,{className:”person__avatar-block”},s().createElement(ie,{src:o.src,alt:o.alt,className:”person__avatar”})),s().createElement(“div”,{className:”person__heading”},f&&s().createElement(“span”,{className:”person__strapline-inline”},f),s().createElement(“div”,{className:”person__name-socials”},s().createElement(“span”,{className:”person__name”},r),i&&s().createElement(P,n({className:”person__social-buttons”},i))),s().createElement(“aside”,{className:”person__role”},p)),c&&s().createElement(“div”,{className:”person__bio”,dangerouslySetInnerHTML:{__html:(t=c,a()(t,l))}}))}},9996:e=>{“use strict”;var t=function(e){return function(e){return!!e&&”object”==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return”[object RegExp]”===t||”[object Date]”===t||function(e){return e.$$typeof===r}(e)}(e)},r=”function”==typeof Symbol&&Symbol.for?Symbol.for(“react.element”):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var c=Array.isArray(r);return c===Array.isArray(e)?c?l.arrayMerge(e,r,l):function(e,t,r){var i={};return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(o(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return”function”==typeof r?r:a}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,l):n(r,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error(“first argument should be an array”);return e.reduce((function(e,r){return a(e,r,t)}),{})};var l=a;e.exports=l},7837:(e,t)=>{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([[“altglyph”,”altGlyph”],[“altglyphdef”,”altGlyphDef”],[“altglyphitem”,”altGlyphItem”],[“animatecolor”,”animateColor”],[“animatemotion”,”animateMotion”],[“animatetransform”,”animateTransform”],[“clippath”,”clipPath”],[“feblend”,”feBlend”],[“fecolormatrix”,”feColorMatrix”],[“fecomponenttransfer”,”feComponentTransfer”],[“fecomposite”,”feComposite”],[“feconvolvematrix”,”feConvolveMatrix”],[“fediffuselighting”,”feDiffuseLighting”],[“fedisplacementmap”,”feDisplacementMap”],[“fedistantlight”,”feDistantLight”],[“fedropshadow”,”feDropShadow”],[“feflood”,”feFlood”],[“fefunca”,”feFuncA”],[“fefuncb”,”feFuncB”],[“fefuncg”,”feFuncG”],[“fefuncr”,”feFuncR”],[“fegaussianblur”,”feGaussianBlur”],[“feimage”,”feImage”],[“femerge”,”feMerge”],[“femergenode”,”feMergeNode”],[“femorphology”,”feMorphology”],[“feoffset”,”feOffset”],[“fepointlight”,”fePointLight”],[“fespecularlighting”,”feSpecularLighting”],[“fespotlight”,”feSpotLight”],[“fetile”,”feTile”],[“feturbulence”,”feTurbulence”],[“foreignobject”,”foreignObject”],[“glyphref”,”glyphRef”],[“lineargradient”,”linearGradient”],[“radialgradient”,”radialGradient”],[“textpath”,”textPath”]]),t.attributeNames=new Map([[“definitionurl”,”definitionURL”],[“attributename”,”attributeName”],[“attributetype”,”attributeType”],[“basefrequency”,”baseFrequency”],[“baseprofile”,”baseProfile”],[“calcmode”,”calcMode”],[“clippathunits”,”clipPathUnits”],[“diffuseconstant”,”diffuseConstant”],[“edgemode”,”edgeMode”],[“filterunits”,”filterUnits”],[“glyphref”,”glyphRef”],[“gradienttransform”,”gradientTransform”],[“gradientunits”,”gradientUnits”],[“kernelmatrix”,”kernelMatrix”],[“kernelunitlength”,”kernelUnitLength”],[“keypoints”,”keyPoints”],[“keysplines”,”keySplines”],[“keytimes”,”keyTimes”],[“lengthadjust”,”lengthAdjust”],[“limitingconeangle”,”limitingConeAngle”],[“markerheight”,”markerHeight”],[“markerunits”,”markerUnits”],[“markerwidth”,”markerWidth”],[“maskcontentunits”,”maskContentUnits”],[“maskunits”,”maskUnits”],[“numoctaves”,”numOctaves”],[“pathlength”,”pathLength”],[“patterncontentunits”,”patternContentUnits”],[“patterntransform”,”patternTransform”],[“patternunits”,”patternUnits”],[“pointsatx”,”pointsAtX”],[“pointsaty”,”pointsAtY”],[“pointsatz”,”pointsAtZ”],[“preservealpha”,”preserveAlpha”],[“preserveaspectratio”,”preserveAspectRatio”],[“primitiveunits”,”primitiveUnits”],[“refx”,”refX”],[“refy”,”refY”],[“repeatcount”,”repeatCount”],[“repeatdur”,”repeatDur”],[“requiredextensions”,”requiredExtensions”],[“requiredfeatures”,”requiredFeatures”],[“specularconstant”,”specularConstant”],[“specularexponent”,”specularExponent”],[“spreadmethod”,”spreadMethod”],[“startoffset”,”startOffset”],[“stddeviation”,”stdDeviation”],[“stitchtiles”,”stitchTiles”],[“surfacescale”,”surfaceScale”],[“systemlanguage”,”systemLanguage”],[“tablevalues”,”tableValues”],[“targetx”,”targetX”],[“targety”,”targetY”],[“textlength”,”textLength”],[“viewbox”,”viewBox”],[“viewtarget”,”viewTarget”],[“xchannelselector”,”xChannelSelector”],[“ychannelselector”,”yChannelSelector”],[“zoomandpan”,”zoomAndPan”]])},7220:function(e,t,r){“use strict”;var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(9960)),l=r(5863),c=r(7837),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",i=0;i<r.length;i++)n+=d(r[i],t);return n}function d(e,t){switch(e.type){case a.Root:return p(e.children,t);case a.Directive:case a.Doctype:return"”;case a.Comment:return”\x3c!–“+e.data+”–\x3e”;case a.CDATA:return function(e){return””}(e);case a.Script:case a.Style:case a.Tag:return function(e,t){var r;”foreign”===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&f.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&m.has(e.name)&&(t=n(n({},t),{xmlMode:”foreign”}));var i=””):(i+=”>”,e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&h.has(e.name)||(i+=””)),i}(e,t);case a.Text:return function(e,t){var r=e.data||””;return!1===t.decodeEntities||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=l.encodeXML(r)),r}(e,t)}}t.default=p;var f=new Set([“mi”,”mo”,”mn”,”ms”,”mtext”,”annotation-xml”,”foreignObject”,”desc”,”title”]),m=new Set([“svg”,”math”])},9960:(e,t)=>{“use strict”;var r;Object.defineProperty(t,”__esModule”,{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root=”root”,e.Text=”text”,e.Directive=”directive”,e.Comment=”comment”,e.Script=”script”,e.Style=”style”,e.Tag=”tag”,e.CDATA=”cdata”,e.Doctype=”doctype”}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},7915:function(e,t,r){“use strict”;var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!(“get”in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)”default”===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,”__esModule”,{value:!0}),t.DomHandler=void 0;var s=r(9960),o=r(7790);i(r(7790),t);var a=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,”function”==typeof t&&(r=t,t=l),”object”==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new o.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,r=this.lastNode;if(r&&r.type===s.ElementType.Text)t?r.data=(r.data+e).replace(a,” “):r.data+=e,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{t&&(e=e.replace(a,” “));var n=new o.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(“”),t=new o.NodeWithChildren(s.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new o.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if(“function”==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},7790:function(e,t,r){“use strict”;var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Class extends value “+String(t)+” is not a constructor or null”);function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,”childNodes”,{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=d;var f=function(e){function t(t){return e.call(this,o.ElementType.Root,t)||this}return i(t,e),t}(d);t.Document=f;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i=”script”===t?o.ElementType.Script:”style”===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,i,n)||this;return s.name=t,s.attribs=r,s}return i(t,e),Object.defineProperty(t.prototype,”tagName”,{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,”attributes”,{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e[“x-attribsNamespace”])||void 0===r?void 0:r[t],prefix:null===(n=e[“x-attribsPrefix”])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(d);function g(e){return(0,o.isTag)(e)}function b(e){return e.type===o.ElementType.CDATA}function y(e){return e.type===o.ElementType.Text}function v(e){return e.type===o.ElementType.Comment}function w(e){return e.type===o.ElementType.Directive}function x(e){return e.type===o.ElementType.Root}function S(e,t){var r;if(void 0===t&&(t=!1),y(e))r=new u(e.data);else if(v(e))r=new h(e.data);else if(g(e)){var n=t?E(e.children):[],i=new m(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e[“x-attribsNamespace”]&&(i[“x-attribsNamespace”]=s({},e[“x-attribsNamespace”])),e[“x-attribsPrefix”]&&(i[“x-attribsPrefix”]=s({},e[“x-attribsPrefix”])),r=i}else if(b(e)){n=t?E(e.children):[];var a=new d(o.ElementType.CDATA,n);n.forEach((function(e){return e.parent=a})),r=a}else if(x(e)){n=t?E(e.children):[];var l=new f(n);n.forEach((function(e){return e.parent=l})),e[“x-mode”]&&(l[“x-mode”]=e[“x-mode”]),r=l}else{if(!w(e))throw new Error(“Not implemented yet: “.concat(e.type));var c=new p(e.name,e.data);null!=e[“x-name”]&&(c[“x-name”]=e[“x-name”],c[“x-publicId”]=e[“x-publicId”],c[“x-systemId”]=e[“x-systemId”]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function E(e){for(var t=e.map((function(e){return S(e,!0)})),r=1;r{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.getFeed=void 0;var n=r(3346),i=r(3905);t.getFeed=function(e){var t=l(h,e);return t?”feed”===t.name?function(e){var t,r=e.children,n={type:”atom”,items:(0,i.getElementsByTagName)(“entry”,r).map((function(e){var t,r=e.children,n={media:a(r)};u(n,”id”,”id”,r),u(n,”title”,”title”,r);var i=null===(t=l(“link”,r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);var s=c(“summary”,r)||c(“content”,r);s&&(n.description=s);var o=c(“updated”,r);return o&&(n.pubDate=new Date(o)),n}))};u(n,”id”,”id”,r),u(n,”title”,”title”,r);var s=null===(t=l(“link”,r))||void 0===t?void 0:t.attribs.href;s&&(n.link=s),u(n,”description”,”subtitle”,r);var o=c(“updated”,r);return o&&(n.updated=new Date(o)),u(n,”author”,”email”,r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=l(“channel”,e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],s={type:e.name.substr(0,3),id:””,items:(0,i.getElementsByTagName)(“item”,e.children).map((function(e){var t=e.children,r={media:a(t)};u(r,”id”,”guid”,t),u(r,”title”,”title”,t),u(r,”link”,”link”,t),u(r,”description”,”description”,t);var n=c(“pubDate”,t);return n&&(r.pubDate=new Date(n)),r}))};u(s,”title”,”title”,n),u(s,”link”,”link”,n),u(s,”description”,”description”,n);var o=c(“lastBuildDate”,n);return o&&(s.updated=new Date(o)),u(s,”author”,”managingEditor”,n,!0),s}(t):null};var s=[“url”,”type”,”lang”],o=[“fileSize”,”bitrate”,”framerate”,”samplingrate”,”channels”,”duration”,”height”,”width”];function a(e){return(0,i.getElementsByTagName)(“media:content”,e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,i=s;n<i.length;n++)t[c=i[n]]&&(r[c]=t[c]);for(var a=0,l=o;a{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(7915);function i(e,t){var r=[],i=[];if(e===t)return 0;for(var s=(0,n.hasChildren)(e)?e:e.parent;s;)r.unshift(s),s=s.parent;for(s=(0,n.hasChildren)(t)?t:t.parent;s;)i.unshift(s),s=s.parent;for(var o=Math.min(r.length,i.length),a=0;ac.indexOf(h)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;–t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=i(e,t);return 2&r?-1:4&r?1:0})),e}},9432:function(e,t,r){“use strict”;var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)”default”===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,”__esModule”,{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(3346),t),i(r(5010),t),i(r(6765),t),i(r(8043),t),i(r(3905),t),i(r(4975),t),i(r(6996),t);var s=r(7915);Object.defineProperty(t,”isTag”,{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(t,”isCDATA”,{enumerable:!0,get:function(){return s.isCDATA}}),Object.defineProperty(t,”isText”,{enumerable:!0,get:function(){return s.isText}}),Object.defineProperty(t,”isComment”,{enumerable:!0,get:function(){return s.isComment}}),Object.defineProperty(t,”isDocument”,{enumerable:!0,get:function(){return s.isDocument}}),Object.defineProperty(t,”hasChildren”,{enumerable:!0,get:function(){return s.hasChildren}})},3905:(e,t,r)=>{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(7915),i=r(8043),s={tag_name:function(e){return”function”==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:”*”===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return”function”==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return”function”==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function o(e,t){return”function”==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function a(e,t){return function(r){return e(r)||t(r)}}function l(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(s,t)?s[t](r):o(t,r)}));return 0===t.length?null:t.reduce(a)}t.testElement=function(e,t){var r=l(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var s=l(e);return s?(0,i.filter)(s,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(o(“id”,e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(s.tag_type(e),t,r,n)}},6765:(e,t)=>{“use strict”;function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,”__esModule”,{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var s=i.children;s[s.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var s=n.children;s.splice(s.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},8043:(e,t,r)=>{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var n=r(7915);function i(e,t,r,s){for(var o=[],a=0,l=t;a<l.length;a++){var c=l[a];if(e(c)&&(o.push(c),–s0){var u=i(e,c.children,r,s);if(o.push.apply(o,u),(s-=u.length)<=0)break}}return o}t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),Array.isArray(t)||(t=[t]),i(e,t,r,n)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,i){void 0===i&&(i=!0);for(var s=null,o=0;o0&&(s=e(t,a.children)))}return s},t.existsOne=function e(t,r){return r.some((function(r){return(0,n.isTag)(r)&&(t(r)||r.children.length>0&&e(t,r.children))}))},t.findAll=function(e,t){for(var r,i,s=[],o=t.filter(n.isTag);i=o.shift();){var a=null===(r=i.children)||void 0===r?void 0:r.filter(n.isTag);a&&a.length>0&&o.unshift.apply(o,a),e(i)&&s.push(i)}return s}},3346:function(e,t,r){“use strict”;var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,”__esModule”,{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=r(7915),s=n(r(7220)),o=r(9960);function a(e,t){return(0,s.default)(e,t)}t.getOuterHTML=a,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return a(e,t)})).join(“”):””},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(“”):(0,i.isTag)(t)?”br”===t.name?”\n”:e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:””},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(“”):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:””},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(“”):(0,i.hasChildren)(t)&&(t.type===o.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:””}},5010:(e,t,r)=>{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var n=r(7915),i=[];function s(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function o(e){return e.parent||null}t.getChildren=s,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return s(t);for(var r=[e],n=e.prev,i=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=i;)r.push(i),i=i.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},4076:function(e,t,r){“use strict”;var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,”__esModule”,{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r(9323)),s=n(r(9591)),o=n(r(2586)),a=n(r(26)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=h(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=c(o.default),t.decodeHTMLStrict=c(i.default);var u=function(e,t){return e<t?1:-1};function h(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?a.default(parseInt(t.substr(3),16)):a.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(s.default).sort(u),t=Object.keys(i.default).sort(u),r=0,n=0;r65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e1114111?”�”:(e in i.default&&(e=i.default[e]),s(e))}},7322:function(e,t,r){“use strict”;var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,”__esModule”,{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=u(n(r(2586)).default),s=h(i);t.encodeXML=g(i);var o,a,l=u(n(r(9323)).default),c=h(l);function u(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]=”&”+r+”;”,t}),{})}function h(e){for(var t=[],r=[],n=0,i=Object.keys(e);n<i.length;n++){var s=i[n];1===s.length?t.push("\\"+s):r.push(s)}t.sort();for(var o=0;o<t.length-1;o++){for(var a=o;a<t.length-1&&t[a].charCodeAt(1)+1===t[a+1].charCodeAt(1);)a+=1;var l=1+a-o;l1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+”;”}var m=new RegExp(s.source+”|”+p.source,”g”);function g(e){return function(t){return t.replace(m,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(m,f)},t.escapeUTF8=function(e){return e.replace(s,f)}},5863:(e,t,r)=>{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(4076),i=r(7322);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var s=r(7322);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var o=r(4076);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return o.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return o.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return o.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return o.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return o.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return o.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return o.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return o.decodeXML}})},3870:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&s(t,e,r);return o(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFeed=t.FeedHandler=void 0;var c,u,h=l(r(7915)),p=a(r(9432)),d=r(763);!function(e){e[e.image=0]="image",e[e.audio=1]="audio",e[e.video=2]="video",e[e.document=3]="document",e[e.executable=4]="executable"}(c||(c={})),function(e){e[e.sample=0]="sample",e[e.full=1]="full",e[e.nonstop=2]="nonstop"}(u||(u={}));var f=function(e){function t(t,r){return"object"==typeof t&&(r=t=void 0),e.call(this,t,r)||this}return i(t,e),t.prototype.onend=function(){var e,t,r=b(x,this.dom);if(r){var n={};if("feed"===r.name){var i=r.children;n.type="atom",w(n,"id","id",i),w(n,"title","title",i);var s=v("href",b("link",i));s&&(n.link=s),w(n,"description","subtitle",i),(o=y("updated",i))&&(n.updated=new Date(o)),w(n,"author","email",i,!0),n.items=g("entry",i).map((function(e){var t={},r=e.children;w(t,"id","id",r),w(t,"title","title",r);var n=v("href",b("link",r));n&&(t.link=n);var i=y("summary",r)||y("content",r);i&&(t.description=i);var s=y("updated",r);return s&&(t.pubDate=new Date(s)),t.media=m(r),t}))}else{var o;i=null!==(t=null===(e=b("channel",r.children))||void 0===e?void 0:e.children)&&void 0!==t?t:[],n.type=r.name.substr(0,3),n.id="",w(n,"title","title",i),w(n,"link","link",i),w(n,"description","description",i),(o=y("lastBuildDate",i))&&(n.updated=new Date(o)),w(n,"author","managingEditor",i,!0),n.items=g("item",r.children).map((function(e){var t={},r=e.children;w(t,"id","guid",r),w(t,"title","title",r),w(t,"link","link",r),w(t,"description","description",r);var n=y("pubDate",r);return n&&(t.pubDate=new Date(n)),t.media=m(r),t}))}this.feed=n,this.handleCallback(null)}else this.handleCallback(new Error("couldn't find root of feed"))},t}(h.default);function m(e){return g("media:content",e).map((function(e){var t={medium:e.attribs.medium,isDefault:!!e.attribs.isDefault};return e.attribs.url&&(t.url=e.attribs.url),e.attribs.fileSize&&(t.fileSize=parseInt(e.attribs.fileSize,10)),e.attribs.type&&(t.type=e.attribs.type),e.attribs.expression&&(t.expression=e.attribs.expression),e.attribs.bitrate&&(t.bitrate=parseInt(e.attribs.bitrate,10)),e.attribs.framerate&&(t.framerate=parseInt(e.attribs.framerate,10)),e.attribs.samplingrate&&(t.samplingrate=parseInt(e.attribs.samplingrate,10)),e.attribs.channels&&(t.channels=parseInt(e.attribs.channels,10)),e.attribs.duration&&(t.duration=parseInt(e.attribs.duration,10)),e.attribs.height&&(t.height=parseInt(e.attribs.height,10)),e.attribs.width&&(t.width=parseInt(e.attribs.width,10)),e.attribs.lang&&(t.lang=e.attribs.lang),t}))}function g(e,t){return p.getElementsByTagName(e,t,!0)}function b(e,t){return p.getElementsByTagName(e,t,!0,1)[0]}function y(e,t,r){return void 0===r&&(r=!1),p.getText(p.getElementsByTagName(e,t,r,1)).trim()}function v(e,t){return t?t.attribs[e]:null}function w(e,t,r,n,i){void 0===i&&(i=!1);var s=y(r,n,i);s&&(e[t]=s)}function x(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}t.FeedHandler=f,t.parseFeed=function(e,t){void 0===t&&(t={xmlMode:!0});var r=new f(t);return new d.Parser(r,t).end(e),r.feed}},763:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=n(r(9889)),s=new Set(["input","option","optgroup","select","button","datalist","textarea"]),o=new Set(["p"]),a={tr:new Set(["tr","th","td"]),th:new Set(["th"]),td:new Set(["thead","th","td"]),body:new Set(["head","link","script"]),li:new Set(["li"]),p:o,h1:o,h2:o,h3:o,h4:o,h5:o,h6:o,select:s,input:s,output:s,button:s,datalist:s,textarea:s,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:o,article:o,aside:o,blockquote:o,details:o,div:o,dl:o,fieldset:o,figcaption:o,figure:o,footer:o,form:o,header:o,hr:o,main:o,nav:o,ol:o,pre:o,section:o,table:o,ul:o,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},l=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),c=new Set(["math","svg"]),u=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),h=/\s|\//,p=function(){function e(e,t){var r,n,s,o,a;void 0===t&&(t={}),this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=t,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(r=t.lowerCaseTags)&&void 0!==r?r:!t.xmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:!t.xmlMode,this.tokenizer=new(null!==(s=t.Tokenizer)&&void 0!==s?s:i.default)(this.options,this),null===(a=(o=this.cbs).onparserinit)||void 0===a||a.call(o,this)}return e.prototype.updatePosition=function(e){null===this.endIndex?this.tokenizer.sectionStart0&&a[e].has(n=this.stack[this.stack.length-1]);)this.onclosetag(n);!this.options.xmlMode&&l.has(e)||(this.stack.push(e),c.has(e)?this.foreignContext.push(!0):u.has(e)&&this.foreignContext.push(!1)),null===(r=(t=this.cbs).onopentagname)||void 0===r||r.call(t,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.onopentagend=function(){var e,t;this.updatePosition(1),this.attribs&&(null===(t=(e=this.cbs).onopentag)||void 0===t||t.call(e,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&l.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=””},e.prototype.onclosetag=function(e){if(this.updatePosition(1),this.lowerCaseTagNames&&(e=e.toLowerCase()),(c.has(e)||u.has(e))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&l.has(e))this.options.xmlMode||”br”!==e&&”p”!==e||(this.onopentagname(e),this.closeCurrentTag());else{var t=this.stack.lastIndexOf(e);if(-1!==t)if(this.cbs.onclosetag)for(t=this.stack.length-t;t–;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=t;else”p”!==e||this.options.xmlMode||(this.onopentagname(e),this.closeCurrentTag())}},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},e.prototype.closeCurrentTag=function(){var e,t,r=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===r&&(null===(t=(e=this.cbs).onclosetag)||void 0===t||t.call(e,r),this.stack.pop())},e.prototype.onattribname=function(e){this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,r;null===(r=(t=this.cbs).onattribute)||void 0===r||r.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname=””,this.attribvalue=””},e.prototype.getInstructionName=function(e){var t=e.search(h),r=t0;this.cbs.onclosetag(this.stack[–r]));null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,r,n;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname=””,this.attribname=””,this.attribs=null,this.stack=[],null===(n=(r=this.cbs).onparserinit)||void 0===n||n.call(r,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=p},9889:function(e,t,r){“use strict”;var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,”__esModule”,{value:!0});var i=n(r(26)),s=n(r(9323)),o=n(r(9591)),a=n(r(2586));function l(e){return” “===e||”\n”===e||”\t”===e||”\f”===e||”\r”===e}function c(e){return e>=”a”&&e=”A”&&e<="Z"}function u(e,t,r){var n=e.toLowerCase();return e===n?function(e,i){i===n?e._state=t:(e._state=r,e._index–)}:function(i,s){s===n||s===e?i._state=t:(i._state=r,i._index–)}}function h(e,t){var r=e.toLowerCase();return function(n,i){i===r||i===e?n._state=t:(n._state=3,n._index–)}}var p=u("C",24,16),d=u("D",25,16),f=u("A",26,16),m=u("T",27,16),g=u("A",28,16),b=h("R",35),y=h("I",36),v=h("P",37),w=h("T",38),x=u("R",40,1),S=u("I",41,1),E=u("P",42,1),_=u("T",43,1),O=h("Y",45),T=h("L",46),k=h("E",47),A=u("Y",49,1),C=u("L",50,1),P=u("E",51,1),M=h("I",54),D=h("T",55),N=h("L",56),L=h("E",57),j=u("I",58,1),I=u("T",59,1),q=u("L",60,1),R=u("E",61,1),z=u("#",63,64),B=u("X",66,65),H=function(){function e(e,t){var r;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=t,this.xmlMode=!!(null==e?void 0:e.xmlMode),this.decodeEntities=null===(r=null==e?void 0:e.decodeEntities)||void 0===r||r}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},e.prototype.write=function(e){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=e,this.parse()},e.prototype.end=function(e){this.ended&&this.cbs.onerror(Error(".end() after done!")),e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){"this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||”&”!==e||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},e.prototype.isTagStartChar=function(e){return c(e)||this.xmlMode&&!l(e)&&”/”!==e&&”>”!==e},e.prototype.stateBeforeTagName=function(e){“/”===e?this._state=5:””===e||1!==this.special||l(e)?this._state=1:”!”===e?(this._state=15,this.sectionStart=this._index+1):”?”===e?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(e)?(this._state=this.xmlMode||”s”!==e&&”S”!==e?this.xmlMode||”t”!==e&&”T”!==e?3:52:32,this.sectionStart=this._index):this._state=1},e.prototype.stateInTagName=function(e){(“/”===e||”>”===e||l(e))&&(this.emitToken(“onopentagname”),this._state=8,this._index–)},e.prototype.stateBeforeClosingTagName=function(e){l(e)||(“>”===e?this._state=1:1!==this.special?4===this.special||”s”!==e&&”S”!==e?4!==this.special||”t”!==e&&”T”!==e?(this._state=1,this._index–):this._state=53:this._state=33:this.isTagStartChar(e)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(“>”===e||l(e))&&(this.emitToken(“onclosetag”),this._state=7,this._index–)},e.prototype.stateAfterClosingTagName=function(e){“>”===e&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){“>”===e?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):”/”===e?this._state=4:l(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){“>”===e?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):l(e)||(this._state=8,this._index–)},e.prototype.stateInAttributeName=function(e){(“=”===e||”/”===e||”>”===e||l(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index–)},e.prototype.stateAfterAttributeName=function(e){“=”===e?this._state=11:”/”===e||”>”===e?(this.cbs.onattribend(void 0),this._state=8,this._index–):l(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){‘”‘===e?(this._state=12,this.sectionStart=this._index+1):”‘”===e?(this._state=13,this.sectionStart=this._index+1):l(e)||(this._state=14,this.sectionStart=this._index,this._index–)},e.prototype.handleInAttributeValue=function(e,t){e===t?(this.emitToken(“onattribdata”),this.cbs.onattribend(t),this._state=8):this.decodeEntities&&”&”===e&&(this.emitToken(“onattribdata”),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,'”‘)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,”‘”)},e.prototype.stateInAttributeValueNoQuotes=function(e){l(e)||”>”===e?(this.emitToken(“onattribdata”),this.cbs.onattribend(null),this._state=8,this._index–):this.decodeEntities&&”&”===e&&(this.emitToken(“onattribdata”),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeDeclaration=function(e){this._state=”[“===e?23:”-“===e?18:16},e.prototype.stateInDeclaration=function(e){“>”===e&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){“>”===e&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){“-“===e?(this._state=19,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInComment=function(e){“-“===e&&(this._state=21)},e.prototype.stateInSpecialComment=function(e){“>”===e&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateAfterComment1=function(e){this._state=”-“===e?22:19},e.prototype.stateAfterComment2=function(e){“>”===e?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):”-“!==e&&(this._state=19)},e.prototype.stateBeforeCdata6=function(e){“[“===e?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index–)},e.prototype.stateInCdata=function(e){“]”===e&&(this._state=30)},e.prototype.stateAfterCdata1=function(e){this._state=”]”===e?31:29},e.prototype.stateAfterCdata2=function(e){“>”===e?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):”]”!==e&&(this._state=29)},e.prototype.stateBeforeSpecialS=function(e){“c”===e||”C”===e?this._state=34:”t”===e||”T”===e?this._state=44:(this._state=3,this._index–)},e.prototype.stateBeforeSpecialSEnd=function(e){2!==this.special||”c”!==e&&”C”!==e?3!==this.special||”t”!==e&&”T”!==e?this._state=1:this._state=48:this._state=39},e.prototype.stateBeforeSpecialLast=function(e,t){(“/”===e||”>”===e||l(e))&&(this.special=t),this._state=3,this._index–},e.prototype.stateAfterSpecialLast=function(e,t){“>”===e||l(e)?(this.special=1,this._state=6,this.sectionStart=this._index-t,this._index–):this._state=1},e.prototype.parseFixedEntity=function(e){if(void 0===e&&(e=this.xmlMode?a.default:s.default),this.sectionStart+1=2;){var r=this.buffer.substr(e,t);if(Object.prototype.hasOwnProperty.call(o.default,r))return this.emitPartial(o.default[r]),void(this.sectionStart+=t+1);t–}},e.prototype.stateInNamedEntity=function(e){“;”===e?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(e”9″)&&!c(e)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?”=”!==e&&this.parseFixedEntity(o.default):this.parseLegacyEntity()),this._state=this.baseState,this._index–)},e.prototype.decodeNumericEntity=function(e,t,r){var n=this.sectionStart+e;if(n!==this._index){var s=this.buffer.substring(n,this._index),o=parseInt(s,t);this.emitPartial(i.default(o)),this.sectionStart=r?this._index+1:this._index}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){“;”===e?this.decodeNumericEntity(2,10,!0):(e”9”)&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index–)},e.prototype.stateInHexEntity=function(e){“;”===e?this.decodeNumericEntity(3,16,!0):(e”f”)&&(e”F”)&&(e”9″)&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index–)},e.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},e.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var e=this.buffer.charAt(this._index);1===this._state?this.stateText(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):19===this._state?this.stateInComment(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):32===this._state?this.stateBeforeSpecialS(e):21===this._state?this.stateAfterComment1(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):22===this._state?this.stateAfterComment2(e):18===this._state?this.stateBeforeComment(e):33===this._state?this.stateBeforeSpecialSEnd(e):53===this._state?j(this,e):39===this._state?x(this,e):40===this._state?S(this,e):41===this._state?E(this,e):34===this._state?b(this,e):35===this._state?y(this,e):36===this._state?v(this,e):37===this._state?w(this,e):38===this._state?this.stateBeforeSpecialLast(e,2):42===this._state?_(this,e):43===this._state?this.stateAfterSpecialLast(e,6):44===this._state?O(this,e):29===this._state?this.stateInCdata(e):45===this._state?T(this,e):46===this._state?k(this,e):47===this._state?this.stateBeforeSpecialLast(e,3):48===this._state?A(this,e):49===this._state?C(this,e):50===this._state?P(this,e):51===this._state?this.stateAfterSpecialLast(e,5):52===this._state?M(this,e):54===this._state?D(this,e):55===this._state?N(this,e):56===this._state?L(this,e):57===this._state?this.stateBeforeSpecialLast(e,4):58===this._state?I(this,e):59===this._state?q(this,e):60===this._state?R(this,e):61===this._state?this.stateAfterSpecialLast(e,5):17===this._state?this.stateInProcessingInstruction(e):64===this._state?this.stateInNamedEntity(e):23===this._state?p(this,e):62===this._state?z(this,e):24===this._state?d(this,e):25===this._state?f(this,e):30===this._state?this.stateAfterCdata1(e):31===this._state?this.stateAfterCdata2(e):26===this._state?m(this,e):27===this._state?g(this,e):28===this._state?this.stateBeforeCdata6(e):66===this._state?this.stateInHexEntity(e):65===this._state?this.stateInNumericEntity(e):63===this._state?B(this,e):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},e.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(e):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(e):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(e):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart{“use strict”;function r(e){return”[object Object]”===Object.prototype.toString.call(e)}Object.defineProperty(t,”__esModule”,{value:!0}),t.isPlainObject=function(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty(“isPrototypeOf”))}},2705:(e,t,r)=>{var n=r(5639).Symbol;e.exports=n},4239:(e,t,r)=>{var n=r(2705),i=r(9607),s=r(2333),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?”[object Undefined]”:”[object Null]”:o&&o in Object(e)?i(e):s(e)}},7561:(e,t,r)=>{var n=r(7990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,””):e}},1957:(e,t,r)=>{var n=”object”==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},9607:(e,t,r)=>{var n=r(2705),i=Object.prototype,s=i.hasOwnProperty,o=i.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=s.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var i=o.call(e);return n&&(t?e[a]=r:delete e[a]),i}},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5639:(e,t,r)=>{var n=r(1957),i=”object”==typeof self&&self&&self.Object===Object&&self,s=n||i||Function(“return this”)();e.exports=s},7990:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r–&&t.test(e.charAt(r)););return r}},3279:(e,t,r)=>{var n=r(3218),i=r(7771),s=r(4841),o=Math.max,a=Math.min;e.exports=function(e,t,r){var l,c,u,h,p,d,f=0,m=!1,g=!1,b=!0;if(“function”!=typeof e)throw new TypeError(“Expected a function”);function y(t){var r=l,n=c;return l=c=void 0,f=t,h=e.apply(n,r)}function v(e){return f=e,p=setTimeout(x,t),m?y(e):h}function w(e){var r=e-d;return void 0===d||r>=t||r=u}function x(){var e=i();if(w(e))return S(e);p=setTimeout(x,function(e){var r=t-(e-d);return g?a(r,u-(e-f)):r}(e))}function S(e){return p=void 0,b&&l?y(e):(l=c=void 0,h)}function E(){var e=i(),r=w(e);if(l=arguments,c=this,d=e,r){if(void 0===p)return v(d);if(g)return clearTimeout(p),p=setTimeout(x,t),y(d)}return void 0===p&&(p=setTimeout(x,t)),h}return t=s(t)||0,n(r)&&(m=!!r.leading,u=(g=”maxWait”in r)?o(s(r.maxWait)||0,t):u,b=”trailing”in r?!!r.trailing:b),E.cancel=function(){void 0!==p&&clearTimeout(p),f=0,l=d=c=p=void 0},E.flush=function(){return void 0===p?h:S(i())},E}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&(“object”==t||”function”==t)}},7005:e=>{e.exports=function(e){return null!=e&&”object”==typeof e}},3448:(e,t,r)=>{var n=r(4239),i=r(7005);e.exports=function(e){return”symbol”==typeof e||i(e)&&”[object Symbol]”==n(e)}},7771:(e,t,r)=>{var n=r(5639);e.exports=function(){return n.Date.now()}},4841:(e,t,r)=>{var n=r(7561),i=r(3218),s=r(3448),o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if(“number”==typeof e)return e;if(s(e))return NaN;if(i(e)){var t=”function”==typeof e.valueOf?e.valueOf():e;e=i(t)?t+””:t}if(“string”!=typeof e)return 0===e?e:+e;e=n(e);var r=a.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):o.test(e)?NaN:+e}},9430:function(e,t){var r,n;void 0===(n=”function”==typeof(r=function(){return function(e){function t(e){return” “===e||”\t”===e||”\n”===e||”\f”===e||”\r”===e}function r(t){var r,n=t.exec(e.substring(m));if(n)return r=n[0],m+=r.length,r}for(var n,i,s,o,a,l=e.length,c=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,p=/[,]+$/,d=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m=0,g=[];;){if(r(u),m>=l)return g;n=r(h),i=[],”,”===n.slice(-1)?(n=n.replace(p,””),y()):b()}function b(){for(r(c),s=””,o=”in descriptor”;;){if(a=e.charAt(m),”in descriptor”===o)if(t(a))s&&(i.push(s),s=””,o=”after descriptor”);else{if(“,”===a)return m+=1,s&&i.push(s),void y();if(“(“===a)s+=a,o=”in parens”;else{if(“”===a)return s&&i.push(s),void y();s+=a}}else if(“in parens”===o)if(“)”===a)s+=a,o=”in descriptor”;else{if(“”===a)return i.push(s),void y();s+=a}else if(“after descriptor”===o)if(t(a));else{if(“”===a)return void y();o=”in descriptor”,m-=1}m+=1}}function y(){var t,r,s,o,a,l,c,u,h,p=!1,m={};for(o=0;o<i.length;o++)l=(a=i[o])[a.length-1],c=a.substring(0,a.length-1),u=parseInt(c,10),h=parseFloat(c),d.test(c)&&"w"===l?((t||r)&&(p=!0),0===u?p=!0:t=u):f.test(c)&&"x"===l?((t||r||s)&&(p=!0),h{var t=String,r=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=r(),e.exports.createColors=r},1353:(e,t,r)=>{“use strict”;let n=r(1019);class i extends n{constructor(e){super(e),this.type=”atrule”}append(…e){return this.proxyOf.nodes||(this.nodes=[]),super.append(…e)}prepend(…e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(…e)}}e.exports=i,i.default=i,n.registerAtRule(i)},9932:(e,t,r)=>{“use strict”;let n=r(5631);class i extends n{constructor(e){super(e),this.type=”comment”}}e.exports=i,i.default=i},1019:(e,t,r)=>{“use strict”;let n,i,s,{isClean:o,my:a}=r(5513),l=r(4258),c=r(9932),u=r(5631);function h(e){return e.map((e=>(e.nodes&&(e.nodes=h(e.nodes)),delete e.source,e)))}function p(e){if(e[o]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)p(t)}class d extends u{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if(“decl”===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if(“decl”===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if(“decl”===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if(“rule”===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if(“rule”===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if(“rule”===e.type)return t(e,r)})))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if(“atrule”===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if(“atrule”===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if(“atrule”===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if(“comment”===t.type)return e(t,r)}))}append(…e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(…e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,”prepend”).reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let r,n=0===(e=this.index(e))&&”prepend”,i=this.normalize(t,this.proxyOf.nodes[e],n).reverse();for(let t of i)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)r=this.indexes[t],e<=r&&(this.indexes[t]=r+i.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let r,n=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of n)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)r=this.indexes[t],e=e&&(this.indexes[r]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return”number”==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if(“string”==typeof e)e=h(n(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,”ignore”)}else if(“root”===e.type&&”document”!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,”ignore”)}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error(“Value field is missed in node creation”);”string”!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new s(e)];else{if(!e.text)throw new Error(“Unknown node type in node creation”);e=[new c(e)]}return e.map((e=>(e[a]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[o]&&p(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,””)),e.parent=this.proxyOf,e)))}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,”name”!==t&&”params”!==t&&”selector”!==t||e.markDirty()),!0),get:(e,t)=>”proxyOf”===t?e:e[t]?”each”===t||”string”==typeof t&&t.startsWith(“walk”)?(…r)=>e[t](…r.map((e=>”function”==typeof e?(t,r)=>e(t.toProxy(),r):e))):”every”===t||”some”===t?r=>e[t](((e,…t)=>r(e.toProxy(),…t))):”root”===t?()=>e.root().toProxy():”nodes”===t?e.nodes.map((e=>e.toProxy())):”first”===t||”last”===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}d.registerParse=e=>{n=e},d.registerRule=e=>{i=e},d.registerAtRule=e=>{s=e},e.exports=d,d.default=d,d.rebuild=e=>{“atrule”===e.type?Object.setPrototypeOf(e,s.prototype):”rule”===e.type?Object.setPrototypeOf(e,i.prototype):”decl”===e.type?Object.setPrototypeOf(e,l.prototype):”comment”===e.type&&Object.setPrototypeOf(e,c.prototype),e[a]=!0,e.nodes&&e.nodes.forEach((e=>{d.rebuild(e)}))}},2671:(e,t,r)=>{“use strict”;let n=r(4241),i=r(2868);class s extends Error{constructor(e,t,r,n,i,o){super(e),this.name=”CssSyntaxError”,this.reason=e,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),void 0!==t&&void 0!==r&&(“number”==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s)}setMessage(){this.message=this.plugin?this.plugin+”: “:””,this.message+=this.file?this.file:””,void 0!==this.line&&(this.message+=”:”+this.line+”:”+this.column),this.message+=”: “+this.reason}showSourceCode(e){if(!this.source)return””;let t=this.source;null==e&&(e=n.isColorSupported),i&&e&&(t=i(t));let r,s,o=t.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,o.length),c=String(l).length;if(e){let{bold:e,red:t,gray:i}=n.createColors(!0);r=r=>e(t(r)),s=e=>i(e)}else r=s=e=>e;return o.slice(a,l).map(((e,t)=>{let n=a+1+t,i=” “+(” “+n).slice(-c)+” | “;if(n===this.line){let t=s(i.replace(/\d/g,” “))+e.slice(0,this.column-1).replace(/[^\t]/g,” “);return r(“>”)+s(i)+e+”\n “+t+r(“^”)}return” “+s(i)+e})).join(“\n”)}toString(){let e=this.showSourceCode();return e&&(e=”\n\n”+e+”\n”),this.name+”: “+this.message+e}}e.exports=s,s.default=s},4258:(e,t,r)=>{“use strict”;let n=r(5631);class i extends n{constructor(e){e&&void 0!==e.value&&”string”!=typeof e.value&&(e={…e,value:String(e.value)}),super(e),this.type=”decl”}get variable(){return this.prop.startsWith(“–“)||”$”===this.prop[0]}}e.exports=i,i.default=i},6461:(e,t,r)=>{“use strict”;let n,i,s=r(1019);class o extends s{constructor(e){super({type:”document”,…e}),this.nodes||(this.nodes=[])}toResult(e={}){return new n(new i,this,e).stringify()}}o.registerLazyResult=e=>{n=e},o.registerProcessor=e=>{i=e},e.exports=o,o.default=o},250:(e,t,r)=>{“use strict”;let n=r(4258),i=r(7981),s=r(9932),o=r(1353),a=r(5995),l=r(1025),c=r(1675);function u(e,t){if(Array.isArray(e))return e.map((e=>u(e)));let{inputs:r,…h}=e;if(r){t=[];for(let e of r){let r={…e,__proto__:a.prototype};r.map&&(r.map={…r.map,__proto__:i.prototype}),t.push(r)}}if(h.nodes&&(h.nodes=e.nodes.map((e=>u(e,t)))),h.source){let{inputId:e,…r}=h.source;h.source=r,null!=e&&(h.source.input=t[e])}if(“root”===h.type)return new l(h);if(“decl”===h.type)return new n(h);if(“rule”===h.type)return new c(h);if(“comment”===h.type)return new s(h);if(“atrule”===h.type)return new o(h);throw new Error(“Unknown node type: “+e.type)}e.exports=u,u.default=u},5995:(e,t,r)=>{“use strict”;let{SourceMapConsumer:n,SourceMapGenerator:i}=r(209),{fileURLToPath:s,pathToFileURL:o}=r(7414),{resolve:a,isAbsolute:l}=r(9830),{nanoid:c}=r(2961),u=r(2868),h=r(2671),p=r(7981),d=Symbol(“fromOffsetCache”),f=Boolean(n&&i),m=Boolean(a&&l);class g{constructor(e,t={}){if(null==e||”object”==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),”\ufeff”===this.css[0]||”&#65534;”===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!m||/^\w+:\/\//.test(t.from)||l(t.from)?this.file=t.from:this.file=a(t.from)),m&&f){let e=new p(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=””),this.map&&(this.map.file=this.from)}fromOffset(e){let t,r;if(this[d])r=this[d];else{let e=this.css.split(“\n”);r=new Array(e.length);let t=0;for(let n=0,i=e.length;n=t)n=r.length-1;else{let t,i=r.length-2;for(;n>1),e=r[t+1])){n=t;break}n=t+1}}return{line:n+1,col:e-r[n]+1}}error(e,t,r,n={}){let i,s,a;if(t&&”object”==typeof t){let e=t,n=r;if(“number”==typeof t.offset){let n=this.fromOffset(e.offset);t=n.line,r=n.col}else t=e.line,r=e.column;if(“number”==typeof n.offset){let e=this.fromOffset(n.offset);s=e.line,a=e.col}else s=n.line,a=n.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let l=this.origin(t,r,s,a);return i=l?new h(e,void 0===l.endLine?l.line:{line:l.line,column:l.column},void 0===l.endLine?l.column:{line:l.endLine,column:l.endColumn},l.source,l.file,n.plugin):new h(e,void 0===s?t:{line:t,column:r},void 0===s?r:{line:s,column:a},this.css,this.file,n.plugin),i.input={line:t,column:r,endLine:s,endColumn:a,source:this.css},this.file&&(o&&(i.input.url=o(this.file).toString()),i.input.file=this.file),i}origin(e,t,r,n){if(!this.map)return!1;let i,a,c=this.map.consumer(),u=c.originalPositionFor({line:e,column:t});if(!u.source)return!1;”number”==typeof r&&(i=c.originalPositionFor({line:r,column:n})),a=l(u.source)?o(u.source):new URL(u.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let h={url:a.toString(),line:u.line,column:u.column,endLine:i&&i.line,endColumn:i&&i.column};if(“file:”===a.protocol){if(!s)throw new Error(“file: protocol is not available in this PostCSS build”);h.file=s(a)}let p=c.sourceContentFor(u.source);return p&&(h.source=p),h}mapResolve(e){return/^\w+:\/\//.test(e)?e:a(this.map.consumer().sourceRoot||this.map.root||”.”,e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of[“hasBOM”,”css”,”file”,”id”])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={…this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=g,g.default=g,u&&u.registerInput&&u.registerInput(g)},1939:(e,t,r)=>{“use strict”;let{isClean:n,my:i}=r(5513),s=r(8505),o=r(7088),a=r(1019),l=r(6461),c=(r(2448),r(3632)),u=r(6939),h=r(1025);const p={document:”Document”,root:”Root”,atrule:”AtRule”,rule:”Rule”,decl:”Declaration”,comment:”Comment”},d={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},f={postcssPlugin:!0,prepare:!0,Once:!0};function m(e){return”object”==typeof e&&”function”==typeof e.then}function g(e){let t=!1,r=p[e.type];return”decl”===e.type?t=e.prop.toLowerCase():”atrule”===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+”-“+t,0,r+”Exit”,r+”Exit-“+t]:t?[r,r+”-“+t,r+”Exit”,r+”Exit-“+t]:e.append?[r,0,r+”Exit”]:[r,r+”Exit”]}function b(e){let t;return t=”document”===e.type?[“Document”,0,”DocumentExit”]:”root”===e.type?[“Root”,0,”RootExit”]:g(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function y(e){return e[n]=!1,e.nodes&&e.nodes.forEach((e=>y(e))),e}let v={};class w{constructor(e,t,r){let n;if(this.stringified=!1,this.processed=!1,”object”!=typeof t||null===t||”root”!==t.type&&”document”!==t.type)if(t instanceof w||t instanceof c)n=y(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=u;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{n=e(t,r)}catch(e){this.processed=!0,this.error=e}n&&!n[i]&&a.rebuild(n)}else n=y(t);this.result=new c(e,n,r),this.helpers={…v,result:this.result,postcss:v},this.plugins=this.processor.plugins.map((e=>”object”==typeof e&&e.prepare?{…e,…e.prepare(this.result)}:e))}get[Symbol.toStringTag](){return”LazyResult”}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[n];)e[n]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(“document”===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=o;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new s(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}walkSync(e){e[n]=!0;let t=g(e);for(let r of t)if(0===r)e.nodes&&e.each((e=>{e[n]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(“root”!==t.type&&”document”!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(“object”==typeof e&&e.Once){if(“document”===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if(“function”==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error(“Use process(css).then(cb) to work with async plugins”)}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,”CssSyntaxError”!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(“document”===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if(“object”==typeof t)for(let r in t){if(!d[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[r])if(“object”==typeof t[r])for(let n in t[r])e(t,”*”===n?r:r+”-“+n.toLowerCase(),t[r][n]);else”function”==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:r,visitors:i}=t;if(“root”!==r.type&&”document”!==r.type&&!r.parent)return void e.pop();if(i.length>0&&t.visitorIndex<i.length){let[e,n]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return n(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let i,s=t.iterator;for(;i=r.nodes[r.indexes[s]];)if(r.indexes[s]+=1,!i[n])return i[n]=!0,void e.push(b(i));t.iterator=0,delete r.indexes[s]}let s=t.events;for(;t.eventIndex{v=e},e.exports=w,w.default=w,h.registerLazyResult(w),l.registerLazyResult(w)},4715:e=>{“use strict”;let t={split(e,t,r){let n=[],i=””,s=!1,o=0,a=!1,l=!1;for(let r of e)l?l=!1:”\\”===r?l=!0:a?r===a&&(a=!1):'”‘===r||”‘”===r?a=r:”(“===r?o+=1:”)”===r?o>0&&(o-=1):0===o&&t.includes(r)&&(s=!0),s?(“”!==i&&n.push(i.trim()),i=””,s=!1):i+=r;return(r||””!==i)&&n.push(i.trim()),n},space:e=>t.split(e,[” “,”\n”,”\t”]),comma:e=>t.split(e,[“,”],!0)};e.exports=t,t.default=t},8505:(e,t,r)=>{“use strict”;let{SourceMapConsumer:n,SourceMapGenerator:i}=r(209),{dirname:s,resolve:o,relative:a,sep:l}=r(9830),{pathToFileURL:c}=r(7414),u=r(5995),h=Boolean(n&&i),p=Boolean(s&&o&&a&&l);e.exports=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new u(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t–)e=this.root.nodes[t],”comment”===e.type&&0===e.text.indexOf(“# sourceMappingURL=”)&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,””))}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;r&&!e[r]&&(e[r]=!0,this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css))}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):””;this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),i=e.root||s(e.file);!1===this.mapOpts.sourcesContent?(t=new n(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(i)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return Buffer?Buffer.from(e).toString(“base64″):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?”data:application/json;base64,”+this.toBase64(this.map.toString()):”string”==typeof this.mapOpts.annotation?this.mapOpts.annotation:”function”==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+”.map”;let t=”\n”;this.css.includes(“\r\n”)&&(t=”\r\n”),this.css+=t+”/*# sourceMappingURL=”+e+” */”}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):”to.css”}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e)}else this.map=new i({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):””,generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf(“<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?s(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=s(o(t,this.mapOpts.annotation))),a(t,e)}toUrl(e){return"\\"===l&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(c)return c(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new i({file:this.outputFile()});let e,t,r=1,n=1,s="”,o={source:””,generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((i,a,l)=>{if(this.css+=i,a&&”end”!==l&&(o.generated.line=r,o.generated.column=n-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1,this.map.addMapping(o)):(o.source=s,o.original.line=1,o.original.column=0,this.map.addMapping(o))),e=i.match(/\n/g),e?(r+=e.length,t=i.lastIndexOf(“\n”),n=i.length-t):n+=i.length,a&&”start”!==l){let e=a.parent||{raws:{}};(“decl”!==a.type||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=r,o.generated.column=n-2,this.map.addMapping(o)):(o.source=s,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=n-1,this.map.addMapping(o)))}}))}generate(){if(this.clearAnnotation(),p&&h&&this.isMap())return this.generateMap();{let e=””;return this.stringify(this.root,(t=>{e+=t})),[e]}}}},7647:(e,t,r)=>{“use strict”;let n=r(8505),i=r(7088),s=(r(2448),r(6939));const o=r(3632);class a{constructor(e,t,r){let s;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let a=i;this.result=new o(this._processor,s,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,”root”,{get:()=>l.root});let c=new n(a,s,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return”NoWorkResult”}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=s;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}e.exports=a,a.default=a},5631:(e,t,r)=>{“use strict”;let{isClean:n,my:i}=r(5513),s=r(2671),o=r(1062),a=r(7088);function l(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if(“proxyCache”===n)continue;let i=e[n],s=typeof i;”parent”===n&&”object”===s?t&&(r[n]=t):”source”===n?r[n]=i:Array.isArray(i)?r[n]=i.map((e=>l(e,r))):(“object”===s&&null!==i&&(i=l(i)),r[n]=i)}return r}class c{constructor(e={}){this.raws={},this[n]=!1,this[i]=!0;for(let t in e)if(“nodes”===t){this.nodes=[];for(let r of e[t])”function”==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:r,end:n}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:n.line,column:n.column},t)}return new s(e)}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=a){e.stringify&&(e=e.stringify);let t=””;return e(this,(e=>{t+=e})),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=l(this);for(let r in e)t[r]=e[r];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(…e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&”document”!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new o).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let r={},n=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if(“parent”===e||”proxyCache”===e)continue;let n=this[e];if(Array.isArray(n))r[e]=n.map((e=>”object”==typeof e&&e.toJSON?e.toJSON(null,t):e));else if(“object”==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if(“source”===e){let s=t.get(n.input);null==s&&(s=i,t.set(n.input,i),i++),r[e]={inputId:s,start:n.start,end:n.end}}else r[e]=n}return n&&(r.inputs=[…t.keys()].map((e=>e.toJSON()))),r}positionInside(e){let t=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(r=1,n+=1):r+=1;return{line:n,column:r}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n),r=this.positionInside(n+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?r={line:e.end.line,column:e.end.column}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column(e[t]===r||(e[t]=r,”prop”!==t&&”value”!==t&&”name”!==t&&”params”!==t&&”important”!==t&&”text”!==t||e.markDirty()),!0),get:(e,t)=>”proxyOf”===t?e:”root”===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[n]){this[n]=!1;let e=this;for(;e=e.parent;)e[n]=!1}}get proxyOf(){return this}}e.exports=c,c.default=c},6939:(e,t,r)=>{“use strict”;let n=r(1019),i=r(8867),s=r(5995);function o(e,t){let r=new s(e,t),n=new i(r);try{n.parse()}catch(e){throw e}return n.root}e.exports=o,o.default=o,n.registerParse(o)},8867:(e,t,r)=>{“use strict”;let n=r(4258),i=r(3852),s=r(9932),o=r(1353),a=r(1025),l=r(1675);const c={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces=””,this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case”space”:this.spaces+=e[1];break;case”;”:this.freeSemicolon(e);break;case”}”:this.end(e);break;case”comment”:this.comment(e);break;case”at-word”:this.atrule(e);break;case”{“:this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new s;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text=””,t.raws.left=r,t.raws.right=””;else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector=””,t.raws.between=””,this.current=t}other(e){let t=!1,r=null,n=!1,i=null,s=[],o=e[1].startsWith(“–“),a=[],l=e;for(;l;){if(r=l[0],a.push(l),”(“===r||”[“===r)i||(i=l),s.push(“(“===r?”)”:”]”);else if(o&&n&&”{“===r)i||(i=l),s.push(“}”);else if(0===s.length){if(“;”===r){if(n)return void this.decl(a,o);break}if(“{“===r)return void this.rule(a);if(“}”===r){this.tokenizer.back(a.pop()),t=!0;break}”:”===r&&(n=!0)}else r===s[s.length-1]&&(s.pop(),0===s.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(i),t&&n){if(!o)for(;a.length&&(l=a[a.length-1][0],”space”===l||”comment”===l);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,”selector”,e),this.current=t}decl(e,t){let r=new n;this.init(r,e[0][2]);let i,s=e[e.length-1];for(“;”===s[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||function(e){for(let t=e.length-1;t>=0;t–){let r=e[t],n=r[3]||r[2];if(n)return n}}(e));”word”!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop=””;e.length;){let t=e[0][0];if(“:”===t||”space”===t||”comment”===t)break;r.prop+=e.shift()[1]}for(r.raws.between=””;e.length;){if(i=e.shift(),”:”===i[0]){r.raws.between+=i[1];break}”word”===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1]}”_”!==r.prop[0]&&”*”!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o,a=[];for(;e.length&&(o=e[0][0],”space”===o||”comment”===o);)a.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t–){if(i=e[t],”!important”===i[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n,” !important”!==n&&(r.raws.important=n);break}if(“important”===i[1].toLowerCase()){let n=e.slice(0),i=””;for(let e=t;e>0;e–){let t=n[e][0];if(0===i.trim().indexOf(“!”)&&”space”!==t)break;i=n.pop()[1]+i}0===i.trim().indexOf(“!”)&&(r.important=!0,r.raws.important=i,e=n)}if(“space”!==i[0]&&”comment”!==i[0])break}e.some((e=>”space”!==e[0]&&”comment”!==e[0]))&&(r.raws.between+=a.map((e=>e[1])).join(“”),a=[]),this.raw(r,”value”,a.concat(e),t),r.value.includes(“:”)&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,r,n,i=new o;i.name=e[1].slice(1),””===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let s=!1,a=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],”(“===t||”[“===t?c.push(“(“===t?”)”:”]”):”{“===t&&c.length>0?c.push(“}”):t===c[c.length-1]&&c.pop(),0===c.length){if(“;”===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if(“{“===t){a=!0;break}if(“}”===t){if(l.length>0){for(n=l.length-1,r=l[n];r&&”space”===r[0];)r=l[–n];r&&(i.source.end=this.getPosition(r[3]||r[2]))}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,”params”,l),s&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between=””)):(i.raws.afterName=””,i.params=””),a&&(i.nodes=[],this.current=i)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||””)+this.spaces,this.spaces=””,this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||””)+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&”rule”===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces=””)}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces=””,”comment”!==e.type&&(this.semicolon=!1)}raw(e,t,r,n){let i,s,o,a,l=r.length,u=””,h=!0;for(let e=0;ee+t[1]),””);e.raws[t]={value:u,raw:n}}e[t]=u}spacesAndCommentsFromEnd(e){let t,r=””;for(;e.length&&(t=e[e.length-1][0],”space”===t||”comment”===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r=””;for(;e.length&&(t=e[0][0],”space”===t||”comment”===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r=””;for(;e.length&&(t=e[e.length-1][0],”space”===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r=””;for(let n=t;n=0&&(r=e[i],”space”===r[0]||(n+=1,2!==n));i–);throw this.input.error(“Missed semicolon”,”word”===r[0]?r[3]+1:r[2])}}},20:(e,t,r)=>{“use strict”;let n=r(2671),i=r(4258),s=r(1939),o=r(1019),a=r(1723),l=r(7088),c=r(250),u=r(6461),h=r(1728),p=r(9932),d=r(1353),f=r(3632),m=r(5995),g=r(6939),b=r(4715),y=r(1675),v=r(1025),w=r(5631);function x(…e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new a(e)}x.plugin=function(e,t){let r,n=!1;function i(…r){console&&console.warn&&!n&&(n=!0,console.warn(e+”: postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration”),process.env.LANG&&process.env.LANG.startsWith(“cn”)&&console.warn(e+”: 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226″));let i=t(…r);return i.postcssPlugin=e,i.postcssVersion=(new a).version,i}return Object.defineProperty(i,”postcss”,{get:()=>(r||(r=i()),r)}),i.process=function(e,t,r){return x([i(r)]).process(e,t)},i},x.stringify=l,x.parse=g,x.fromJSON=c,x.list=b,x.comment=e=>new p(e),x.atRule=e=>new d(e),x.decl=e=>new i(e),x.rule=e=>new y(e),x.root=e=>new v(e),x.document=e=>new u(e),x.CssSyntaxError=n,x.Declaration=i,x.Container=o,x.Processor=a,x.Document=u,x.Comment=p,x.Warning=h,x.AtRule=d,x.Result=f,x.Input=m,x.Rule=y,x.Root=v,x.Node=w,s.registerPostcss(x),e.exports=x,x.default=x},7981:(e,t,r)=>{“use strict”;let{SourceMapConsumer:n,SourceMapGenerator:i}=r(209),{existsSync:s,readFileSync:o}=r(4777),{dirname:a,join:l}=r(9830);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,”data:”);let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=a(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new n(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,””).trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf(“*/”,r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,”base64″).toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error(“Unsupported source map encoding “+r)}loadFile(e){if(this.root=a(e),s(e))return this.mapFile=e,o(e,”utf-8”).toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if(“string”==typeof t)return t;if(“function”!=typeof t){if(t instanceof n)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error(“Unsupported previous source map format: “+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error(“Unable to load previous source map: “+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(a(e),t)),this.loadFile(t)}}}isMap(e){return”object”==typeof e&&(“string”==typeof e.mappings||”string”==typeof e._mappings||Array.isArray(e.sections))}}e.exports=c,c.default=c},1723:(e,t,r)=>{“use strict”;let n=r(7647),i=r(1939),s=r(6461),o=r(1025);class a{constructor(e=[]){this.version=”8.4.14″,this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new n(this,e,t):new i(this,e,t)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),”object”==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(“object”==typeof r&&r.postcssPlugin)t.push(r);else if(“function”==typeof r)t.push(r);else if(“object”!=typeof r||!r.parse&&!r.stringify)throw new Error(r+” is not a PostCSS plugin”);return t}}e.exports=a,a.default=a,o.registerProcessor(a),s.registerProcessor(a)},3632:(e,t,r)=>{“use strict”;let n=r(1728);class i{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>”warning”===e.type))}get content(){return this.css}}e.exports=i,i.default=i},1025:(e,t,r)=>{“use strict”;let n,i,s=r(1019);class o extends s{constructor(e){super(e),this.type=”root”,this.nodes||(this.nodes=[])}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,t,r){let n=super.normalize(e);if(t)if(“prepend”===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}toResult(e={}){return new n(new i,this,e).stringify()}}o.registerLazyResult=e=>{n=e},o.registerProcessor=e=>{i=e},e.exports=o,o.default=o},1675:(e,t,r)=>{“use strict”;let n=r(1019),i=r(4715);class s extends n{constructor(e){super(e),this.type=”rule”,this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:”,”+this.raw(“between”,”beforeOpen”);this.selector=e.join(r)}}e.exports=s,s.default=s,n.registerRule(s)},1062:e=>{“use strict”;const t={colon:”: “,indent:” “,beforeDecl:”\n”,beforeRule:”\n”,beforeOpen:” “,beforeClose:”\n”,beforeComment:”\n”,after:”\n”,emptyBody:””,commentLeft:” “,commentRight:” “,semicolon:!1};class r{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error(“Unknown AST node type “+e.type+”. Maybe you need to change PostCSS stringifier.”);this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,”left”,”commentLeft”),r=this.raw(e,”right”,”commentRight”);this.builder(“/*”+t+e.text+r+”*/”,e)}decl(e,t){let r=this.raw(e,”between”,”colon”),n=e.prop+r+this.rawValue(e,”value”);e.important&&(n+=e.raws.important||” !important”),t&&(n+=”;”),this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,”selector”)),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,”end”)}atrule(e,t){let r=”@”+e.name,n=e.params?this.rawValue(e,”params”):””;if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=” “),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||””)+(t?”;”:””);this.builder(r+n+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&”comment”===e.nodes[t].type;)t-=1;let r=this.raw(e,”semicolon”);for(let n=0;n{if(i=e.raws[r],void 0!==i)return!1}))}var a;return void 0===i&&(i=t[n]),o.rawCache[n]=i,i}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&”decl”===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split(“\n”);return t=e[e.length-1],t=t.replace(/\S/g,””),!1}})),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes(“\n”)&&(r=r.replace(/[^\n]+$/,””)),!1})),void 0===r?r=this.raw(t,null,”beforeDecl”):r&&(r=r.replace(/\S/g,””)),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes(“\n”)&&(r=r.replace(/[^\n]+$/,””)),!1})),void 0===r?r=this.raw(t,null,”beforeRule”):r&&(r=r.replace(/\S/g,””)),r}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes(“\n”)&&(t=t.replace(/[^\n]+$/,””)),!1})),t&&(t=t.replace(/\S/g,””)),t}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes(“\n”)&&(t=t.replace(/[^\n]+$/,””)),!1})),t&&(t=t.replace(/\S/g,””)),t}rawBeforeOpen(e){let t;return e.walk((e=>{if(“decl”!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,””),!1})),t}beforeAfter(e,t){let r;r=”decl”===e.type?this.raw(e,null,”beforeDecl”):”comment”===e.type?this.raw(e,null,”beforeComment”):”before”===t?this.raw(e,null,”beforeRule”):this.raw(e,null,”beforeClose”);let n=e.parent,i=0;for(;n&&”root”!==n.type;)i+=1,n=n.parent;if(r.includes(“\n”)){let t=this.raw(e,null,”indent”);if(t.length)for(let e=0;e{“use strict”;let n=r(1062);function i(e,t){new n(t).stringify(e)}e.exports=i,i.default=i},5513:e=>{“use strict”;e.exports.isClean=Symbol(“isClean”),e.exports.my=Symbol(“my”)},3852:e=>{“use strict”;const t=”‘”.charCodeAt(0),r='”‘.charCodeAt(0),n=”\\”.charCodeAt(0),i=”/”.charCodeAt(0),s=”\n”.charCodeAt(0),o=” “.charCodeAt(0),a=”\f”.charCodeAt(0),l=”\t”.charCodeAt(0),c=”\r”.charCodeAt(0),u=”[“.charCodeAt(0),h=”]”.charCodeAt(0),p=”(“.charCodeAt(0),d=”)”.charCodeAt(0),f=”{“.charCodeAt(0),m=”}”.charCodeAt(0),g=”;”.charCodeAt(0),b=”*”.charCodeAt(0),y=”:”.charCodeAt(0),v=”@”.charCodeAt(0),w=/[\t\n\f\r “#'()/;[\\\]{}]/g,x=/[\t\n\f\r !”#'():;@[\\\]{}]|\/(?=\*)/g,S=/.[\n”‘(/\\]/,E=/[\da-f]/i;e.exports=function(e,_={}){let O,T,k,A,C,P,M,D,N,L,j=e.css.valueOf(),I=_.ignoreErrors,q=j.length,R=0,z=[],B=[];function H(t){throw e.error(“Unclosed “+t,R)}return{back:function(e){B.push(e)},nextToken:function(e){if(B.length)return B.pop();if(R>=q)return;let _=!!e&&e.ignoreUnclosed;switch(O=j.charCodeAt(R),O){case s:case o:case l:case c:case a:T=R;do{T+=1,O=j.charCodeAt(T)}while(O===o||O===s||O===l||O===c||O===a);L=[“space”,j.slice(R,T)],R=T-1;break;case u:case h:case f:case m:case y:case g:case d:{let e=String.fromCharCode(O);L=[e,e,R];break}case p:if(D=z.length?z.pop()[1]:””,N=j.charCodeAt(R+1),”url”===D&&N!==t&&N!==r&&N!==o&&N!==s&&N!==l&&N!==a&&N!==c){T=R;do{if(P=!1,T=j.indexOf(“)”,T+1),-1===T){if(I||_){T=R;break}H(“bracket”)}for(M=T;j.charCodeAt(M-1)===n;)M-=1,P=!P}while(P);L=[“brackets”,j.slice(R,T+1),R,T],R=T}else T=j.indexOf(“)”,R+1),A=j.slice(R,T+1),-1===T||S.test(A)?L=[“(“,”(“,R]:(L=[“brackets”,A,R,T],R=T);break;case t:case r:k=O===t?”‘”:'”‘,T=R;do{if(P=!1,T=j.indexOf(k,T+1),-1===T){if(I||_){T=R+1;break}H(“string”)}for(M=T;j.charCodeAt(M-1)===n;)M-=1,P=!P}while(P);L=[“string”,j.slice(R,T+1),R,T],R=T;break;case v:w.lastIndex=R+1,w.test(j),T=0===w.lastIndex?j.length-1:w.lastIndex-2,L=[“at-word”,j.slice(R,T+1),R,T],R=T;break;case n:for(T=R,C=!0;j.charCodeAt(T+1)===n;)T+=1,C=!C;if(O=j.charCodeAt(T+1),C&&O!==i&&O!==o&&O!==s&&O!==l&&O!==c&&O!==a&&(T+=1,E.test(j.charAt(T)))){for(;E.test(j.charAt(T+1));)T+=1;j.charCodeAt(T+1)===o&&(T+=1)}L=[“word”,j.slice(R,T+1),R,T],R=T;break;default:O===i&&j.charCodeAt(R+1)===b?(T=j.indexOf(“*/”,R+2)+1,0===T&&(I||_?T=j.length:H(“comment”)),L=[“comment”,j.slice(R,T+1),R,T],R=T):(x.lastIndex=R+1,x.test(j),T=0===x.lastIndex?j.length-1:x.lastIndex-2,L=[“word”,j.slice(R,T+1),R,T],z.push(L),R=T)}return R++,L},endOfFile:function(){return 0===B.length&&R>=q},position:function(){return R}}}},2448:e=>{“use strict”;let t={};e.exports=function(e){t[e]||(t[e]=!0,”undefined”!=typeof console&&console.warn&&console.warn(e))}},1728:e=>{“use strict”;class t{constructor(e,t={}){if(this.type=”warning”,this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+”: “+this.text:this.text}}e.exports=t,t.default=t},1036:(e,t,r)=>{const n=r(3719),i=r(2997),{isPlainObject:s}=r(6057),o=r(9996),a=r(9430),{parse:l}=r(20),c=[“img”,”audio”,”video”,”picture”,”svg”,”object”,”map”,”iframe”,”embed”],u=[“script”,”style”];function h(e,t){e&&Object.keys(e).forEach((function(r){t(e[r],r)}))}function p(e,t){return{}.hasOwnProperty.call(e,t)}function d(e,t){const r=[];return h(e,(function(e){t(e)&&r.push(e)})),r}e.exports=m;const f=/^[^\0\t\n\f\r /]+$/;function m(e,t,r){if(null==e)return””;let b=””,y=””;function v(e,t){const r=this;this.tag=e,this.attribs=t||{},this.tagPosition=b.length,this.text=””,this.mediaChildren=[],this.updateParentNodeText=function(){C.length&&(C[C.length-1].text+=r.text)},this.updateParentNodeMediaChildren=function(){C.length&&c.includes(this.tag)&&C[C.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},m.defaults,t)).parser=Object.assign({},g,t.parser),u.forEach((function(e){t.allowedTags&&t.allowedTags.indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const w=t.nonTextTags||[“script”,”style”,”textarea”,”option”];let x,S;t.allowedAttributes&&(x={},S={},h(t.allowedAttributes,(function(e,t){x[t]=[];const r=[];e.forEach((function(e){“string”==typeof e&&e.indexOf(“*”)>=0?r.push(i(e).replace(/\\\*/g,”.*”)):x[t].push(e)})),r.length&&(S[t]=new RegExp(“^(“+r.join(“|”)+”)$”))})));const E={},_={},O={};h(t.allowedClasses,(function(e,t){x&&(p(x,t)||(x[t]=[]),x[t].push(“class”)),E[t]=[],O[t]=[];const r=[];e.forEach((function(e){“string”==typeof e&&e.indexOf(“*”)>=0?r.push(i(e).replace(/\\\*/g,”.*”)):e instanceof RegExp?O[t].push(e):E[t].push(e)})),r.length&&(_[t]=new RegExp(“^(“+r.join(“|”)+”)$”))}));const T={};let k,A,C,P,M,D,N;h(t.transformTags,(function(e,t){let r;”function”==typeof e?r=e:”string”==typeof e&&(r=m.simpleTransform(e)),”*”===t?k=r:T[t]=r}));let L=!1;I();const j=new n.Parser({onopentag:function(e,r){if(t.enforceHtmlBoundary&&”html”===e&&I(),D)return void N++;const n=new v(e,r);C.push(n);let i=!1;const c=!!n.text;let u;if(p(T,e)&&(u=T[e](e,r),n.attribs=r=u.attribs,void 0!==u.text&&(n.innerText=u.text),e!==u.tagName&&(n.name=e=u.tagName,M[A]=u.tagName)),k&&(u=k(e,r),n.attribs=r=u.attribs,e!==u.tagName&&(n.name=e=u.tagName,M[A]=u.tagName)),(t.allowedTags&&-1===t.allowedTags.indexOf(e)||”recursiveEscape”===t.disallowedTagsMode&&!function(e){for(const t in e)if(p(e,t))return!1;return!0}(P)||null!=t.nestingLimit&&A>=t.nestingLimit)&&(i=!0,P[A]=!0,”discard”===t.disallowedTagsMode&&-1!==w.indexOf(e)&&(D=!0,N=1),P[A]=!0),A++,i){if(“discard”===t.disallowedTagsMode)return;y=b,b=””}b+=”=0&&(e=r);r=e}if(u){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&R(e,r))return void delete n.attribs[i];if(“script”===e&&”src”===i){let e=!0;try{const n=new URL(r);if(t.allowedScriptHostnames||t.allowedScriptDomains){const r=(t.allowedScriptHostnames||[]).find((function(e){return e===n.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return n.hostname===e||n.hostname.endsWith(`.${e}`)}));e=r||i}}catch(t){e=!1}if(!e)return void delete n.attribs[i]}if(“iframe”===e&&”src”===i){let e=!0;try{if((r=r.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,”$1//”)).startsWith(“relative:”))throw new Error(“relative: exploit attempt”);let n=”relative://relative-site”;for(let e=0;e”:(b+=”>”,!n.innerText||c||t.textFilter||(b+=q(n.innerText),L=!0)),i&&(b=y+q(b),y=””)},ontext:function(e){if(D)return;const r=C[C.length-1];let n;if(r&&(n=r.tag,e=void 0!==r.innerText?r.innerText:e),”discard”!==t.disallowedTagsMode||”script”!==n&&”style”!==n){const r=q(e,!1);t.textFilter&&!L?b+=t.textFilter(r,n):L||(b+=r)}else b+=e;C.length&&(C[C.length-1].text+=e)},onclosetag:function(e){if(D){if(N–,N)return;D=!1}const r=C.pop();if(!r)return;D=!!t.enforceHtmlBoundary&&”html”===e,A–;const n=P[A];if(n){if(delete P[A],”discard”===t.disallowedTagsMode)return void r.updateParentNodeText();y=b,b=””}M[A]&&(e=M[A],delete M[A]),t.exclusiveFilter&&t.exclusiveFilter(r)?b=b.substr(0,r.tagPosition):(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),-1===t.selfClosing.indexOf(e)?(b+=””,n&&(b=y+q(b),y=””),L=!1):n&&(b=y,y=””))}},t.parser);return j.write(e),j.end(),b;function I(){b=””,A=0,C=[],P={},M={},D=!1,N=0}function q(e,r){return”string”!=typeof e&&(e+=””),t.parser.decodeEntities&&(e=e.replace(/&/g,”&”).replace(//g,”>”),r&&(e=e.replace(/”/g,”"”))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,”&”).replace(//g,”>”),r&&(e=e.replace(/”/g,”"”)),e}function R(e,r){const n=(r=(r=r.replace(/[\x00-\x20]+/g,””)).replace(//g,””)).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!n)return!!r.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=n[1].toLowerCase();return p(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}}const g={decodeEntities:!0};m.defaults={allowedTags:[“address”,”article”,”aside”,”footer”,”header”,”h1″,”h2″,”h3″,”h4″,”h5″,”h6″,”hgroup”,”main”,”nav”,”section”,”blockquote”,”dd”,”div”,”dl”,”dt”,”figcaption”,”figure”,”hr”,”li”,”main”,”ol”,”p”,”pre”,”ul”,”a”,”abbr”,”b”,”bdi”,”bdo”,”br”,”cite”,”code”,”data”,”dfn”,”em”,”i”,”kbd”,”mark”,”q”,”rb”,”rp”,”rt”,”rtc”,”ruby”,”s”,”samp”,”small”,”span”,”strong”,”sub”,”sup”,”time”,”u”,”var”,”wbr”,”caption”,”col”,”colgroup”,”table”,”tbody”,”td”,”tfoot”,”th”,”thead”,”tr”],disallowedTagsMode:”discard”,allowedAttributes:{a:[“href”,”name”,”target”],img:[“src”,”srcset”,”alt”,”title”,”width”,”height”,”loading”]},selfClosing:[“img”,”br”,”hr”,”area”,”base”,”basefont”,”input”,”link”,”meta”],allowedSchemes:[“http”,”https”,”ftp”,”mailto”,”tel”],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:[“href”,”src”,”cite”],allowProtocolRelative:!0,enforceHtmlBoundary:!1},m.simpleTransform=function(e,t,r){return r=void 0===r||r,t=t||{},function(n,i){let s;if(r)for(s in t)i[s]=t[s];else i=t;return{tagName:e,attribs:i}}}},2997:e=>{“use strict”;e.exports=e=>{if(“string”!=typeof e)throw new TypeError(“Expected a string”);return e.replace(/[|\\{}()[\]^$+*?.]/g,”\\$&”).replace(/-/g,”\\x2d”)}},6651:e=>{“use strict”;e.exports=window.slice.React},2081:e=>{“use strict”;e.exports=window.slice.ReactDOM},2868:()=>{},4777:()=>{},9830:()=>{},209:()=>{},7414:()=>{},2961:e=>{e.exports={nanoid:(e=21)=>{let t=””,r=e;for(;r–;)t+=”useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict”[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n=””,i=r;for(;i–;)n+=e[Math.random()*e.length|0];return n}}},907:(e,t,r)=>{“use strict”;function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rn})},4942:(e,t,r)=>{“use strict”;function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{Z:()=>n})},2982:(e,t,r)=>{“use strict”;r.d(t,{Z:()=>s});var n=r(907),i=r(181);function s(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||function(e){if(“undefined”!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[“@@iterator”])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError(“Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}()}},181:(e,t,r)=>{“use strict”;r.d(t,{Z:()=>i});var n=r(907);function i(e,t){if(e){if(“string”==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return”Object”===r&&e.constructor&&(r=e.constructor.name),”Map”===r||”Set”===r?Array.from(e):”Arguments”===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}},3600:e=>{“use strict”;e.exports=JSON.parse(‘{“0″:65533,”128″:8364,”130″:8218,”131″:402,”132″:8222,”133″:8230,”134″:8224,”135″:8225,”136″:710,”137″:8240,”138″:352,”139″:8249,”140″:338,”142″:381,”145″:8216,”146″:8217,”147″:8220,”148″:8221,”149″:8226,”150″:8211,”151″:8212,”152″:732,”153″:8482,”154″:353,”155″:8250,”156″:339,”158″:382,”159”:376}’)},9323:e=>{“use strict”;e.exports=JSON.parse(‘{“Aacute”:”Á”,”aacute”:”á”,”Abreve”:”Ă”,”abreve”:”ă”,”ac”:”∾”,”acd”:”∿”,”acE”:”∾̳”,”Acirc”:””,”acirc”:”â”,”acute”:”´”,”Acy”:”А”,”acy”:”а”,”AElig”:”Æ”,”aelig”:”æ”,”af”:”⁡”,”Afr”:”𝔄”,”afr”:”𝔞”,”Agrave”:”À”,”agrave”:”à”,”alefsym”:”ℵ”,”aleph”:”ℵ”,”Alpha”:”Α”,”alpha”:”α”,”Amacr”:”Ā”,”amacr”:”ā”,”amalg”:”⨿”,”amp”:”&”,”AMP”:”&”,”andand”:”⩕”,”And”:”⩓”,”and”:”∧”,”andd”:”⩜”,”andslope”:”⩘”,”andv”:”⩚”,”ang”:”∠”,”ange”:”⦤”,”angle”:”∠”,”angmsdaa”:”⦨”,”angmsdab”:”⦩”,”angmsdac”:”⦪”,”angmsdad”:”⦫”,”angmsdae”:”⦬”,”angmsdaf”:”⦭”,”angmsdag”:”⦮”,”angmsdah”:”⦯”,”angmsd”:”∡”,”angrt”:”∟”,”angrtvb”:”⊾”,”angrtvbd”:”⦝”,”angsph”:”∢”,”angst”:”Å”,”angzarr”:”⍼”,”Aogon”:”Ą”,”aogon”:”ą”,”Aopf”:”𝔸”,”aopf”:”𝕒”,”apacir”:”⩯”,”ap”:”≈”,”apE”:”⩰”,”ape”:”≊”,”apid”:”≋”,”apos”:”\'”,”ApplyFunction”:”⁡”,”approx”:”≈”,”approxeq”:”≊”,”Aring”:”Å”,”aring”:”å”,”Ascr”:”𝒜”,”ascr”:”𝒶”,”Assign”:”≔”,”ast”:”*”,”asymp”:”≈”,”asympeq”:”≍”,”Atilde”:”Ô,”atilde”:”ã”,”Auml”:”Ä”,”auml”:”ä”,”awconint”:”∳”,”awint”:”⨑”,”backcong”:”≌”,”backepsilon”:”϶”,”backprime”:”‵”,”backsim”:”∽”,”backsimeq”:”⋍”,”Backslash”:”∖”,”Barv”:”⫧”,”barvee”:”⊽”,”barwed”:”⌅”,”Barwed”:”⌆”,”barwedge”:”⌅”,”bbrk”:”⎵”,”bbrktbrk”:”⎶”,”bcong”:”≌”,”Bcy”:”Б”,”bcy”:”б”,”bdquo”:”„”,”becaus”:”∵”,”because”:”∵”,”Because”:”∵”,”bemptyv”:”⦰”,”bepsi”:”϶”,”bernou”:”ℬ”,”Bernoullis”:”ℬ”,”Beta”:”Β”,”beta”:”β”,”beth”:”ℶ”,”between”:”≬”,”Bfr”:”𝔅”,”bfr”:”𝔟”,”bigcap”:”⋂”,”bigcirc”:”◯”,”bigcup”:”⋃”,”bigodot”:”⨀”,”bigoplus”:”⨁”,”bigotimes”:”⨂”,”bigsqcup”:”⨆”,”bigstar”:”★”,”bigtriangledown”:”▽”,”bigtriangleup”:”△”,”biguplus”:”⨄”,”bigvee”:”⋁”,”bigwedge”:”⋀”,”bkarow”:”⤍”,”blacklozenge”:”⧫”,”blacksquare”:”▪”,”blacktriangle”:”▴”,”blacktriangledown”:”▾”,”blacktriangleleft”:”◂”,”blacktriangleright”:”▸”,”blank”:”␣”,”blk12″:”▒”,”blk14″:”░”,”blk34″:”▓”,”block”:”█”,”bne”:”=⃥”,”bnequiv”:”≡⃥”,”bNot”:”⫭”,”bnot”:”⌐”,”Bopf”:”𝔹”,”bopf”:”𝕓”,”bot”:”⊥”,”bottom”:”⊥”,”bowtie”:”⋈”,”boxbox”:”⧉”,”boxdl”:”┐”,”boxdL”:”╕”,”boxDl”:”╖”,”boxDL”:”╗”,”boxdr”:”┌”,”boxdR”:”╒”,”boxDr”:”╓”,”boxDR”:”╔”,”boxh”:”─”,”boxH”:”═”,”boxhd”:”┬”,”boxHd”:”╤”,”boxhD”:”╥”,”boxHD”:”╦”,”boxhu”:”┴”,”boxHu”:”╧”,”boxhU”:”╨”,”boxHU”:”╩”,”boxminus”:”⊟”,”boxplus”:”⊞”,”boxtimes”:”⊠”,”boxul”:”┘”,”boxuL”:”╛”,”boxUl”:”╜”,”boxUL”:”╝”,”boxur”:”└”,”boxuR”:”╘”,”boxUr”:”╙”,”boxUR”:”╚”,”boxv”:”│”,”boxV”:”║”,”boxvh”:”┼”,”boxvH”:”╪”,”boxVh”:”╫”,”boxVH”:”╬”,”boxvl”:”┤”,”boxvL”:”╡”,”boxVl”:”╢”,”boxVL”:”╣”,”boxvr”:”├”,”boxvR”:”╞”,”boxVr”:”╟”,”boxVR”:”╠”,”bprime”:”‵”,”breve”:”˘”,”Breve”:”˘”,”brvbar”:”¦”,”bscr”:”𝒷”,”Bscr”:”ℬ”,”bsemi”:”⁏”,”bsim”:”∽”,”bsime”:”⋍”,”bsolb”:”⧅”,”bsol”:”\\\\”,”bsolhsub”:”⟈”,”bull”:”•”,”bullet”:”•”,”bump”:”≎”,”bumpE”:”⪮”,”bumpe”:”≏”,”Bumpeq”:”≎”,”bumpeq”:”≏”,”Cacute”:”Ć”,”cacute”:”ć”,”capand”:”⩄”,”capbrcup”:”⩉”,”capcap”:”⩋”,”cap”:”∩”,”Cap”:”⋒”,”capcup”:”⩇”,”capdot”:”⩀”,”CapitalDifferentialD”:”ⅅ”,”caps”:”∩︀”,”caret”:”⁁”,”caron”:”ˇ”,”Cayleys”:”ℭ”,”ccaps”:”⩍”,”Ccaron”:”Č”,”ccaron”:”č”,”Ccedil”:”Ç”,”ccedil”:”ç”,”Ccirc”:”Ĉ”,”ccirc”:”ĉ”,”Cconint”:”∰”,”ccups”:”⩌”,”ccupssm”:”⩐”,”Cdot”:”Ċ”,”cdot”:”ċ”,”cedil”:”¸”,”Cedilla”:”¸”,”cemptyv”:”⦲”,”cent”:”¢”,”centerdot”:”·”,”CenterDot”:”·”,”cfr”:”𝔠”,”Cfr”:”ℭ”,”CHcy”:”Ч”,”chcy”:”ч”,”check”:”✓”,”checkmark”:”✓”,”Chi”:”Χ”,”chi”:”χ”,”circ”:”ˆ”,”circeq”:”≗”,”circlearrowleft”:”↺”,”circlearrowright”:”↻”,”circledast”:”⊛”,”circledcirc”:”⊚”,”circleddash”:”⊝”,”CircleDot”:”⊙”,”circledR”:”®”,”circledS”:”Ⓢ”,”CircleMinus”:”⊖”,”CirclePlus”:”⊕”,”CircleTimes”:”⊗”,”cir”:”○”,”cirE”:”⧃”,”cire”:”≗”,”cirfnint”:”⨐”,”cirmid”:”⫯”,”cirscir”:”⧂”,”ClockwiseContourIntegral”:”∲”,”CloseCurlyDoubleQuote”:”””,”CloseCurlyQuote”:”’”,”clubs”:”♣”,”clubsuit”:”♣”,”colon”:”:”,”Colon”:”∷”,”Colone”:”⩴”,”colone”:”≔”,”coloneq”:”≔”,”comma”:”,”,”commat”:”@”,”comp”:”∁”,”compfn”:”∘”,”complement”:”∁”,”complexes”:”ℂ”,”cong”:”≅”,”congdot”:”⩭”,”Congruent”:”≡”,”conint”:”∮”,”Conint”:”∯”,”ContourIntegral”:”∮”,”copf”:”𝕔”,”Copf”:”ℂ”,”coprod”:”∐”,”Coproduct”:”∐”,”copy”:”©”,”COPY”:”©”,”copysr”:”℗”,”CounterClockwiseContourIntegral”:”∳”,”crarr”:”↵”,”cross”:”✗”,”Cross”:”⨯”,”Cscr”:”𝒞”,”cscr”:”𝒸”,”csub”:”⫏”,”csube”:”⫑”,”csup”:”⫐”,”csupe”:”⫒”,”ctdot”:”⋯”,”cudarrl”:”⤸”,”cudarrr”:”⤵”,”cuepr”:”⋞”,”cuesc”:”⋟”,”cularr”:”↶”,”cularrp”:”⤽”,”cupbrcap”:”⩈”,”cupcap”:”⩆”,”CupCap”:”≍”,”cup”:”∪”,”Cup”:”⋓”,”cupcup”:”⩊”,”cupdot”:”⊍”,”cupor”:”⩅”,”cups”:”∪︀”,”curarr”:”↷”,”curarrm”:”⤼”,”curlyeqprec”:”⋞”,”curlyeqsucc”:”⋟”,”curlyvee”:”⋎”,”curlywedge”:”⋏”,”curren”:”¤”,”curvearrowleft”:”↶”,”curvearrowright”:”↷”,”cuvee”:”⋎”,”cuwed”:”⋏”,”cwconint”:”∲”,”cwint”:”∱”,”cylcty”:”⌭”,”dagger”:”†”,”Dagger”:”‡”,”daleth”:”ℸ”,”darr”:”↓”,”Darr”:”↡”,”dArr”:”⇓”,”dash”:”‐”,”Dashv”:”⫤”,”dashv”:”⊣”,”dbkarow”:”⤏”,”dblac”:”˝”,”Dcaron”:”Ď”,”dcaron”:”ď”,”Dcy”:”Д”,”dcy”:”д”,”ddagger”:”‡”,”ddarr”:”⇊”,”DD”:”ⅅ”,”dd”:”ⅆ”,”DDotrahd”:”⤑”,”ddotseq”:”⩷”,”deg”:”°”,”Del”:”∇”,”Delta”:”Δ”,”delta”:”δ”,”demptyv”:”⦱”,”dfisht”:”⥿”,”Dfr”:”𝔇”,”dfr”:”𝔡”,”dHar”:”⥥”,”dharl”:”⇃”,”dharr”:”⇂”,”DiacriticalAcute”:”´”,”DiacriticalDot”:”˙”,”DiacriticalDoubleAcute”:”˝”,”DiacriticalGrave”:”`”,”DiacriticalTilde”:”˜”,”diam”:”⋄”,”diamond”:”⋄”,”Diamond”:”⋄”,”diamondsuit”:”♦”,”diams”:”♦”,”die”:”¨”,”DifferentialD”:”ⅆ”,”digamma”:”ϝ”,”disin”:”⋲”,”div”:”÷”,”divide”:”÷”,”divideontimes”:”⋇”,”divonx”:”⋇”,”DJcy”:”Ђ”,”djcy”:”ђ”,”dlcorn”:”⌞”,”dlcrop”:”⌍”,”dollar”:”$”,”Dopf”:”𝔻”,”dopf”:”𝕕”,”Dot”:”¨”,”dot”:”˙”,”DotDot”:”⃜”,”doteq”:”≐”,”doteqdot”:”≑”,”DotEqual”:”≐”,”dotminus”:”∸”,”dotplus”:”∔”,”dotsquare”:”⊡”,”doublebarwedge”:”⌆”,”DoubleContourIntegral”:”∯”,”DoubleDot”:”¨”,”DoubleDownArrow”:”⇓”,”DoubleLeftArrow”:”⇐”,”DoubleLeftRightArrow”:”⇔”,”DoubleLeftTee”:”⫤”,”DoubleLongLeftArrow”:”⟸”,”DoubleLongLeftRightArrow”:”⟺”,”DoubleLongRightArrow”:”⟹”,”DoubleRightArrow”:”⇒”,”DoubleRightTee”:”⊨”,”DoubleUpArrow”:”⇑”,”DoubleUpDownArrow”:”⇕”,”DoubleVerticalBar”:”∥”,”DownArrowBar”:”⤓”,”downarrow”:”↓”,”DownArrow”:”↓”,”Downarrow”:”⇓”,”DownArrowUpArrow”:”⇵”,”DownBreve”:”̑”,”downdownarrows”:”⇊”,”downharpoonleft”:”⇃”,”downharpoonright”:”⇂”,”DownLeftRightVector”:”⥐”,”DownLeftTeeVector”:”⥞”,”DownLeftVectorBar”:”⥖”,”DownLeftVector”:”↽”,”DownRightTeeVector”:”⥟”,”DownRightVectorBar”:”⥗”,”DownRightVector”:”⇁”,”DownTeeArrow”:”↧”,”DownTee”:”⊤”,”drbkarow”:”⤐”,”drcorn”:”⌟”,”drcrop”:”⌌”,”Dscr”:”𝒟”,”dscr”:”𝒹”,”DScy”:”Ѕ”,”dscy”:”ѕ”,”dsol”:”⧶”,”Dstrok”:”Đ”,”dstrok”:”đ”,”dtdot”:”⋱”,”dtri”:”▿”,”dtrif”:”▾”,”duarr”:”⇵”,”duhar”:”⥯”,”dwangle”:”⦦”,”DZcy”:”Џ”,”dzcy”:”џ”,”dzigrarr”:”⟿”,”Eacute”:”É”,”eacute”:”é”,”easter”:”⩮”,”Ecaron”:”Ě”,”ecaron”:”ě”,”Ecirc”:”Ê”,”ecirc”:”ê”,”ecir”:”≖”,”ecolon”:”≕”,”Ecy”:”Э”,”ecy”:”э”,”eDDot”:”⩷”,”Edot”:”Ė”,”edot”:”ė”,”eDot”:”≑”,”ee”:”ⅇ”,”efDot”:”≒”,”Efr”:”𝔈”,”efr”:”𝔢”,”eg”:”⪚”,”Egrave”:”È”,”egrave”:”è”,”egs”:”⪖”,”egsdot”:”⪘”,”el”:”⪙”,”Element”:”∈”,”elinters”:”⏧”,”ell”:”ℓ”,”els”:”⪕”,”elsdot”:”⪗”,”Emacr”:”Ē”,”emacr”:”ē”,”empty”:”∅”,”emptyset”:”∅”,”EmptySmallSquare”:”◻”,”emptyv”:”∅”,”EmptyVerySmallSquare”:”▫”,”emsp13″:” ”,”emsp14″:” ”,”emsp”:” ”,”ENG”:”Ŋ”,”eng”:”ŋ”,”ensp”:” ”,”Eogon”:”Ę”,”eogon”:”ę”,”Eopf”:”𝔼”,”eopf”:”𝕖”,”epar”:”⋕”,”eparsl”:”⧣”,”eplus”:”⩱”,”epsi”:”ε”,”Epsilon”:”Ε”,”epsilon”:”ε”,”epsiv”:”ϵ”,”eqcirc”:”≖”,”eqcolon”:”≕”,”eqsim”:”≂”,”eqslantgtr”:”⪖”,”eqslantless”:”⪕”,”Equal”:”⩵”,”equals”:”=”,”EqualTilde”:”≂”,”equest”:”≟”,”Equilibrium”:”⇌”,”equiv”:”≡”,”equivDD”:”⩸”,”eqvparsl”:”⧥”,”erarr”:”⥱”,”erDot”:”≓”,”escr”:”ℯ”,”Escr”:”ℰ”,”esdot”:”≐”,”Esim”:”⩳”,”esim”:”≂”,”Eta”:”Η”,”eta”:”η”,”ETH”:”Д,”eth”:”ð”,”Euml”:”Ë”,”euml”:”ë”,”euro”:”€”,”excl”:”!”,”exist”:”∃”,”Exists”:”∃”,”expectation”:”ℰ”,”exponentiale”:”ⅇ”,”ExponentialE”:”ⅇ”,”fallingdotseq”:”≒”,”Fcy”:”Ф”,”fcy”:”ф”,”female”:”♀”,”ffilig”:”ffi”,”fflig”:”ff”,”ffllig”:”ffl”,”Ffr”:”𝔉”,”ffr”:”𝔣”,”filig”:”fi”,”FilledSmallSquare”:”◼”,”FilledVerySmallSquare”:”▪”,”fjlig”:”fj”,”flat”:”♭”,”fllig”:”fl”,”fltns”:”▱”,”fnof”:”ƒ”,”Fopf”:”𝔽”,”fopf”:”𝕗”,”forall”:”∀”,”ForAll”:”∀”,”fork”:”⋔”,”forkv”:”⫙”,”Fouriertrf”:”ℱ”,”fpartint”:”⨍”,”frac12″:”½”,”frac13″:”⅓”,”frac14″:”¼”,”frac15″:”⅕”,”frac16″:”⅙”,”frac18″:”⅛”,”frac23″:”⅔”,”frac25″:”⅖”,”frac34″:”¾”,”frac35″:”⅗”,”frac38″:”⅜”,”frac45″:”⅘”,”frac56″:”⅚”,”frac58″:”⅝”,”frac78″:”⅞”,”frasl”:”⁄”,”frown”:”⌢”,”fscr”:”𝒻”,”Fscr”:”ℱ”,”gacute”:”ǵ”,”Gamma”:”Γ”,”gamma”:”γ”,”Gammad”:”Ϝ”,”gammad”:”ϝ”,”gap”:”⪆”,”Gbreve”:”Ğ”,”gbreve”:”ğ”,”Gcedil”:”Ģ”,”Gcirc”:”Ĝ”,”gcirc”:”ĝ”,”Gcy”:”Г”,”gcy”:”г”,”Gdot”:”Ġ”,”gdot”:”ġ”,”ge”:”≥”,”gE”:”≧”,”gEl”:”⪌”,”gel”:”⋛”,”geq”:”≥”,”geqq”:”≧”,”geqslant”:”⩾”,”gescc”:”⪩”,”ges”:”⩾”,”gesdot”:”⪀”,”gesdoto”:”⪂”,”gesdotol”:”⪄”,”gesl”:”⋛︀”,”gesles”:”⪔”,”Gfr”:”𝔊”,”gfr”:”𝔤”,”gg”:”≫”,”Gg”:”⋙”,”ggg”:”⋙”,”gimel”:”ℷ”,”GJcy”:”Ѓ”,”gjcy”:”ѓ”,”gla”:”⪥”,”gl”:”≷”,”glE”:”⪒”,”glj”:”⪤”,”gnap”:”⪊”,”gnapprox”:”⪊”,”gne”:”⪈”,”gnE”:”≩”,”gneq”:”⪈”,”gneqq”:”≩”,”gnsim”:”⋧”,”Gopf”:”𝔾”,”gopf”:”𝕘”,”grave”:”`”,”GreaterEqual”:”≥”,”GreaterEqualLess”:”⋛”,”GreaterFullEqual”:”≧”,”GreaterGreater”:”⪢”,”GreaterLess”:”≷”,”GreaterSlantEqual”:”⩾”,”GreaterTilde”:”≳”,”Gscr”:”𝒢”,”gscr”:”ℊ”,”gsim”:”≳”,”gsime”:”⪎”,”gsiml”:”⪐”,”gtcc”:”⪧”,”gtcir”:”⩺”,”gt”:”>”,”GT”:”>”,”Gt”:”≫”,”gtdot”:”⋗”,”gtlPar”:”⦕”,”gtquest”:”⩼”,”gtrapprox”:”⪆”,”gtrarr”:”⥸”,”gtrdot”:”⋗”,”gtreqless”:”⋛”,”gtreqqless”:”⪌”,”gtrless”:”≷”,”gtrsim”:”≳”,”gvertneqq”:”≩︀”,”gvnE”:”≩︀”,”Hacek”:”ˇ”,”hairsp”:” ”,”half”:”½”,”hamilt”:”ℋ”,”HARDcy”:”Ъ”,”hardcy”:”ъ”,”harrcir”:”⥈”,”harr”:”↔”,”hArr”:”⇔”,”harrw”:”↭”,”Hat”:”^”,”hbar”:”ℏ”,”Hcirc”:”Ĥ”,”hcirc”:”ĥ”,”hearts”:”♥”,”heartsuit”:”♥”,”hellip”:”…”,”hercon”:”⊹”,”hfr”:”𝔥”,”Hfr”:”ℌ”,”HilbertSpace”:”ℋ”,”hksearow”:”⤥”,”hkswarow”:”⤦”,”hoarr”:”⇿”,”homtht”:”∻”,”hookleftarrow”:”↩”,”hookrightarrow”:”↪”,”hopf”:”𝕙”,”Hopf”:”ℍ”,”horbar”:”―”,”HorizontalLine”:”─”,”hscr”:”𝒽”,”Hscr”:”ℋ”,”hslash”:”ℏ”,”Hstrok”:”Ħ”,”hstrok”:”ħ”,”HumpDownHump”:”≎”,”HumpEqual”:”≏”,”hybull”:”⁃”,”hyphen”:”‐”,”Iacute”:”Í”,”iacute”:”í”,”ic”:”⁣”,”Icirc”:”Δ,”icirc”:”î”,”Icy”:”И”,”icy”:”и”,”Idot”:”İ”,”IEcy”:”Е”,”iecy”:”е”,”iexcl”:”¡”,”iff”:”⇔”,”ifr”:”𝔦”,”Ifr”:”ℑ”,”Igrave”:”Ì”,”igrave”:”ì”,”ii”:”ⅈ”,”iiiint”:”⨌”,”iiint”:”∭”,”iinfin”:”⧜”,”iiota”:”℩”,”IJlig”:”IJ”,”ijlig”:”ij”,”Imacr”:”Ī”,”imacr”:”ī”,”image”:”ℑ”,”ImaginaryI”:”ⅈ”,”imagline”:”ℐ”,”imagpart”:”ℑ”,”imath”:”ı”,”Im”:”ℑ”,”imof”:”⊷”,”imped”:”Ƶ”,”Implies”:”⇒”,”incare”:”℅”,”in”:”∈”,”infin”:”∞”,”infintie”:”⧝”,”inodot”:”ı”,”intcal”:”⊺”,”int”:”∫”,”Int”:”∬”,”integers”:”ℤ”,”Integral”:”∫”,”intercal”:”⊺”,”Intersection”:”⋂”,”intlarhk”:”⨗”,”intprod”:”⨼”,”InvisibleComma”:”⁣”,”InvisibleTimes”:”⁢”,”IOcy”:”Ё”,”iocy”:”ё”,”Iogon”:”Į”,”iogon”:”į”,”Iopf”:”𝕀”,”iopf”:”𝕚”,”Iota”:”Ι”,”iota”:”ι”,”iprod”:”⨼”,”iquest”:”¿”,”iscr”:”𝒾”,”Iscr”:”ℐ”,”isin”:”∈”,”isindot”:”⋵”,”isinE”:”⋹”,”isins”:”⋴”,”isinsv”:”⋳”,”isinv”:”∈”,”it”:”⁢”,”Itilde”:”Ĩ”,”itilde”:”ĩ”,”Iukcy”:”І”,”iukcy”:”і”,”Iuml”:”Ï”,”iuml”:”ï”,”Jcirc”:”Ĵ”,”jcirc”:”ĵ”,”Jcy”:”Й”,”jcy”:”й”,”Jfr”:”𝔍”,”jfr”:”𝔧”,”jmath”:”ȷ”,”Jopf”:”𝕁”,”jopf”:”𝕛”,”Jscr”:”𝒥”,”jscr”:”𝒿”,”Jsercy”:”Ј”,”jsercy”:”ј”,”Jukcy”:”Є”,”jukcy”:”є”,”Kappa”:”Κ”,”kappa”:”κ”,”kappav”:”ϰ”,”Kcedil”:”Ķ”,”kcedil”:”ķ”,”Kcy”:”К”,”kcy”:”к”,”Kfr”:”𝔎”,”kfr”:”𝔨”,”kgreen”:”ĸ”,”KHcy”:”Х”,”khcy”:”х”,”KJcy”:”Ќ”,”kjcy”:”ќ”,”Kopf”:”𝕂”,”kopf”:”𝕜”,”Kscr”:”𝒦”,”kscr”:”𝓀”,”lAarr”:”⇚”,”Lacute”:”Ĺ”,”lacute”:”ĺ”,”laemptyv”:”⦴”,”lagran”:”ℒ”,”Lambda”:”Λ”,”lambda”:”λ”,”lang”:”⟨”,”Lang”:”⟪”,”langd”:”⦑”,”langle”:”⟨”,”lap”:”⪅”,”Laplacetrf”:”ℒ”,”laquo”:”«”,”larrb”:”⇤”,”larrbfs”:”⤟”,”larr”:”←”,”Larr”:”↞”,”lArr”:”⇐”,”larrfs”:”⤝”,”larrhk”:”↩”,”larrlp”:”↫”,”larrpl”:”⤹”,”larrsim”:”⥳”,”larrtl”:”↢”,”latail”:”⤙”,”lAtail”:”⤛”,”lat”:”⪫”,”late”:”⪭”,”lates”:”⪭︀”,”lbarr”:”⤌”,”lBarr”:”⤎”,”lbbrk”:”❲”,”lbrace”:”{“,”lbrack”:”[“,”lbrke”:”⦋”,”lbrksld”:”⦏”,”lbrkslu”:”⦍”,”Lcaron”:”Ľ”,”lcaron”:”ľ”,”Lcedil”:”Ļ”,”lcedil”:”ļ”,”lceil”:”⌈”,”lcub”:”{“,”Lcy”:”Л”,”lcy”:”л”,”ldca”:”⤶”,”ldquo”:”“”,”ldquor”:”„”,”ldrdhar”:”⥧”,”ldrushar”:”⥋”,”ldsh”:”↲”,”le”:”≤”,”lE”:”≦”,”LeftAngleBracket”:”⟨”,”LeftArrowBar”:”⇤”,”leftarrow”:”←”,”LeftArrow”:”←”,”Leftarrow”:”⇐”,”LeftArrowRightArrow”:”⇆”,”leftarrowtail”:”↢”,”LeftCeiling”:”⌈”,”LeftDoubleBracket”:”⟦”,”LeftDownTeeVector”:”⥡”,”LeftDownVectorBar”:”⥙”,”LeftDownVector”:”⇃”,”LeftFloor”:”⌊”,”leftharpoondown”:”↽”,”leftharpoonup”:”↼”,”leftleftarrows”:”⇇”,”leftrightarrow”:”↔”,”LeftRightArrow”:”↔”,”Leftrightarrow”:”⇔”,”leftrightarrows”:”⇆”,”leftrightharpoons”:”⇋”,”leftrightsquigarrow”:”↭”,”LeftRightVector”:”⥎”,”LeftTeeArrow”:”↤”,”LeftTee”:”⊣”,”LeftTeeVector”:”⥚”,”leftthreetimes”:”⋋”,”LeftTriangleBar”:”⧏”,”LeftTriangle”:”⊲”,”LeftTriangleEqual”:”⊴”,”LeftUpDownVector”:”⥑”,”LeftUpTeeVector”:”⥠”,”LeftUpVectorBar”:”⥘”,”LeftUpVector”:”↿”,”LeftVectorBar”:”⥒”,”LeftVector”:”↼”,”lEg”:”⪋”,”leg”:”⋚”,”leq”:”≤”,”leqq”:”≦”,”leqslant”:”⩽”,”lescc”:”⪨”,”les”:”⩽”,”lesdot”:”⩿”,”lesdoto”:”⪁”,”lesdotor”:”⪃”,”lesg”:”⋚︀”,”lesges”:”⪓”,”lessapprox”:”⪅”,”lessdot”:”⋖”,”lesseqgtr”:”⋚”,”lesseqqgtr”:”⪋”,”LessEqualGreater”:”⋚”,”LessFullEqual”:”≦”,”LessGreater”:”≶”,”lessgtr”:”≶”,”LessLess”:”⪡”,”lesssim”:”≲”,”LessSlantEqual”:”⩽”,”LessTilde”:”≲”,”lfisht”:”⥼”,”lfloor”:”⌊”,”Lfr”:”𝔏”,”lfr”:”𝔩”,”lg”:”≶”,”lgE”:”⪑”,”lHar”:”⥢”,”lhard”:”↽”,”lharu”:”↼”,”lharul”:”⥪”,”lhblk”:”▄”,”LJcy”:”Љ”,”ljcy”:”љ”,”llarr”:”⇇”,”ll”:”≪”,”Ll”:”⋘”,”llcorner”:”⌞”,”Lleftarrow”:”⇚”,”llhard”:”⥫”,”lltri”:”◺”,”Lmidot”:”Ŀ”,”lmidot”:”ŀ”,”lmoustache”:”⎰”,”lmoust”:”⎰”,”lnap”:”⪉”,”lnapprox”:”⪉”,”lne”:”⪇”,”lnE”:”≨”,”lneq”:”⪇”,”lneqq”:”≨”,”lnsim”:”⋦”,”loang”:”⟬”,”loarr”:”⇽”,”lobrk”:”⟦”,”longleftarrow”:”⟵”,”LongLeftArrow”:”⟵”,”Longleftarrow”:”⟸”,”longleftrightarrow”:”⟷”,”LongLeftRightArrow”:”⟷”,”Longleftrightarrow”:”⟺”,”longmapsto”:”⟼”,”longrightarrow”:”⟶”,”LongRightArrow”:”⟶”,”Longrightarrow”:”⟹”,”looparrowleft”:”↫”,”looparrowright”:”↬”,”lopar”:”⦅”,”Lopf”:”𝕃”,”lopf”:”𝕝”,”loplus”:”⨭”,”lotimes”:”⨴”,”lowast”:”∗”,”lowbar”:”_”,”LowerLeftArrow”:”↙”,”LowerRightArrow”:”↘”,”loz”:”◊”,”lozenge”:”◊”,”lozf”:”⧫”,”lpar”:”(“,”lparlt”:”⦓”,”lrarr”:”⇆”,”lrcorner”:”⌟”,”lrhar”:”⇋”,”lrhard”:”⥭”,”lrm”:”‎”,”lrtri”:”⊿”,”lsaquo”:”‹”,”lscr”:”𝓁”,”Lscr”:”ℒ”,”lsh”:”↰”,”Lsh”:”↰”,”lsim”:”≲”,”lsime”:”⪍”,”lsimg”:”⪏”,”lsqb”:”[“,”lsquo”:”‘”,”lsquor”:”‚”,”Lstrok”:”Ł”,”lstrok”:”ł”,”ltcc”:”⪦”,”ltcir”:”⩹”,”lt”:”<","LT":"⃒”,”nvHarr”:”⤄”,”nvinfin”:”⧞”,”nvlArr”:”⤂”,”nvle”:”≤⃒”,”nvlt”:”{“use strict”;e.exports=JSON.parse(‘{“Aacute”:”Á”,”aacute”:”á”,”Acirc”:””,”acirc”:”â”,”acute”:”´”,”AElig”:”Æ”,”aelig”:”æ”,”Agrave”:”À”,”agrave”:”à”,”amp”:”&”,”AMP”:”&”,”Aring”:”Å”,”aring”:”å”,”Atilde”:”Ô,”atilde”:”ã”,”Auml”:”Ä”,”auml”:”ä”,”brvbar”:”¦”,”Ccedil”:”Ç”,”ccedil”:”ç”,”cedil”:”¸”,”cent”:”¢”,”copy”:”©”,”COPY”:”©”,”curren”:”¤”,”deg”:”°”,”divide”:”÷”,”Eacute”:”É”,”eacute”:”é”,”Ecirc”:”Ê”,”ecirc”:”ê”,”Egrave”:”È”,”egrave”:”è”,”ETH”:”Д,”eth”:”ð”,”Euml”:”Ë”,”euml”:”ë”,”frac12″:”½”,”frac14″:”¼”,”frac34″:”¾”,”gt”:”>”,”GT”:”>”,”Iacute”:”Í”,”iacute”:”í”,”Icirc”:”Δ,”icirc”:”î”,”iexcl”:”¡”,”Igrave”:”Ì”,”igrave”:”ì”,”iquest”:”¿”,”Iuml”:”Ï”,”iuml”:”ï”,”laquo”:”«”,”lt”:”<","LT":"{“use strict”;e.exports=JSON.parse(‘{“amp”:”&”,”apos”:”\'”,”gt”:”>”,”lt”:”{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if(“object”==typeof globalThis)return globalThis;try{return this||new Function(“return this”)()}catch(e){if(“object”==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(e,”__esModule”,{value:!0})};var n={};(()=>{“use strict”;r.d(n,{default:()=>l});var e=r(4942),t=r(2982);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var r=1;r0&&void 0!==arguments[0]?arguments[0]:””.concat(r||””,”/”).concat(n);return new Promise((function(r,n){var o=document.createElement(“script”);o.async=!0,o.onload=r,o.onerror=function(){s.length?(Promise.all((0,t.Z)(s).map((function(t){var r=t.window,n=t.src;return window[r]?(window.slice[r]=window[r],Promise.resolve()):e(n).then((function(){return window.slice[r]=window[r]}))}))).then((function(){r(void 0)})),s=[]):n()},o.src=i,document.body.appendChild(o)}))}()})))};window.slice=s(s({},window.slice||{}),{},{resolveDependencies:o});const a=o,l={load:function(){return a([{endpoint:”react.js”,windowObject:”React”,fallback:[{window:”ReactDOM”,src:”https://unpkg.com/react-dom@17/umd/react-dom.production.min.js”},{window:”React”,src:”https://unpkg.com/react@17/umd/react.production.min.js”},{window:”StyledComponents”,src:”https://unpkg.com/[email protected]/dist/styled-components.min.js”}]}],window.slice.hostname)},hydrate:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};return this.load().then((function(){var i=r(6651),s=r(2081),o=r(3759).default;return s.hydrate(i.createElement(o,e),t,n)}),(function(e){console.error(e)}))}}})(),person=n.default})();
window.sliceComponents.person = person;

var triggerHydrate = function() {
window.sliceComponents.person.hydrate(data, componentContainer);
}
if (window.lazyObserveElement) {
window.lazyObserveElement(componentContainer, triggerHydrate);
} else {
triggerHydrate();
}
}
}).catch(err => console.log(‘Hydration Script has failed for person-141329053 Slice’, err));

Selenium 

The thyroid contains the highest amount of selenium per gram of tissue of all organs in the human body. Without this important mineral, thyroid hormones will not work properly, and as such, it may be another key component of a hypothyroidism diet. 

According to The Journal of Clinical Endocrinology and Metabolism (opens in new tab), low levels of selenium increase the risk of developing thyroid diseases. And as described in the International Journal of Endocrinology (opens in new tab), supplementation with this trace mineral helps patients with autoimmune thyroid conditions get relief from their symptoms. 

Selenium is also a powerful antioxidant that shields the thyroid gland from damage inflicted by free radicals. And according to Mason, a lot of us aren’t getting enough of this nutrient. “Our report showed that average intakes of selenium amount to 76% of recommended intakes,” she says.

Mason qualified as a pharmacist in 1976 and practised as a community pharmacist until 1998. During the 1980, she also studied for an Master’s degree and a PhD in nutrition at King’s College London. “};

var triggerHydrate = function() {
window.sliceComponents.person.hydrate(data, componentContainer);
}
if (window.lazyObserveElement) {
window.lazyObserveElement(componentContainer, triggerHydrate);
} else {
triggerHydrate();
}
}
}).catch(err => console.log(‘Hydration Script has failed for person-1377789528 Slice’, err));

Zinc

Like selenium, zinc helps to ‘activate’ thyroid hormones so they can be used by the body’s cells. According to the BMJ Journal (opens in new tab), patients suffering from thyroid diseases tend to have lower levels of zinc. It plays a key role in the metabolism of thyroid hormones and helps regulate their blood levels, as stated in the International Journal for Vitamin and Nutrition Research (opens in new tab)

However, researchers from the Biological Trace Element Research (opens in new tab) journal point out that there is not enough evidence that zinc supplementation helps with hypothyroidism. Still, taking into account how crucial this nutrient is for overall health, it’s important to make sure you’re getting enough of it.

Daily Value (DV) for zinc: 11mg

Safe upper limit for zinc: 40mg

Zinc-rich foods include: Oysters, beef steak, chicken, tofu, lean pork chops, pumpkin seeds, lentils and low-fat yogurt.

Vitamin D

Vitamin D may also be an important part of a hypothyroidism diet. According to a meta-analysis published in the BMC Endocrine Disorders (opens in new tab) journal, individuals with underactive thyroid tend to have lower levels. There’s also growing evidence (opens in new tab) that low vitamin D status is linked to autoimmune thyroid diseases, while impaired vitamin D metabolism may be a risk factor for thyroid cancers. 

At the same time, researchers from the Frontiers in Immunology (opens in new tab) point out that the underlying mechanisms behind these associations are largely unknown.  

Daily Value (DV) for vitamin D: 600IU

Safe upper limit for vitamin D: 2000IU

Foods rich in vitamin D include: Oily fish, eggs, fortified mushrooms, fortified milk, tofu, fortified yogurt and fortified breakfast cereals.

Vitamin B12

Vitamin B12 could be another important factor when it comes to thyroid health. A study published in the JPMA (opens in new tab) journal suggests that up to 40% of patients with hypothyroidism suffer from vitamin B12 deficiency, and supplementation may help improve the symptoms. 

Another study reported that low levels of B12 may be linked to autoimmune thyroid diseases. At the same time, researchers from the Clinical Medicine Insights (opens in new tab) did not find a similar link. 

Still, eating more foods rich in B12 and other B vitamins may also confer other benefits. “They can produce high amounts of energy and can slightly increase basal metabolism,” explains Bilibou.

Daily Value (DV) for vitamin B12: 2.4mcg

Foods rich in vitamin B12 include: clams, tuna, beef steak, fortified cereals, fortified soy milk, fortified tofu, low-fat milk and eggs.

Vitamin A

Vitamin A may also help to regulate thyroid hormone metabolism. Scientists from the International Journal for Vitamin and Nutrition Research (opens in new tab) suggest that it may increase the risk of hypothyroidism when it occurs alongside iodine deficiency. And according to a study published in the Journal of the American College of Nutrition (opens in new tab), vitamin A supplementation may help to reduce the risk of developing underactive thyroid in premenopausal women.

Daily Value (DV) for Vitamin A: 900μg of retinol activity equivalents (RAEs).

Safe upper limit for vitamin A: 3000μg of retinol activity equivalents (RAEs).

Foods rich in vitamin A include: carrots, tuna, butternut squash, sweet potato, spinach, cantaloupe, lettuce and red bell pepper.

Tyrosine 

Eating foods rich in tyrosine, a non-essential amino acid (one of the protein building blocks), could be another key component of a hypothyroidism diet. Tyrosine and iodine are needed for the proper functioning of thyroid hormones in the body. They may also help to burn more calories. 

“Include protein at every meal or snack as protein tends to be satiating and may help to improve metabolism, so protein may help to maintain weight,” advises Mason. 

Tyrosine-rich foods include: beef steak, lean pork chops, salmon, lean chicken breast, tofu, milk, ricotta cheese, white beans and pumpkin seeds.

Are there any foods you should avoid with an underactive thyroid?

 Interactions with levothyroxine  

Levothyroxine is a common medication for hypothyroidism. It aims to replace or provide more of the thyroid hormone thyroxine, which is normally released by the thyroid gland. It is a very effective treatment, but certain dietary components may reduce its availability in the body. 

“Levothyroxine should be taken at the same time every day and on an empty stomach as it interacts with a bunch of foods and medications,” advises Giulia Guerrini, lead pharmacist at Medino (opens in new tab). “It’s okay to have your morning tea or coffee 30 minutes after taking levothyroxine, but avoid eating yogurt, drinking milk, or having cheese and broccoli at least for another four hours, as these calcium-rich foods prevent you from absorbing the active ingredient.”

Gluten

Scientists have been researching potential links between gluten consumption and hypothyroidism, but so far the results are inconclusive. According to a meta-analysis published in the PLoS One (opens in new tab) journal, rates of thyroid disease are significantly higher among patients with celiac disease. However, scientists from the Nutrients (opens in new tab) journal point out there is not enough evidence to suggest that gluten-free diet can improve the symptoms of autoimmune thyroid conditions. 

But dieticians suggest reducing gluten consumption could still be helpful. “It might be beneficial for a person experiencing low thyroidal hormonal activity, such as Hashimoto disease patients,” says Bilibou. “For example, instead of wheat, specialists suggest that quinoa, chia, whole grain rice, wild rice and buckwheat might be healthier alternatives. Also, particular attention should be paid to sausages and other types of processed or pre-cooked meat products as well as different mixtures of baking powders, yeasts and modified starch.”

Goitrogens 

Goitrogens is an umbrella term used to describe compounds that are able to cause swelling or dysfunction of the thyroid gland. Many common plant-based foods contain one or more goitrogenic substances, including sweet potatoes, pine nuts, peaches and broccoli. 

In many cases, cooking can help to inactivate these compounds. Many recently published studies also question whether they are as harmful as we deem them to be.  

For example, it has been suggested that cruciferous vegetables (such as cabbage, broccoli, cauliflower and kale) may lead to swelling and enlargement of the thyroid gland. However, they may need to be ingested in relatively large amounts to produce harmful effects, as described in the Human Toxicology (opens in new tab) journal. 

Cruciferous vegetables are a rich source of progoitrin and glucosinolates — substances that break down to goitrin and thiocyanate during the digestive process. According to the Nutrition Reviews (opens in new tab), thyroid hormone production is affected when the goitrin levels exceed 194 μmol. Only collards, Brussels sprouts and Russian kale contain such amounts. 

“It is very important to mention that a balanced diet for someone with hypothyroidism should not completely eliminate cruciferous vegetables,” agrees Bilibou. “But it is important to remember that if consumed, they should be cooked and not consumed raw as substances that may reduce the synthesis of thyroxine are nullified under thermal action.”

Soy and soy-based foods

For many years, people with thyroid problems have been advised to avoid soy and soy-based foods like tofu and tempeh. Isoflavones, a common compound in soy, was deemed to be a powerful goitrogen. 

However, recent studies have suggested that this may not be the case. According to a meta-analysis published in the Scientific Reports (opens in new tab) journal, soy supplementation has no effect on thyroid hormone levels. And as it was reported in the Thyroid (opens in new tab) journal, there is little evidence that soy foods have a negative impact on thyroid function in individuals obtaining enough iodine. 

Still, some in vitro and animal studies suggest that without enough iodine, soy foods may increase the risk of hypothyroidism. Mason also points out that soya can interfere with thyroxine absorption. 

“Thyroxine is often prescribed in hypothyroidism,” she says. “If you are taking thyroxine, then you may be advised to avoid soya altogether. Alternatively, you may be advised to leave a long gap between eating soya and taking thyroxine.”

Dietary fat

There is growing evidence that dietary fat may play a role in thyroid health. According to the Molecular Nutrition and Food Research (opens in new tab) journal, eating too much fat rich in saturated and monounsaturated fatty acids may interfere with thyroid hormone production and increase the risk of hypothyroidism. 

A 2014 study (opens in new tab) has demonstrated that rats fed a high-fat diet led to changes in the structure and functioning of the thyroid gland. However, more human studies are needed to confirm these findings.  

Coffee and green tea

Some beverages may be harmful to the thyroid gland. One of them is coffee. According to the Thyroid (opens in new tab) journal, coffee may slow down the absorption of thyroxine in the intestines. 

Green tea, a rich source of powerful flavonoids credited with many health benefits, when ingested in high doses may induce swelling and enlargement of the thyroid gland, as described in a study published in the Archives of Toxicology (opens in new tab) journal. 

Tips for a hypothyroidism diet

When it comes to managing an underactive thyroid, Bilibou stresses the importance of thoughtful food choices. “Hypothyroidism creates difficulties in body weight management, thus making the quality of the foods you consume not necessarily a fancy, but a necessity,” he says. “As an example, the meat you consume should be provided from local farmers or local shops rather than supermarkets, as it is common practice for big suppliers to merchandise meat from animals who have been hormone fed or artificially growth stimulated. These hormones can have a negative impact on the patient with an underactive thyroid.”

He also recommends reducing sugar consumption, because sugary foods have a high glycaemic index, which makes them absorbed faster into our bodies. “In patients with an underactive thyroid, due to a slow basal metabolism, sweet foods might be easier assimilated as fats into the body,” he explains. 

Another food group to include are vegetables, ideally from an organic source. “Foods such as beetroot, kohlrabi, onion, parsley, radishes, rhubarb, pumpkins, sweet potatoes and spinach are all nutrient-dense vegetables which are rich in folic acid, vitamins and minerals,” says Bilibou. “These foods also contain high amounts of fiber, necessary for a healthy bowel movement as hypothyroidism can lead to frequent episodes of constipation.” 

He also recommends cutting down on dairy products and eggs. “Individuals should reduce or even eliminate, if necessary, fat dairy products, while low fat dairy products should be consumed in moderate quantities ⁠— two to three times per week.”

This article is for informational purposes only and is not meant to offer medical advice.

Anna Gora is a Health Writer for Future Plc, working across Coach, Fit&Well, LiveScience, T3, TechRadar and Tom’s Guide. She is a certified personal trainer, nutritionist and health coach with nearly 10 years of professional experience. Anna holds a BSc degree in Nutrition from the Warsaw University of Life Sciences, a Master\u2019s degree in Nutrition, Physical Activity & Public Health from the University of Bristol, as well as various health coaching certificates. She is passionate about empowering people to live a healthy lifestyle and promoting the benefits of a plant-based diet.”};

window.sliceComponents.authorBio = authorBio;

var triggerHydrate = function() {
window.sliceComponents.authorBio.hydrate(data, componentContainer);
}
if (window.lazyObserveElement) {
window.lazyObserveElement(componentContainer, triggerHydrate);
} else {
triggerHydrate();
}
}
}).catch(err => console.log(‘Hydration Script has failed for authorBio Slice’, err));

Anna GoraHealth Writer

Anna Gora is a Health Writer for Future Plc, working across Coach, Fit&Well, LiveScience, T3, TechRadar and Tom’s Guide. She is a certified personal trainer, nutritionist and health coach with nearly 10 years of professional experience. Anna holds a BSc degree in Nutrition from the Warsaw University of Life Sciences, a Master’s degree in Nutrition, Physical Activity & Public Health from the University of Bristol, as well as various health coaching certificates. She is passionate about empowering people to live a healthy lifestyle and promoting the benefits of a plant-based diet.

Source: Read Full Article