<commit_before>import { h, defineComponent } from 'vue'

import useCheckbox, { useCheckboxProps, useCheckboxEmits } from './use-checkbox.js'

const bgNode = [
  h('div', {
    class: 'q-checkbox__bg absolute'
  }, [
    h('svg', {
      class: 'q-checkbox__svg fit absolute-full',
      viewBox: '0 0 24 24',
      'aria-hidden': 'true'
    }, [
      h('path', {
        class: 'q-checkbox__truthy',
        fill: 'none',
        d: 'M1.73,12.91 8.1,19.28 22.79,4.59'
      }),

      h('path', {
        class: 'q-checkbox__indet',
        d: 'M4,14H20V10H4'
      })
    ])
  ])
]

export default defineComponent({
  name: 'QCheckbox',

  props: useCheckboxProps,
  emits: useCheckboxEmits,

  setup () {
    const getInner = () => () => bgNode
    return useCheckbox('checkbox', getInner)
  }
})
<commit_msg>fix(QCheckbox): SSR support<commit_after>import { h, defineComponent } from 'vue'

import useCheckbox, { useCheckboxProps, useCheckboxEmits } from './use-checkbox.js'

export default defineComponent({
  name: 'QCheckbox',

  props: useCheckboxProps,
  emits: useCheckboxEmits,

  setup () {
    const bgNode = [
      h('div', {
        class: 'q-checkbox__bg absolute'
      }, [
        h('svg', {
          class: 'q-checkbox__svg fit absolute-full',
          viewBox: '0 0 24 24',
          'aria-hidden': 'true'
        }, [
          h('path', {
            class: 'q-checkbox__truthy',
            fill: 'none',
            d: 'M1.73,12.91 8.1,19.28 22.79,4.59'
          }),

          h('path', {
            class: 'q-checkbox__indet',
            d: 'M4,14H20V10H4'
          })
        ])
      ])
    ]

    const getInner = () => () => bgNode
    return useCheckbox('checkbox', getInner)
  }
})

{'fraction_non_alphanumeric': 0.15969802555168408, 'fraction_numerical': 0.03948896631823461, 'mean_word_length': 2.1384335154826957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '918495', 'n_tokens_mistral': 649, 'n_tokens_neox': 604, 'n_words': 120}