// phpcs:ignoreFile
import{t as p,D as r,a as o,T as a}from"./twig-TIIEE6v_.js";o(a);a.cache(!1);const s=t=>t,l=(t={})=>{const i=p.twig({id:"/app/web/themes/contrib/civictheme/components/01-atoms/field-description/field-description.twig",data:[{type:"raw",value:`

`,position:{start:403,end:405}},{type:"logic",token:{type:"Twig.logic.type.set",key:"size",expression:[{type:"Twig.expression.type.variable",value:"size",match:["size"]},{type:"Twig.expression.type.array.start",value:"[",match:["["]},{type:"Twig.expression.type.string",value:"large"},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.string",value:"regular"},{type:"Twig.expression.type.array.end",value:"]",match:["]"]},{type:"Twig.expression.type.operator.binary",value:"in",precidence:8,associativity:"leftToRight",operator:"in"},{type:"Twig.expression.type.variable",value:"size",match:["size"]},{type:"Twig.expression.type.string",value:"regular"},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}],position:{start:405,end:469}},position:{start:405,end:469}},{type:"logic",token:{type:"Twig.logic.type.set",key:"size_class",expression:[{type:"Twig.expression.type.string",value:"ct-field-description--%s"},{type:"Twig.expression.type.filter",value:"format",match:["|format","format"],params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("]},{type:"Twig.expression.type.variable",value:"size",match:["size"]},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],expression:!1}]}],position:{start:470,end:532}},position:{start:470,end:532}},{type:"logic",token:{type:"Twig.logic.type.set",key:"theme_class",expression:[{type:"Twig.expression.type.string",value:"ct-theme-%s"},{type:"Twig.expression.type.filter",value:"format",match:["|format","format"],params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("]},{type:"Twig.expression.type.variable",value:"theme",match:["theme"]},{type:"Twig.expression.type.filter",value:"default",match:["|default","default"],params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("]},{type:"Twig.expression.type.string",value:"light"},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],expression:!1}]},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],expression:!1}]}],position:{start:533,end:601}},position:{start:533,end:601}},{type:"logic",token:{type:"Twig.logic.type.set",key:"modifier_class",expression:[{type:"Twig.expression.type.string",value:"%s %s %s"},{type:"Twig.expression.type.filter",value:"format",match:["|format","format"],params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("]},{type:"Twig.expression.type.variable",value:"theme_class",match:["theme_class"]},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.variable",value:"size_class",match:["size_class"]},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.variable",value:"modifier_class",match:["modifier_class"]},{type:"Twig.expression.type.filter",value:"default",match:["|default","default"],params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("]},{type:"Twig.expression.type.string",value:""},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],expression:!1}]},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],expression:!1}]}],position:{start:602,end:699}},position:{start:602,end:699}},{type:"raw",value:"",position:{start:700,end:701}},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"content",match:["content"]},{type:"Twig.expression.type.test",filter:"empty",modifier:"not"}],position:{start:701,end:731},output:[{type:"raw",value:'<div class="ct-field-description ',position:{start:732,end:767}},{type:"output_whitespace_post",position:{start:767,end:788},stack:[{type:"Twig.expression.type.variable",value:"modifier_class",match:["modifier_class"],position:{start:767,end:788}}]},{type:"raw",value:'" ',position:{start:788,end:790}},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"attributes",match:["attributes"]},{type:"Twig.expression.type.test",filter:"empty",modifier:"not"}],position:{start:790,end:822},output:[{type:"output_whitespace_both",position:{start:822,end:844},stack:[{type:"Twig.expression.type.variable",value:"attributes",match:["attributes"],position:{start:822,end:844}},{type:"Twig.expression.type.filter",value:"raw",match:["|raw","raw"],position:{start:822,end:844}}]}]},position:{open:{start:790,end:822},close:{start:844,end:855}}},{type:"raw",value:`>
    `,position:{start:855,end:861}},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"allow_html",match:["allow_html"]},{type:"Twig.expression.type.test",filter:"defined"},{type:"Twig.expression.type.variable",value:"allow_html",match:["allow_html"]},{type:"Twig.expression.type.bool",value:!1},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}],position:{start:861,end:912},output:[{type:"raw",value:"",position:{start:913,end:919}},{type:"output_whitespace_both",position:{start:919,end:938},stack:[{type:"Twig.expression.type.variable",value:"content",match:["content"],position:{start:919,end:938}},{type:"Twig.expression.type.filter",value:"raw",match:["|raw","raw"],position:{start:919,end:938}}]},{type:"raw",value:"",position:{start:938,end:943}}]},position:{open:{start:861,end:912},close:{start:943,end:953}}},{type:"logic",token:{type:"Twig.logic.type.else",match:["else"],position:{start:943,end:953},output:[{type:"raw",value:"",position:{start:954,end:960}},{type:"output_whitespace_both",position:{start:960,end:975},stack:[{type:"Twig.expression.type.variable",value:"content",match:["content"],position:{start:960,end:975}}]},{type:"raw",value:"",position:{start:975,end:980}}]},position:{open:{start:943,end:953},close:{start:980,end:991}}},{type:"raw",value:"  </div>",position:{start:992,end:1001}}]},position:{open:{start:701,end:731},close:{start:1001,end:1013}}}],precompiled:!0});i.options.allowInlineIncludes=!0;try{let e=t.defaultAttributes?t.defaultAttributes:[];return Array.isArray(e)||(e=Object.entries(e)),s(i.render({attributes:new r(e),...t}))}catch(e){return s("An error occurred whilst rendering /app/web/themes/contrib/civictheme/components/01-atoms/field-description/field-description.twig: "+e.toString())}};export{l as C};
