Normal
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Â524_‘I|¥‰ÓMdœv ©ƒ†ü+=ÂÁ     ‹      Õ•QoÓ0Çß÷)Œxk/éFÙ:Çh4•¨ÖµUW„BÈ‰ÝÆZbW¶ÛR>=N“Ò2­0ˆñäóåï»û]y�ºÓ÷ãz3½ ñÛ×ƒ~áÀ»Ó.@<�«gÍ è1Â™s‹Àz½n®O›ÚÌa:�ÌùXgdêšÜqLOHé£'ˆd‚q¿"â¤Ëí+.>#=C —ÎJ.ü¹�.V2¶´�( …6›z	Ã”æ"¨÷ç`—I%$PEõy NDÍ7eþð�çò!· ,Ù¦,MC‰ËÐŠår®"ìôS"‹9²&�0ÈT+IÎÔ]s.g±ÜEøC¿;úèuà²ò4%eFÌ"üª/GQŒé�‚ {Xsã5W˜˜u¨Ð\Î¤àGÅ·•øV~90®4±°©‘'µÚKÁ#¢¦:·æY_x‚Ìª*	ÿY7Xú]3ÆW“Þp÷'UKxb_Ýï¼9LÇÌåP,�H�÷ÕXUŽç*±‹ËÝÕE9Ï¦5ÐƒÊ_ �éœsÈzŒrÇ…éÎ:¬ô^i­ Õn„a#¼@áËNÐFèi0¹fËP[O…a©î”^«CÿAÿâ[úPF'âÍÞõ¬Vˆ‚v§Åòêõ?Àº‡ô¿â,ÅÊÿÖ˜Vëßxäõõ` °Aªøæü1Ee    H   ˆl–ß=¿J2/”Š
€zã@¸ )‹Fÿ“þBÓK7#M¾ ‰À6 -7³WüÿÅÁÀÄ146_‹I|¥Žƒî4ÃVŸÄÃ  ’    ‹      KÎÏ+.Q(J-ÈILNKÌ)M®ÌMÊÏ)V°Š–f¥j(éécQ —U¬¤iÍ•Œl >½Ø´¥V”%&—x:£êA’@Ñ�\”šX’
*ÍIE³Mª‘+7?ÈÕK­(È/*i©æRÀæc„0’’K@\4;t¸j­¹ ]äÌóD       ˆÂÁÅ599ÀÄÃ W    ‹      Õ–ßOÛ0Çßù+<?ì­½¦´t@ê‰5H«¥‚NÓ4MÈ�ÝÆ"±#ÛmVþú9u€0Q­h•§ó%ßÜÝÇ9ÿßEƒÉ÷ñ)ú<9?Cã¯ŸÎ†„ ßö Ñ$ò/:ÍV p:Â'ÖæG EQ4‹ý¦Òs˜\Bb³´ÆjÛ&³“½°|FöP˜pÊœE¡6åd(ÿ…Ô�ZX#wß­0¾17åØò2ž)½ªÌa¤b¼U¹ÝÞ#·×Á‡vÉ ÊN[•E/“ÐÅ]#Ñé:o9Ô$´	ZÒTÌe[•cŠlŽŒŽûD¬¤�iJåMs.fÑÔöñ�áàâ§Ó�MÊ¯IHQ¢ù¬�?ú£ã‹~„Éˆf<ú´æÜiN09£Æ¢L11œm_yñ•¸Ý0òšˆ›X‹Ü
%¤àë¨±JMNk×$º®òö·Ù ñ£ÉŸ\žŽ&ÑðÒO	+C<T÷ï¿“1Õ\Z	Ícë^Up>Ó{95ùñ�‹ªÒµ˜'„èIå3xg*e\×‰7±ÞÕëm½Ê?Êj·Ú� h‡(èµzÁúòFªBÖ\;<	 d*$ÇÄÛízÜôåòde®}“aRsÞ*Š(wÁŠd=Þ�íE®
®Ý¢ðöÔÿÊ‹B»íhYž˜Üwå7<ÃXjÂÚìJùÛw‘YL«3Ã!Ü�ßà»àKw–aâí í µ>u÷w¥�Ê@ìúVIn0©9/ßS[^b ºÞ…°¾M†à¯´¿ž—Æž5    E   	ˆl–Ãa¾”ÊC]Šm@ãm\ªbÑ¿�þDãî,ã,�’F"¹!üÿÇƒ}ç^Æ_�uÐb&=LyZËcõÆÅ &–    	# frozen_string_literal: true
require_relative 'dependency'
require_relative 'exceptions'
require_relative 'util/list'

##
# Given a set of Gem::Dependency objects as +needed+ and a way to query the
# set of available specs via +set+, calculates a set of ActivationRequest
# objects which indicate all the specs that should be activated to meet the
# all the requirements.

class Gem::Resolver
  require_relative 'resolver/molinillo'

  ##
  # If the DEBUG_RESOLVER environment variable is set then debugging mode is
  # enabled for the resolver.  This will display information about the state
  # of the resolver while a set of dependencies is being resolved.

  DEBUG_RESOLVER = !ENV['DEBUG_RESOLVER'].nil?

  ##
  # Set to true if all development dependencies should be considered.

  attr_accessor :development

  ##
  # Set to true if immediate development dependencies should be considered.

  attr_accessor :development_shallow

  ##
  # When true, no dependencies are looked up for requested gems.

  attr_accessor :ignore_dependencies

  ##
  # List of dependencies that could not be found in the configured sources.

  attr_reader :missing

  attr_reader :stats

  ##
  # Hash of gems to skip resolution.  Keyed by gem name, with arrays of
  # gem specifications as values.

  attr_accessor :skip_gems

  ##
  # When a missing dependency, don't stop. Just go on and record what was
  # missing.

  attr_accessor :soft_missing

  ##
  # Combines +sets+ into a ComposedSet that allows specification lookup in a
  # uniform manner.  If one of the +sets+ is itself a ComposedSet its sets are
  # flattened into the result ComposedSet.

  def self.compose_sets(*sets)
    sets.compact!

    sets = sets.map do |set|
      case set
      when Gem::Resolver::BestSet then
        set
      when Gem::Resolver::ComposedSet then
        set.sets
      else
        set
      end
    end.flatten

    case sets.length
    when 0 then
      raise ArgumentError, 'one set in the composition must be non-nil'
    when 1 then
      sets.first
    else
      Gem::Resolver::ComposedSet.new(*sets)
    end
  end

  ##
  # Creates a Resolver that queries only against the already installed gems
  # for the +needed+ dependencies.

  def self.for_current_gems(needed)
    new needed, Gem::Resolver::CurrentSet.new
  end

  ##
  # Create Resolver object which will resolve the tree starting
  # with +needed+ Dependency objects.
  #
  # +set+ is an object that provides where to look for specifications to
  # satisfy the Dependencies. This defaults to Ind