// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'website_title.dart';

// **************************************************************************
// RiverpodGenerator
// **************************************************************************

String _$pageInfoHash() => r'32527f7803e3eb33f74ce58d0773a9386df2546d';

/// Copied from Dart SDK
class _SystemHash {
  _SystemHash._();

  static int combine(int hash, int value) {
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + value);
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
    return hash ^ (hash >> 6);
  }

  static int finish(int hash) {
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
    // ignore: parameter_assignments
    hash = hash ^ (hash >> 11);
    return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
  }
}

/// See also [pageInfo].
@ProviderFor(pageInfo)
const pageInfoProvider = PageInfoFamily();

/// See also [pageInfo].
class PageInfoFamily extends Family<AsyncValue<WebPageInfo>> {
  /// See also [pageInfo].
  const PageInfoFamily();

  /// See also [pageInfo].
  PageInfoProvider call(Uri url, {required bool isImageRequest}) {
    return PageInfoProvider(url, isImageRequest: isImageRequest);
  }

  @override
  PageInfoProvider getProviderOverride(covariant PageInfoProvider provider) {
    return call(provider.url, isImageRequest: provider.isImageRequest);
  }

  static const Iterable<ProviderOrFamily>? _dependencies = null;

  @override
  Iterable<ProviderOrFamily>? get dependencies => _dependencies;

  static const Iterable<ProviderOrFamily>? _allTransitiveDependencies = null;

  @override
  Iterable<ProviderOrFamily>? get allTransitiveDependencies =>
      _allTransitiveDependencies;

  @override
  String? get name => r'pageInfoProvider';
}

/// See also [pageInfo].
class PageInfoProvider extends AutoDisposeFutureProvider<WebPageInfo> {
  /// See also [pageInfo].
  PageInfoProvider(Uri url, {required bool isImageRequest})
    : this._internal(
        (ref) =>
            pageInfo(ref as PageInfoRef, url, isImageRequest: isImageRequest),
        from: pageInfoProvider,
        name: r'pageInfoProvider',
        debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
            ? null
            : _$pageInfoHash,
        dependencies: PageInfoFamily._dependencies,
        allTransitiveDependencies: PageInfoFamily._allTransitiveDependencies,
        url: url,
        isImageRequest: isImageRequest,
      );

  PageInfoProvider._internal(
    super._createNotifier, {
    required super.name,
    required super.dependencies,
    required super.allTransitiveDependencies,
    required super.debugGetCreateSourceHash,
    required super.from,
    required this.url,
    required this.isImageRequest,
  }) : super.internal();

  final Uri url;
  final bool isImageRequest;

  @override
  Override overrideWith(
    FutureOr<WebPageInfo> Function(PageInfoRef provider) create,
  ) {
    return ProviderOverride(
      origin: this,
      override: PageInfoProvider._internal(
        (ref) => create(ref as PageInfoRef),
        from: from,
        name: null,
        dependencies: null,
        allTransitiveDependencies: null,
        debugGetCreateSourceHash: null,
        url: url,
        isImageRequest: isImageRequest,
      ),
    );
  }

  @override
  AutoDisposeFutureProviderElement<WebPageInfo> createElement() {
    return _PageInfoProviderElement(this);
  }

  @override
  bool operator ==(Object other) {
    return other is PageInfoProvider &&
        other.url == url &&
        other.isImageRequest == isImageRequest;
  }

  @override
  int get hashCode {
    var hash = _SystemHash.combine(0, runtimeType.hashCode);
    hash = _SystemHash.combine(hash, url.hashCode);
    hash = _SystemHash.combine(hash, isImageRequest.hashCode);

    return _SystemHash.finish(hash);
  }
}

@Deprecated('Will be removed in 3.0. Use Ref instead')
// ignore: unused_element
mixin PageInfoRef on AutoDisposeFutureProviderRef<WebPageInfo> {
  /// The parameter `url` of this provider.
  Uri get url;

  /// The parameter `isImageRequest` of this provider.
  bool get isImageRequest;
}

class _PageInfoProviderElement
    extends AutoDisposeFutureProviderElement<WebPageInfo>
    with PageInfoRef {
  _PageInfoProviderElement(super.provider);

  @override
  Uri get url => (origin as PageInfoProvider).url;
  @override
  bool get isImageRequest => (origin as PageInfoProvider).isImageRequest;
}

String _$completePageInfoHash() => r'6a258150d2bb72b8f21de973ddcd23734f79ace0';

