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

Nenhuma Descrição

class-wp-application-passwords.php 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. <?php
  2. /**
  3. * WP_Application_Passwords class
  4. *
  5. * @package WordPress
  6. * @since 5.6.0
  7. */
  8. /**
  9. * Class for displaying, modifying, and sanitizing application passwords.
  10. *
  11. * @package WordPress
  12. */
  13. class WP_Application_Passwords {
  14. /**
  15. * The application passwords user meta key.
  16. *
  17. * @since 5.6.0
  18. *
  19. * @var string
  20. */
  21. const USERMETA_KEY_APPLICATION_PASSWORDS = '_application_passwords';
  22. /**
  23. * The option name used to store whether application passwords is in use.
  24. *
  25. * @since 5.6.0
  26. *
  27. * @var string
  28. */
  29. const OPTION_KEY_IN_USE = 'using_application_passwords';
  30. /**
  31. * The generated application password length.
  32. *
  33. * @since 5.6.0
  34. *
  35. * @var int
  36. */
  37. const PW_LENGTH = 24;
  38. /**
  39. * Checks if Application Passwords are being used by the site.
  40. *
  41. * This returns true if at least one App Password has ever been created.
  42. *
  43. * @since 5.6.0
  44. *
  45. * @return bool
  46. */
  47. public static function is_in_use() {
  48. $network_id = get_main_network_id();
  49. return (bool) get_network_option( $network_id, self::OPTION_KEY_IN_USE );
  50. }
  51. /**
  52. * Creates a new application password.
  53. *
  54. * @since 5.6.0
  55. * @since 5.7.0 Returns WP_Error if application name already exists.
  56. *
  57. * @param int $user_id User ID.
  58. * @param array $args Information about the application password.
  59. * @return array|WP_Error The first key in the array is the new password, the second is its detailed information.
  60. * A WP_Error instance is returned on error.
  61. */
  62. public static function create_new_application_password( $user_id, $args = array() ) {
  63. if ( ! empty( $args['name'] ) ) {
  64. $args['name'] = sanitize_text_field( $args['name'] );
  65. }
  66. if ( empty( $args['name'] ) ) {
  67. return new WP_Error( 'application_password_empty_name', __( 'An application name is required to create an application password.' ), array( 'status' => 400 ) );
  68. }
  69. if ( self::application_name_exists_for_user( $user_id, $args['name'] ) ) {
  70. return new WP_Error( 'application_password_duplicate_name', __( 'Each application name should be unique.' ), array( 'status' => 409 ) );
  71. }
  72. $new_password = wp_generate_password( static::PW_LENGTH, false );
  73. $hashed_password = wp_hash_password( $new_password );
  74. $new_item = array(
  75. 'uuid' => wp_generate_uuid4(),
  76. 'app_id' => empty( $args['app_id'] ) ? '' : $args['app_id'],
  77. 'name' => $args['name'],
  78. 'password' => $hashed_password,
  79. 'created' => time(),
  80. 'last_used' => null,
  81. 'last_ip' => null,
  82. );
  83. $passwords = static::get_user_application_passwords( $user_id );
  84. $passwords[] = $new_item;
  85. $saved = static::set_user_application_passwords( $user_id, $passwords );
  86. if ( ! $saved ) {
  87. return new WP_Error( 'db_error', __( 'Could not save application password.' ) );
  88. }
  89. $network_id = get_main_network_id();
  90. if ( ! get_network_option( $network_id, self::OPTION_KEY_IN_USE ) ) {
  91. update_network_option( $network_id, self::OPTION_KEY_IN_USE, true );
  92. }
  93. /**
  94. * Fires when an application password is created.
  95. *
  96. * @since 5.6.0
  97. *
  98. * @param int $user_id The user ID.
  99. * @param array $new_item The details about the created password.
  100. * @param string $new_password The unhashed generated app password.
  101. * @param array $args Information used to create the application password.
  102. */
  103. do_action( 'wp_create_application_password', $user_id, $new_item, $new_password, $args );
  104. return array( $new_password, $new_item );
  105. }
  106. /**
  107. * Gets a user's application passwords.
  108. *
  109. * @since 5.6.0
  110. *
  111. * @param int $user_id User ID.
  112. * @return array The list of app passwords.
  113. */
  114. public static function get_user_application_passwords( $user_id ) {
  115. $passwords = get_user_meta( $user_id, static::USERMETA_KEY_APPLICATION_PASSWORDS, true );
  116. if ( ! is_array( $passwords ) ) {
  117. return array();
  118. }
  119. $save = false;
  120. foreach ( $passwords as $i => $password ) {
  121. if ( ! isset( $password['uuid'] ) ) {
  122. $passwords[ $i ]['uuid'] = wp_generate_uuid4();
  123. $save = true;
  124. }
  125. }
  126. if ( $save ) {
  127. static::set_user_application_passwords( $user_id, $passwords );
  128. }
  129. return $passwords;
  130. }
  131. /**
  132. * Gets a user's application password with the given uuid.
  133. *
  134. * @since 5.6.0
  135. *
  136. * @param int $user_id User ID.
  137. * @param string $uuid The password's uuid.
  138. * @return array|null The application password if found, null otherwise.
  139. */
  140. public static function get_user_application_password( $user_id, $uuid ) {
  141. $passwords = static::get_user_application_passwords( $user_id );
  142. foreach ( $passwords as $password ) {
  143. if ( $password['uuid'] === $uuid ) {
  144. return $password;
  145. }
  146. }
  147. return null;
  148. }
  149. /**
  150. * Checks if application name exists for this user.
  151. *
  152. * @since 5.7.0
  153. *
  154. * @param int $user_id User ID.
  155. * @param string $name Application name.
  156. * @return bool Whether provided application name exists or not.
  157. */
  158. public static function application_name_exists_for_user( $user_id, $name ) {
  159. $passwords = static::get_user_application_passwords( $user_id );
  160. foreach ( $passwords as $password ) {
  161. if ( strtolower( $password['name'] ) === strtolower( $name ) ) {
  162. return true;
  163. }
  164. }
  165. return false;
  166. }
  167. /**
  168. * Updates an application password.
  169. *
  170. * @since 5.6.0
  171. *
  172. * @param int $user_id User ID.
  173. * @param string $uuid The password's uuid.
  174. * @param array $update Information about the application password to update.
  175. * @return true|WP_Error True if successful, otherwise a WP_Error instance is returned on error.
  176. */
  177. public static function update_application_password( $user_id, $uuid, $update = array() ) {
  178. $passwords = static::get_user_application_passwords( $user_id );
  179. foreach ( $passwords as &$item ) {
  180. if ( $item['uuid'] !== $uuid ) {
  181. continue;
  182. }
  183. if ( ! empty( $update['name'] ) ) {
  184. $update['name'] = sanitize_text_field( $update['name'] );
  185. }
  186. $save = false;
  187. if ( ! empty( $update['name'] ) && $item['name'] !== $update['name'] ) {
  188. $item['name'] = $update['name'];
  189. $save = true;
  190. }
  191. if ( $save ) {
  192. $saved = static::set_user_application_passwords( $user_id, $passwords );
  193. if ( ! $saved ) {
  194. return new WP_Error( 'db_error', __( 'Could not save application password.' ) );
  195. }
  196. }
  197. /**
  198. * Fires when an application password is updated.
  199. *
  200. * @since 5.6.0
  201. *
  202. * @param int $user_id The user ID.
  203. * @param array $item The updated app password details.
  204. * @param array $update The information to update.
  205. */
  206. do_action( 'wp_update_application_password', $user_id, $item, $update );
  207. return true;
  208. }
  209. return new WP_Error( 'application_password_not_found', __( 'Could not find an application password with that id.' ) );
  210. }
  211. /**
  212. * Records that an application password has been used.
  213. *
  214. * @since 5.6.0
  215. *
  216. * @param int $user_id User ID.
  217. * @param string $uuid The password's uuid.
  218. * @return true|WP_Error True if the usage was recorded, a WP_Error if an error occurs.
  219. */
  220. public static function record_application_password_usage( $user_id, $uuid ) {
  221. $passwords = static::get_user_application_passwords( $user_id );
  222. foreach ( $passwords as &$password ) {
  223. if ( $password['uuid'] !== $uuid ) {
  224. continue;
  225. }
  226. // Only record activity once a day.
  227. if ( $password['last_used'] + DAY_IN_SECONDS > time() ) {
  228. return true;
  229. }
  230. $password['last_used'] = time();
  231. $password['last_ip'] = $_SERVER['REMOTE_ADDR'];
  232. $saved = static::set_user_application_passwords( $user_id, $passwords );
  233. if ( ! $saved ) {
  234. return new WP_Error( 'db_error', __( 'Could not save application password.' ) );
  235. }
  236. return true;
  237. }
  238. // Specified Application Password not found!
  239. return new WP_Error( 'application_password_not_found', __( 'Could not find an application password with that id.' ) );
  240. }
  241. /**
  242. * Deletes an application password.
  243. *
  244. * @since 5.6.0
  245. *
  246. * @param int $user_id User ID.
  247. * @param string $uuid The password's uuid.
  248. * @return true|WP_Error Whether the password was successfully found and deleted, a WP_Error otherwise.
  249. */
  250. public static function delete_application_password( $user_id, $uuid ) {
  251. $passwords = static::get_user_application_passwords( $user_id );
  252. foreach ( $passwords as $key => $item ) {
  253. if ( $item['uuid'] === $uuid ) {
  254. unset( $passwords[ $key ] );
  255. $saved = static::set_user_application_passwords( $user_id, $passwords );
  256. if ( ! $saved ) {
  257. return new WP_Error( 'db_error', __( 'Could not delete application password.' ) );
  258. }
  259. /**
  260. * Fires when an application password is deleted.
  261. *
  262. * @since 5.6.0
  263. *
  264. * @param int $user_id The user ID.
  265. * @param array $item The data about the application password.
  266. */
  267. do_action( 'wp_delete_application_password', $user_id, $item );
  268. return true;
  269. }
  270. }
  271. return new WP_Error( 'application_password_not_found', __( 'Could not find an application password with that id.' ) );
  272. }
  273. /**
  274. * Deletes all application passwords for the given user.
  275. *
  276. * @since 5.6.0
  277. *
  278. * @param int $user_id User ID.
  279. * @return int|WP_Error The number of passwords that were deleted or a WP_Error on failure.
  280. */
  281. public static function delete_all_application_passwords( $user_id ) {
  282. $passwords = static::get_user_application_passwords( $user_id );
  283. if ( $passwords ) {
  284. $saved = static::set_user_application_passwords( $user_id, array() );
  285. if ( ! $saved ) {
  286. return new WP_Error( 'db_error', __( 'Could not delete application passwords.' ) );
  287. }
  288. foreach ( $passwords as $item ) {
  289. /** This action is documented in wp-includes/class-wp-application-passwords.php */
  290. do_action( 'wp_delete_application_password', $user_id, $item );
  291. }
  292. return count( $passwords );
  293. }
  294. return 0;
  295. }
  296. /**
  297. * Sets a users application passwords.
  298. *
  299. * @since 5.6.0
  300. *
  301. * @param int $user_id User ID.
  302. * @param array $passwords Application passwords.
  303. *
  304. * @return bool
  305. */
  306. protected static function set_user_application_passwords( $user_id, $passwords ) {
  307. return update_user_meta( $user_id, static::USERMETA_KEY_APPLICATION_PASSWORDS, $passwords );
  308. }
  309. /**
  310. * Sanitizes and then splits a password into smaller chunks.
  311. *
  312. * @since 5.6.0
  313. *
  314. * @param string $raw_password The raw application password.
  315. * @return string The chunked password.
  316. */
  317. public static function chunk_password( $raw_password ) {
  318. $raw_password = preg_replace( '/[^a-z\d]/i', '', $raw_password );
  319. return trim( chunk_split( $raw_password, 4, ' ' ) );
  320. }
  321. }