fa7ca36ce8866a6a6ab6148ba5ea8b5">77628cf8bf first comm 3 gadi atpakaļ css-sel3.js 77628cf8bf first comm 3 gadi atpakaļ css-selection.js 77628cf8bf first comm 3 gadi atpakaļ css-shapes.js 77628cf8bf first comm 3 gadi atpakaļ css-snappoints.js 77628cf8bf first comm 3 gadi atpakaļ css-sticky.js 77628cf8bf first comm 3 gadi atpakaļ css-subgrid.js 77628cf8bf first comm 3 gadi atpakaļ css-supports-api.js 77628cf8bf first comm 3 gadi atpakaļ css-table.js 77628cf8bf first comm 3 gadi atpakaļ css-text-align-last.js 77628cf8bf first comm 3 gadi atpakaļ css-text-box-trim.js 77628cf8bf first comm 3 gadi atpakaļ css-text-indent.js 77628cf8bf first comm 3 gadi atpakaļ css-text-justify.js 77628cf8bf first comm 3 gadi atpakaļ css-text-orientation.js 77628cf8bf first comm 3 gadi atpakaļ css-text-spacing.js 77628cf8bf first comm 3 gadi atpakaļ css-textshadow.js 77628cf8bf first comm 3 gadi atpakaļ css-touch-action.js 77628cf8bf first comm 3 gadi atpakaļ css-transitions.js 77628cf8bf first comm 3 gadi atpakaļ css-unicode-bidi.js 77628cf8bf first comm 3 gadi atpakaļ css-unset-value.js 77628cf8bf first comm 3 gadi atpakaļ css-variables.js 77628cf8bf first comm 3 gadi atpakaļ css-when-else.js 77628cf8bf first comm 3 gadi atpakaļ css-widows-orphans.js 77628cf8bf first comm 3 gadi atpakaļ css-width-stretch.js 77628cf8bf first comm 3 gadi atpakaļ css-writing-mode.js 77628cf8bf first comm 3 gadi atpakaļ css-zoom.js 77628cf8bf first comm 3 gadi atpakaļ css3-attr.js 77628cf8bf first comm 3 gadi atpakaļ css3-boxsizing.js 77628cf8bf first comm 3 gadi atpakaļ css3-colors.js 77628cf8bf first comm 3 gadi atpakaļ css3-cursors-grab.js 77628cf8bf first comm 3 gadi atpakaļ css3-cursors-newer.js 77628cf8bf first comm 3 gadi atpakaļ css3-cursors.js 77628cf8bf first comm 3 gadi atpakaļ css3-tabsize.js 77628cf8bf first comm 3 gadi atpakaļ currentcolor.js 77628cf8bf first comm 3 gadi atpakaļ custom-elements.js 77628cf8bf first comm 3 gadi atpakaļ custom-elementsv1.js 77628cf8bf first comm 3 gadi atpakaļ customevent.js 77628cf8bf first comm 3 gadi atpakaļ datalist.js 77628cf8bf first comm 3 gadi atpakaļ dataset.js 77628cf8bf first comm 3 gadi atpakaļ datauri.js 77628cf8bf first comm 3 gadi atpakaļ date-tolocaledatestring.js 77628cf8bf first comm 3 gadi atpakaļ declarative-shadow-dom.js 77628cf8bf first comm 3 gadi atpakaļ decorators.js 77628cf8bf first comm 3 gadi atpakaļ details.js 77628cf8bf first comm 3 gadi atpakaļ deviceorientation.js 77628cf8bf first comm 3 gadi atpakaļ devicepixelratio.js 77628cf8bf first comm 3 gadi atpakaļ dialog.js 77628cf8bf first comm 3 gadi atpakaļ dispatchevent.js 77628cf8bf first comm 3 gadi atpakaļ dnssec.js 77628cf8bf first comm 3 gadi atpakaļ do-not-track.js 77628cf8bf first comm 3 gadi atpakaļ document-currentscript.js 77628cf8bf first comm 3 gadi atpakaļ document-evaluate-xpath.js 77628cf8bf first comm 3 gadi atpakaļ document-execcommand.js 77628cf8bf first comm 3 gadi atpakaļ document-policy.js 77628cf8bf first comm 3 gadi atpakaļ document-scrollingelement.js 77628cf8bf first comm 3 gadi atpakaļ documenthead.js 77628cf8bf first comm 3 gadi atpakaļ dom-manip-convenience.js 77628cf8bf first comm 3 gadi atpakaļ dom-range.js 77628cf8bf first comm 3 gadi atpakaļ domcontentloaded.js 77628cf8bf first comm 3 gadi atpakaļ dommatrix.js 77628cf8bf first comm 3 gadi atpakaļ download.js 77628cf8bf first comm 3 gadi atpakaļ dragndrop.js 77628cf8bf first comm 3 gadi atpakaļ element-closest.js 77628cf8bf first comm 3 gadi atpakaļ element-from-point.js 77628cf8bf first comm 3 gadi atpakaļ element-scroll-methods.js 77628cf8bf first comm 3 gadi atpakaļ eme.js 77628cf8bf first comm 3 gadi atpakaļ eot.js 77628cf8bf first comm 3 gadi atpakaļ es5.js 77628cf8bf first comm 3 gadi atpakaļ es6-class.js 77628cf8bf first comm 3 gadi atpakaļ es6-generators.js 77628cf8bf first comm 3 gadi atpakaļ es6-module-dynamic-import.js 77628cf8bf first comm 3 gadi atpakaļ es6-module.js 77628cf8bf first comm 3 gadi atpakaļ es6-number.js 77628cf8bf first comm 3 gadi atpakaļ es6-string-includes.js 77628cf8bf first comm 3 gadi atpakaļ es6.js 77628cf8bf first comm 3 gadi atpakaļ eventsource.js 77628cf8bf first comm 3 gadi atpakaļ extended-system-fonts.js 77628cf8bf first comm 3 gadi atpakaļ feature-policy.js 77628cf8bf first comm 3 gadi atpakaļ fetch.js 77628cf8bf first comm 3 gadi atpakaļ fieldset-disabled.js 77628cf8bf first comm 3 gadi atpakaļ fileapi.js 77628cf8bf first comm 3 gadi atpakaļ filereader.js 77628cf8bf first comm 3 gadi atpakaļ filereadersync.js 77628cf8bf first comm 3 gadi atpakaļ filesystem.js 77628cf8bf first comm 3 gadi atpakaļ flac.js 77628cf8bf first comm 3 gadi atpakaļ flexbox-gap.js 77628cf8bf first comm 3 gadi atpakaļ flexbox.js 77628cf8bf first comm 3 gadi atpakaļ flow-root.js 77628cf8bf first comm 3 gadi atpakaļ focusin-focusout-events.js 77628cf8bf first comm 3 gadi atpakaļ font-family-system-ui.js 77628cf8bf first comm 3 gadi atpakaļ font-feature.js 77628cf8bf first comm 3 gadi atpakaļ font-kerning.js 77628cf8bf first comm 3 gadi atpakaļ font-loading.js 77628cf8bf first comm 3 gadi atpakaļ font-size-adjust.js 77628cf8bf first comm 3 gadi atpakaļ font-smooth.js 77628cf8bf first comm 3 gadi atpakaļ font-unicode-range.js 77628cf8bf first comm 3 gadi atpakaļ font-variant-alternates.js 77628cf8bf first comm 3 gadi atpakaļ font-variant-numeric.js 77628cf8bf first comm 3 gadi atpakaļ fontface.js 77628cf8bf first comm 3 gadi atpakaļ form-attribute.js 77628cf8bf first comm 3 gadi atpakaļ form-submit-attributes.js 77628cf8bf first comm 3 gadi atpakaļ form-validation.js 77628cf8bf first comm 3 gadi atpakaļ forms.js 77628cf8bf first comm 3 gadi atpakaļ fullscreen.js 77628cf8bf first comm 3 gadi atpakaļ gamepad.js 77628cf8bf first comm 3 gadi atpakaļ geolocation.js 77628cf8bf first comm 3 gadi atpakaļ getboundingclientrect.js 77628cf8bf first comm 3 gadi atpakaļ getcomputedstyle.js 77628cf8bf first comm 3 gadi atpakaļ getelementsbyclassname.js 77628cf8bf first comm 3 gadi atpakaļ getrandomvalues.js 77628cf8bf first comm 3 gadi atpakaļ gyroscope.js 77628cf8bf first comm 3 gadi atpakaļ hardwareconcurrency.js 77628cf8bf first comm 3 gadi atpakaļ hashchange.js 77628cf8bf first comm 3 gadi atpakaļ heif.js 77628cf8bf first comm 3 gadi atpakaļ hevc.js 77628cf8bf first comm 3 gadi atpakaļ hidden.js 77628cf8bf first comm 3 gadi atpakaļ high-resolution-time.js 77628cf8bf first comm 3 gadi atpakaļ history.js 77628cf8bf first comm 3 gadi atpakaļ html-media-capture.js 77628cf8bf first comm 3 gadi atpakaļ html5semantic.js 77628cf8bf first comm 3 gadi atpakaļ http-live-streaming.js 77628cf8bf first comm 3 gadi atpakaļ http2.js 77628cf8bf first comm 3 gadi atpakaļ http3.js 77628cf8bf first comm 3 gadi atpakaļ iframe-sandbox.js 77628cf8bf first comm 3 gadi atpakaļ iframe-seamless.js 77628cf8bf first comm 3 gadi atpakaļ iframe-srcdoc.js 77628cf8bf first comm 3 gadi atpakaļ imagecapture.js 77628cf8bf first comm 3 gadi atpakaļ ime.js 77628cf8bf first comm 3 gadi atpakaļ img-naturalwidth-naturalheight.js 77628cf8bf first comm 3 gadi atpakaļ import-maps.js 77628cf8bf first comm 3 gadi atpakaļ imports.js 77628cf8bf first comm 3 gadi atpakaļ indeterminate-checkbox.js 77628cf8bf first comm 3 gadi atpakaļ indexeddb.js 77628cf8bf first comm 3 gadi atpakaļ indexeddb2.js 77628cf8bf first comm 3 gadi atpakaļ inline-block.js 77628cf8bf first comm 3 gadi atpakaļ innertext.js 77628cf8bf first comm 3 gadi atpakaļ input-autocomplete-onoff.js 77628cf8bf first comm 3 gadi atpakaļ input-color.js 77628cf8bf first comm 3 gadi atpakaļ input-datetime.js 77628cf8bf first comm 3 gadi atpakaļ input-email-tel-url.js 77628cf8bf first comm 3 gadi atpakaļ input-event.js 77628cf8bf first comm 3 gadi atpakaļ input-file-accept.js 77628cf8bf first comm 3 gadi atpakaļ input-file-directory.js 77628cf8bf first comm 3 gadi atpakaļ input-file-multiple.js 77628cf8bf first comm 3 gadi atpakaļ input-inputmode.js 77628cf8bf first comm 3 gadi atpakaļ input-minlength.js 77628cf8bf first comm 3 gadi atpakaļ input-number.js 77628cf8bf first comm 3 gadi atpakaļ input-pattern.js 77628cf8bf first comm 3 gadi atpakaļ input-placeholder.js 77628cf8bf first comm 3 gadi atpakaļ input-range.js 77628cf8bf first comm 3 gadi atpakaļ input-search.js 77628cf8bf first comm 3 gadi atpakaļ input-selection.js 77628cf8bf first comm 3 gadi atpakaļ insert-adjacent.js 77628cf8bf first comm 3 gadi atpakaļ insertadjacenthtml.js 77628cf8bf first comm 3 gadi atpakaļ internationalization.js 77628cf8bf first comm 3 gadi atpakaļ intersectionobserver-v2.js 77628cf8bf first comm 3 gadi atpakaļ intersectionobserver.js 77628cf8bf first comm 3 gadi atpakaļ intl-pluralrules.js 77628cf8bf first comm 3 gadi atpakaļ intrinsic-width.js 77628cf8bf first comm 3 gadi atpakaļ jpeg2000.js 77628cf8bf first comm 3 gadi atpakaļ jpegxl.js 77628cf8bf first comm 3 gadi atpakaļ jpegxr.js 77628cf8bf first comm 3 gadi atpakaļ js-regexp-lookbehind.js 77628cf8bf first comm 3 gadi atpakaļ json.js 77628cf8bf first comm 3 gadi atpakaļ justify-content-space-evenly.js 77628cf8bf first comm 3 gadi atpakaļ kerning-pairs-ligatures.js 77628cf8bf first comm 3 gadi atpakaļ keyboardevent-charcode.js 77628cf8bf first comm 3 gadi atpakaļ keyboardevent-code.js 77628cf8bf first comm 3 gadi atpakaļ keyboardevent-getmodifierstate.js 77628cf8bf first comm 3 gadi atpakaļ keyboardevent-key.js 77628cf8bf first comm 3 gadi atpakaļ keyboardevent-location.js 77628cf8bf first comm 3 gadi atpakaļ keyboardevent-which.js 77628cf8bf first comm 3 gadi atpakaļ lazyload.js 77628cf8bf first comm 3 gadi atpakaļ let.js 77628cf8bf first comm 3 gadi atpakaļ link-icon-png.js 77628cf8bf first comm 3 gadi atpakaļ link-icon-svg.js 77628cf8bf first comm 3 gadi atpakaļ link-rel-dns-prefetch.js 77628cf8bf first comm 3 gadi atpakaļ link-rel-modulepreload.js 77628cf8bf first comm 3 gadi atpakaļ link-rel-preconnect.js 77628cf8bf first comm 3 gadi atpakaļ link-rel-prefetch.js 77628cf8bf first comm 3 gadi atpakaļ link-rel-preload.js 77628cf8bf first comm 3 gadi atpakaļ link-rel-prerender.js 77628cf8bf first comm 3 gadi atpakaļ loading-lazy-attr.js 77628cf8bf first comm 3 gadi atpakaļ localecompare.js 77628cf8bf first comm 3 gadi atpakaļ magnetometer.js 77628cf8bf first comm 3 gadi atpakaļ matchesselector.js 77628cf8bf first comm 3 gadi atpakaļ matchmedia.js 77628cf8bf first comm 3 gadi atpakaļ mathml.js 77628cf8bf first comm 3 gadi atpakaļ maxlength.js 77628cf8bf first comm 3 gadi atpakaļ mdn-css-unicode-bidi-isolate-override.js 77628cf8bf first comm 3 gadi atpakaļ mdn-css-unicode-bidi-isolate.js 77628cf8bf first comm 3 gadi atpakaļ mdn-css-unicode-bidi-plaintext.js 77628cf8bf first comm 3 gadi atpakaļ mdn-text-decoration-color.js 77628cf8bf first comm 3 gadi atpakaļ mdn-text-decoration-line.js 77628cf8bf first comm 3 gadi atpakaļ mdn-text-decoration-shorthand.js 77628cf8bf first comm 3 gadi atpakaļ mdn-text-decoration-style.js 77628cf8bf first comm 3 gadi atpakaļ media-fragments.js 77628cf8bf first comm 3 gadi atpakaļ mediacapture-fromelement.js 77628cf8bf first comm 3 gadi atpakaļ mediarecorder.js 77628cf8bf first comm 3 gadi atpakaļ mediasource.js 77628cf8bf first comm 3 gadi atpakaļ menu.js 77628cf8bf first comm 3 gadi atpakaļ meta-theme-color.js 77628cf8bf first comm 3 gadi atpakaļ meter.js 77628cf8bf first comm 3 gadi atpakaļ midi.js 77628cf8bf first comm 3 gadi atpakaļ minmaxwh.js 77628cf8bf first comm 3 gadi atpakaļ mp3.js 77628cf8bf first comm 3 gadi atpakaļ mpeg-dash.js 77628cf8bf first comm 3 gadi atpakaļ mpeg4.js 77628cf8bf first comm 3 gadi atpakaļ multibackgrounds.js 77628cf8bf first comm 3 gadi atpakaļ multicolumn.js 77628cf8bf first comm 3 gadi atpakaļ mutation-events.js 77628cf8bf first comm 3 gadi atpakaļ mutationobserver.js 77628cf8bf first comm 3 gadi atpakaļ namevalue-storage.js 77628cf8bf first comm 3 gadi atpakaļ native-filesystem-api.js 77628cf8bf first comm 3 gadi atpakaļ nav-timing.js 77628cf8bf first comm 3 gadi atpakaļ netinfo.js 77628cf8bf first comm 3 gadi atpakaļ notifications.js 77628cf8bf first comm 3 gadi atpakaļ object-entries.js 77628cf8bf first comm 3 gadi atpakaļ object-fit.js 77628cf8bf first comm 3 gadi atpakaļ object-observe.js 77628cf8bf first comm 3 gadi atpakaļ object-values.js 77628cf8bf first comm 3 gadi atpakaļ objectrtc.js 77628cf8bf first comm 3 gadi atpakaļ offline-apps.js 77628cf8bf first comm 3 gadi atpakaļ offscreencanvas.js 77628cf8bf first comm 3 gadi atpakaļ ogg-vorbis.js 77628cf8bf first comm 3 gadi atpakaļ ogv.js 77628cf8bf first comm 3 gadi atpakaļ ol-reversed.js 77628cf8bf first comm 3 gadi atpakaļ once-event-listener.js 77628cf8bf first comm 3 gadi atpakaļ online-status.js 77628cf8bf first comm 3 gadi atpakaļ opus.js 77628cf8bf first comm 3 gadi atpakaļ orientation-sensor.js 77628cf8bf first comm 3 gadi atpakaļ outline.js 77628cf8bf first comm 3 gadi atpakaļ pad-start-end.js 77628cf8bf first comm 3 gadi atpakaļ page-transition-events.js 77628cf8bf first comm 3 gadi atpakaļ pagevisibility.js 77628cf8bf first comm 3 gadi atpakaļ passive-event-listener.js 77628cf8bf first comm 3 gadi atpakaļ passwordrules.js 77628cf8bf first comm 3 gadi atpakaļ path2d.js 77628cf8bf first comm 3 gadi atpakaļ payment-request.js 77628cf8bf first comm 3 gadi atpakaļ pdf-viewer.js 77628cf8bf first comm 3 gadi atpakaļ permissions-api.js 77628cf8bf first comm 3 gadi atpakaļ permissions-policy.js 77628cf8bf first comm 3 gadi atpakaļ picture-in-picture.js 77628cf8bf first comm 3 gadi atpakaļ picture.js 77628cf8bf first comm 3 gadi atpakaļ ping.js 77628cf8bf first comm 3 gadi atpakaļ png-alpha.js 77628cf8bf first comm 3 gadi atpakaļ pointer-events.js 77628cf8bf first comm 3 gadi atpakaļ pointer.js 77628cf8bf first comm 3 gadi atpakaļ pointerlock.js 77628cf8bf first comm 3 gadi atpakaļ portals.js 77628cf8bf first comm 3 gadi atpakaļ prefers-color-scheme.js 77628cf8bf first comm 3 gadi atpakaļ prefers-reduced-motion.js 77628cf8bf first comm 3 gadi atpakaļ progress.js 77628cf8bf first comm 3 gadi atpakaļ promise-finally.js 77628cf8bf first comm 3 gadi atpakaļ promises.js 77628cf8bf first comm 3 gadi atpakaļ proximity.js 77628cf8bf first comm 3 gadi atpakaļ proxy.js 77628cf8bf first comm 3 gadi atpakaļ publickeypinning.js 77628cf8bf first comm 3 gadi atpakaļ push-api.js 77628cf8bf first comm 3 gadi atpakaļ queryselector.js 77628cf8bf first comm 3 gadi atpakaļ readonly-attr.js 77628cf8bf first comm 3 gadi atpakaļ referrer-policy.js 77628cf8bf first comm 3 gadi atpakaļ registerprotocolhandler.js 77628cf8bf first comm 3 gadi atpakaļ rel-noopener.js 77628cf8bf first comm 3 gadi atpakaļ rel-noreferrer.js 77628cf8bf first comm 3 gadi atpakaļ rellist.js 77628cf8bf first comm 3 gadi atpakaļ rem.js 77628cf8bf first comm 3 gadi atpakaļ requestanimationframe.js 77628cf8bf first comm 3 gadi atpakaļ requestidlecallback.js 77628cf8bf first comm 3 gadi atpakaļ resizeobserver.js 77628cf8bf first comm 3 gadi atpakaļ resource-timing.js 77628cf8bf first comm 3 gadi atpakaļ rest-parameters.js 77628cf8bf first comm 3 gadi atpakaļ rtcpeerconnection.js 77628cf8bf first comm 3 gadi atpakaļ ruby.js 77628cf8bf first comm 3 gadi atpakaļ run-in.js 77628cf8bf first comm 3 gadi atpakaļ same-site-cookie-attribute.js 77628cf8bf first comm 3 gadi atpakaļ screen-orientation.js 77628cf8bf first comm 3 gadi atpakaļ script-async.js 77628cf8bf first comm 3 gadi atpakaļ script-defer.js 77628cf8bf first comm 3 gadi atpakaļ scrollintoview.js 77628cf8bf first comm 3 gadi atpakaļ scrollintoviewifneeded.js 77628cf8bf first comm 3 gadi atpakaļ sdch.js 77628cf8bf first comm 3 gadi atpakaļ selection-api.js 77628cf8bf first comm 3 gadi atpakaļ server-timing.js 77628cf8bf first comm 3 gadi atpakaļ serviceworkers.js 77628cf8bf first comm 3 gadi atpakaļ setimmediate.js 77628cf8bf first comm 3 gadi atpakaļ shadowdom.js 77628cf8bf first comm 3 gadi atpakaļ shadowdomv1.js 77628cf8bf first comm 3 gadi atpakaļ sharedarraybuffer.js 77628cf8bf first comm 3 gadi atpakaļ sharedworkers.js 77628cf8bf first comm 3 gadi atpakaļ sni.js 77628cf8bf first comm 3 gadi atpakaļ spdy.js 77628cf8bf first comm 3 gadi atpakaļ speech-recognition.js 77628cf8bf first comm 3 gadi atpakaļ speech-synthesis.js 77628cf8bf first comm 3 gadi atpakaļ spellcheck-attribute.js 77628cf8bf first comm 3 gadi atpakaļ sql-storage.js 77628cf8bf first comm 3 gadi atpakaļ srcset.js 77628cf8bf first comm 3 gadi atpakaļ stream.js 77628cf8bf first comm 3 gadi atpakaļ streams.js 77628cf8bf first comm 3 gadi atpakaļ stricttransportsecurity.js 77628cf8bf first comm 3 gadi atpakaļ style-scoped.js 77628cf8bf first comm 3 gadi atpakaļ subresource-bundling.js 77628cf8bf first comm 3 gadi atpakaļ subresource-integrity.js 77628cf8bf first comm 3 gadi atpakaļ svg-css.js 77628cf8bf first comm 3 gadi atpakaļ svg-filters.js 77628cf8bf first comm 3 gadi atpakaļ svg-fonts.js 77628cf8bf first comm 3 gadi atpakaļ svg-fragment.js 77628cf8bf first comm 3 gadi atpakaļ svg-html.js 77628cf8bf first comm 3 gadi atpakaļ svg-html5.js 77628cf8bf first comm 3 gadi atpakaļ svg-img.js 77628cf8bf first comm 3 gadi atpakaļ svg-smil.js 77628cf8bf first comm 3 gadi atpakaļ svg.js 77628cf8bf first comm 3 gadi atpakaļ sxg.js 77628cf8bf first comm 3 gadi atpakaļ tabindex-attr.js 77628cf8bf first comm 3 gadi atpakaļ template-literals.js 77628cf8bf first comm 3 gadi atpakaļ template.js 77628cf8bf first comm 3 gadi atpakaļ temporal.js 77628cf8bf first comm 3 gadi atpakaļ testfeat.js 77628cf8bf first comm 3 gadi atpakaļ text-decoration.js 77628cf8bf first comm 3 gadi atpakaļ text-emphasis.js 77628cf8bf first comm 3 gadi atpakaļ text-overflow.js 77628cf8bf first comm 3 gadi atpakaļ text-size-adjust.js 77628cf8bf first comm 3 gadi atpakaļ text-stroke.js 77628cf8bf first comm 3 gadi atpakaļ textcontent.js 77628cf8bf first comm 3 gadi atpakaļ textencoder.js 77628cf8bf first comm 3 gadi atpakaļ tls1-1.js 77628cf8bf first comm 3 gadi atpakaļ tls1-2.js 77628cf8bf first comm 3 gadi atpakaļ tls1-3.js 77628cf8bf first comm 3 gadi atpakaļ touch.js 77628cf8bf first comm 3 gadi atpakaļ transforms2d.js 77628cf8bf first comm 3 gadi atpakaļ transforms3d.js 77628cf8bf first comm 3 gadi atpakaļ trusted-types.js 77628cf8bf first comm 3 gadi atpakaļ ttf.js 77628cf8bf first comm 3 gadi atpakaļ typedarrays.js 77628cf8bf first comm 3 gadi atpakaļ u2f.js 77628cf8bf first comm 3 gadi atpakaļ unhandledrejection.js 77628cf8bf first comm 3 gadi atpakaļ upgradeinsecurerequests.js 77628cf8bf first comm 3 gadi atpakaļ url-scroll-to-text-fragment.js 77628cf8bf first comm 3 gadi atpakaļ url.js 77628cf8bf first comm 3 gadi atpakaļ urlsearchparams.js 77628cf8bf first comm 3 gadi atpakaļ use-strict.js 77628cf8bf first comm 3 gadi atpakaļ user-select-none.js 77628cf8bf first comm 3 gadi atpakaļ user-timing.js 77628cf8bf first comm 3 gadi atpakaļ variable-fonts.js 77628cf8bf first comm 3 gadi atpakaļ vector-effect.js 77628cf8bf first comm 3 gadi atpakaļ vibration.js 77628cf8bf first comm 3 gadi atpakaļ video.js 77628cf8bf first comm 3 gadi atpakaļ videotracks.js 77628cf8bf first comm 3 gadi atpakaļ viewport-unit-variants.js 77628cf8bf first comm 3 gadi atpakaļ viewport-units.js 77628cf8bf first comm 3 gadi atpakaļ wai-aria.js 77628cf8bf first comm 3 gadi atpakaļ wake-lock.js 77628cf8bf first comm 3 gadi atpakaļ wasm.js 77628cf8bf first comm 3 gadi atpakaļ wav.js 77628cf8bf first comm 3 gadi atpakaļ wbr-element.js 77628cf8bf first comm 3 gadi atpakaļ web-animation.js 77628cf8bf first comm 3 gadi atpakaļ web-app-manifest.js 77628cf8bf first comm 3 gadi atpakaļ web-bluetooth.js 77628cf8bf first comm 3 gadi atpakaļ web-serial.js 77628cf8bf first comm 3 gadi atpakaļ web-share.js 77628cf8bf first comm 3 gadi atpakaļ webauthn.js 77628cf8bf first comm 3 gadi atpakaļ webcodecs.js 77628cf8bf first comm 3 gadi atpakaļ webgl.js 77628cf8bf first comm 3 gadi atpakaļ webgl2.js 77628cf8bf first comm 3 gadi atpakaļ webgpu.js 77628cf8bf first comm 3 gadi atpakaļ webhid.js 77628cf8bf first comm 3 gadi atpakaļ webkit-user-drag.js 77628cf8bf first comm 3 gadi atpakaļ webm.js 77628cf8bf first comm 3 gadi atpakaļ webnfc.js 77628cf8bf first comm 3 gadi atpakaļ webp.js 77628cf8bf first comm 3 gadi atpakaļ websockets.js 77628cf8bf first comm 3 gadi atpakaļ webtransport.js 77628cf8bf first comm 3 gadi atpakaļ webusb.js 77628cf8bf first comm 3 gadi atpakaļ webvr.js 77628cf8bf first comm 3 gadi atpakaļ webvtt.js 77628cf8bf first comm 3 gadi atpakaļ webworkers.js 77628cf8bf first comm 3 gadi atpakaļ webxr.js 77628cf8bf first comm 3 gadi atpakaļ will-change.js 77628cf8bf first comm 3 gadi atpakaļ woff.js 77628cf8bf first comm 3 gadi atpakaļ woff2.js 77628cf8bf first comm 3 gadi atpakaļ word-break.js 77628cf8bf first comm 3 gadi atpakaļ wordwrap.js 77628cf8bf first comm 3 gadi atpakaļ x-doc-messaging.js 77628cf8bf first comm 3 gadi atpakaļ x-frame-options.js 77628cf8bf first comm 3 gadi atpakaļ xhr2.js 77628cf8bf first comm 3 gadi atpakaļ xhtml.js 77628cf8bf first comm 3 gadi atpakaļ xhtmlsmil.js 77628cf8bf first comm 3 gadi atpakaļ xml-serializer.js 77628cf8bf first comm 3 gadi atpakaļ tum/whitesports - Gogs: Simplico Git Service

