{"version":3,"file":"register.cjs","names":["_adapters","adapter","defaults"],"sources":["../src/register.ts"],"sourcesContent":["import adapter from './';\nimport { _adapters, defaults } from 'chart.js';\n\n_adapters._date.override(adapter);\n\n// displayFormats values may be functions or Intl.DateTimeFormatOptions (FormatValue),\n// handled by the adapter — not Chart.js scriptable options. Without this,\n// Chart.js calls function values with the chart context object instead of\n// letting the adapter call them with a numeric timestamp.\n// We set _scriptable directly on the defaults object (not via defaults.describe)\n// because the resolver reads _scriptable from the scope chain, not from the\n// separate _descriptors tree.\ndefaults.set('scales.time', {\n  time: {\n    displayFormats: {\n      _scriptable: false,\n      _indexable: false,\n    },\n  },\n});\n"],"mappings":";;;AAGAA,SAAAA,UAAU,MAAM,SAASC,cAAQ;AASjCC,SAAAA,SAAS,IAAI,eAAe,EAC1B,MAAM,EACJ,gBAAgB;CACd,aAAa;CACb,YAAY;CACb,EACF,EACF,CAAC"}