abstract class _$CompletePageInfo
    extends BuildlessAutoDisposeNotifier<AsyncValue<WebPageInfo>> {
  late final Uri url;
  late final WebPageInfo? cached;

  AsyncValue<WebPageInfo> build(Uri url, WebPageInfo? cached);
}

/// See also [CompletePageInfo].
@ProviderFor(CompletePageInfo)
const completePageInfoProvider = CompletePageInfoFamily();

/// See also [CompletePageInfo].
class CompletePageInfoFamily extends Family<AsyncValue<WebPageInfo>> {
  /// See also [CompletePageInfo].
  const CompletePageInfoFamily();

  /// See also [CompletePageInfo].
  CompletePageInfoProvider call(Uri url, WebPageInfo? cached) {
    return CompletePageInfoProvider(url, cached);
  }

  @override
  CompletePageInfoProvider getProviderOverride(
    covariant CompletePageInfoProvider provider,
  ) {
    return call(provider.url, provider.cached);
  }

  static const Iterable<ProviderOrFamily>? _dependencies = null;

  @override
  Iterable<ProviderOrFamily>? get dependencies => _dependencies;

  static const Iterable<ProviderOrFamily>? _allTransitiveDependencies = null;

  @override
  Iterable<ProviderOrFamily>? get allTransitiveDependencies =>
      _allTransitiveDependencies;

  @override
  String? get name => r'completePageInfoProvider';
}

/// See also [CompletePageInfo].
class CompletePageInfoProvider
    extends
        AutoDisposeNotifierProviderImpl<
          CompletePageInfo,
          AsyncValue<WebPageInfo>
        > {
  /// See also [CompletePageInfo].
  CompletePageInfoProvider(Uri url, WebPageInfo? cached)
    : this._internal(
        () => CompletePageInfo()
          ..url = url
          ..cached = cached,
        from: completePageInfoProvider,
        name: r'completePageInfoProvider',
        debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
            ? null
            : _$completePageInfoHash,
        dependencies: CompletePageInfoFamily._dependencies,
        allTransitiveDependencies:
            CompletePageInfoFamily._allTransitiveDependencies,
        url: url,
        cached: cached,
      );

  CompletePageInfoProvider._internal(
    super._createNotifier, {
    required super.name,
    required super.dependencies,
    required super.allTransitiveDependencies,
    required super.debugGetCreateSourceHash,
    required super.from,
    required this.url,
    required this.cached,
  }) : super.internal();

  final Uri url;
  final WebPageInfo? cached;

  @override
  AsyncValue<WebPageInfo> runNotifierBuild(
    covariant CompletePageInfo notifier,
  ) {
    return notifier.build(url, cached);
  }

  @override
  Override overrideWith(CompletePageInfo Function() create) {
    return ProviderOverride(
      origin: this,
      override: CompletePageInfoProvider._internal(
        () => create()
          ..url = url
          ..cached = cached,
        from: from,
        name: null,
        dependencies: null,
        allTransitiveDependencies: null,
        debugGetCreateSourceHash: null,
        url: url,
        cached: cached,
      ),
    );
  }

  @override
  AutoDisposeNotifierProviderElement<CompletePageInfo, AsyncValue<WebPageInfo>>
  createElement() {
    return _CompletePageInfoProviderElement(this);
  }

  @override
  bool operator ==(Object other) {
    return other is CompletePageInfoProvider &&
        other.url == url &&
        other.cached == cached;
  }

  @override
  int get hashCode {
    var hash = _SystemHash.combine(0, runtimeType.hashCode);
    hash = _SystemHash.combine(hash, url.hashCode);
    hash = _SystemHash.combine(hash, cached.hashCode);

    return _SystemHash.finish(hash);
  }
}

@Deprecated('Will be removed in 3.0. Use Ref instead')
// ignore: unused_element
mixin CompletePageInfoRef
    on AutoDisposeNotifierProviderRef<AsyncValue<WebPageInfo>> {
  /// The parameter `url` of this provider.
  Uri get url;

  /// The parameter `cached` of this provider.
  WebPageInfo? get cached;
}

class _CompletePageInfoProviderElement
    extends
        AutoDisposeNotifierProviderElement<
          CompletePageInfo,
          AsyncValue<WebPageInfo>
        >
    with CompletePageInfoRef {
  _CompletePageInfoProviderElement(super.provider);

  @override
  Uri get url => (origin as CompletePageInfoProvider).url;
  @override
  WebPageInfo? get cached => (origin as CompletePageInfoProvider).cached;
}

// ignore_for_file: type=lint
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package
