// phpcs:ignoreFile
import{t as p,D as r,a as o,T as i}from"./twig-TIIEE6v_.js";o(i);i.cache(!1);const s=e=>e,l=(e={})=>{const a=p.twig({id:"/app/web/themes/contrib/civictheme/components/00-base/datetime/datetime.twig",data:[{type:"raw",value:"",position:{start:348,end:350}},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"start",match:["start"]},{type:"Twig.expression.type.test",filter:"empty",modifier:"not"}],position:{start:350,end:377},output:[{type:"raw",value:'  <span class="ct-datetime ',position:{start:378,end:405}},{type:"output",position:{start:405,end:437},stack:[{type:"Twig.expression.type.variable",value:"modifier_class",match:["modifier_class"],position:{start:405,end:437}},{type:"Twig.expression.type.filter",value:"default",match:["|default","default"],position:{start:405,end:437},params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("],position:{start:405,end:437}},{type:"Twig.expression.type.string",value:"",position:{start:405,end:437}},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],position:{start:405,end:437},expression:!1}]}]},{type:"raw",value:'" ',position:{start:437,end:439}},{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:439,end:471},output:[{type:"output_whitespace_both",position:{start:471,end:493},stack:[{type:"Twig.expression.type.variable",value:"attributes",match:["attributes"],position:{start:471,end:493}},{type:"Twig.expression.type.filter",value:"raw",match:["|raw","raw"],position:{start:471,end:493}}]}]},position:{open:{start:439,end:471},close:{start:493,end:504}}},{type:"raw",value:`>
    <time class="ct-timestamp__start" datetime="`,position:{start:504,end:554}},{type:"output",position:{start:554,end:594},stack:[{type:"Twig.expression.type.variable",value:"start_iso",match:["start_iso"],position:{start:554,end:594}},{type:"Twig.expression.type.filter",value:"default",match:["|default","default"],position:{start:554,end:594},params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("],position:{start:554,end:594}},{type:"Twig.expression.type.variable",value:"start",match:["start"],position:{start:554,end:594}},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],position:{start:554,end:594},expression:!1}]},{type:"Twig.expression.type.filter",value:"striptags",match:["|striptags","striptags"],position:{start:554,end:594}}]},{type:"raw",value:'">',position:{start:594,end:596}},{type:"output",position:{start:596,end:611},stack:[{type:"Twig.expression.type.variable",value:"start",match:["start"],position:{start:596,end:611}},{type:"Twig.expression.type.filter",value:"raw",match:["|raw","raw"],position:{start:596,end:611}}]},{type:"raw",value:`</time>
    `,position:{start:611,end:623}},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"end",match:["end"]},{type:"Twig.expression.type.test",filter:"empty",modifier:"not"}],position:{start:623,end:648},output:[{type:"raw",value:`      &mdash;
      <time class="ct-timestamp__end" datetime="`,position:{start:649,end:711}},{type:"output",position:{start:711,end:747},stack:[{type:"Twig.expression.type.variable",value:"end_iso",match:["end_iso"],position:{start:711,end:747}},{type:"Twig.expression.type.filter",value:"default",match:["|default","default"],position:{start:711,end:747},params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("],position:{start:711,end:747}},{type:"Twig.expression.type.variable",value:"end",match:["end"],position:{start:711,end:747}},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],position:{start:711,end:747},expression:!1}]},{type:"Twig.expression.type.filter",value:"striptags",match:["|striptags","striptags"],position:{start:711,end:747}}]},{type:"raw",value:'">',position:{start:747,end:749}},{type:"output",position:{start:749,end:762},stack:[{type:"Twig.expression.type.variable",value:"end",match:["end"],position:{start:749,end:762}},{type:"Twig.expression.type.filter",value:"raw",match:["|raw","raw"],position:{start:749,end:762}}]},{type:"raw",value:`</time>
    `,position:{start:762,end:774}}]},position:{open:{start:623,end:648},close:{start:774,end:785}}},{type:"raw",value:`  </span>
`,position:{start:786,end:796}}]},position:{open:{start:350,end:377},close:{start:796,end:807}}}],precompiled:!0});a.options.allowInlineIncludes=!0;try{let t=e.defaultAttributes?e.defaultAttributes:[];return Array.isArray(t)||(t=Object.entries(t)),s(a.render({attributes:new r(t),...e}))}catch(t){return s("An error occurred whilst rendering /app/web/themes/contrib/civictheme/components/00-base/datetime/datetime.twig: "+t.toString())}};export{l as C};