No Description

class.wpcom-json-api-update-taxonomy-endpoint.php 9.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. <?php
  2. new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
  3. 'description' => 'Create a new category.',
  4. 'group' => 'taxonomy',
  5. 'stat' => 'categories:new',
  6. 'method' => 'POST',
  7. 'path' => '/sites/%s/categories/new',
  8. 'path_labels' => array(
  9. '$site' => '(int|string) Site ID or domain',
  10. ),
  11. 'request_format' => array(
  12. 'name' => '(string) Name of the category',
  13. 'description' => '(string) A description of the category',
  14. 'parent' => '(int) ID of the parent category',
  15. ),
  16. 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/categories/new/',
  17. 'example_request_data' => array(
  18. 'headers' => array(
  19. 'authorization' => 'Bearer YOUR_API_TOKEN'
  20. ),
  21. 'body' => array(
  22. 'name' => 'Puppies',
  23. )
  24. )
  25. ) );
  26. new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
  27. 'description' => 'Create a new tag.',
  28. 'group' => 'taxonomy',
  29. 'stat' => 'tags:new',
  30. 'method' => 'POST',
  31. 'path' => '/sites/%s/tags/new',
  32. 'path_labels' => array(
  33. '$site' => '(int|string) Site ID or domain',
  34. ),
  35. 'request_format' => array(
  36. 'name' => '(string) Name of the tag',
  37. 'description' => '(string) A description of the tag',
  38. ),
  39. 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/tags/new/',
  40. 'example_request_data' => array(
  41. 'headers' => array(
  42. 'authorization' => 'Bearer YOUR_API_TOKEN'
  43. ),
  44. 'body' => array(
  45. 'name' => 'Kitties'
  46. )
  47. )
  48. ) );
  49. new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
  50. 'description' => 'Edit a tag.',
  51. 'group' => 'taxonomy',
  52. 'stat' => 'tags:1:POST',
  53. 'method' => 'POST',
  54. 'path' => '/sites/%s/tags/slug:%s',
  55. 'path_labels' => array(
  56. '$site' => '(int|string) Site ID or domain',
  57. '$tag' => '(string) The tag slug',
  58. ),
  59. 'request_format' => array(
  60. 'name' => '(string) Name of the tag',
  61. 'description' => '(string) A description of the tag',
  62. ),
  63. 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/tags/slug:testing-tag',
  64. 'example_request_data' => array(
  65. 'headers' => array(
  66. 'authorization' => 'Bearer YOUR_API_TOKEN'
  67. ),
  68. 'body' => array(
  69. 'description' => 'Kitties are awesome!'
  70. )
  71. )
  72. ) );
  73. new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
  74. 'description' => 'Edit a category.',
  75. 'group' => 'taxonomy',
  76. 'stat' => 'categories:1:POST',
  77. 'method' => 'POST',
  78. 'path' => '/sites/%s/categories/slug:%s',
  79. 'path_labels' => array(
  80. '$site' => '(int|string) Site ID or domain',
  81. '$category' => '(string) The category slug',
  82. ),
  83. 'request_format' => array(
  84. 'name' => '(string) Name of the category',
  85. 'description' => '(string) A description of the category',
  86. 'parent' => '(int) ID of the parent category',
  87. ),
  88. 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/categories/slug:testing-category',
  89. 'example_request_data' => array(
  90. 'headers' => array(
  91. 'authorization' => 'Bearer YOUR_API_TOKEN'
  92. ),
  93. 'body' => array(
  94. 'description' => 'Puppies are great!'
  95. )
  96. )
  97. ) );
  98. new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
  99. 'description' => 'Delete a category.',
  100. 'group' => 'taxonomy',
  101. 'stat' => 'categories:1:delete',
  102. 'method' => 'POST',
  103. 'path' => '/sites/%s/categories/slug:%s/delete',
  104. 'path_labels' => array(
  105. '$site' => '(int|string) Site ID or domain',
  106. '$category' => '(string) The category slug',
  107. ),
  108. 'response_format' => array(
  109. 'slug' => '(string) The slug of the deleted category',
  110. 'success' => '(bool) Was the operation successful?',
  111. ),
  112. 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/categories/slug:$category/delete',
  113. 'example_request_data' => array(
  114. 'headers' => array(
  115. 'authorization' => 'Bearer YOUR_API_TOKEN'
  116. ),
  117. )
  118. ) );
  119. new WPCOM_JSON_API_Update_Taxonomy_Endpoint( array(
  120. 'description' => 'Delete a tag.',
  121. 'group' => 'taxonomy',
  122. 'stat' => 'tags:1:delete',
  123. 'method' => 'POST',
  124. 'path' => '/sites/%s/tags/slug:%s/delete',
  125. 'path_labels' => array(
  126. '$site' => '(int|string) Site ID or domain',
  127. '$tag' => '(string) The tag slug',
  128. ),
  129. 'response_format' => array(
  130. 'slug' => '(string) The slug of the deleted tag',
  131. 'success' => '(bool) Was the operation successful?',
  132. ),
  133. 'example_request' => 'https://public-api.wordpress.com/rest/v1/sites/82974409/tags/slug:$tag/delete',
  134. 'example_request_data' => array(
  135. 'headers' => array(
  136. 'authorization' => 'Bearer YOUR_API_TOKEN'
  137. ),
  138. )
  139. ) );
  140. class WPCOM_JSON_API_Update_Taxonomy_Endpoint extends WPCOM_JSON_API_Taxonomy_Endpoint {
  141. // /sites/%s/tags|categories/new -> $blog_id
  142. // /sites/%s/tags|categories/slug:%s -> $blog_id, $taxonomy_id
  143. // /sites/%s/tags|categories/slug:%s/delete -> $blog_id, $taxonomy_id
  144. function callback( $path = '', $blog_id = 0, $object_id = 0 ) {
  145. $blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) );
  146. if ( is_wp_error( $blog_id ) ) {
  147. return $blog_id;
  148. }
  149. if ( preg_match( '#/tags/#i', $path ) ) {
  150. $taxonomy_type = "post_tag";
  151. } else {
  152. $taxonomy_type = "category";
  153. }
  154. if ( $this->api->ends_with( $path, '/delete' ) ) {
  155. return $this->delete_taxonomy( $path, $blog_id, $object_id, $taxonomy_type );
  156. } elseif ( $this->api->ends_with( $path, '/new' ) ) {
  157. return $this->new_taxonomy( $path, $blog_id, $taxonomy_type );
  158. }
  159. return $this->update_taxonomy( $path, $blog_id, $object_id, $taxonomy_type );
  160. }
  161. // /sites/%s/tags|categories/new -> $blog_id
  162. function new_taxonomy( $path, $blog_id, $taxonomy_type ) {
  163. $args = $this->query_args();
  164. $input = $this->input();
  165. if ( !is_array( $input ) || !$input || !strlen( $input['name'] ) ) {
  166. return new WP_Error( 'invalid_input', 'Unknown data passed', 400 );
  167. }
  168. $user = wp_get_current_user();
  169. if ( !$user || is_wp_error( $user ) || !$user->ID ) {
  170. return new WP_Error( 'authorization_required', 'An active access token must be used to manage taxonomies.', 403 );
  171. }
  172. $tax = get_taxonomy( $taxonomy_type );
  173. if ( !current_user_can( $tax->cap->edit_terms ) ) {
  174. return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
  175. }
  176. if ( 'category' !== $taxonomy_type || ! isset( $input['parent'] ) )
  177. $input['parent'] = 0;
  178. if ( $term = get_term_by( 'name', $input['name'], $taxonomy_type ) ) {
  179. // the same name is allowed as long as the parents are different
  180. if ( $input['parent'] === $term->parent ) {
  181. return new WP_Error( 'duplicate', 'A taxonomy with that name already exists', 400 );
  182. }
  183. }
  184. $data = wp_insert_term( addslashes( $input['name'] ), $taxonomy_type,
  185. array(
  186. 'description' => isset( $input['description'] ) ? addslashes( $input['description'] ) : '',
  187. 'parent' => $input['parent']
  188. )
  189. );
  190. if ( is_wp_error( $data ) )
  191. return $data;
  192. $taxonomy = get_term_by( 'id', $data['term_id'], $taxonomy_type );
  193. $return = $this->get_taxonomy( $taxonomy->slug, $taxonomy_type, $args['context'] );
  194. if ( !$return || is_wp_error( $return ) ) {
  195. return $return;
  196. }
  197. /** This action is documented in json-endpoints/class.wpcom-json-api-site-settings-endpoint.php */
  198. do_action( 'wpcom_json_api_objects', 'taxonomies' );
  199. return $return;
  200. }
  201. // /sites/%s/tags|categories/slug:%s -> $blog_id, $taxonomy_id
  202. function update_taxonomy( $path, $blog_id, $object_id, $taxonomy_type ) {
  203. $taxonomy = get_term_by( 'slug', $object_id, $taxonomy_type );
  204. $tax = get_taxonomy( $taxonomy_type );
  205. if ( !current_user_can( $tax->cap->edit_terms ) )
  206. return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
  207. if ( !$taxonomy || is_wp_error( $taxonomy ) ) {
  208. return new WP_Error( 'unknown_taxonomy', 'Unknown taxonomy', 404 );
  209. }
  210. if ( false === term_exists( $object_id, $taxonomy_type ) ) {
  211. return new WP_Error( 'unknown_taxonomy', 'That taxonomy does not exist', 404 );
  212. }
  213. $args = $this->query_args();
  214. $input = $this->input( false );
  215. if ( !is_array( $input ) || !$input ) {
  216. return new WP_Error( 'invalid_input', 'Invalid request input', 400 );
  217. }
  218. $update = array();
  219. if ( 'category' === $taxonomy_type && !empty( $input['parent'] ) )
  220. $update['parent'] = $input['parent'];
  221. if ( !empty( $input['description'] ) )
  222. $update['description'] = addslashes( $input['description'] );
  223. if ( !empty( $input['name'] ) )
  224. $update['name'] = addslashes( $input['name'] );
  225. $data = wp_update_term( $taxonomy->term_id, $taxonomy_type, $update );
  226. $taxonomy = get_term_by( 'id', $data['term_id'], $taxonomy_type );
  227. $return = $this->get_taxonomy( $taxonomy->slug, $taxonomy_type, $args['context'] );
  228. if ( !$return || is_wp_error( $return ) ) {
  229. return $return;
  230. }
  231. /** This action is documented in json-endpoints/class.wpcom-json-api-site-settings-endpoint.php */
  232. do_action( 'wpcom_json_api_objects', 'taxonomies' );
  233. return $return;
  234. }
  235. // /sites/%s/tags|categories/%s/delete -> $blog_id, $taxonomy_id
  236. function delete_taxonomy( $path, $blog_id, $object_id, $taxonomy_type ) {
  237. $taxonomy = get_term_by( 'slug', $object_id, $taxonomy_type );
  238. $tax = get_taxonomy( $taxonomy_type );
  239. if ( !current_user_can( $tax->cap->delete_terms ) )
  240. return new WP_Error( 'unauthorized', 'User cannot edit taxonomy', 403 );
  241. if ( !$taxonomy || is_wp_error( $taxonomy ) ) {
  242. return new WP_Error( 'unknown_taxonomy', 'Unknown taxonomy', 404 );
  243. }
  244. if ( false === term_exists( $object_id, $taxonomy_type ) ) {
  245. return new WP_Error( 'unknown_taxonomy', 'That taxonomy does not exist', 404 );
  246. }
  247. $args = $this->query_args();
  248. $return = $this->get_taxonomy( $taxonomy->slug, $taxonomy_type, $args['context'] );
  249. if ( !$return || is_wp_error( $return ) ) {
  250. return $return;
  251. }
  252. /** This action is documented in json-endpoints/class.wpcom-json-api-site-settings-endpoint.php */
  253. do_action( 'wpcom_json_api_objects', 'taxonomies' );
  254. wp_delete_term( $taxonomy->term_id, $taxonomy_type );
  255. return array(
  256. 'slug' => (string) $taxonomy->slug,
  257. 'success' => 'true',
  258. );
  259. }
  260. }