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,YAAY,CAC9C,EAHwB,mBAKxB5J,SAASR,iBAAiB,mBAAoB,IAAM,CAElD,MAAMmK,EAAiB3J,SAASM,eAAe,oBAAoB,EAC/DqJ,GACF3J,SAASX,iBAAiB,qBAAqB,EAAEC,QAASyK,GAAoB,CAC5EA,EAAgBvK,iBAAiB,QAAS,IAAM,CAC9CkK,EAAiBC,CAAc,CACjC,CAAC,CACH,CAAC,EAIH,MAAMK,EAAchK,SAASjB,cAC3B,mDACF,EACIiL,GACFA,EAAYxK,iBAAiB,QAAS,IACpCsK,EAAgBH,CAAc,CAChC,EAKF9J,EAA2BG,QAAQ,CACrC,CAAC,C","sources":["webpack://metadecidim/./node_modules/tailwindcss/defaultTheme.js","webpack://metadecidim/./node_modules/tailwindcss/lib/public/default-theme.js","webpack://metadecidim/./node_modules/tailwindcss/lib/util/cloneDeep.js","webpack://metadecidim/./node_modules/tailwindcss/stubs/config.full.js","webpack://metadecidim/webpack/bootstrap","webpack://metadecidim/./vendor/bundle/ruby/3.3.0/gems/decidim-core-0.30.0.rc3/app/packs/src/decidim/change_report_form_behavior.js","webpack://metadecidim/./vendor/bundle/ruby/3.3.0/gems/decidim-comments-0.30.0.rc3/app/packs/src/decidim/comments/comments_dropdown.js","webpack://metadecidim/./vendor/bundle/ruby/3.3.0/gems/decidim-comments-0.30.0.rc3/app/packs/src/decidim/comments/comments.component.js","webpack://metadecidim/./vendor/bundle/ruby/3.3.0/gems/decidim-comments-0.30.0.rc3/app/packs/src/decidim/comments/comments.js","webpack://metadecidim/./vendor/bundle/ruby/3.3.0/gems/decidim-comments-0.30.0.rc3/app/packs/src/decidim/comments/comments_mobile_modal.js"],"sourcesContent":["let defaultTheme = require('./lib/public/default-theme')\nmodule.exports = (defaultTheme.__esModule ? defaultTheme : { default: defaultTheme }).default\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\nObject.defineProperty(exports, \"default\", {\n    enumerable: true,\n    get: function() {\n        return _default;\n    }\n});\nconst _cloneDeep = require(\"../util/cloneDeep\");\nconst _configfull = /*#__PURE__*/ _interop_require_default(require(\"../../stubs/config.full\"));\nfunction _interop_require_default(obj) {\n    return obj && obj.__esModule ? obj : {\n        default: obj\n    };\n}\nconst _default = (0, _cloneDeep.cloneDeep)(_configfull.default.theme);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\nObject.defineProperty(exports, \"cloneDeep\", {\n    enumerable: true,\n    get: function() {\n        return cloneDeep;\n    }\n});\nfunction cloneDeep(value) {\n    if (Array.isArray(value)) {\n        return value.map((child)=>cloneDeep(child));\n    }\n    if (typeof value === \"object\" && value !== null) {\n        return Object.fromEntries(Object.entries(value).map(([k, v])=>[\n                k,\n                cloneDeep(v)\n            ]));\n    }\n    return value;\n}\n","module.exports = {\n  content: [],\n  presets: [],\n  darkMode: 'media', // or 'class'\n  theme: {\n    accentColor: ({ theme }) => ({\n      ...theme('colors'),\n      auto: 'auto',\n    }),\n    animation: {\n      none: 'none',\n      spin: 'spin 1s linear infinite',\n      ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',\n      pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',\n      bounce: 'bounce 1s infinite',\n    },\n    aria: {\n      busy: 'busy=\"true\"',\n      checked: 'checked=\"true\"',\n      disabled: 'disabled=\"true\"',\n      expanded: 'expanded=\"true\"',\n      hidden: 'hidden=\"true\"',\n      pressed: 'pressed=\"true\"',\n      readonly: 'readonly=\"true\"',\n      required: 'required=\"true\"',\n      selected: 'selected=\"true\"',\n    },\n    aspectRatio: {\n      auto: 'auto',\n      square: '1 / 1',\n      video: '16 / 9',\n    },\n    backdropBlur: ({ theme }) => theme('blur'),\n    backdropBrightness: ({ theme }) => theme('brightness'),\n    backdropContrast: ({ theme }) => theme('contrast'),\n    backdropGrayscale: ({ theme }) => theme('grayscale'),\n    backdropHueRotate: ({ theme }) => theme('hueRotate'),\n    backdropInvert: ({ theme }) => theme('invert'),\n    backdropOpacity: ({ theme }) => theme('opacity'),\n    backdropSaturate: ({ theme }) => theme('saturate'),\n    backdropSepia: ({ theme }) => theme('sepia'),\n    backgroundColor: ({ theme }) => theme('colors'),\n    backgroundImage: {\n      none: 'none',\n      'gradient-to-t': 'linear-gradient(to top, var(--tw-gradient-stops))',\n      'gradient-to-tr': 'linear-gradient(to top right, var(--tw-gradient-stops))',\n      'gradient-to-r': 'linear-gradient(to right, var(--tw-gradient-stops))',\n      'gradient-to-br': 'linear-gradient(to bottom right, var(--tw-gradient-stops))',\n      'gradient-to-b': 'linear-gradient(to bottom, var(--tw-gradient-stops))',\n      'gradient-to-bl': 'linear-gradient(to bottom left, var(--tw-gradient-stops))',\n      'gradient-to-l': 'linear-gradient(to left, var(--tw-gradient-stops))',\n      'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))',\n    },\n    backgroundOpacity: ({ theme }) => theme('opacity'),\n    backgroundPosition: {\n      bottom: 'bottom',\n      center: 'center',\n      left: 'left',\n      'left-bottom': 'left bottom',\n      'left-top': 'left top',\n      right: 'right',\n      'right-bottom': 'right bottom',\n      'right-top': 'right top',\n      top: 'top',\n    },\n    backgroundSize: {\n      auto: 'auto',\n      cover: 'cover',\n      contain: 'contain',\n    },\n    blur: {\n      0: '0',\n      none: '0',\n      sm: '4px',\n      DEFAULT: '8px',\n      md: '12px',\n      lg: '16px',\n      xl: '24px',\n      '2xl': '40px',\n      '3xl': '64px',\n    },\n    borderColor: ({ theme }) => ({\n      ...theme('colors'),\n      DEFAULT: theme('colors.gray.200', 'currentColor'),\n    }),\n    borderOpacity: ({ theme }) => theme('opacity'),\n    borderRadius: {\n      none: '0px',\n      sm: '0.125rem',\n      DEFAULT: '0.25rem',\n      md: '0.375rem',\n      lg: '0.5rem',\n      xl: '0.75rem',\n      '2xl': '1rem',\n      '3xl': '1.5rem',\n      full: '9999px',\n    },\n    borderSpacing: ({ theme }) => ({\n      ...theme('spacing'),\n    }),\n    borderWidth: {\n      DEFAULT: '1px',\n      0: '0px',\n      2: '2px',\n      4: '4px',\n      8: '8px',\n    },\n    boxShadow: {\n      sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',\n      DEFAULT: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',\n      md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',\n      lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',\n      xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',\n      '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',\n      inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',\n      none: 'none',\n    },\n    boxShadowColor: ({ theme }) => theme('colors'),\n    brightness: {\n      0: '0',\n      50: '.5',\n      75: '.75',\n      90: '.9',\n      95: '.95',\n      100: '1',\n      105: '1.05',\n      110: '1.1',\n      125: '1.25',\n      150: '1.5',\n      200: '2',\n    },\n    caretColor: ({ theme }) => theme('colors'),\n    colors: ({ colors }) => ({\n      inherit: colors.inherit,\n      current: colors.current,\n      transparent: colors.transparent,\n      black: colors.black,\n      white: colors.white,\n      slate: colors.slate,\n      gray: colors.gray,\n      zinc: colors.zinc,\n      neutral: colors.neutral,\n      stone: colors.stone,\n      red: colors.red,\n      orange: colors.orange,\n      amber: colors.amber,\n      yellow: colors.yellow,\n      lime: colors.lime,\n      green: colors.green,\n      emerald: colors.emerald,\n      teal: colors.teal,\n      cyan: colors.cyan,\n      sky: colors.sky,\n      blue: colors.blue,\n      indigo: colors.indigo,\n      violet: colors.violet,\n      purple: colors.purple,\n      fuchsia: colors.fuchsia,\n      pink: colors.pink,\n      rose: colors.rose,\n    }),\n    columns: {\n      auto: 'auto',\n      1: '1',\n      2: '2',\n      3: '3',\n      4: '4',\n      5: '5',\n      6: '6',\n      7: '7',\n      8: '8',\n      9: '9',\n      10: '10',\n      11: '11',\n      12: '12',\n      '3xs': '16rem',\n      '2xs': '18rem',\n      xs: '20rem',\n      sm: '24rem',\n      md: '28rem',\n      lg: '32rem',\n      xl: '36rem',\n      '2xl': '42rem',\n      '3xl': '48rem',\n      '4xl': '56rem',\n      '5xl': '64rem',\n      '6xl': '72rem',\n      '7xl': '80rem',\n    },\n    container: {},\n    content: {\n      none: 'none',\n    },\n    contrast: {\n      0: '0',\n      50: '.5',\n      75: '.75',\n      100: '1',\n      125: '1.25',\n      150: '1.5',\n      200: '2',\n    },\n    cursor: {\n      auto: 'auto',\n      default: 'default',\n      pointer: 'pointer',\n      wait: 'wait',\n      text: 'text',\n      move: 'move',\n      help: 'help',\n      'not-allowed': 'not-allowed',\n      none: 'none',\n      'context-menu': 'context-menu',\n      progress: 'progress',\n      cell: 'cell',\n      crosshair: 'crosshair',\n      'vertical-text': 'vertical-text',\n      alias: 'alias',\n      copy: 'copy',\n      'no-drop': 'no-drop',\n      grab: 'grab',\n      grabbing: 'grabbing',\n      'all-scroll': 'all-scroll',\n      'col-resize': 'col-resize',\n      'row-resize': 'row-resize',\n      'n-resize': 'n-resize',\n      'e-resize': 'e-resize',\n      's-resize': 's-resize',\n      'w-resize': 'w-resize',\n      'ne-resize': 'ne-resize',\n      'nw-resize': 'nw-resize',\n      'se-resize': 'se-resize',\n      'sw-resize': 'sw-resize',\n      'ew-resize': 'ew-resize',\n      'ns-resize': 'ns-resize',\n      'nesw-resize': 'nesw-resize',\n      'nwse-resize': 'nwse-resize',\n      'zoom-in': 'zoom-in',\n      'zoom-out': 'zoom-out',\n    },\n    divideColor: ({ theme }) => theme('borderColor'),\n    divideOpacity: ({ theme }) => theme('borderOpacity'),\n    divideWidth: ({ theme }) => theme('borderWidth'),\n    dropShadow: {\n      sm: '0 1px 1px rgb(0 0 0 / 0.05)',\n      DEFAULT: ['0 1px 2px rgb(0 0 0 / 0.1)', '0 1px 1px rgb(0 0 0 / 0.06)'],\n      md: ['0 4px 3px rgb(0 0 0 / 0.07)', '0 2px 2px rgb(0 0 0 / 0.06)'],\n      lg: ['0 10px 8px rgb(0 0 0 / 0.04)', '0 4px 3px rgb(0 0 0 / 0.1)'],\n      xl: ['0 20px 13px rgb(0 0 0 / 0.03)', '0 8px 5px rgb(0 0 0 / 0.08)'],\n      '2xl': '0 25px 25px rgb(0 0 0 / 0.15)',\n      none: '0 0 #0000',\n    },\n    fill: ({ theme }) => ({\n      none: 'none',\n      ...theme('colors'),\n    }),\n    flex: {\n      1: '1 1 0%',\n      auto: '1 1 auto',\n      initial: '0 1 auto',\n      none: 'none',\n    },\n    flexBasis: ({ theme }) => ({\n      auto: 'auto',\n      ...theme('spacing'),\n      '1/2': '50%',\n      '1/3': '33.333333%',\n      '2/3': '66.666667%',\n      '1/4': '25%',\n      '2/4': '50%',\n      '3/4': '75%',\n      '1/5': '20%',\n      '2/5': '40%',\n      '3/5': '60%',\n      '4/5': '80%',\n      '1/6': '16.666667%',\n      '2/6': '33.333333%',\n      '3/6': '50%',\n      '4/6': '66.666667%',\n      '5/6': '83.333333%',\n      '1/12': '8.333333%',\n      '2/12': '16.666667%',\n      '3/12': '25%',\n      '4/12': '33.333333%',\n      '5/12': '41.666667%',\n      '6/12': '50%',\n      '7/12': '58.333333%',\n      '8/12': '66.666667%',\n      '9/12': '75%',\n      '10/12': '83.333333%',\n      '11/12': '91.666667%',\n      full: '100%',\n    }),\n    flexGrow: {\n      0: '0',\n      DEFAULT: '1',\n    },\n    flexShrink: {\n      0: '0',\n      DEFAULT: '1',\n    },\n    fontFamily: {\n      sans: [\n        'ui-sans-serif',\n        'system-ui',\n        'sans-serif',\n        '\"Apple Color Emoji\"',\n        '\"Segoe UI Emoji\"',\n        '\"Segoe UI Symbol\"',\n        '\"Noto Color Emoji\"',\n      ],\n      serif: ['ui-serif', 'Georgia', 'Cambria', '\"Times New Roman\"', 'Times', 'serif'],\n      mono: [\n        'ui-monospace',\n        'SFMono-Regular',\n        'Menlo',\n        'Monaco',\n        'Consolas',\n        '\"Liberation Mono\"',\n        '\"Courier New\"',\n        'monospace',\n      ],\n    },\n    fontSize: {\n      xs: ['0.75rem', { lineHeight: '1rem' }],\n      sm: ['0.875rem', { lineHeight: '1.25rem' }],\n      base: ['1rem', { lineHeight: '1.5rem' }],\n      lg: ['1.125rem', { lineHeight: '1.75rem' }],\n      xl: ['1.25rem', { lineHeight: '1.75rem' }],\n      '2xl': ['1.5rem', { lineHeight: '2rem' }],\n      '3xl': ['1.875rem', { lineHeight: '2.25rem' }],\n      '4xl': ['2.25rem', { lineHeight: '2.5rem' }],\n      '5xl': ['3rem', { lineHeight: '1' }],\n      '6xl': ['3.75rem', { lineHeight: '1' }],\n      '7xl': ['4.5rem', { lineHeight: '1' }],\n      '8xl': ['6rem', { lineHeight: '1' }],\n      '9xl': ['8rem', { lineHeight: '1' }],\n    },\n    fontWeight: {\n      thin: '100',\n      extralight: '200',\n      light: '300',\n      normal: '400',\n      medium: '500',\n      semibold: '600',\n      bold: '700',\n      extrabold: '800',\n      black: '900',\n    },\n    gap: ({ theme }) => theme('spacing'),\n    gradientColorStops: ({ theme }) => theme('colors'),\n    gradientColorStopPositions: {\n      '0%': '0%',\n      '5%': '5%',\n      '10%': '10%',\n      '15%': '15%',\n      '20%': '20%',\n      '25%': '25%',\n      '30%': '30%',\n      '35%': '35%',\n      '40%': '40%',\n      '45%': '45%',\n      '50%': '50%',\n      '55%': '55%',\n      '60%': '60%',\n      '65%': '65%',\n      '70%': '70%',\n      '75%': '75%',\n      '80%': '80%',\n      '85%': '85%',\n      '90%': '90%',\n      '95%': '95%',\n      '100%': '100%',\n    },\n    grayscale: {\n      0: '0',\n      DEFAULT: '100%',\n    },\n    gridAutoColumns: {\n      auto: 'auto',\n      min: 'min-content',\n      max: 'max-content',\n      fr: 'minmax(0, 1fr)',\n    },\n    gridAutoRows: {\n      auto: 'auto',\n      min: 'min-content',\n      max: 'max-content',\n      fr: 'minmax(0, 1fr)',\n    },\n    gridColumn: {\n      auto: 'auto',\n      'span-1': 'span 1 / span 1',\n      'span-2': 'span 2 / span 2',\n      'span-3': 'span 3 / span 3',\n      'span-4': 'span 4 / span 4',\n      'span-5': 'span 5 / span 5',\n      'span-6': 'span 6 / span 6',\n      'span-7': 'span 7 / span 7',\n      'span-8': 'span 8 / span 8',\n      'span-9': 'span 9 / span 9',\n      'span-10': 'span 10 / span 10',\n      'span-11': 'span 11 / span 11',\n      'span-12': 'span 12 / span 12',\n      'span-full': '1 / -1',\n    },\n    gridColumnEnd: {\n      auto: 'auto',\n      1: '1',\n      2: '2',\n      3: '3',\n      4: '4',\n      5: '5',\n      6: '6',\n      7: '7',\n      8: '8',\n      9: '9',\n      10: '10',\n      11: '11',\n      12: '12',\n      13: '13',\n    },\n    gridColumnStart: {\n      auto: 'auto',\n      1: '1',\n      2: '2',\n      3: '3',\n      4: '4',\n      5: '5',\n      6: '6',\n      7: '7',\n      8: '8',\n      9: '9',\n      10: '10',\n      11: '11',\n      12: '12',\n      13: '13',\n    },\n    gridRow: {\n      auto: 'auto',\n      'span-1': 'span 1 / span 1',\n      'span-2': 'span 2 / span 2',\n      'span-3': 'span 3 / span 3',\n      'span-4': 'span 4 / span 4',\n      'span-5': 'span 5 / span 5',\n      'span-6': 'span 6 / span 6',\n      'span-7': 'span 7 / span 7',\n      'span-8': 'span 8 / span 8',\n      'span-9': 'span 9 / span 9',\n      'span-10': 'span 10 / span 10',\n      'span-11': 'span 11 / span 11',\n      'span-12': 'span 12 / span 12',\n      'span-full': '1 / -1',\n    },\n    gridRowEnd: {\n      auto: 'auto',\n      1: '1',\n      2: '2',\n      3: '3',\n      4: '4',\n      5: '5',\n      6: '6',\n      7: '7',\n      8: '8',\n      9: '9',\n      10: '10',\n      11: '11',\n      12: '12',\n      13: '13',\n    },\n    gridRowStart: {\n      auto: 'auto',\n      1: '1',\n      2: '2',\n      3: '3',\n      4: '4',\n      5: '5',\n      6: '6',\n      7: '7',\n      8: '8',\n      9: '9',\n      10: '10',\n      11: '11',\n      12: '12',\n      13: '13',\n    },\n    gridTemplateColumns: {\n      none: 'none',\n      subgrid: 'subgrid',\n      1: 'repeat(1, minmax(0, 1fr))',\n      2: 'repeat(2, minmax(0, 1fr))',\n      3: 'repeat(3, minmax(0, 1fr))',\n      4: 'repeat(4, minmax(0, 1fr))',\n      5: 'repeat(5, minmax(0, 1fr))',\n      6: 'repeat(6, minmax(0, 1fr))',\n      7: 'repeat(7, minmax(0, 1fr))',\n      8: 'repeat(8, minmax(0, 1fr))',\n      9: 'repeat(9, minmax(0, 1fr))',\n      10: 'repeat(10, minmax(0, 1fr))',\n      11: 'repeat(11, minmax(0, 1fr))',\n      12: 'repeat(12, minmax(0, 1fr))',\n    },\n    gridTemplateRows: {\n      none: 'none',\n      subgrid: 'subgrid',\n      1: 'repeat(1, minmax(0, 1fr))',\n      2: 'repeat(2, minmax(0, 1fr))',\n      3: 'repeat(3, minmax(0, 1fr))',\n      4: 'repeat(4, minmax(0, 1fr))',\n      5: 'repeat(5, minmax(0, 1fr))',\n      6: 'repeat(6, minmax(0, 1fr))',\n      7: 'repeat(7, minmax(0, 1fr))',\n      8: 'repeat(8, minmax(0, 1fr))',\n      9: 'repeat(9, minmax(0, 1fr))',\n      10: 'repeat(10, minmax(0, 1fr))',\n      11: 'repeat(11, minmax(0, 1fr))',\n      12: 'repeat(12, minmax(0, 1fr))',\n    },\n    height: ({ theme }) => ({\n      auto: 'auto',\n      ...theme('spacing'),\n      '1/2': '50%',\n      '1/3': '33.333333%',\n      '2/3': '66.666667%',\n      '1/4': '25%',\n      '2/4': '50%',\n      '3/4': '75%',\n      '1/5': '20%',\n      '2/5': '40%',\n      '3/5': '60%',\n      '4/5': '80%',\n      '1/6': '16.666667%',\n      '2/6': '33.333333%',\n      '3/6': '50%',\n      '4/6': '66.666667%',\n      '5/6': '83.333333%',\n      full: '100%',\n      screen: '100vh',\n      svh: '100svh',\n      lvh: '100lvh',\n      dvh: '100dvh',\n      min: 'min-content',\n      max: 'max-content',\n      fit: 'fit-content',\n    }),\n    hueRotate: {\n      0: '0deg',\n      15: '15deg',\n      30: '30deg',\n      60: '60deg',\n      90: '90deg',\n      180: '180deg',\n    },\n    inset: ({ theme }) => ({\n      auto: 'auto',\n      ...theme('spacing'),\n      '1/2': '50%',\n      '1/3': '33.333333%',\n      '2/3': '66.666667%',\n      '1/4': '25%',\n      '2/4': '50%',\n      '3/4': '75%',\n      full: '100%',\n    }),\n    invert: {\n      0: '0',\n      DEFAULT: '100%',\n    },\n    keyframes: {\n      spin: {\n        to: {\n          transform: 'rotate(360deg)',\n        },\n      },\n      ping: {\n        '75%, 100%': {\n          transform: 'scale(2)',\n          opacity: '0',\n        },\n      },\n      pulse: {\n        '50%': {\n          opacity: '.5',\n        },\n      },\n      bounce: {\n        '0%, 100%': {\n          transform: 'translateY(-25%)',\n          animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',\n        },\n        '50%': {\n          transform: 'none',\n          animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',\n        },\n      },\n    },\n    letterSpacing: {\n      tighter: '-0.05em',\n      tight: '-0.025em',\n      normal: '0em',\n      wide: '0.025em',\n      wider: '0.05em',\n      widest: '0.1em',\n    },\n    lineHeight: {\n      none: '1',\n      tight: '1.25',\n      snug: '1.375',\n      normal: '1.5',\n      relaxed: '1.625',\n      loose: '2',\n      3: '.75rem',\n      4: '1rem',\n      5: '1.25rem',\n      6: '1.5rem',\n      7: '1.75rem',\n      8: '2rem',\n      9: '2.25rem',\n      10: '2.5rem',\n    },\n    listStyleType: {\n      none: 'none',\n      disc: 'disc',\n      decimal: 'decimal',\n    },\n    listStyleImage: {\n      none: 'none',\n    },\n    margin: ({ theme }) => ({\n      auto: 'auto',\n      ...theme('spacing'),\n    }),\n    lineClamp: {\n      1: '1',\n      2: '2',\n      3: '3',\n      4: '4',\n      5: '5',\n      6: '6',\n    },\n    maxHeight: ({ theme }) => ({\n      ...theme('spacing'),\n      none: 'none',\n      full: '100%',\n      screen: '100vh',\n      svh: '100svh',\n      lvh: '100lvh',\n      dvh: '100dvh',\n      min: 'min-content',\n      max: 'max-content',\n      fit: 'fit-content',\n    }),\n    maxWidth: ({ theme, breakpoints }) => ({\n      ...theme('spacing'),\n      none: 'none',\n      xs: '20rem',\n      sm: '24rem',\n      md: '28rem',\n      lg: '32rem',\n      xl: '36rem',\n      '2xl': '42rem',\n      '3xl': '48rem',\n      '4xl': '56rem',\n      '5xl': '64rem',\n      '6xl': '72rem',\n      '7xl': '80rem',\n      full: '100%',\n      min: 'min-content',\n      max: 'max-content',\n      fit: 'fit-content',\n      prose: '65ch',\n      ...breakpoints(theme('screens')),\n    }),\n    minHeight: ({ theme }) => ({\n      ...theme('spacing'),\n      full: '100%',\n      screen: '100vh',\n      svh: '100svh',\n      lvh: '100lvh',\n      dvh: '100dvh',\n      min: 'min-content',\n      max: 'max-content',\n      fit: 'fit-content',\n    }),\n    minWidth: ({ theme }) => ({\n      ...theme('spacing'),\n      full: '100%',\n      min: 'min-content',\n      max: 'max-content',\n      fit: 'fit-content',\n    }),\n    objectPosition: {\n      bottom: 'bottom',\n      center: 'center',\n      left: 'left',\n      'left-bottom': 'left bottom',\n      'left-top': 'left top',\n      right: 'right',\n      'right-bottom': 'right bottom',\n      'right-top': 'right top',\n      top: 'top',\n    },\n    opacity: {\n      0: '0',\n      5: '0.05',\n      10: '0.1',\n      15: '0.15',\n      20: '0.2',\n      25: '0.25',\n      30: '0.3',\n      35: '0.35',\n      40: '0.4',\n      45: '0.45',\n      50: '0.5',\n      55: '0.55',\n      60: '0.6',\n      65: '0.65',\n      70: '0.7',\n      75: '0.75',\n      80: '0.8',\n      85: '0.85',\n      90: '0.9',\n      95: '0.95',\n      100: '1',\n    },\n    order: {\n      first: '-9999',\n      last: '9999',\n      none: '0',\n      1: '1',\n      2: '2',\n      3: '3',\n      4: '4',\n      5: '5',\n      6: '6',\n      7: '7',\n      8: '8',\n      9: '9',\n      10: '10',\n      11: '11',\n      12: '12',\n    },\n    outlineColor: ({ theme }) => theme('colors'),\n    outlineOffset: {\n      0: '0px',\n      1: '1px',\n      2: '2px',\n      4: '4px',\n      8: '8px',\n    },\n    outlineWidth: {\n      0: '0px',\n      1: '1px',\n      2: '2px',\n      4: '4px',\n      8: '8px',\n    },\n    padding: ({ theme }) => theme('spacing'),\n    placeholderColor: ({ theme }) => theme('colors'),\n    placeholderOpacity: ({ theme }) => theme('opacity'),\n    ringColor: ({ theme }) => ({\n      DEFAULT: theme('colors.blue.500', '#3b82f6'),\n      ...theme('colors'),\n    }),\n    ringOffsetColor: ({ theme }) => theme('colors'),\n    ringOffsetWidth: {\n      0: '0px',\n      1: '1px',\n      2: '2px',\n      4: '4px',\n      8: '8px',\n    },\n    ringOpacity: ({ theme }) => ({\n      DEFAULT: '0.5',\n      ...theme('opacity'),\n    }),\n    ringWidth: {\n      DEFAULT: '3px',\n      0: '0px',\n      1: '1px',\n      2: '2px',\n      4: '4px',\n      8: '8px',\n    },\n    rotate: {\n      0: '0deg',\n      1: '1deg',\n      2: '2deg',\n      3: '3deg',\n      6: '6deg',\n      12: '12deg',\n      45: '45deg',\n      90: '90deg',\n      180: '180deg',\n    },\n    saturate: {\n      0: '0',\n      50: '.5',\n      100: '1',\n      150: '1.5',\n      200: '2',\n    },\n    scale: {\n      0: '0',\n      50: '.5',\n      75: '.75',\n      90: '.9',\n      95: '.95',\n      100: '1',\n      105: '1.05',\n      110: '1.1',\n      125: '1.25',\n      150: '1.5',\n    },\n    screens: {\n      sm: '640px',\n      md: '768px',\n      lg: '1024px',\n      xl: '1280px',\n      '2xl': '1536px',\n    },\n    scrollMargin: ({ theme }) => ({\n      ...theme('spacing'),\n    }),\n    scrollPadding: ({ theme }) => theme('spacing'),\n    sepia: {\n      0: '0',\n      DEFAULT: '100%',\n    },\n    skew: {\n      0: '0deg',\n      1: '1deg',\n      2: '2deg',\n      3: '3deg',\n      6: '6deg',\n      12: '12deg',\n    },\n    space: ({ theme }) => ({\n      ...theme('spacing'),\n    }),\n    spacing: {\n      px: '1px',\n      0: '0px',\n      0.5: '0.125rem',\n      1: '0.25rem',\n      1.5: '0.375rem',\n      2: '0.5rem',\n      2.5: '0.625rem',\n      3: '0.75rem',\n      3.5: '0.875rem',\n      4: '1rem',\n      5: '1.25rem',\n      6: '1.5rem',\n      7: '1.75rem',\n      8: '2rem',\n      9: '2.25rem',\n      10: '2.5rem',\n      11: '2.75rem',\n      12: '3rem',\n      14: '3.5rem',\n      16: '4rem',\n      20: '5rem',\n      24: '6rem',\n      28: '7rem',\n      32: '8rem',\n      36: '9rem',\n      40: '10rem',\n      44: '11rem',\n      48: '12rem',\n      52: '13rem',\n      56: '14rem',\n      60: '15rem',\n      64: '16rem',\n      72: '18rem',\n      80: '20rem',\n      96: '24rem',\n    },\n    stroke: ({ theme }) => ({\n      none: 'none',\n      ...theme('colors'),\n    }),\n    strokeWidth: {\n      0: '0',\n      1: '1',\n      2: '2',\n    },\n    supports: {},\n    data: {},\n    textColor: ({ theme }) => theme('colors'),\n    textDecorationColor: ({ theme }) => theme('colors'),\n    textDecorationThickness: {\n      auto: 'auto',\n      'from-font': 'from-font',\n      0: '0px',\n      1: '1px',\n      2: '2px',\n      4: '4px',\n      8: '8px',\n    },\n    textIndent: ({ theme }) => ({\n      ...theme('spacing'),\n    }),\n    textOpacity: ({ theme }) => theme('opacity'),\n    textUnderlineOffset: {\n      auto: 'auto',\n      0: '0px',\n      1: '1px',\n      2: '2px',\n      4: '4px',\n      8: '8px',\n    },\n    transformOrigin: {\n      center: 'center',\n      top: 'top',\n      'top-right': 'top right',\n      right: 'right',\n      'bottom-right': 'bottom right',\n      bottom: 'bottom',\n      'bottom-left': 'bottom left',\n      left: 'left',\n      'top-left': 'top left',\n    },\n    transitionDelay: {\n      0: '0s',\n      75: '75ms',\n      100: '100ms',\n      150: '150ms',\n      200: '200ms',\n      300: '300ms',\n      500: '500ms',\n      700: '700ms',\n      1000: '1000ms',\n    },\n    transitionDuration: {\n      DEFAULT: '150ms',\n      0: '0s',\n      75: '75ms',\n      100: '100ms',\n      150: '150ms',\n      200: '200ms',\n      300: '300ms',\n      500: '500ms',\n      700: '700ms',\n      1000: '1000ms',\n    },\n    transitionProperty: {\n      none: 'none',\n      all: 'all',\n      DEFAULT:\n        'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',\n      colors: 'color, background-color, border-color, text-decoration-color, fill, stroke',\n      opacity: 'opacity',\n      shadow: 'box-shadow',\n      transform: 'transform',\n    },\n    transitionTimingFunction: {\n      DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)',\n      linear: 'linear',\n      in: 'cubic-bezier(0.4, 0, 1, 1)',\n      out: 'cubic-bezier(0, 0, 0.2, 1)',\n      'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',\n    },\n    translate: ({ theme }) => ({\n      ...theme('spacing'),\n      '1/2': '50%',\n      '1/3': '33.333333%',\n      '2/3': '66.666667%',\n      '1/4': '25%',\n      '2/4': '50%',\n      '3/4': '75%',\n      full: '100%',\n    }),\n    size: ({ theme }) => ({\n      auto: 'auto',\n      ...theme('spacing'),\n      '1/2': '50%',\n      '1/3': '33.333333%',\n      '2/3': '66.666667%',\n      '1/4': '25%',\n      '2/4': '50%',\n      '3/4': '75%',\n      '1/5': '20%',\n      '2/5': '40%',\n      '3/5': '60%',\n      '4/5': '80%',\n      '1/6': '16.666667%',\n      '2/6': '33.333333%',\n      '3/6': '50%',\n      '4/6': '66.666667%',\n      '5/6': '83.333333%',\n      '1/12': '8.333333%',\n      '2/12': '16.666667%',\n      '3/12': '25%',\n      '4/12': '33.333333%',\n      '5/12': '41.666667%',\n      '6/12': '50%',\n      '7/12': '58.333333%',\n      '8/12': '66.666667%',\n      '9/12': '75%',\n      '10/12': '83.333333%',\n      '11/12': '91.666667%',\n      full: '100%',\n      min: 'min-content',\n      max: 'max-content',\n      fit: 'fit-content',\n    }),\n    width: ({ theme }) => ({\n      auto: 'auto',\n      ...theme('spacing'),\n      '1/2': '50%',\n      '1/3': '33.333333%',\n      '2/3': '66.666667%',\n      '1/4': '25%',\n      '2/4': '50%',\n      '3/4': '75%',\n      '1/5': '20%',\n      '2/5': '40%',\n      '3/5': '60%',\n      '4/5': '80%',\n      '1/6': '16.666667%',\n      '2/6': '33.333333%',\n      '3/6': '50%',\n      '4/6': '66.666667%',\n      '5/6': '83.333333%',\n      '1/12': '8.333333%',\n      '2/12': '16.666667%',\n      '3/12': '25%',\n      '4/12': '33.333333%',\n      '5/12': '41.666667%',\n      '6/12': '50%',\n      '7/12': '58.333333%',\n      '8/12': '66.666667%',\n      '9/12': '75%',\n      '10/12': '83.333333%',\n      '11/12': '91.666667%',\n      full: '100%',\n      screen: '100vw',\n      svw: '100svw',\n      lvw: '100lvw',\n      dvw: '100dvw',\n      min: 'min-content',\n      max: 'max-content',\n      fit: 'fit-content',\n    }),\n    willChange: {\n      auto: 'auto',\n      scroll: 'scroll-position',\n      contents: 'contents',\n      transform: 'transform',\n    },\n    zIndex: {\n      auto: 'auto',\n      0: '0',\n      10: '10',\n      20: '20',\n      30: '30',\n      40: '40',\n      50: '50',\n    },\n  },\n  plugins: [],\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/**\n * These set of functions aims to change the behavior of the report modal forms\n * so that when checking various checkboxes, to change the label of the button\n * to either report or hide.\n * Given the behavior is similar for report content and report user, we have the\n * functionality grouped in one single function.\n * It is important to note that the report user modal has a checkbox that allows\n * the admin to block the user in the report user modal.\n */\n\n/**\n * @param {DomElement} input The checkbox that is being checked\n * @return {Void} Nothing\n */\nconst changeLabel = function (input) {\n  let submit = input.closest(\"form\").querySelector(\"button[type=submit]\");\n\n  if (submit.querySelector(\"span\") !== null) {\n    submit = submit.querySelector(\"span\");\n  }\n  if (input.checked === true) {\n    submit.innerHTML = input.dataset.labelAction;\n  } else {\n    submit.innerHTML = input.dataset.labelReport;\n  }\n}\n\n/**\n * @param {Object} container The form handling the report.\n * @return {Void} Nothing\n */\nexport default function changeReportFormBehavior(container) {\n  container.querySelectorAll(\"[data-hide=true]\").forEach((checkbox) => {\n    checkbox.addEventListener(\"change\", (event) => {\n      changeLabel(event.target);\n    });\n  });\n  container.querySelectorAll(\"[data-block=true]\").forEach((checkbox) => {\n    checkbox.addEventListener(\"change\", (event) => {\n      changeLabel(event.target);\n      let blockAndHide = event.target.closest(\"form\").querySelector(\"#block_and_hide\");\n      blockAndHide.classList.toggle(\"invisible\");\n    });\n  });\n}\n","// Dropdown menu for user_group\nexport const initializeCommentsDropdown = function (elements) {\n  let dropdownButtons = document;\n\n  if (elements === document) {\n    dropdownButtons = document.querySelectorAll(\"[data-comments-dropdown]\");\n  } else if (elements instanceof NodeList || Array.isArray(elements)) {\n    dropdownButtons = elements;\n  } else {\n    dropdownButtons = [elements];\n  }\n\n  dropdownButtons.forEach((button) => {\n    const dropdownId = button.getAttribute(\"data-target\");\n    const dropdownMenu = document.getElementById(dropdownId);\n\n    if (dropdownMenu) {\n      const firstLi = dropdownMenu.querySelector(\"li\");\n      const firstAuthorInfo = firstLi?.querySelector(\n        \".comment__as-author-info\"\n      );\n\n      if (firstAuthorInfo) {\n        button.querySelector(\"span\").innerHTML = firstAuthorInfo.innerHTML;\n        firstLi.style.display = \"none\";\n      }\n\n      dropdownMenu.querySelectorAll(\"li\").forEach((li) => {\n        li.addEventListener(\"click\", () => {\n          const input = li.querySelector(\"input[type='radio']\");\n\n          if (input) {\n            input.checked = true;\n            input.dispatchEvent(new Event(\"click\"));\n\n            const authorInfo = li.querySelector(\".comment__as-author-info\");\n\n            if (authorInfo) {\n              const authorContent = authorInfo.innerHTML;\n\n              setTimeout(() => {\n                button.querySelector(\"span\").innerHTML = authorContent;\n\n                li.style.display = \"none\";\n                dropdownMenu.querySelectorAll(\"li\").forEach((otherLi) => {\n                  if (otherLi !== li) {\n                    otherLi.style.display = \"\";\n                  }\n                });\n              }, 500);\n            }\n          }\n        });\n      });\n    }\n  });\n};\n","/* eslint id-length: [\"error\", { \"exceptions\": [\"$\"] }] */\n/* eslint max-lines: [\"error\", {\"max\": 350, \"skipBlankLines\": true}] */\n/* eslint-disable max-lines */\n\n/**\n * A plain JavaScript component that handles the comments.\n *\n * @class\n * @augments Component\n */\n\n// This is necessary for testing purposes\nconst $ = window.$;\n\nimport changeReportFormBehavior from \"src/decidim/change_report_form_behavior\";\nimport { initializeCommentsDropdown } from \"../../decidim/comments/comments_dropdown\";\n\nexport default class CommentsComponent {\n  constructor($element, config) {\n    this.$element = $element;\n    this.commentableGid = config.commentableGid;\n    this.commentsUrl = config.commentsUrl;\n    this.rootDepth = config.rootDepth;\n    this.order = config.order;\n    this.lastCommentId = config.lastCommentId;\n    this.pollingInterval = config.pollingInterval || 15000;\n    this.singleComment = config.singleComment;\n    this.toggleTranslations = config.toggleTranslations;\n    this.id = this.$element.attr(\"id\") || this._getUID();\n    this.mounted = false;\n\n    this._onTextInput = this._onTextInput.bind(this);\n    this._onToggleOpinion = this._onToggleOpinion.bind(this);\n  }\n\n  /**\n   * Handles the logic for mounting the component\n   * @public\n   * @returns {Void} - Returns nothing\n   */\n  mountComponent() {\n    if (this.$element.length > 0 && !this.mounted) {\n      this.mounted = true;\n      this._initializeComments(this.$element);\n      if (!this.singleComment) {\n        $(\".add-comment textarea\", this.$element).prop(\"disabled\", true);\n        this._fetchComments(() => {\n          $(\".add-comment textarea\", this.$element).prop(\"disabled\", false);\n        });\n      }\n      this._initializeSortDropdown();\n    }\n  }\n\n  /**\n   * Handles the logic for unmounting the component\n   * @public\n   * @returns {Void} - Returns nothing\n   */\n  unmountComponent() {\n    if (this.mounted) {\n      this.mounted = false;\n      this._stopPolling();\n\n      $(\".add-comment [data-opinion-toggle] button\", this.$element).off(\"click.decidim-comments\");\n      $(\".add-comment textarea\", this.$element).off(\"input.decidim-comments\");\n      $(\".add-comment form\", this.$element).off(\"submit.decidim-comments\");\n      $(\".add-comment textarea\", this.$element).each((_i, el) => el.removeEventListener(\"emoji.added\", this._onTextInput));\n    }\n  }\n\n  /**\n   * Adds a new thread to the comments section.\n   * If the layout is a two-column layout, the comment is added to either\n   * the \"in favor\" or \"against\" column based on the alignment provided.\n   * If the layout is a single column or on a mobile screen,\n   * the comment is added to the general comment thread with interleaved ordering.\n   *\n   * @public\n   * @param {String} threadHtml - The HTML content for the thread to be added.\n   * @param {Number|null} alignment - Specifies the alignment of the comment.\n   *   If -1, the comment is added to the \"against\" column.\n   *   If 1, the comment is added to the \"in favor\" column.\n   *   If null or if on a mobile screen, the comment is added to the general thread.\n   * @param {Boolean} fromCurrentUser - A boolean indicating whether the user\n   *   is the author of the new thread. Defaults to false.\n   * @returns {Void} - Does not return a value.\n   */\n  addThread(threadHtml, alignment = null, fromCurrentUser = false) {\n    const $comment = $(threadHtml);\n    let $parent = null;\n\n    const $commentsContainer = $(\".comments-two-columns\", this.$element);\n    const isTwoColumnsLayout = $commentsContainer.length > 0;\n    const isMobileScreen = window.innerWidth < 768;\n\n    if (isTwoColumnsLayout && !isMobileScreen) {\n      const $inFavorColumn = $(\".comments-section__in-favor\", this.$element);\n      const $againstColumn = $(\".comments-section__against\", this.$element);\n\n      if (alignment === 1 && $inFavorColumn.length > 0) {\n        $parent = $inFavorColumn;\n      } else if (alignment === -1 && $againstColumn.length > 0) {\n        $parent = $againstColumn;\n      } else {\n        $parent = $(\".comment-threads\", this.$element);\n      }\n    } else {\n      $parent = $(\".comment-threads\", this.$element);\n    }\n\n    this._addComment($parent, $comment);\n    this._finalizeCommentCreation($parent, fromCurrentUser);\n  }\n\n  /**\n   * Adds a new reply to an existing comment.\n   * @public\n   * @param {Number} commentId - The ID of the comment for which to add the\n   *   reply to.\n   * @param {String} replyHtml - The HTML content for the reply.\n   * @param {Boolean} fromCurrentUser - A boolean indicating whether the user\n   *   herself was the author of the new reply. Defaults to false.\n   * @returns {Void} - Returns nothing\n   */\n  addReply(commentId, replyHtml, fromCurrentUser = false) {\n    const $parent = $(`#comment_${commentId}`);\n    const $comment = $(replyHtml);\n    const $replies = $(`#comment-${commentId}-replies`);\n    this._addComment($replies, $comment);\n    $replies.addClass(\"comment-reply\");\n    this._finalizeCommentCreation($parent, fromCurrentUser);\n  }\n\n  /**\n   * Generates a unique identifier for the form.\n   * @private\n   * @returns {String} - Returns a unique identifier\n   */\n  _getUID() {\n    return `comments-${new Date().setUTCMilliseconds()}-${Math.floor(Math.random() * 10000000)}`;\n  }\n\n  /**\n   * Initializes the comments for the given parent element.\n   * @private\n   * @param {jQuery} $parent The parent element to initialize.\n   * @returns {Void} - Returns nothing\n   */\n  _initializeComments($parent) {\n    $(\".add-comment\", $parent).each((_i, el) => {\n      const $add = $(el);\n      const $form = $(\"form\", $add);\n      const $opinionButtons = $(\"[data-opinion-toggle] button\", $add);\n      const $text = $(\"textarea\", $form);\n\n      $opinionButtons.on(\"click.decidim-comments\", this._onToggleOpinion);\n      $text.on(\"input.decidim-comments\", this._onTextInput);\n\n      $(document).trigger(\"attach-mentions-element\", [$text.get(0)]);\n\n      $form.on(\"submit.decidim-comments\", () => {\n        const $submit = $(\"button[type='submit']\", $form);\n\n        $submit.attr(\"disabled\", \"disabled\");\n        this._stopPolling();\n      });\n\n      document.querySelectorAll(\".new_report\").forEach((container) => changeReportFormBehavior(container));\n\n      const $dropdown = $add.find(\"[data-comments-dropdown]\");\n      if ($dropdown.length > 0) {\n        initializeCommentsDropdown($dropdown[0]);\n      }\n\n      document.querySelectorAll(\".new_report\").forEach((container) => changeReportFormBehavior(container))\n\n      if ($text.length && $text.get(0) !== null) {\n        // Attach event to the DOM node, instead of the jQuery object\n        $text.get(0).addEventListener(\"emoji.added\", this._onTextInput);\n      }\n    });\n  }\n\n  /**\n   * Adds the given comment element to the given target element and\n   * initializes it.\n   * @private\n   * @param {jQuery} $target - The target element to add the comment to.\n   * @param {jQuery} $container - The comment container element to add.\n   * @returns {Void} - Returns nothing\n   */\n  _addComment($target, $container) {\n    let $comment = $(\".comment\", $container);\n    if ($comment.length < 1) {\n      // In case of a reply\n      $comment = $container;\n    }\n    this.lastCommentId = parseInt($comment.data(\"comment-id\"), 10);\n\n    $target.append($container);\n\n    this._initializeComments($container);\n    document.dispatchEvent(new CustomEvent(\"comments:loaded\", { detail: { commentsIds: [this.lastCommentId] } }));\n  }\n\n  /**\n   * Finalizes the new comment creation after the comment adding finishes\n   * successfully.\n   * @private\n   * @param {jQuery} $parent - The parent element representing where the comment\n   *  was added.\n   * @param {Boolean} fromCurrentUser - A boolean indicating whether the user\n   *   herself was the author of the new comment.\n   * @returns {Void} - Returns nothing\n   */\n  _finalizeCommentCreation($parent, fromCurrentUser) {\n    if (fromCurrentUser) {\n      const $addCommentForms = $(\".add-comment\", this.$element);\n\n      $addCommentForms.each((_i, form) => {\n        const $form = $(form);\n        const $textarea = $form.find(\"textarea\");\n\n        $textarea.val(\"\");\n\n        const characterCounter = $textarea.data(\"remaining-characters-counter\");\n        if (characterCounter) {\n          characterCounter.handleInput();\n          characterCounter.updateStatus();\n        }\n      });\n    }\n\n    // Restart the polling\n    this._pollComments();\n  }\n\n  /**\n   * Sets a timeout to poll new comments.\n   * @private\n   * @returns {Void} - Returns nothing\n   */\n  _pollComments() {\n    this._stopPolling();\n\n    this.pollTimeout = setTimeout(() => {\n      this._fetchComments();\n    }, this.pollingInterval);\n  }\n\n  reloadAllComments() {\n    this._setLoading();\n    this._fetchComments();\n  }\n\n  /**\n   * Sends an ajax request based on current\n   * params to get comments for the component\n   * @private\n   * @param {Function} successCallback A callback that is called after a\n   *   successful fetch\n   * @returns {Void} - Returns nothing\n   */\n  _fetchComments(successCallback = null) {\n    Rails.ajax({\n      url: this.commentsUrl,\n      type: \"GET\",\n      data: new URLSearchParams({\n        \"commentable_gid\": this.commentableGid,\n        \"root_depth\": this.rootDepth,\n        \"order\": this.order,\n        // From here, the rest of properties are optional\n        ...(this.toggleTranslations && { \"toggle_translations\": this.toggleTranslations }),\n        ...(this.lastCommentId && { \"after\": this.lastCommentId })\n      }),\n      success: () => {\n        if (successCallback) {\n          successCallback();\n        }\n        this._pollComments();\n      }\n    });\n  }\n\n  /**\n   * Stops polling for new comments.\n   * @private\n   * @returns {Void} - Returns nothing\n   */\n  _stopPolling() {\n    if (this.pollTimeout) {\n      clearTimeout(this.pollTimeout);\n    }\n  }\n\n  /**\n   * Sets the loading comments element visible in the view.\n   * @private\n   * @returns {Void} - Returns nothing\n   */\n  _setLoading() {\n    const $container = $(\"> #comments\", this.$element);\n    $(\"> .comments\", $container).addClass(\"hidden\");\n    $(\"> .loading-comments\", $container).removeClass(\"hidden\");\n  }\n\n  /**\n   * Event listener for the ordering links.\n   * @private\n   * @returns {Void} - Returns nothing\n   */\n  _onInitOrder() {\n    this._stopPolling();\n    this._setLoading();\n  }\n\n  /**\n   * Updates the state of the submit button based on input text and opinion selection.\n   *\n   * @param {Object} params - The parameters for updating the submit button state.\n   * @param {jQuery} params.$form - The form element.\n   * @param {boolean} params.isTextNotEmpty - Whether the text input is not empty.\n   * @param {boolean} params.isTwoColumnsLayout - Whether the layout is two-column.\n   * @param {boolean} params.isOpinionSelected - Whether an opinion (for/against) has been selected.\n   * @returns {void} - Does not return a value.\n   * @private\n   */\n  _updateSubmitButtonState({ $form, isTextNotEmpty, isTwoColumnsLayout, isOpinionSelected }) {\n    const $submit = $(\"button[type='submit']\", $form);\n    if (isTextNotEmpty && (!isTwoColumnsLayout || isOpinionSelected)) {\n      $submit.removeAttr(\"disabled\");\n    } else {\n      $submit.attr(\"disabled\", \"disabled\");\n    }\n  }\n\n  /**\n   * Prepares parameters for updating the submit button state.\n   *\n   * @param {jQuery} $form - The form element.\n   * @returns {Object} - Returns an object with necessary parameters.\n   * @private\n   */\n  _prepareSubmitButtonStateParams($form) {\n    const $opinionButtons = $(\"[data-opinion-toggle] button\", $form.closest(\".add-comment\"));\n    const isTwoColumnsLayout = $(\".comments-two-columns\", this.$element).length > 0;\n    const isOpinionSelected = $opinionButtons.filter(\"[aria-pressed='true']\").length > 0;\n    const isTextNotEmpty = $(\"textarea\", $form).val().length > 0;\n\n    return {\n      $form,\n      isTextNotEmpty,\n      isTwoColumnsLayout,\n      isOpinionSelected\n    };\n  }\n\n  /**\n   * Event listener for the opinion toggle buttons.\n   * @private\n   * @param {Event} ev - The event object.\n   * @returns {Void} - Returns nothing\n   */\n  _onToggleOpinion(ev) {\n    let $btn = $(ev.target);\n    if (!$btn.is(\"button\")) {\n      $btn = $btn.parents(\"button\");\n    }\n\n    const $add = $btn.closest(\".add-comment\");\n    const $form = $(\"form\", $add);\n    const $opinionButtons = $(\"[data-opinion-toggle] button\", $add);\n    const $selectedState = $(\"[data-opinion-toggle] .selected-state\", $add);\n    const $alignment = $(\".alignment-input\", $form);\n\n    $opinionButtons.removeClass(\"is-active\").attr(\"aria-pressed\", \"false\");\n    $btn.addClass(\"is-active\").attr(\"aria-pressed\", \"true\");\n\n    if ($btn.data(\"toggleOk\")) {\n      $alignment.val(1);\n    } else if ($btn.data(\"toggleMeh\")) {\n      $alignment.val(0);\n    } else if ($btn.data(\"toggleKo\")) {\n      $alignment.val(-1);\n    }\n\n    // Announce the selected state for the screen reader\n    $selectedState.text($btn.data(\"selected-label\"));\n\n    this._updateSubmitButtonState(this._prepareSubmitButtonStateParams($form));\n  }\n\n  /**\n   * Event listener for the comment field text input.\n   * @private\n   * @param {{target: (*|jQuery|HTMLElement)}} ev - The event object.\n   * @returns {Void} - Returns nothing\n   */\n  _onTextInput(ev) {\n    const $text = $(ev.target);\n    const $add = $text.closest(\".add-comment\");\n    const $form = $(\"form\", $add);\n\n    this._updateSubmitButtonState(this._prepareSubmitButtonStateParams($form));\n  }\n\n  /**\n  * Adds the behaviour for the drop down order section within comments.\n  * @private\n  * @returns {Void} - Returns nothing\n  */\n  _initializeSortDropdown() {\n    const desktopOrderSelect = document.querySelector(\"[data-desktop-order-comment-select]\");\n    const mobileOrderSelect = document.querySelector(\"[data-mobile-order-comment-select]\");\n\n    if (!desktopOrderSelect && !mobileOrderSelect) {\n      return;\n    }\n\n    desktopOrderSelect.style.borderColor = \"black\";\n    mobileOrderSelect.style.borderColor = \"black\";\n\n    desktopOrderSelect.addEventListener(\"change\", function(event) {\n      const selectedOption = desktopOrderSelect.querySelector(`[value=${event.target.value}]`);\n      const orderUrl = selectedOption.dataset.orderCommentUrl;\n\n      Rails.ajax({\n        url: orderUrl,\n        type: \"GET\",\n        error: (data) => (console.error(data))\n      });\n    });\n\n    mobileOrderSelect.addEventListener(\"change\", function(event) {\n      const selectedOption = mobileOrderSelect.querySelector(`[value=${event.target.value}]`);\n      const orderUrl = selectedOption.dataset.orderCommentUrl;\n\n      Rails.ajax({\n        url: orderUrl,\n        type: \"GET\",\n        error: (data) => (console.error(data))\n      });\n    });\n  }\n}\n/* eslint-enable max-lines */\n","import CommentsComponent from \"src/decidim/comments/comments.component\";\nimport { screens } from \"tailwindcss/defaultTheme\";\n\nwindow.Decidim.CommentsComponent = CommentsComponent;\n\n/**\n * Debounce function to limit the rate at which a function is called.\n * It ensures that the function is not called more than once within the specified delay.\n *\n * @param {Function} func - The function to debounce.\n * @param {number} delay - The delay (in milliseconds) to wait before calling the function.\n * @returns {Function} - A debounced version of the original function.\n */\nconst debounce = (func, delay) => {\n  let timeout = null;\n  return (...args) => {\n    clearTimeout(timeout);\n    timeout = setTimeout(() => func(...args), delay);\n  };\n};\n\n/**\n * Initializes the CommentsComponent for a specific element.\n * If the component is not yet created for the given element, it creates and mounts it.\n *\n * @param {jQuery} $el - The jQuery-wrapped element to initialize the CommentsComponent for.\n * @returns {CommentsComponent} - The initialized CommentsComponent instance.\n */\nconst initializeCommentsComponent = ($el) => {\n  const commentsData = $el.data(\"decidim-comments\");\n  let comments = $el.data(\"comments\");\n\n  if (!comments) {\n    comments = new CommentsComponent($el, commentsData);\n    comments.mountComponent();\n    $el.data(\"comments\", comments);\n  }\n\n  return comments;\n};\n\n/**\n * Updates the CommentsComponent for a specific element.\n * It unmounts any existing component and then re-initializes it.\n *\n * @param {jQuery} $el - The jQuery-wrapped element to update the CommentsComponent for.\n * @returns {void}\n */\nconst updateCommentsComponent = ($el) => {\n  const existingComments = $el.data(\"comments\");\n\n  if (existingComments && typeof existingComments.unmountComponent === \"function\") {\n    existingComments.unmountComponent();\n  }\n\n  const newComments = new CommentsComponent($el, $el.data(\"decidim-comments\"));\n  newComments.mountComponent();\n  $el.data(\"comments\", newComments);\n};\n\n/**\n * Main initializer for all comment elements on the page.\n * It sets up all CommentsComponent instances and listens for screen resizes to update components if necessary.\n *\n * @returns {void}\n */\nconst commentsInitializer = () => {\n  const smBreakpoint = parseInt(screens.md.replace(\"px\", \"\"), 10);\n  const isMobileScreen = () => window.matchMedia(`(max-width: ${smBreakpoint}px)`).matches;\n  let wasMobileScreen = isMobileScreen();\n  const commentElements = $(\"[data-decidim-comments]\");\n  const commentsMap = new Map();\n\n  // Initialize a CommentsComponent for each comment element\n  commentElements.each((_i, el) => {\n    const $el = $(el);\n    const comments = initializeCommentsComponent($el);\n    commentsMap.set($el, comments);\n  });\n\n  /**\n   * Handles the window resize event.\n   * It re-initializes the CommentsComponent for each comment element if the screen size has changed from mobile to desktop or vice versa.\n   *\n   * @returns {void}\n   */\n  const handleResize = debounce(() => {\n    const isNowMobileScreen = isMobileScreen();\n    if (wasMobileScreen !== isNowMobileScreen) {\n      commentElements.each((_i, el) => {\n        const $el = $(el);\n        updateCommentsComponent($el);\n      });\n      wasMobileScreen = isNowMobileScreen;\n    }\n  }, 200);\n\n  // Listen for window resize events and trigger the handler\n  window.addEventListener(\"resize\", handleResize);\n};\n\n// If no jQuery is used the Tribute feature used in comments to autocomplete mentions stops working\n$(() => commentsInitializer());\n","// The code: 1. Manages a responsive \"Add Comment\" modal: Opens fullscreen on mobile (<= sm) and closes it via a \"close\" button.\n// 2. Handles dropdown menus: Dynamically updates button content based on user selection, hides selected items, and manages dropdown visibility.\n// This creates a responsive, interactive comment interface with mobile-friendly design and dynamic user group selection.\n\nimport { screens } from \"tailwindcss/defaultTheme\"\nimport { initializeCommentsDropdown } from \"../../decidim/comments/comments_dropdown\";\n\n// Add comment card for mobile\nconst addCommentMobile = function (addCommentCard) {\n  const smBreakpoint = parseInt(screens.sm.replace(\"px\", \"\"), 10);\n  if (window.matchMedia(`(max-width: ${smBreakpoint}px)`).matches) {\n    addCommentCard.classList.remove(\"hidden\");\n    addCommentCard.classList.add(\"fullscreen\");\n  }\n};\n\nconst closeAddComment = function (addCommentCard) {\n  addCommentCard.classList.add(\"hidden\");\n  addCommentCard.classList.remove(\"fullscreen\");\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n  // Add comment card for mobile\n  const addCommentCard = document.getElementById(\"add-comment-anchor\");\n  if (addCommentCard) {\n    document.querySelectorAll(\".add-comment-mobile\").forEach((addButtonMobile) => {\n      addButtonMobile.addEventListener(\"click\", () => {\n        addCommentMobile(addCommentCard);\n      });\n    });\n  }\n\n  // Close comment modal\n  const closeButton = document.querySelector(\n    \"#add-comment-anchor .close-add-comment-fullscreen\"\n  );\n  if (closeButton) {\n    closeButton.addEventListener(\"click\", () =>\n      closeAddComment(addCommentCard)\n    );\n  }\n\n\n  // Initialize dropdown menu\n  initializeCommentsDropdown(document);\n});\n"],"names":["defaultTheme","require","module","exports","__esModule","default","Object","value","enumerable","get","_default","_cloneDeep","_configfull","_interop_require_default","obj","cloneDeep","theme","Array","isArray","map","child","fromEntries","entries","k","v","content","presets","darkMode","accentColor","auto","animation","none","spin","ping","pulse","bounce","aria","busy","checked","disabled","expanded","hidden","pressed","readonly","required","selected","aspectRatio","square","video","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backgroundColor","backgroundImage","backgroundOpacity","backgroundPosition","bottom","center","left","right","top","backgroundSize","cover","contain","blur","sm","DEFAULT","md","lg","xl","borderColor","borderOpacity","borderRadius","full","borderSpacing","borderWidth","boxShadow","inner","boxShadowColor","brightness","caretColor","colors","inherit","current","transparent","black","white","slate","gray","zinc","neutral","stone","red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","columns","xs","container","contrast","cursor","pointer","wait","text","move","help","progress","cell","crosshair","alias","copy","grab","grabbing","divideColor","divideOpacity","divideWidth","dropShadow","fill","flex","initial","flexBasis","flexGrow","flexShrink","fontFamily","sans","serif","mono","fontSize","lineHeight","base","fontWeight","thin","extralight","light","normal","medium","semibold","bold","extrabold","gap","gradientColorStops","gradientColorStopPositions","grayscale","gridAutoColumns","min","max","fr","gridAutoRows","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","gridTemplateColumns","subgrid","gridTemplateRows","height","screen","svh","lvh","dvh","fit","hueRotate","inset","invert","keyframes","to","transform","opacity","animationTimingFunction","letterSpacing","tighter","tight","wide","wider","widest","snug","relaxed","loose","listStyleType","disc","decimal","listStyleImage","margin","lineClamp","maxHeight","maxWidth","breakpoints","prose","minHeight","minWidth","objectPosition","order","first","last","outlineColor","outlineOffset","outlineWidth","padding","placeholderColor","placeholderOpacity","ringColor","ringOffsetColor","ringOffsetWidth","ringOpacity","ringWidth","rotate","saturate","scale","screens","scrollMargin","scrollPadding","sepia","skew","space","spacing","px","stroke","strokeWidth","supports","data","textColor","textDecorationColor","textDecorationThickness","textIndent","textOpacity","textUnderlineOffset","transformOrigin","transitionDelay","transitionDuration","transitionProperty","all","shadow","transitionTimingFunction","linear","in","out","translate","size","width","svw","lvw","dvw","willChange","scroll","contents","zIndex","plugins","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","changeLabel","input","submit","closest","querySelector","innerHTML","dataset","labelAction","labelReport","changeReportFormBehavior","querySelectorAll","forEach","checkbox","addEventListener","event","target","classList","toggle","initializeCommentsDropdown","elements","dropdownButtons","document","NodeList","button","dropdownId","getAttribute","dropdownMenu","getElementById","firstLi","firstAuthorInfo","style","display","li","dispatchEvent","Event","authorInfo","authorContent","setTimeout","otherLi","$","window","CommentsComponent","constructor","$element","config","commentableGid","commentsUrl","rootDepth","lastCommentId","pollingInterval","singleComment","toggleTranslations","id","attr","_getUID","mounted","_onTextInput","bind","_onToggleOpinion","mountComponent","length","_initializeComments","prop","_fetchComments","_initializeSortDropdown","unmountComponent","_stopPolling","off","each","_i","el","removeEventListener","addThread","threadHtml","alignment","fromCurrentUser","$comment","$parent","isTwoColumnsLayout","isMobileScreen","innerWidth","$inFavorColumn","$againstColumn","_addComment","_finalizeCommentCreation","addReply","commentId","replyHtml","$replies","addClass","Date","setUTCMilliseconds","Math","floor","random","$add","$form","$opinionButtons","$text","on","trigger","$dropdown","find","$target","$container","parseInt","append","CustomEvent","detail","commentsIds","form","$textarea","val","characterCounter","handleInput","updateStatus","_pollComments","pollTimeout","reloadAllComments","_setLoading","successCallback","Rails","ajax","url","type","URLSearchParams","__spreadValues","success","clearTimeout","removeClass","_onInitOrder","_updateSubmitButtonState","isTextNotEmpty","isOpinionSelected","$submit","removeAttr","_prepareSubmitButtonStateParams","filter","ev","$btn","is","parents","$selectedState","$alignment","desktopOrderSelect","mobileOrderSelect","orderUrl","orderCommentUrl","error","console","Decidim","debounce","func","delay","timeout","args","initializeCommentsComponent","$el","commentsData","comments","updateCommentsComponent","existingComments","newComments","commentsInitializer","smBreakpoint","replace","matchMedia","matches","wasMobileScreen","commentElements","commentsMap","Map","set","handleResize","isNowMobileScreen","addCommentMobile","addCommentCard","remove","add","closeAddComment","addButtonMobile","closeButton"],"sourceRoot":""}